user32/tests: Moved creating .ico file into a helper function.
[wine.git] / configure
blob1f960f0f462da2cf40a0a20576a04d2dcfa3bdad
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.9.
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.9'
584 PACKAGE_STRING='Wine 1.9.9'
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 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l1_2_1
890 enable_api_ms_win_core_file_l2_1_0
891 enable_api_ms_win_core_file_l2_1_1
892 enable_api_ms_win_core_handle_l1_1_0
893 enable_api_ms_win_core_heap_l1_1_0
894 enable_api_ms_win_core_heap_l1_2_0
895 enable_api_ms_win_core_heap_obsolete_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_2_0
898 enable_api_ms_win_core_io_l1_1_1
899 enable_api_ms_win_core_kernel32_legacy_l1_1_0
900 enable_api_ms_win_core_kernel32_legacy_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_1_0
902 enable_api_ms_win_core_libraryloader_l1_1_1
903 enable_api_ms_win_core_libraryloader_l1_2_0
904 enable_api_ms_win_core_localization_l1_1_0
905 enable_api_ms_win_core_localization_l1_2_0
906 enable_api_ms_win_core_localization_l1_2_1
907 enable_api_ms_win_core_localization_obsolete_l1_1_0
908 enable_api_ms_win_core_localregistry_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_1
911 enable_api_ms_win_core_memory_l1_1_2
912 enable_api_ms_win_core_misc_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_2_0
915 enable_api_ms_win_core_path_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_2_0
918 enable_api_ms_win_core_processthreads_l1_1_0
919 enable_api_ms_win_core_processthreads_l1_1_1
920 enable_api_ms_win_core_processthreads_l1_1_2
921 enable_api_ms_win_core_profile_l1_1_0
922 enable_api_ms_win_core_psapi_l1_1_0
923 enable_api_ms_win_core_registry_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_2_0
926 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
927 enable_api_ms_win_core_string_l1_1_0
928 enable_api_ms_win_core_string_l2_1_0
929 enable_api_ms_win_core_synch_l1_1_0
930 enable_api_ms_win_core_synch_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_1_0
932 enable_api_ms_win_core_sysinfo_l1_2_0
933 enable_api_ms_win_core_sysinfo_l1_2_1
934 enable_api_ms_win_core_threadpool_l1_2_0
935 enable_api_ms_win_core_threadpool_legacy_l1_1_0
936 enable_api_ms_win_core_timezone_l1_1_0
937 enable_api_ms_win_core_url_l1_1_0
938 enable_api_ms_win_core_util_l1_1_0
939 enable_api_ms_win_core_version_l1_1_0
940 enable_api_ms_win_core_winrt_error_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_1
942 enable_api_ms_win_core_winrt_l1_1_0
943 enable_api_ms_win_core_winrt_registration_l1_1_0
944 enable_api_ms_win_core_winrt_string_l1_1_0
945 enable_api_ms_win_core_wow64_l1_1_0
946 enable_api_ms_win_core_xstate_l2_1_0
947 enable_api_ms_win_crt_conio_l1_1_0
948 enable_api_ms_win_crt_convert_l1_1_0
949 enable_api_ms_win_crt_environment_l1_1_0
950 enable_api_ms_win_crt_filesystem_l1_1_0
951 enable_api_ms_win_crt_heap_l1_1_0
952 enable_api_ms_win_crt_locale_l1_1_0
953 enable_api_ms_win_crt_math_l1_1_0
954 enable_api_ms_win_crt_multibyte_l1_1_0
955 enable_api_ms_win_crt_private_l1_1_0
956 enable_api_ms_win_crt_process_l1_1_0
957 enable_api_ms_win_crt_runtime_l1_1_0
958 enable_api_ms_win_crt_stdio_l1_1_0
959 enable_api_ms_win_crt_string_l1_1_0
960 enable_api_ms_win_crt_time_l1_1_0
961 enable_api_ms_win_crt_utility_l1_1_0
962 enable_api_ms_win_downlevel_advapi32_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l2_1_0
964 enable_api_ms_win_downlevel_normaliz_l1_1_0
965 enable_api_ms_win_downlevel_ole32_l1_1_0
966 enable_api_ms_win_downlevel_shell32_l1_1_0
967 enable_api_ms_win_downlevel_shlwapi_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l2_1_0
969 enable_api_ms_win_downlevel_user32_l1_1_0
970 enable_api_ms_win_downlevel_version_l1_1_0
971 enable_api_ms_win_eventing_classicprovider_l1_1_0
972 enable_api_ms_win_eventing_provider_l1_1_0
973 enable_api_ms_win_ntuser_dc_access_l1_1_0
974 enable_api_ms_win_security_base_l1_1_0
975 enable_api_ms_win_security_base_l1_2_0
976 enable_api_ms_win_security_lsalookup_l1_1_0
977 enable_api_ms_win_security_lsalookup_l1_1_1
978 enable_api_ms_win_security_sddl_l1_1_0
979 enable_api_ms_win_service_core_l1_1_1
980 enable_api_ms_win_service_management_l1_1_0
981 enable_api_ms_win_service_winsvc_l1_2_0
982 enable_apphelp
983 enable_appwiz_cpl
984 enable_atl
985 enable_atl100
986 enable_atl110
987 enable_atl80
988 enable_atl90
989 enable_authz
990 enable_avicap32
991 enable_avifil32
992 enable_avrt
993 enable_bcrypt
994 enable_bluetoothapis
995 enable_browseui
996 enable_bthprops_cpl
997 enable_cabinet
998 enable_capi2032
999 enable_cards
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_combase
1003 enable_comcat
1004 enable_comctl32
1005 enable_comdlg32
1006 enable_compstui
1007 enable_comsvcs
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d8
1025 enable_d3d9
1026 enable_d3dcompiler_33
1027 enable_d3dcompiler_34
1028 enable_d3dcompiler_35
1029 enable_d3dcompiler_36
1030 enable_d3dcompiler_37
1031 enable_d3dcompiler_38
1032 enable_d3dcompiler_39
1033 enable_d3dcompiler_40
1034 enable_d3dcompiler_41
1035 enable_d3dcompiler_42
1036 enable_d3dcompiler_43
1037 enable_d3dcompiler_46
1038 enable_d3dcompiler_47
1039 enable_d3dim
1040 enable_d3drm
1041 enable_d3dx10_33
1042 enable_d3dx10_34
1043 enable_d3dx10_35
1044 enable_d3dx10_36
1045 enable_d3dx10_37
1046 enable_d3dx10_38
1047 enable_d3dx10_39
1048 enable_d3dx10_40
1049 enable_d3dx10_41
1050 enable_d3dx10_42
1051 enable_d3dx10_43
1052 enable_d3dx11_42
1053 enable_d3dx11_43
1054 enable_d3dx9_24
1055 enable_d3dx9_25
1056 enable_d3dx9_26
1057 enable_d3dx9_27
1058 enable_d3dx9_28
1059 enable_d3dx9_29
1060 enable_d3dx9_30
1061 enable_d3dx9_31
1062 enable_d3dx9_32
1063 enable_d3dx9_33
1064 enable_d3dx9_34
1065 enable_d3dx9_35
1066 enable_d3dx9_36
1067 enable_d3dx9_37
1068 enable_d3dx9_38
1069 enable_d3dx9_39
1070 enable_d3dx9_40
1071 enable_d3dx9_41
1072 enable_d3dx9_42
1073 enable_d3dx9_43
1074 enable_d3dxof
1075 enable_davclnt
1076 enable_dbgeng
1077 enable_dbghelp
1078 enable_dciman32
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_dispex
1087 enable_dmband
1088 enable_dmcompos
1089 enable_dmime
1090 enable_dmloader
1091 enable_dmscript
1092 enable_dmstyle
1093 enable_dmsynth
1094 enable_dmusic
1095 enable_dmusic32
1096 enable_dnsapi
1097 enable_dplay
1098 enable_dplayx
1099 enable_dpnaddr
1100 enable_dpnet
1101 enable_dpnhpast
1102 enable_dpnlobby
1103 enable_dpvoice
1104 enable_dpwsockx
1105 enable_drmclien
1106 enable_dsound
1107 enable_dssenh
1108 enable_dswave
1109 enable_dwmapi
1110 enable_dwrite
1111 enable_dxdiagn
1112 enable_dxgi
1113 enable_dxva2
1114 enable_esent
1115 enable_evr
1116 enable_explorerframe
1117 enable_ext_ms_win_gdi_devcaps_l1_1_0
1118 enable_faultrep
1119 enable_fltlib
1120 enable_fltmgr_sys
1121 enable_fntcache
1122 enable_fontsub
1123 enable_fusion
1124 enable_fwpuclnt
1125 enable_gameux
1126 enable_gdi32
1127 enable_gdiplus
1128 enable_glu32
1129 enable_gphoto2_ds
1130 enable_gpkcsp
1131 enable_hal
1132 enable_hhctrl_ocx
1133 enable_hid
1134 enable_hidclass_sys
1135 enable_hlink
1136 enable_hnetcfg
1137 enable_httpapi
1138 enable_iccvid
1139 enable_icmp
1140 enable_ieframe
1141 enable_imaadp32_acm
1142 enable_imagehlp
1143 enable_imm32
1144 enable_inetcomm
1145 enable_inetcpl_cpl
1146 enable_inetmib1
1147 enable_infosoft
1148 enable_initpki
1149 enable_inkobj
1150 enable_inseng
1151 enable_iphlpapi
1152 enable_irprops_cpl
1153 enable_itircl
1154 enable_itss
1155 enable_joy_cpl
1156 enable_jscript
1157 enable_jsproxy
1158 enable_kernel32
1159 enable_kernelbase
1160 enable_ksuser
1161 enable_ktmw32
1162 enable_loadperf
1163 enable_localspl
1164 enable_localui
1165 enable_lz32
1166 enable_mapi32
1167 enable_mapistub
1168 enable_mciavi32
1169 enable_mcicda
1170 enable_mciqtz32
1171 enable_mciseq
1172 enable_mciwave
1173 enable_mf
1174 enable_mfplat
1175 enable_mfreadwrite
1176 enable_mgmtapi
1177 enable_midimap
1178 enable_mlang
1179 enable_mmcndmgr
1180 enable_mmdevapi
1181 enable_mountmgr_sys
1182 enable_mpr
1183 enable_mprapi
1184 enable_msacm32_drv
1185 enable_msacm32
1186 enable_msadp32_acm
1187 enable_msasn1
1188 enable_mscat32
1189 enable_mscms
1190 enable_mscoree
1191 enable_msctf
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdelta
1195 enable_msdmo
1196 enable_msdrm
1197 enable_msftedit
1198 enable_msg711_acm
1199 enable_msgsm32_acm
1200 enable_mshtml_tlb
1201 enable_mshtml
1202 enable_msi
1203 enable_msident
1204 enable_msimg32
1205 enable_msimsg
1206 enable_msimtf
1207 enable_msisip
1208 enable_msisys_ocx
1209 enable_msls31
1210 enable_msnet32
1211 enable_mspatcha
1212 enable_msrle32
1213 enable_msscript_ocx
1214 enable_mssign32
1215 enable_mssip32
1216 enable_mstask
1217 enable_msvcirt
1218 enable_msvcm80
1219 enable_msvcm90
1220 enable_msvcp100
1221 enable_msvcp110
1222 enable_msvcp120
1223 enable_msvcp120_app
1224 enable_msvcp60
1225 enable_msvcp70
1226 enable_msvcp71
1227 enable_msvcp80
1228 enable_msvcp90
1229 enable_msvcr100
1230 enable_msvcr110
1231 enable_msvcr120
1232 enable_msvcr120_app
1233 enable_msvcr70
1234 enable_msvcr71
1235 enable_msvcr80
1236 enable_msvcr90
1237 enable_msvcrt
1238 enable_msvcrt20
1239 enable_msvcrt40
1240 enable_msvcrtd
1241 enable_msvfw32
1242 enable_msvidc32
1243 enable_mswsock
1244 enable_msxml
1245 enable_msxml2
1246 enable_msxml3
1247 enable_msxml4
1248 enable_msxml6
1249 enable_nddeapi
1250 enable_ndis_sys
1251 enable_netapi32
1252 enable_netcfgx
1253 enable_netprofm
1254 enable_newdev
1255 enable_normaliz
1256 enable_npmshtml
1257 enable_npptools
1258 enable_ntdll
1259 enable_ntdsapi
1260 enable_ntoskrnl_exe
1261 enable_ntprint
1262 enable_objsel
1263 enable_odbc32
1264 enable_odbccp32
1265 enable_odbccu32
1266 enable_ole32
1267 enable_oleacc
1268 enable_oleaut32
1269 enable_olecli32
1270 enable_oledb32
1271 enable_oledlg
1272 enable_olepro32
1273 enable_olesvr32
1274 enable_olethk32
1275 enable_openal32
1276 enable_opencl
1277 enable_opengl32
1278 enable_packager
1279 enable_pdh
1280 enable_photometadatahandler
1281 enable_pidgen
1282 enable_powrprof
1283 enable_printui
1284 enable_prntvpt
1285 enable_propsys
1286 enable_psapi
1287 enable_pstorec
1288 enable_qcap
1289 enable_qedit
1290 enable_qmgr
1291 enable_qmgrprxy
1292 enable_quartz
1293 enable_query
1294 enable_rasapi32
1295 enable_rasdlg
1296 enable_regapi
1297 enable_resutils
1298 enable_riched20
1299 enable_riched32
1300 enable_rpcrt4
1301 enable_rsabase
1302 enable_rsaenh
1303 enable_rstrtmgr
1304 enable_rtutils
1305 enable_samlib
1306 enable_sane_ds
1307 enable_scarddlg
1308 enable_sccbase
1309 enable_schannel
1310 enable_schedsvc
1311 enable_scrrun
1312 enable_scsiport_sys
1313 enable_secur32
1314 enable_security
1315 enable_sensapi
1316 enable_serialui
1317 enable_setupapi
1318 enable_sfc
1319 enable_sfc_os
1320 enable_shdoclc
1321 enable_shdocvw
1322 enable_shell32
1323 enable_shfolder
1324 enable_shlwapi
1325 enable_slbcsp
1326 enable_slc
1327 enable_snmpapi
1328 enable_softpub
1329 enable_spoolss
1330 enable_stdole2_tlb
1331 enable_stdole32_tlb
1332 enable_sti
1333 enable_svrapi
1334 enable_sxs
1335 enable_t2embed
1336 enable_tapi32
1337 enable_taskschd
1338 enable_tdi_sys
1339 enable_traffic
1340 enable_twain_32
1341 enable_ucrtbase
1342 enable_unicows
1343 enable_updspapi
1344 enable_url
1345 enable_urlmon
1346 enable_usbd_sys
1347 enable_user32
1348 enable_userenv
1349 enable_usp10
1350 enable_uxtheme
1351 enable_vbscript
1352 enable_vcomp
1353 enable_vcomp100
1354 enable_vcomp110
1355 enable_vcomp120
1356 enable_vcomp90
1357 enable_vcruntime140
1358 enable_vdmdbg
1359 enable_version
1360 enable_vssapi
1361 enable_wbemdisp
1362 enable_wbemprox
1363 enable_webservices
1364 enable_wer
1365 enable_wevtapi
1366 enable_wiaservc
1367 enable_wimgapi
1368 enable_windowscodecs
1369 enable_windowscodecsext
1370 enable_winealsa_drv
1371 enable_winecoreaudio_drv
1372 enable_wined3d
1373 enable_winegstreamer
1374 enable_winejoystick_drv
1375 enable_winemac_drv
1376 enable_winemapi
1377 enable_winemp3_acm
1378 enable_wineoss_drv
1379 enable_wineps_drv
1380 enable_winepulse_drv
1381 enable_wineqtdecoder
1382 enable_winex11_drv
1383 enable_wing32
1384 enable_winhttp
1385 enable_wininet
1386 enable_winmm
1387 enable_winnls32
1388 enable_winscard
1389 enable_winspool_drv
1390 enable_winsta
1391 enable_wintab32
1392 enable_wintrust
1393 enable_wlanapi
1394 enable_wldap32
1395 enable_wmasf
1396 enable_wmi
1397 enable_wmiutils
1398 enable_wmp
1399 enable_wmvcore
1400 enable_wnaspi32
1401 enable_wpcap
1402 enable_ws2_32
1403 enable_wshom_ocx
1404 enable_wsnmp32
1405 enable_wsock32
1406 enable_wtsapi32
1407 enable_wuapi
1408 enable_wuaueng
1409 enable_x3daudio1_0
1410 enable_x3daudio1_1
1411 enable_x3daudio1_2
1412 enable_x3daudio1_3
1413 enable_x3daudio1_4
1414 enable_x3daudio1_5
1415 enable_x3daudio1_6
1416 enable_x3daudio1_7
1417 enable_xapofx1_1
1418 enable_xapofx1_2
1419 enable_xapofx1_3
1420 enable_xapofx1_4
1421 enable_xapofx1_5
1422 enable_xaudio2_0
1423 enable_xaudio2_1
1424 enable_xaudio2_2
1425 enable_xaudio2_3
1426 enable_xaudio2_4
1427 enable_xaudio2_5
1428 enable_xaudio2_6
1429 enable_xaudio2_7
1430 enable_xaudio2_8
1431 enable_xaudio2_9
1432 enable_xinput1_1
1433 enable_xinput1_2
1434 enable_xinput1_3
1435 enable_xinput1_4
1436 enable_xinput9_1_0
1437 enable_xmllite
1438 enable_xolehlp
1439 enable_xpsprint
1440 enable_xpssvcs
1441 enable_fonts
1442 enable_include
1443 enable_libs_port
1444 enable_libs_wine
1445 enable_libs_wpp
1446 enable_loader
1447 enable_po
1448 enable_arp
1449 enable_aspnet_regiis
1450 enable_attrib
1451 enable_cabarc
1452 enable_cacls
1453 enable_clock
1454 enable_cmd
1455 enable_conhost
1456 enable_control
1457 enable_cscript
1458 enable_dpnsvr
1459 enable_dxdiag
1460 enable_eject
1461 enable_expand
1462 enable_explorer
1463 enable_extrac32
1464 enable_findstr
1465 enable_fsutil
1466 enable_hh
1467 enable_hostname
1468 enable_icacls
1469 enable_icinfo
1470 enable_iexplore
1471 enable_ipconfig
1472 enable_lodctr
1473 enable_mofcomp
1474 enable_mshta
1475 enable_msiexec
1476 enable_net
1477 enable_netsh
1478 enable_netstat
1479 enable_ngen
1480 enable_notepad
1481 enable_oleview
1482 enable_ping
1483 enable_plugplay
1484 enable_presentationfontcache
1485 enable_progman
1486 enable_reg
1487 enable_regasm
1488 enable_regedit
1489 enable_regsvcs
1490 enable_regsvr32
1491 enable_rpcss
1492 enable_rundll32
1493 enable_sc
1494 enable_schtasks
1495 enable_sdbinst
1496 enable_secedit
1497 enable_servicemodelreg
1498 enable_services
1499 enable_shutdown
1500 enable_spoolsv
1501 enable_start
1502 enable_svchost
1503 enable_systeminfo
1504 enable_taskkill
1505 enable_tasklist
1506 enable_taskmgr
1507 enable_termsv
1508 enable_uninstaller
1509 enable_unlodctr
1510 enable_view
1511 enable_wevtutil
1512 enable_wineboot
1513 enable_winebrowser
1514 enable_winecfg
1515 enable_wineconsole
1516 enable_winedbg
1517 enable_winedevice
1518 enable_winefile
1519 enable_winemenubuilder
1520 enable_winemine
1521 enable_winemsibuilder
1522 enable_winepath
1523 enable_winetest
1524 enable_winhlp32
1525 enable_winver
1526 enable_wmic
1527 enable_wmplayer
1528 enable_wordpad
1529 enable_write
1530 enable_wscript
1531 enable_wusa
1532 enable_xcopy
1533 enable_server
1534 enable_tools
1536 ac_precious_vars='build_alias
1537 host_alias
1538 target_alias
1540 CFLAGS
1541 LDFLAGS
1542 LIBS
1543 CPPFLAGS
1545 CXXFLAGS
1548 XMKMF
1549 XML2_CFLAGS
1550 XML2_LIBS
1551 XSLT_CFLAGS
1552 XSLT_LIBS
1553 DBUS_CFLAGS
1554 DBUS_LIBS
1555 HAL_CFLAGS
1556 HAL_LIBS
1557 GNUTLS_CFLAGS
1558 GNUTLS_LIBS
1559 SANE_CFLAGS
1560 SANE_LIBS
1561 GPHOTO2_CFLAGS
1562 GPHOTO2_LIBS
1563 GPHOTO2_PORT_CFLAGS
1564 GPHOTO2_PORT_LIBS
1565 LCMS2_CFLAGS
1566 LCMS2_LIBS
1567 FREETYPE_CFLAGS
1568 FREETYPE_LIBS
1569 PULSE_CFLAGS
1570 PULSE_LIBS
1571 GSTREAMER_CFLAGS
1572 GSTREAMER_LIBS
1573 CAPI20_CFLAGS
1574 CAPI20_LIBS
1575 FONTCONFIG_CFLAGS
1576 FONTCONFIG_LIBS
1577 JPEG_CFLAGS
1578 JPEG_LIBS
1579 PNG_CFLAGS
1580 PNG_LIBS
1581 TIFF_CFLAGS
1582 TIFF_LIBS
1583 MPG123_CFLAGS
1584 MPG123_LIBS
1585 NETAPI_CFLAGS
1586 NETAPI_LIBS'
1589 # Initialize some variables set by options.
1590 ac_init_help=
1591 ac_init_version=false
1592 ac_unrecognized_opts=
1593 ac_unrecognized_sep=
1594 # The variables have the same names as the options, with
1595 # dashes changed to underlines.
1596 cache_file=/dev/null
1597 exec_prefix=NONE
1598 no_create=
1599 no_recursion=
1600 prefix=NONE
1601 program_prefix=NONE
1602 program_suffix=NONE
1603 program_transform_name=s,x,x,
1604 silent=
1605 site=
1606 srcdir=
1607 verbose=
1608 x_includes=NONE
1609 x_libraries=NONE
1611 # Installation directory options.
1612 # These are left unexpanded so users can "make install exec_prefix=/foo"
1613 # and all the variables that are supposed to be based on exec_prefix
1614 # by default will actually change.
1615 # Use braces instead of parens because sh, perl, etc. also accept them.
1616 # (The list follows the same order as the GNU Coding Standards.)
1617 bindir='${exec_prefix}/bin'
1618 sbindir='${exec_prefix}/sbin'
1619 libexecdir='${exec_prefix}/libexec'
1620 datarootdir='${prefix}/share'
1621 datadir='${datarootdir}'
1622 sysconfdir='${prefix}/etc'
1623 sharedstatedir='${prefix}/com'
1624 localstatedir='${prefix}/var'
1625 runstatedir='${localstatedir}/run'
1626 includedir='${prefix}/include'
1627 oldincludedir='/usr/include'
1628 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1629 infodir='${datarootdir}/info'
1630 htmldir='${docdir}'
1631 dvidir='${docdir}'
1632 pdfdir='${docdir}'
1633 psdir='${docdir}'
1634 libdir='${exec_prefix}/lib'
1635 localedir='${datarootdir}/locale'
1636 mandir='${datarootdir}/man'
1638 ac_prev=
1639 ac_dashdash=
1640 for ac_option
1642 # If the previous option needs an argument, assign it.
1643 if test -n "$ac_prev"; then
1644 eval $ac_prev=\$ac_option
1645 ac_prev=
1646 continue
1649 case $ac_option in
1650 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1651 *=) ac_optarg= ;;
1652 *) ac_optarg=yes ;;
1653 esac
1655 # Accept the important Cygnus configure options, so we can diagnose typos.
1657 case $ac_dashdash$ac_option in
1659 ac_dashdash=yes ;;
1661 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1662 ac_prev=bindir ;;
1663 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1664 bindir=$ac_optarg ;;
1666 -build | --build | --buil | --bui | --bu)
1667 ac_prev=build_alias ;;
1668 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1669 build_alias=$ac_optarg ;;
1671 -cache-file | --cache-file | --cache-fil | --cache-fi \
1672 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1673 ac_prev=cache_file ;;
1674 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1675 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1676 cache_file=$ac_optarg ;;
1678 --config-cache | -C)
1679 cache_file=config.cache ;;
1681 -datadir | --datadir | --datadi | --datad)
1682 ac_prev=datadir ;;
1683 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1684 datadir=$ac_optarg ;;
1686 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1687 | --dataroo | --dataro | --datar)
1688 ac_prev=datarootdir ;;
1689 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1690 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1691 datarootdir=$ac_optarg ;;
1693 -disable-* | --disable-*)
1694 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1695 # Reject names that are not valid shell variable names.
1696 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1697 as_fn_error $? "invalid feature name: $ac_useropt"
1698 ac_useropt_orig=$ac_useropt
1699 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1700 case $ac_user_opts in
1702 "enable_$ac_useropt"
1703 "*) ;;
1704 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1705 ac_unrecognized_sep=', ';;
1706 esac
1707 eval enable_$ac_useropt=no ;;
1709 -docdir | --docdir | --docdi | --doc | --do)
1710 ac_prev=docdir ;;
1711 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1712 docdir=$ac_optarg ;;
1714 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1715 ac_prev=dvidir ;;
1716 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1717 dvidir=$ac_optarg ;;
1719 -enable-* | --enable-*)
1720 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1721 # Reject names that are not valid shell variable names.
1722 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1723 as_fn_error $? "invalid feature name: $ac_useropt"
1724 ac_useropt_orig=$ac_useropt
1725 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1726 case $ac_user_opts in
1728 "enable_$ac_useropt"
1729 "*) ;;
1730 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1731 ac_unrecognized_sep=', ';;
1732 esac
1733 eval enable_$ac_useropt=\$ac_optarg ;;
1735 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1736 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1737 | --exec | --exe | --ex)
1738 ac_prev=exec_prefix ;;
1739 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1740 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1741 | --exec=* | --exe=* | --ex=*)
1742 exec_prefix=$ac_optarg ;;
1744 -gas | --gas | --ga | --g)
1745 # Obsolete; use --with-gas.
1746 with_gas=yes ;;
1748 -help | --help | --hel | --he | -h)
1749 ac_init_help=long ;;
1750 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1751 ac_init_help=recursive ;;
1752 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1753 ac_init_help=short ;;
1755 -host | --host | --hos | --ho)
1756 ac_prev=host_alias ;;
1757 -host=* | --host=* | --hos=* | --ho=*)
1758 host_alias=$ac_optarg ;;
1760 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1761 ac_prev=htmldir ;;
1762 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1763 | --ht=*)
1764 htmldir=$ac_optarg ;;
1766 -includedir | --includedir | --includedi | --included | --include \
1767 | --includ | --inclu | --incl | --inc)
1768 ac_prev=includedir ;;
1769 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1770 | --includ=* | --inclu=* | --incl=* | --inc=*)
1771 includedir=$ac_optarg ;;
1773 -infodir | --infodir | --infodi | --infod | --info | --inf)
1774 ac_prev=infodir ;;
1775 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1776 infodir=$ac_optarg ;;
1778 -libdir | --libdir | --libdi | --libd)
1779 ac_prev=libdir ;;
1780 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1781 libdir=$ac_optarg ;;
1783 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1784 | --libexe | --libex | --libe)
1785 ac_prev=libexecdir ;;
1786 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1787 | --libexe=* | --libex=* | --libe=*)
1788 libexecdir=$ac_optarg ;;
1790 -localedir | --localedir | --localedi | --localed | --locale)
1791 ac_prev=localedir ;;
1792 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1793 localedir=$ac_optarg ;;
1795 -localstatedir | --localstatedir | --localstatedi | --localstated \
1796 | --localstate | --localstat | --localsta | --localst | --locals)
1797 ac_prev=localstatedir ;;
1798 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1799 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1800 localstatedir=$ac_optarg ;;
1802 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1803 ac_prev=mandir ;;
1804 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1805 mandir=$ac_optarg ;;
1807 -nfp | --nfp | --nf)
1808 # Obsolete; use --without-fp.
1809 with_fp=no ;;
1811 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1812 | --no-cr | --no-c | -n)
1813 no_create=yes ;;
1815 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1816 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1817 no_recursion=yes ;;
1819 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1820 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1821 | --oldin | --oldi | --old | --ol | --o)
1822 ac_prev=oldincludedir ;;
1823 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1824 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1825 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1826 oldincludedir=$ac_optarg ;;
1828 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1829 ac_prev=prefix ;;
1830 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1831 prefix=$ac_optarg ;;
1833 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1834 | --program-pre | --program-pr | --program-p)
1835 ac_prev=program_prefix ;;
1836 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1837 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1838 program_prefix=$ac_optarg ;;
1840 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1841 | --program-suf | --program-su | --program-s)
1842 ac_prev=program_suffix ;;
1843 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1844 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1845 program_suffix=$ac_optarg ;;
1847 -program-transform-name | --program-transform-name \
1848 | --program-transform-nam | --program-transform-na \
1849 | --program-transform-n | --program-transform- \
1850 | --program-transform | --program-transfor \
1851 | --program-transfo | --program-transf \
1852 | --program-trans | --program-tran \
1853 | --progr-tra | --program-tr | --program-t)
1854 ac_prev=program_transform_name ;;
1855 -program-transform-name=* | --program-transform-name=* \
1856 | --program-transform-nam=* | --program-transform-na=* \
1857 | --program-transform-n=* | --program-transform-=* \
1858 | --program-transform=* | --program-transfor=* \
1859 | --program-transfo=* | --program-transf=* \
1860 | --program-trans=* | --program-tran=* \
1861 | --progr-tra=* | --program-tr=* | --program-t=*)
1862 program_transform_name=$ac_optarg ;;
1864 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1865 ac_prev=pdfdir ;;
1866 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1867 pdfdir=$ac_optarg ;;
1869 -psdir | --psdir | --psdi | --psd | --ps)
1870 ac_prev=psdir ;;
1871 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1872 psdir=$ac_optarg ;;
1874 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1875 | -silent | --silent | --silen | --sile | --sil)
1876 silent=yes ;;
1878 -runstatedir | --runstatedir | --runstatedi | --runstated \
1879 | --runstate | --runstat | --runsta | --runst | --runs \
1880 | --run | --ru | --r)
1881 ac_prev=runstatedir ;;
1882 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1883 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1884 | --run=* | --ru=* | --r=*)
1885 runstatedir=$ac_optarg ;;
1887 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1888 ac_prev=sbindir ;;
1889 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1890 | --sbi=* | --sb=*)
1891 sbindir=$ac_optarg ;;
1893 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1894 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1895 | --sharedst | --shareds | --shared | --share | --shar \
1896 | --sha | --sh)
1897 ac_prev=sharedstatedir ;;
1898 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1899 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1900 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1901 | --sha=* | --sh=*)
1902 sharedstatedir=$ac_optarg ;;
1904 -site | --site | --sit)
1905 ac_prev=site ;;
1906 -site=* | --site=* | --sit=*)
1907 site=$ac_optarg ;;
1909 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1910 ac_prev=srcdir ;;
1911 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1912 srcdir=$ac_optarg ;;
1914 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1915 | --syscon | --sysco | --sysc | --sys | --sy)
1916 ac_prev=sysconfdir ;;
1917 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1918 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1919 sysconfdir=$ac_optarg ;;
1921 -target | --target | --targe | --targ | --tar | --ta | --t)
1922 ac_prev=target_alias ;;
1923 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1924 target_alias=$ac_optarg ;;
1926 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1927 verbose=yes ;;
1929 -version | --version | --versio | --versi | --vers | -V)
1930 ac_init_version=: ;;
1932 -with-* | --with-*)
1933 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1934 # Reject names that are not valid shell variable names.
1935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1936 as_fn_error $? "invalid package name: $ac_useropt"
1937 ac_useropt_orig=$ac_useropt
1938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1939 case $ac_user_opts in
1941 "with_$ac_useropt"
1942 "*) ;;
1943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1944 ac_unrecognized_sep=', ';;
1945 esac
1946 eval with_$ac_useropt=\$ac_optarg ;;
1948 -without-* | --without-*)
1949 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1950 # Reject names that are not valid shell variable names.
1951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1952 as_fn_error $? "invalid package name: $ac_useropt"
1953 ac_useropt_orig=$ac_useropt
1954 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1955 case $ac_user_opts in
1957 "with_$ac_useropt"
1958 "*) ;;
1959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1960 ac_unrecognized_sep=', ';;
1961 esac
1962 eval with_$ac_useropt=no ;;
1964 --x)
1965 # Obsolete; use --with-x.
1966 with_x=yes ;;
1968 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1969 | --x-incl | --x-inc | --x-in | --x-i)
1970 ac_prev=x_includes ;;
1971 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1972 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1973 x_includes=$ac_optarg ;;
1975 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1976 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1977 ac_prev=x_libraries ;;
1978 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1979 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1980 x_libraries=$ac_optarg ;;
1982 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1983 Try \`$0 --help' for more information"
1986 *=*)
1987 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1988 # Reject names that are not valid shell variable names.
1989 case $ac_envvar in #(
1990 '' | [0-9]* | *[!_$as_cr_alnum]* )
1991 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1992 esac
1993 eval $ac_envvar=\$ac_optarg
1994 export $ac_envvar ;;
1997 # FIXME: should be removed in autoconf 3.0.
1998 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1999 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2000 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2001 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2004 esac
2005 done
2007 if test -n "$ac_prev"; then
2008 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2009 as_fn_error $? "missing argument to $ac_option"
2012 if test -n "$ac_unrecognized_opts"; then
2013 case $enable_option_checking in
2014 no) ;;
2015 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2016 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2017 esac
2020 # Check all directory arguments for consistency.
2021 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2022 datadir sysconfdir sharedstatedir localstatedir includedir \
2023 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2024 libdir localedir mandir runstatedir
2026 eval ac_val=\$$ac_var
2027 # Remove trailing slashes.
2028 case $ac_val in
2029 */ )
2030 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2031 eval $ac_var=\$ac_val;;
2032 esac
2033 # Be sure to have absolute directory names.
2034 case $ac_val in
2035 [\\/$]* | ?:[\\/]* ) continue;;
2036 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2037 esac
2038 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2039 done
2041 # There might be people who depend on the old broken behavior: `$host'
2042 # used to hold the argument of --host etc.
2043 # FIXME: To remove some day.
2044 build=$build_alias
2045 host=$host_alias
2046 target=$target_alias
2048 # FIXME: To remove some day.
2049 if test "x$host_alias" != x; then
2050 if test "x$build_alias" = x; then
2051 cross_compiling=maybe
2052 elif test "x$build_alias" != "x$host_alias"; then
2053 cross_compiling=yes
2057 ac_tool_prefix=
2058 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2060 test "$silent" = yes && exec 6>/dev/null
2063 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2064 ac_ls_di=`ls -di .` &&
2065 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2066 as_fn_error $? "working directory cannot be determined"
2067 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2068 as_fn_error $? "pwd does not report name of working directory"
2071 # Find the source files, if location was not specified.
2072 if test -z "$srcdir"; then
2073 ac_srcdir_defaulted=yes
2074 # Try the directory containing this script, then the parent directory.
2075 ac_confdir=`$as_dirname -- "$as_myself" ||
2076 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2077 X"$as_myself" : 'X\(//\)[^/]' \| \
2078 X"$as_myself" : 'X\(//\)$' \| \
2079 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2080 $as_echo X"$as_myself" |
2081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2082 s//\1/
2085 /^X\(\/\/\)[^/].*/{
2086 s//\1/
2089 /^X\(\/\/\)$/{
2090 s//\1/
2093 /^X\(\/\).*/{
2094 s//\1/
2097 s/.*/./; q'`
2098 srcdir=$ac_confdir
2099 if test ! -r "$srcdir/$ac_unique_file"; then
2100 srcdir=..
2102 else
2103 ac_srcdir_defaulted=no
2105 if test ! -r "$srcdir/$ac_unique_file"; then
2106 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2107 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2109 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2110 ac_abs_confdir=`(
2111 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2112 pwd)`
2113 # When building in place, set srcdir=.
2114 if test "$ac_abs_confdir" = "$ac_pwd"; then
2115 srcdir=.
2117 # Remove unnecessary trailing slashes from srcdir.
2118 # Double slashes in file names in object file debugging info
2119 # mess up M-x gdb in Emacs.
2120 case $srcdir in
2121 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2122 esac
2123 for ac_var in $ac_precious_vars; do
2124 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2125 eval ac_env_${ac_var}_value=\$${ac_var}
2126 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2127 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2128 done
2131 # Report the --help message.
2133 if test "$ac_init_help" = "long"; then
2134 # Omit some internal or obsolete options to make the list less imposing.
2135 # This message is too long to be a string in the A/UX 3.1 sh.
2136 cat <<_ACEOF
2137 \`configure' configures Wine 1.9.9 to adapt to many kinds of systems.
2139 Usage: $0 [OPTION]... [VAR=VALUE]...
2141 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2142 VAR=VALUE. See below for descriptions of some of the useful variables.
2144 Defaults for the options are specified in brackets.
2146 Configuration:
2147 -h, --help display this help and exit
2148 --help=short display options specific to this package
2149 --help=recursive display the short help of all the included packages
2150 -V, --version display version information and exit
2151 -q, --quiet, --silent do not print \`checking ...' messages
2152 --cache-file=FILE cache test results in FILE [disabled]
2153 -C, --config-cache alias for \`--cache-file=config.cache'
2154 -n, --no-create do not create output files
2155 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2157 Installation directories:
2158 --prefix=PREFIX install architecture-independent files in PREFIX
2159 [$ac_default_prefix]
2160 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2161 [PREFIX]
2163 By default, \`make install' will install all the files in
2164 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2165 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2166 for instance \`--prefix=\$HOME'.
2168 For better control, use the options below.
2170 Fine tuning of the installation directories:
2171 --bindir=DIR user executables [EPREFIX/bin]
2172 --sbindir=DIR system admin executables [EPREFIX/sbin]
2173 --libexecdir=DIR program executables [EPREFIX/libexec]
2174 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2175 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2176 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2177 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2178 --libdir=DIR object code libraries [EPREFIX/lib]
2179 --includedir=DIR C header files [PREFIX/include]
2180 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2181 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2182 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2183 --infodir=DIR info documentation [DATAROOTDIR/info]
2184 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2185 --mandir=DIR man documentation [DATAROOTDIR/man]
2186 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2187 --htmldir=DIR html documentation [DOCDIR]
2188 --dvidir=DIR dvi documentation [DOCDIR]
2189 --pdfdir=DIR pdf documentation [DOCDIR]
2190 --psdir=DIR ps documentation [DOCDIR]
2191 _ACEOF
2193 cat <<\_ACEOF
2195 X features:
2196 --x-includes=DIR X include files are in DIR
2197 --x-libraries=DIR X library files are in DIR
2199 System types:
2200 --build=BUILD configure for building on BUILD [guessed]
2201 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2202 _ACEOF
2205 if test -n "$ac_init_help"; then
2206 case $ac_init_help in
2207 short | recursive ) echo "Configuration of Wine 1.9.9:";;
2208 esac
2209 cat <<\_ACEOF
2211 Optional Features:
2212 --disable-option-checking ignore unrecognized --enable/--with options
2213 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2214 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2215 --disable-win16 do not include Win16 support
2216 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2217 binaries)
2218 --disable-tests do not build the regression tests
2219 --enable-maintainer-mode
2220 enable maintainer-specific build rules
2221 --disable-largefile omit support for large files
2223 Optional Packages:
2224 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2225 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2226 --without-alsa do not use the Alsa sound support
2227 --without-capi do not use CAPI (ISDN support)
2228 --without-cms do not use CMS (color management support)
2229 --without-coreaudio do not use the CoreAudio sound support
2230 --without-cups do not use CUPS
2231 --without-curses do not use (n)curses
2232 --without-dbus do not use DBus (dynamic device support)
2233 --without-fontconfig do not use fontconfig
2234 --without-freetype do not use the FreeType library
2235 --without-gettext do not use gettext
2236 --with-gettextpo use the GetTextPO library to rebuild po files
2237 --without-gphoto do not use gphoto (Digital Camera support)
2238 --without-glu do not use the GLU library
2239 --without-gnutls do not use GnuTLS (schannel support)
2240 --without-gsm do not use libgsm (GSM 06.10 codec support)
2241 --without-gstreamer do not use GStreamer (codecs support)
2242 --without-hal do not use HAL (dynamic device support)
2243 --without-jpeg do not use JPEG
2244 --without-ldap do not use LDAP
2245 --without-mpg123 do not use the mpg123 library
2246 --without-netapi do not use the Samba NetAPI library
2247 --without-openal do not use OpenAL
2248 --without-opencl do not use OpenCL
2249 --without-opengl do not use OpenGL
2250 --without-osmesa do not use the OSMesa library
2251 --without-oss do not use the OSS sound support
2252 --without-pcap do not use the Packet Capture library
2253 --without-png do not use PNG
2254 --without-pthread do not use the pthread library
2255 --without-pulse do not use PulseAudio sound support
2256 --without-sane do not use SANE (scanner support)
2257 --without-tiff do not use TIFF
2258 --without-v4l do not use v4l1 (v4l support)
2259 --without-xcomposite do not use the Xcomposite extension
2260 --without-xcursor do not use the Xcursor extension
2261 --without-xinerama do not use Xinerama (multi-monitor support)
2262 --without-xinput do not use the Xinput extension
2263 --without-xinput2 do not use the Xinput 2 extension
2264 --without-xml do not use XML
2265 --without-xrandr do not use Xrandr (resolution changes)
2266 --without-xrender do not use the Xrender extension
2267 --without-xshape do not use the Xshape extension
2268 --without-xshm do not use XShm (shared memory extension)
2269 --without-xslt do not use XSLT
2270 --without-xxf86vm do not use XFree video mode extension
2271 --without-zlib do not use Zlib (data compression)
2272 --with-wine-tools=DIR use Wine tools from directory DIR
2273 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2274 --with-x use the X Window System
2276 Some influential environment variables:
2277 CC C compiler command
2278 CFLAGS C compiler flags
2279 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2280 nonstandard directory <lib dir>
2281 LIBS libraries to pass to the linker, e.g. -l<library>
2282 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2283 you have headers in a nonstandard directory <include dir>
2284 CXX C++ compiler command
2285 CXXFLAGS C++ compiler flags
2286 CPP C preprocessor
2287 XMKMF Path to xmkmf, Makefile generator for X Window System
2288 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2289 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2290 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2291 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2292 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2293 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2294 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2295 HAL_LIBS Linker flags for hal, overriding pkg-config
2296 GNUTLS_CFLAGS
2297 C compiler flags for gnutls, overriding pkg-config
2298 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2299 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2300 SANE_LIBS Linker flags for libsane, overriding pkg-config
2301 GPHOTO2_CFLAGS
2302 C compiler flags for libgphoto2, overriding pkg-config
2303 GPHOTO2_LIBS
2304 Linker flags for libgphoto2, overriding pkg-config
2305 GPHOTO2_PORT_CFLAGS
2306 C compiler flags for libgphoto2_port, overriding pkg-config
2307 GPHOTO2_PORT_LIBS
2308 Linker flags for libgphoto2_port, overriding pkg-config
2309 LCMS2_CFLAGS
2310 C compiler flags for lcms2, overriding pkg-config
2311 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2312 FREETYPE_CFLAGS
2313 C compiler flags for freetype2, overriding pkg-config
2314 FREETYPE_LIBS
2315 Linker flags for freetype2, overriding pkg-config
2316 PULSE_CFLAGS
2317 C compiler flags for libpulse, overriding pkg-config
2318 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2319 GSTREAMER_CFLAGS
2320 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2321 gstreamer-audio-1.0, overriding pkg-config
2322 GSTREAMER_LIBS
2323 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2324 gstreamer-audio-1.0, overriding pkg-config
2325 CAPI20_CFLAGS
2326 C compiler flags for capi20, overriding pkg-config
2327 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2328 FONTCONFIG_CFLAGS
2329 C compiler flags for fontconfig, overriding pkg-config
2330 FONTCONFIG_LIBS
2331 Linker flags for fontconfig, overriding pkg-config
2332 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2333 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2334 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2335 PNG_LIBS Linker flags for libpng, overriding pkg-config
2336 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2337 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2338 MPG123_CFLAGS
2339 C compiler flags for libmpg123, overriding pkg-config
2340 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2341 NETAPI_CFLAGS
2342 C compiler flags for netapi, overriding pkg-config
2343 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2345 Use these variables to override the choices made by `configure' or to help
2346 it to find libraries and programs with nonstandard names/locations.
2348 Report bugs to <wine-devel@winehq.org>.
2349 Wine home page: <http://www.winehq.org>.
2350 _ACEOF
2351 ac_status=$?
2354 if test "$ac_init_help" = "recursive"; then
2355 # If there are subdirs, report their specific --help.
2356 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2357 test -d "$ac_dir" ||
2358 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2359 continue
2360 ac_builddir=.
2362 case "$ac_dir" in
2363 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2365 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2366 # A ".." for each directory in $ac_dir_suffix.
2367 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2368 case $ac_top_builddir_sub in
2369 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2370 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2371 esac ;;
2372 esac
2373 ac_abs_top_builddir=$ac_pwd
2374 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2375 # for backward compatibility:
2376 ac_top_builddir=$ac_top_build_prefix
2378 case $srcdir in
2379 .) # We are building in place.
2380 ac_srcdir=.
2381 ac_top_srcdir=$ac_top_builddir_sub
2382 ac_abs_top_srcdir=$ac_pwd ;;
2383 [\\/]* | ?:[\\/]* ) # Absolute name.
2384 ac_srcdir=$srcdir$ac_dir_suffix;
2385 ac_top_srcdir=$srcdir
2386 ac_abs_top_srcdir=$srcdir ;;
2387 *) # Relative name.
2388 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2389 ac_top_srcdir=$ac_top_build_prefix$srcdir
2390 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2391 esac
2392 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2394 cd "$ac_dir" || { ac_status=$?; continue; }
2395 # Check for guested configure.
2396 if test -f "$ac_srcdir/configure.gnu"; then
2397 echo &&
2398 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2399 elif test -f "$ac_srcdir/configure"; then
2400 echo &&
2401 $SHELL "$ac_srcdir/configure" --help=recursive
2402 else
2403 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2404 fi || ac_status=$?
2405 cd "$ac_pwd" || { ac_status=$?; break; }
2406 done
2409 test -n "$ac_init_help" && exit $ac_status
2410 if $ac_init_version; then
2411 cat <<\_ACEOF
2412 Wine configure 1.9.9
2413 generated by GNU Autoconf 2.69
2415 Copyright (C) 2012 Free Software Foundation, Inc.
2416 This configure script is free software; the Free Software Foundation
2417 gives unlimited permission to copy, distribute and modify it.
2418 _ACEOF
2419 exit
2422 ## ------------------------ ##
2423 ## Autoconf initialization. ##
2424 ## ------------------------ ##
2426 # ac_fn_c_try_compile LINENO
2427 # --------------------------
2428 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2429 ac_fn_c_try_compile ()
2431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2432 rm -f conftest.$ac_objext
2433 if { { ac_try="$ac_compile"
2434 case "(($ac_try" in
2435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2436 *) ac_try_echo=$ac_try;;
2437 esac
2438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2439 $as_echo "$ac_try_echo"; } >&5
2440 (eval "$ac_compile") 2>conftest.err
2441 ac_status=$?
2442 if test -s conftest.err; then
2443 grep -v '^ *+' conftest.err >conftest.er1
2444 cat conftest.er1 >&5
2445 mv -f conftest.er1 conftest.err
2447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2448 test $ac_status = 0; } && {
2449 test -z "$ac_c_werror_flag" ||
2450 test ! -s conftest.err
2451 } && test -s conftest.$ac_objext; then :
2452 ac_retval=0
2453 else
2454 $as_echo "$as_me: failed program was:" >&5
2455 sed 's/^/| /' conftest.$ac_ext >&5
2457 ac_retval=1
2459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 as_fn_set_status $ac_retval
2462 } # ac_fn_c_try_compile
2464 # ac_fn_cxx_try_compile LINENO
2465 # ----------------------------
2466 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2467 ac_fn_cxx_try_compile ()
2469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2470 rm -f conftest.$ac_objext
2471 if { { ac_try="$ac_compile"
2472 case "(($ac_try" in
2473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2474 *) ac_try_echo=$ac_try;;
2475 esac
2476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2477 $as_echo "$ac_try_echo"; } >&5
2478 (eval "$ac_compile") 2>conftest.err
2479 ac_status=$?
2480 if test -s conftest.err; then
2481 grep -v '^ *+' conftest.err >conftest.er1
2482 cat conftest.er1 >&5
2483 mv -f conftest.er1 conftest.err
2485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2486 test $ac_status = 0; } && {
2487 test -z "$ac_cxx_werror_flag" ||
2488 test ! -s conftest.err
2489 } && test -s conftest.$ac_objext; then :
2490 ac_retval=0
2491 else
2492 $as_echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.$ac_ext >&5
2495 ac_retval=1
2497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2498 as_fn_set_status $ac_retval
2500 } # ac_fn_cxx_try_compile
2502 # ac_fn_c_try_link LINENO
2503 # -----------------------
2504 # Try to link conftest.$ac_ext, and return whether this succeeded.
2505 ac_fn_c_try_link ()
2507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2508 rm -f conftest.$ac_objext conftest$ac_exeext
2509 if { { ac_try="$ac_link"
2510 case "(($ac_try" in
2511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2512 *) ac_try_echo=$ac_try;;
2513 esac
2514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2515 $as_echo "$ac_try_echo"; } >&5
2516 (eval "$ac_link") 2>conftest.err
2517 ac_status=$?
2518 if test -s conftest.err; then
2519 grep -v '^ *+' conftest.err >conftest.er1
2520 cat conftest.er1 >&5
2521 mv -f conftest.er1 conftest.err
2523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2524 test $ac_status = 0; } && {
2525 test -z "$ac_c_werror_flag" ||
2526 test ! -s conftest.err
2527 } && test -s conftest$ac_exeext && {
2528 test "$cross_compiling" = yes ||
2529 test -x conftest$ac_exeext
2530 }; then :
2531 ac_retval=0
2532 else
2533 $as_echo "$as_me: failed program was:" >&5
2534 sed 's/^/| /' conftest.$ac_ext >&5
2536 ac_retval=1
2538 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2539 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2540 # interfere with the next link command; also delete a directory that is
2541 # left behind by Apple's compiler. We do this before executing the actions.
2542 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2544 as_fn_set_status $ac_retval
2546 } # ac_fn_c_try_link
2548 # ac_fn_c_try_cpp LINENO
2549 # ----------------------
2550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2551 ac_fn_c_try_cpp ()
2553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2554 if { { ac_try="$ac_cpp conftest.$ac_ext"
2555 case "(($ac_try" in
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2558 esac
2559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2562 ac_status=$?
2563 if test -s conftest.err; then
2564 grep -v '^ *+' conftest.err >conftest.er1
2565 cat conftest.er1 >&5
2566 mv -f conftest.er1 conftest.err
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; } > conftest.i && {
2570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2571 test ! -s conftest.err
2572 }; then :
2573 ac_retval=0
2574 else
2575 $as_echo "$as_me: failed program was:" >&5
2576 sed 's/^/| /' conftest.$ac_ext >&5
2578 ac_retval=1
2580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2581 as_fn_set_status $ac_retval
2583 } # ac_fn_c_try_cpp
2585 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2586 # -------------------------------------------------------
2587 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2588 # the include files in INCLUDES and setting the cache variable VAR
2589 # accordingly.
2590 ac_fn_c_check_header_mongrel ()
2592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2593 if eval \${$3+:} false; then :
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if eval \${$3+:} false; then :
2597 $as_echo_n "(cached) " >&6
2599 eval ac_res=\$$3
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2601 $as_echo "$ac_res" >&6; }
2602 else
2603 # Is the header compilable?
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2605 $as_echo_n "checking $2 usability... " >&6; }
2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 /* end confdefs.h. */
2609 #include <$2>
2610 _ACEOF
2611 if ac_fn_c_try_compile "$LINENO"; then :
2612 ac_header_compiler=yes
2613 else
2614 ac_header_compiler=no
2616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2618 $as_echo "$ac_header_compiler" >&6; }
2620 # Is the header present?
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2622 $as_echo_n "checking $2 presence... " >&6; }
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2625 #include <$2>
2626 _ACEOF
2627 if ac_fn_c_try_cpp "$LINENO"; then :
2628 ac_header_preproc=yes
2629 else
2630 ac_header_preproc=no
2632 rm -f conftest.err conftest.i conftest.$ac_ext
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2634 $as_echo "$ac_header_preproc" >&6; }
2636 # So? What about this header?
2637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2638 yes:no: )
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2640 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2644 no:yes:* )
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2646 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2648 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2650 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2652 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2654 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2655 ( $as_echo "## ------------------------------------ ##
2656 ## Report this to wine-devel@winehq.org ##
2657 ## ------------------------------------ ##"
2658 ) | sed "s/^/$as_me: WARNING: /" >&2
2660 esac
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2662 $as_echo_n "checking for $2... " >&6; }
2663 if eval \${$3+:} false; then :
2664 $as_echo_n "(cached) " >&6
2665 else
2666 eval "$3=\$ac_header_compiler"
2668 eval ac_res=\$$3
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2670 $as_echo "$ac_res" >&6; }
2672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2674 } # ac_fn_c_check_header_mongrel
2676 # ac_fn_c_try_run LINENO
2677 # ----------------------
2678 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2679 # that executables *can* be run.
2680 ac_fn_c_try_run ()
2682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2683 if { { ac_try="$ac_link"
2684 case "(($ac_try" in
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2687 esac
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 $as_echo "$ac_try_echo"; } >&5
2690 (eval "$ac_link") 2>&5
2691 ac_status=$?
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2694 { { case "(($ac_try" in
2695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2696 *) ac_try_echo=$ac_try;;
2697 esac
2698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2699 $as_echo "$ac_try_echo"; } >&5
2700 (eval "$ac_try") 2>&5
2701 ac_status=$?
2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; }; }; then :
2704 ac_retval=0
2705 else
2706 $as_echo "$as_me: program exited with status $ac_status" >&5
2707 $as_echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2710 ac_retval=$ac_status
2712 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2714 as_fn_set_status $ac_retval
2716 } # ac_fn_c_try_run
2718 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2719 # -------------------------------------------------------
2720 # Tests whether HEADER exists and can be compiled using the include files in
2721 # INCLUDES, setting the cache variable VAR accordingly.
2722 ac_fn_c_check_header_compile ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2726 $as_echo_n "checking for $2... " >&6; }
2727 if eval \${$3+:} false; then :
2728 $as_echo_n "(cached) " >&6
2729 else
2730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2733 #include <$2>
2734 _ACEOF
2735 if ac_fn_c_try_compile "$LINENO"; then :
2736 eval "$3=yes"
2737 else
2738 eval "$3=no"
2740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2742 eval ac_res=\$$3
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2744 $as_echo "$ac_res" >&6; }
2745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2747 } # ac_fn_c_check_header_compile
2749 # ac_fn_c_check_func LINENO FUNC VAR
2750 # ----------------------------------
2751 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2752 ac_fn_c_check_func ()
2754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2756 $as_echo_n "checking for $2... " >&6; }
2757 if eval \${$3+:} false; then :
2758 $as_echo_n "(cached) " >&6
2759 else
2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2762 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2764 #define $2 innocuous_$2
2766 /* System header to define __stub macros and hopefully few prototypes,
2767 which can conflict with char $2 (); below.
2768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2769 <limits.h> exists even on freestanding compilers. */
2771 #ifdef __STDC__
2772 # include <limits.h>
2773 #else
2774 # include <assert.h>
2775 #endif
2777 #undef $2
2779 /* Override any GCC internal prototype to avoid an error.
2780 Use char because int might match the return type of a GCC
2781 builtin and then its argument prototype would still apply. */
2782 #ifdef __cplusplus
2783 extern "C"
2784 #endif
2785 char $2 ();
2786 /* The GNU C library defines this for functions which it implements
2787 to always fail with ENOSYS. Some functions are actually named
2788 something starting with __ and the normal name is an alias. */
2789 #if defined __stub_$2 || defined __stub___$2
2790 choke me
2791 #endif
2794 main ()
2796 return $2 ();
2798 return 0;
2800 _ACEOF
2801 if ac_fn_c_try_link "$LINENO"; then :
2802 eval "$3=yes"
2803 else
2804 eval "$3=no"
2806 rm -f core conftest.err conftest.$ac_objext \
2807 conftest$ac_exeext conftest.$ac_ext
2809 eval ac_res=\$$3
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2811 $as_echo "$ac_res" >&6; }
2812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2814 } # ac_fn_c_check_func
2816 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2817 # ----------------------------------------------------
2818 # Tries to find if the field MEMBER exists in type AGGR, after including
2819 # INCLUDES, setting cache variable VAR accordingly.
2820 ac_fn_c_check_member ()
2822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2824 $as_echo_n "checking for $2.$3... " >&6; }
2825 if eval \${$4+:} false; then :
2826 $as_echo_n "(cached) " >&6
2827 else
2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2829 /* end confdefs.h. */
2832 main ()
2834 static $2 ac_aggr;
2835 if (ac_aggr.$3)
2836 return 0;
2838 return 0;
2840 _ACEOF
2841 if ac_fn_c_try_compile "$LINENO"; then :
2842 eval "$4=yes"
2843 else
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2848 main ()
2850 static $2 ac_aggr;
2851 if (sizeof ac_aggr.$3)
2852 return 0;
2854 return 0;
2856 _ACEOF
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 eval "$4=yes"
2859 else
2860 eval "$4=no"
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 eval ac_res=\$$4
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2868 $as_echo "$ac_res" >&6; }
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2871 } # ac_fn_c_check_member
2873 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2874 # -------------------------------------------
2875 # Tests whether TYPE exists after having included INCLUDES, setting cache
2876 # variable VAR accordingly.
2877 ac_fn_c_check_type ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 $as_echo_n "checking for $2... " >&6; }
2882 if eval \${$3+:} false; then :
2883 $as_echo_n "(cached) " >&6
2884 else
2885 eval "$3=no"
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2890 main ()
2892 if (sizeof ($2))
2893 return 0;
2895 return 0;
2897 _ACEOF
2898 if ac_fn_c_try_compile "$LINENO"; then :
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h. */
2903 main ()
2905 if (sizeof (($2)))
2906 return 0;
2908 return 0;
2910 _ACEOF
2911 if ac_fn_c_try_compile "$LINENO"; then :
2913 else
2914 eval "$3=yes"
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 eval ac_res=\$$3
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2922 $as_echo "$ac_res" >&6; }
2923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2925 } # ac_fn_c_check_type
2926 cat >config.log <<_ACEOF
2927 This file contains any messages produced by compilers while
2928 running configure, to aid debugging if configure makes a mistake.
2930 It was created by Wine $as_me 1.9.9, which was
2931 generated by GNU Autoconf 2.69. Invocation command line was
2933 $ $0 $@
2935 _ACEOF
2936 exec 5>>config.log
2938 cat <<_ASUNAME
2939 ## --------- ##
2940 ## Platform. ##
2941 ## --------- ##
2943 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2944 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2945 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2946 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2947 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2949 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2950 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2952 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2953 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2954 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2955 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2956 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2957 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2958 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2960 _ASUNAME
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 for as_dir in $PATH
2965 IFS=$as_save_IFS
2966 test -z "$as_dir" && as_dir=.
2967 $as_echo "PATH: $as_dir"
2968 done
2969 IFS=$as_save_IFS
2971 } >&5
2973 cat >&5 <<_ACEOF
2976 ## ----------- ##
2977 ## Core tests. ##
2978 ## ----------- ##
2980 _ACEOF
2983 # Keep a trace of the command line.
2984 # Strip out --no-create and --no-recursion so they do not pile up.
2985 # Strip out --silent because we don't want to record it for future runs.
2986 # Also quote any args containing shell meta-characters.
2987 # Make two passes to allow for proper duplicate-argument suppression.
2988 ac_configure_args=
2989 ac_configure_args0=
2990 ac_configure_args1=
2991 ac_must_keep_next=false
2992 for ac_pass in 1 2
2994 for ac_arg
2996 case $ac_arg in
2997 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2999 | -silent | --silent | --silen | --sile | --sil)
3000 continue ;;
3001 *\'*)
3002 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3003 esac
3004 case $ac_pass in
3005 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3007 as_fn_append ac_configure_args1 " '$ac_arg'"
3008 if test $ac_must_keep_next = true; then
3009 ac_must_keep_next=false # Got value, back to normal.
3010 else
3011 case $ac_arg in
3012 *=* | --config-cache | -C | -disable-* | --disable-* \
3013 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3014 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3015 | -with-* | --with-* | -without-* | --without-* | --x)
3016 case "$ac_configure_args0 " in
3017 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3018 esac
3020 -* ) ac_must_keep_next=true ;;
3021 esac
3023 as_fn_append ac_configure_args " '$ac_arg'"
3025 esac
3026 done
3027 done
3028 { ac_configure_args0=; unset ac_configure_args0;}
3029 { ac_configure_args1=; unset ac_configure_args1;}
3031 # When interrupted or exit'd, cleanup temporary files, and complete
3032 # config.log. We remove comments because anyway the quotes in there
3033 # would cause problems or look ugly.
3034 # WARNING: Use '\'' to represent an apostrophe within the trap.
3035 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3036 trap 'exit_status=$?
3037 # Save into config.log some information that might help in debugging.
3039 echo
3041 $as_echo "## ---------------- ##
3042 ## Cache variables. ##
3043 ## ---------------- ##"
3044 echo
3045 # The following way of writing the cache mishandles newlines in values,
3047 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3048 eval ac_val=\$$ac_var
3049 case $ac_val in #(
3050 *${as_nl}*)
3051 case $ac_var in #(
3052 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3053 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3054 esac
3055 case $ac_var in #(
3056 _ | IFS | as_nl) ;; #(
3057 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3058 *) { eval $ac_var=; unset $ac_var;} ;;
3059 esac ;;
3060 esac
3061 done
3062 (set) 2>&1 |
3063 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3064 *${as_nl}ac_space=\ *)
3065 sed -n \
3066 "s/'\''/'\''\\\\'\'''\''/g;
3067 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3068 ;; #(
3070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3072 esac |
3073 sort
3075 echo
3077 $as_echo "## ----------------- ##
3078 ## Output variables. ##
3079 ## ----------------- ##"
3080 echo
3081 for ac_var in $ac_subst_vars
3083 eval ac_val=\$$ac_var
3084 case $ac_val in
3085 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3086 esac
3087 $as_echo "$ac_var='\''$ac_val'\''"
3088 done | sort
3089 echo
3091 if test -n "$ac_subst_files"; then
3092 $as_echo "## ------------------- ##
3093 ## File substitutions. ##
3094 ## ------------------- ##"
3095 echo
3096 for ac_var in $ac_subst_files
3098 eval ac_val=\$$ac_var
3099 case $ac_val in
3100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3101 esac
3102 $as_echo "$ac_var='\''$ac_val'\''"
3103 done | sort
3104 echo
3107 if test -s confdefs.h; then
3108 $as_echo "## ----------- ##
3109 ## confdefs.h. ##
3110 ## ----------- ##"
3111 echo
3112 cat confdefs.h
3113 echo
3115 test "$ac_signal" != 0 &&
3116 $as_echo "$as_me: caught signal $ac_signal"
3117 $as_echo "$as_me: exit $exit_status"
3118 } >&5
3119 rm -f core *.core core.conftest.* &&
3120 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3121 exit $exit_status
3123 for ac_signal in 1 2 13 15; do
3124 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3125 done
3126 ac_signal=0
3128 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3129 rm -f -r conftest* confdefs.h
3131 $as_echo "/* confdefs.h */" > confdefs.h
3133 # Predefined preprocessor variables.
3135 cat >>confdefs.h <<_ACEOF
3136 #define PACKAGE_NAME "$PACKAGE_NAME"
3137 _ACEOF
3139 cat >>confdefs.h <<_ACEOF
3140 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3141 _ACEOF
3143 cat >>confdefs.h <<_ACEOF
3144 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3145 _ACEOF
3147 cat >>confdefs.h <<_ACEOF
3148 #define PACKAGE_STRING "$PACKAGE_STRING"
3149 _ACEOF
3151 cat >>confdefs.h <<_ACEOF
3152 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3153 _ACEOF
3155 cat >>confdefs.h <<_ACEOF
3156 #define PACKAGE_URL "$PACKAGE_URL"
3157 _ACEOF
3160 # Let the site file select an alternate cache file if it wants to.
3161 # Prefer an explicitly selected file to automatically selected ones.
3162 ac_site_file1=NONE
3163 ac_site_file2=NONE
3164 if test -n "$CONFIG_SITE"; then
3165 # We do not want a PATH search for config.site.
3166 case $CONFIG_SITE in #((
3167 -*) ac_site_file1=./$CONFIG_SITE;;
3168 */*) ac_site_file1=$CONFIG_SITE;;
3169 *) ac_site_file1=./$CONFIG_SITE;;
3170 esac
3171 elif test "x$prefix" != xNONE; then
3172 ac_site_file1=$prefix/share/config.site
3173 ac_site_file2=$prefix/etc/config.site
3174 else
3175 ac_site_file1=$ac_default_prefix/share/config.site
3176 ac_site_file2=$ac_default_prefix/etc/config.site
3178 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3180 test "x$ac_site_file" = xNONE && continue
3181 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3183 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3184 sed 's/^/| /' "$ac_site_file" >&5
3185 . "$ac_site_file" \
3186 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error $? "failed to load site script $ac_site_file
3189 See \`config.log' for more details" "$LINENO" 5; }
3191 done
3193 if test -r "$cache_file"; then
3194 # Some versions of bash will fail to source /dev/null (special files
3195 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3196 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3198 $as_echo "$as_me: loading cache $cache_file" >&6;}
3199 case $cache_file in
3200 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3201 *) . "./$cache_file";;
3202 esac
3204 else
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3206 $as_echo "$as_me: creating cache $cache_file" >&6;}
3207 >$cache_file
3210 # Check that the precious variables saved in the cache have kept the same
3211 # value.
3212 ac_cache_corrupted=false
3213 for ac_var in $ac_precious_vars; do
3214 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3215 eval ac_new_set=\$ac_env_${ac_var}_set
3216 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3217 eval ac_new_val=\$ac_env_${ac_var}_value
3218 case $ac_old_set,$ac_new_set in
3219 set,)
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3221 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3222 ac_cache_corrupted=: ;;
3223 ,set)
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3225 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3226 ac_cache_corrupted=: ;;
3227 ,);;
3229 if test "x$ac_old_val" != "x$ac_new_val"; then
3230 # differences in whitespace do not lead to failure.
3231 ac_old_val_w=`echo x $ac_old_val`
3232 ac_new_val_w=`echo x $ac_new_val`
3233 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3235 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3236 ac_cache_corrupted=:
3237 else
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3239 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3240 eval $ac_var=\$ac_old_val
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3243 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3245 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3246 fi;;
3247 esac
3248 # Pass precious variables to config.status.
3249 if test "$ac_new_set" = set; then
3250 case $ac_new_val in
3251 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3252 *) ac_arg=$ac_var=$ac_new_val ;;
3253 esac
3254 case " $ac_configure_args " in
3255 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3256 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3257 esac
3259 done
3260 if $ac_cache_corrupted; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3264 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3265 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3267 ## -------------------- ##
3268 ## Main body of script. ##
3269 ## -------------------- ##
3271 ac_ext=c
3272 ac_cpp='$CPP $CPPFLAGS'
3273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3279 ac_config_headers="$ac_config_headers include/config.h"
3281 ac_aux_dir=
3282 for ac_dir in tools "$srcdir"/tools; do
3283 if test -f "$ac_dir/install-sh"; then
3284 ac_aux_dir=$ac_dir
3285 ac_install_sh="$ac_aux_dir/install-sh -c"
3286 break
3287 elif test -f "$ac_dir/install.sh"; then
3288 ac_aux_dir=$ac_dir
3289 ac_install_sh="$ac_aux_dir/install.sh -c"
3290 break
3291 elif test -f "$ac_dir/shtool"; then
3292 ac_aux_dir=$ac_dir
3293 ac_install_sh="$ac_aux_dir/shtool install -c"
3294 break
3296 done
3297 if test -z "$ac_aux_dir"; then
3298 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3301 # These three variables are undocumented and unsupported,
3302 # and are intended to be withdrawn in a future Autoconf release.
3303 # They can cause serious problems if a builder's source tree is in a directory
3304 # whose full name contains unusual characters.
3305 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3306 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3307 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3311 libwine_version="1.0"
3315 # Check whether --enable-win16 was given.
3316 if test "${enable_win16+set}" = set; then :
3317 enableval=$enable_win16;
3320 # Check whether --enable-win64 was given.
3321 if test "${enable_win64+set}" = set; then :
3322 enableval=$enable_win64;
3325 # Check whether --enable-tests was given.
3326 if test "${enable_tests+set}" = set; then :
3327 enableval=$enable_tests;
3330 # Check whether --enable-maintainer-mode was given.
3331 if test "${enable_maintainer_mode+set}" = set; then :
3332 enableval=$enable_maintainer_mode;
3337 # Check whether --with-alsa was given.
3338 if test "${with_alsa+set}" = set; then :
3339 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3343 # Check whether --with-capi was given.
3344 if test "${with_capi+set}" = set; then :
3345 withval=$with_capi;
3349 # Check whether --with-cms was given.
3350 if test "${with_cms+set}" = set; then :
3351 withval=$with_cms;
3355 # Check whether --with-coreaudio was given.
3356 if test "${with_coreaudio+set}" = set; then :
3357 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3361 # Check whether --with-cups was given.
3362 if test "${with_cups+set}" = set; then :
3363 withval=$with_cups;
3367 # Check whether --with-curses was given.
3368 if test "${with_curses+set}" = set; then :
3369 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3373 # Check whether --with-dbus was given.
3374 if test "${with_dbus+set}" = set; then :
3375 withval=$with_dbus;
3379 # Check whether --with-fontconfig was given.
3380 if test "${with_fontconfig+set}" = set; then :
3381 withval=$with_fontconfig;
3385 # Check whether --with-freetype was given.
3386 if test "${with_freetype+set}" = set; then :
3387 withval=$with_freetype;
3391 # Check whether --with-gettext was given.
3392 if test "${with_gettext+set}" = set; then :
3393 withval=$with_gettext;
3397 # Check whether --with-gettextpo was given.
3398 if test "${with_gettextpo+set}" = set; then :
3399 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3403 # Check whether --with-gphoto was given.
3404 if test "${with_gphoto+set}" = set; then :
3405 withval=$with_gphoto;
3409 # Check whether --with-glu was given.
3410 if test "${with_glu+set}" = set; then :
3411 withval=$with_glu;
3415 # Check whether --with-gnutls was given.
3416 if test "${with_gnutls+set}" = set; then :
3417 withval=$with_gnutls;
3421 # Check whether --with-gsm was given.
3422 if test "${with_gsm+set}" = set; then :
3423 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3427 # Check whether --with-gstreamer was given.
3428 if test "${with_gstreamer+set}" = set; then :
3429 withval=$with_gstreamer;
3433 # Check whether --with-hal was given.
3434 if test "${with_hal+set}" = set; then :
3435 withval=$with_hal;
3439 # Check whether --with-jpeg was given.
3440 if test "${with_jpeg+set}" = set; then :
3441 withval=$with_jpeg;
3445 # Check whether --with-ldap was given.
3446 if test "${with_ldap+set}" = set; then :
3447 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3451 # Check whether --with-mpg123 was given.
3452 if test "${with_mpg123+set}" = set; then :
3453 withval=$with_mpg123;
3457 # Check whether --with-netapi was given.
3458 if test "${with_netapi+set}" = set; then :
3459 withval=$with_netapi;
3463 # Check whether --with-openal was given.
3464 if test "${with_openal+set}" = set; then :
3465 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3469 # Check whether --with-opencl was given.
3470 if test "${with_opencl+set}" = set; then :
3471 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3475 # Check whether --with-opengl was given.
3476 if test "${with_opengl+set}" = set; then :
3477 withval=$with_opengl;
3481 # Check whether --with-osmesa was given.
3482 if test "${with_osmesa+set}" = set; then :
3483 withval=$with_osmesa;
3487 # Check whether --with-oss was given.
3488 if test "${with_oss+set}" = set; then :
3489 withval=$with_oss;
3493 # Check whether --with-pcap was given.
3494 if test "${with_pcap+set}" = set; then :
3495 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3499 # Check whether --with-png was given.
3500 if test "${with_png+set}" = set; then :
3501 withval=$with_png;
3505 # Check whether --with-pthread was given.
3506 if test "${with_pthread+set}" = set; then :
3507 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3511 # Check whether --with-pulse was given.
3512 if test "${with_pulse+set}" = set; then :
3513 withval=$with_pulse;
3517 # Check whether --with-sane was given.
3518 if test "${with_sane+set}" = set; then :
3519 withval=$with_sane;
3523 # Check whether --with-tiff was given.
3524 if test "${with_tiff+set}" = set; then :
3525 withval=$with_tiff;
3529 # Check whether --with-v4l was given.
3530 if test "${with_v4l+set}" = set; then :
3531 withval=$with_v4l;
3535 # Check whether --with-xcomposite was given.
3536 if test "${with_xcomposite+set}" = set; then :
3537 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3541 # Check whether --with-xcursor was given.
3542 if test "${with_xcursor+set}" = set; then :
3543 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3547 # Check whether --with-xinerama was given.
3548 if test "${with_xinerama+set}" = set; then :
3549 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3553 # Check whether --with-xinput was given.
3554 if test "${with_xinput+set}" = set; then :
3555 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3559 # Check whether --with-xinput2 was given.
3560 if test "${with_xinput2+set}" = set; then :
3561 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3565 # Check whether --with-xml was given.
3566 if test "${with_xml+set}" = set; then :
3567 withval=$with_xml;
3571 # Check whether --with-xrandr was given.
3572 if test "${with_xrandr+set}" = set; then :
3573 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3577 # Check whether --with-xrender was given.
3578 if test "${with_xrender+set}" = set; then :
3579 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3583 # Check whether --with-xshape was given.
3584 if test "${with_xshape+set}" = set; then :
3585 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3589 # Check whether --with-xshm was given.
3590 if test "${with_xshm+set}" = set; then :
3591 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3595 # Check whether --with-xslt was given.
3596 if test "${with_xslt+set}" = set; then :
3597 withval=$with_xslt;
3601 # Check whether --with-xxf86vm was given.
3602 if test "${with_xxf86vm+set}" = set; then :
3603 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
3607 # Check whether --with-zlib was given.
3608 if test "${with_zlib+set}" = set; then :
3609 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3614 # Check whether --with-wine-tools was given.
3615 if test "${with_wine_tools+set}" = set; then :
3616 withval=$with_wine_tools;
3620 # Check whether --with-wine64 was given.
3621 if test "${with_wine64+set}" = set; then :
3622 withval=$with_wine64;
3626 # Make sure we can run config.sub.
3627 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3628 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3631 $as_echo_n "checking build system type... " >&6; }
3632 if ${ac_cv_build+:} false; then :
3633 $as_echo_n "(cached) " >&6
3634 else
3635 ac_build_alias=$build_alias
3636 test "x$ac_build_alias" = x &&
3637 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3638 test "x$ac_build_alias" = x &&
3639 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3640 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3641 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3645 $as_echo "$ac_cv_build" >&6; }
3646 case $ac_cv_build in
3647 *-*-*) ;;
3648 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3649 esac
3650 build=$ac_cv_build
3651 ac_save_IFS=$IFS; IFS='-'
3652 set x $ac_cv_build
3653 shift
3654 build_cpu=$1
3655 build_vendor=$2
3656 shift; shift
3657 # Remember, the first character of IFS is used to create $*,
3658 # except with old shells:
3659 build_os=$*
3660 IFS=$ac_save_IFS
3661 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3665 $as_echo_n "checking host system type... " >&6; }
3666 if ${ac_cv_host+:} false; then :
3667 $as_echo_n "(cached) " >&6
3668 else
3669 if test "x$host_alias" = x; then
3670 ac_cv_host=$ac_cv_build
3671 else
3672 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3673 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3678 $as_echo "$ac_cv_host" >&6; }
3679 case $ac_cv_host in
3680 *-*-*) ;;
3681 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3682 esac
3683 host=$ac_cv_host
3684 ac_save_IFS=$IFS; IFS='-'
3685 set x $ac_cv_host
3686 shift
3687 host_cpu=$1
3688 host_vendor=$2
3689 shift; shift
3690 # Remember, the first character of IFS is used to create $*,
3691 # except with old shells:
3692 host_os=$*
3693 IFS=$ac_save_IFS
3694 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3698 case "$srcdir" in
3699 .) ;;
3700 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3701 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3702 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3703 fi ;;
3704 esac
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3708 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3709 set x ${MAKE-make}
3710 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3711 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3712 $as_echo_n "(cached) " >&6
3713 else
3714 cat >conftest.make <<\_ACEOF
3715 SHELL = /bin/sh
3716 all:
3717 @echo '@@@%%%=$(MAKE)=@@@%%%'
3718 _ACEOF
3719 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3720 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3721 *@@@%%%=?*=@@@%%%*)
3722 eval ac_cv_prog_make_${ac_make}_set=yes;;
3724 eval ac_cv_prog_make_${ac_make}_set=no;;
3725 esac
3726 rm -f conftest.make
3728 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3730 $as_echo "yes" >&6; }
3731 SET_MAKE=
3732 else
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3735 SET_MAKE="MAKE=${MAKE-make}"
3738 ac_ext=c
3739 ac_cpp='$CPP $CPPFLAGS'
3740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3743 if test -n "$ac_tool_prefix"; then
3744 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3745 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_CC+:} false; then :
3749 $as_echo_n "(cached) " >&6
3750 else
3751 if test -n "$CC"; then
3752 ac_cv_prog_CC="$CC" # Let the user override the test.
3753 else
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 for as_dir in $PATH
3757 IFS=$as_save_IFS
3758 test -z "$as_dir" && as_dir=.
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 break 2
3765 done
3766 done
3767 IFS=$as_save_IFS
3771 CC=$ac_cv_prog_CC
3772 if test -n "$CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3774 $as_echo "$CC" >&6; }
3775 else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3782 if test -z "$ac_cv_prog_CC"; then
3783 ac_ct_CC=$CC
3784 # Extract the first word of "gcc", so it can be a program name with args.
3785 set dummy gcc; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 if test -n "$ac_ct_CC"; then
3792 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3793 else
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in $PATH
3797 IFS=$as_save_IFS
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_ac_ct_CC="gcc"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 break 2
3805 done
3806 done
3807 IFS=$as_save_IFS
3811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3812 if test -n "$ac_ct_CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3814 $as_echo "$ac_ct_CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3820 if test "x$ac_ct_CC" = x; then
3821 CC=""
3822 else
3823 case $cross_compiling:$ac_tool_warned in
3824 yes:)
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3827 ac_tool_warned=yes ;;
3828 esac
3829 CC=$ac_ct_CC
3831 else
3832 CC="$ac_cv_prog_CC"
3835 if test -z "$CC"; then
3836 if test -n "$ac_tool_prefix"; then
3837 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3838 set dummy ${ac_tool_prefix}cc; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if ${ac_cv_prog_CC+:} false; then :
3842 $as_echo_n "(cached) " >&6
3843 else
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 else
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 for as_dir in $PATH
3850 IFS=$as_save_IFS
3851 test -z "$as_dir" && as_dir=.
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3854 ac_cv_prog_CC="${ac_tool_prefix}cc"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 break 2
3858 done
3859 done
3860 IFS=$as_save_IFS
3864 CC=$ac_cv_prog_CC
3865 if test -n "$CC"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3867 $as_echo "$CC" >&6; }
3868 else
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3876 if test -z "$CC"; then
3877 # Extract the first word of "cc", so it can be a program name with args.
3878 set dummy cc; ac_word=$2
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 $as_echo_n "checking for $ac_word... " >&6; }
3881 if ${ac_cv_prog_CC+:} false; then :
3882 $as_echo_n "(cached) " >&6
3883 else
3884 if test -n "$CC"; then
3885 ac_cv_prog_CC="$CC" # Let the user override the test.
3886 else
3887 ac_prog_rejected=no
3888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 for as_dir in $PATH
3891 IFS=$as_save_IFS
3892 test -z "$as_dir" && as_dir=.
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3895 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3896 ac_prog_rejected=yes
3897 continue
3899 ac_cv_prog_CC="cc"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 break 2
3903 done
3904 done
3905 IFS=$as_save_IFS
3907 if test $ac_prog_rejected = yes; then
3908 # We found a bogon in the path, so make sure we never use it.
3909 set dummy $ac_cv_prog_CC
3910 shift
3911 if test $# != 0; then
3912 # We chose a different compiler from the bogus one.
3913 # However, it has the same basename, so the bogon will be chosen
3914 # first if we set CC to just the basename; use the full file name.
3915 shift
3916 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3921 CC=$ac_cv_prog_CC
3922 if test -n "$CC"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3924 $as_echo "$CC" >&6; }
3925 else
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3932 if test -z "$CC"; then
3933 if test -n "$ac_tool_prefix"; then
3934 for ac_prog in cl.exe
3936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3937 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if ${ac_cv_prog_CC+:} false; then :
3941 $as_echo_n "(cached) " >&6
3942 else
3943 if test -n "$CC"; then
3944 ac_cv_prog_CC="$CC" # Let the user override the test.
3945 else
3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 for as_dir in $PATH
3949 IFS=$as_save_IFS
3950 test -z "$as_dir" && as_dir=.
3951 for ac_exec_ext in '' $ac_executable_extensions; do
3952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3953 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 break 2
3957 done
3958 done
3959 IFS=$as_save_IFS
3963 CC=$ac_cv_prog_CC
3964 if test -n "$CC"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3966 $as_echo "$CC" >&6; }
3967 else
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3973 test -n "$CC" && break
3974 done
3976 if test -z "$CC"; then
3977 ac_ct_CC=$CC
3978 for ac_prog in cl.exe
3980 # Extract the first word of "$ac_prog", so it can be a program name with args.
3981 set dummy $ac_prog; ac_word=$2
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3985 $as_echo_n "(cached) " >&6
3986 else
3987 if test -n "$ac_ct_CC"; then
3988 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_ac_ct_CC="$ac_prog"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4003 IFS=$as_save_IFS
4007 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4008 if test -n "$ac_ct_CC"; then
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4010 $as_echo "$ac_ct_CC" >&6; }
4011 else
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4017 test -n "$ac_ct_CC" && break
4018 done
4020 if test "x$ac_ct_CC" = x; then
4021 CC=""
4022 else
4023 case $cross_compiling:$ac_tool_warned in
4024 yes:)
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4027 ac_tool_warned=yes ;;
4028 esac
4029 CC=$ac_ct_CC
4036 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4038 as_fn_error $? "no acceptable C compiler found in \$PATH
4039 See \`config.log' for more details" "$LINENO" 5; }
4041 # Provide some information about the compiler.
4042 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4043 set X $ac_compile
4044 ac_compiler=$2
4045 for ac_option in --version -v -V -qversion; do
4046 { { ac_try="$ac_compiler $ac_option >&5"
4047 case "(($ac_try" in
4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4050 esac
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4054 ac_status=$?
4055 if test -s conftest.err; then
4056 sed '10a\
4057 ... rest of stderr output deleted ...
4058 10q' conftest.err >conftest.er1
4059 cat conftest.er1 >&5
4061 rm -f conftest.er1 conftest.err
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }
4064 done
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4070 main ()
4074 return 0;
4076 _ACEOF
4077 ac_clean_files_save=$ac_clean_files
4078 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4079 # Try to create an executable without -o first, disregard a.out.
4080 # It will help us diagnose broken compilers, and finding out an intuition
4081 # of exeext.
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4083 $as_echo_n "checking whether the C compiler works... " >&6; }
4084 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4086 # The possible output files:
4087 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4089 ac_rmfiles=
4090 for ac_file in $ac_files
4092 case $ac_file in
4093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4094 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4095 esac
4096 done
4097 rm -f $ac_rmfiles
4099 if { { ac_try="$ac_link_default"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_link_default") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4111 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4112 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4113 # so that the user can short-circuit this test for compilers unknown to
4114 # Autoconf.
4115 for ac_file in $ac_files ''
4117 test -f "$ac_file" || continue
4118 case $ac_file in
4119 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4121 [ab].out )
4122 # We found the default executable, but exeext='' is most
4123 # certainly right.
4124 break;;
4125 *.* )
4126 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4127 then :; else
4128 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4130 # We set ac_cv_exeext here because the later test for it is not
4131 # safe: cross compilers may not add the suffix if given an `-o'
4132 # argument, so we may need to know it at that point already.
4133 # Even if this section looks crufty: it has the advantage of
4134 # actually working.
4135 break;;
4137 break;;
4138 esac
4139 done
4140 test "$ac_cv_exeext" = no && ac_cv_exeext=
4142 else
4143 ac_file=''
4145 if test -z "$ac_file"; then :
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4148 $as_echo "$as_me: failed program was:" >&5
4149 sed 's/^/| /' conftest.$ac_ext >&5
4151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4153 as_fn_error 77 "C compiler cannot create executables
4154 See \`config.log' for more details" "$LINENO" 5; }
4155 else
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4157 $as_echo "yes" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4160 $as_echo_n "checking for C compiler default output file name... " >&6; }
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4162 $as_echo "$ac_file" >&6; }
4163 ac_exeext=$ac_cv_exeext
4165 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4166 ac_clean_files=$ac_clean_files_save
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4168 $as_echo_n "checking for suffix of executables... " >&6; }
4169 if { { ac_try="$ac_link"
4170 case "(($ac_try" in
4171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172 *) ac_try_echo=$ac_try;;
4173 esac
4174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4175 $as_echo "$ac_try_echo"; } >&5
4176 (eval "$ac_link") 2>&5
4177 ac_status=$?
4178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4179 test $ac_status = 0; }; then :
4180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4182 # work properly (i.e., refer to `conftest.exe'), while it won't with
4183 # `rm'.
4184 for ac_file in conftest.exe conftest conftest.*; do
4185 test -f "$ac_file" || continue
4186 case $ac_file in
4187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4189 break;;
4190 * ) break;;
4191 esac
4192 done
4193 else
4194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4196 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4197 See \`config.log' for more details" "$LINENO" 5; }
4199 rm -f conftest conftest$ac_cv_exeext
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4201 $as_echo "$ac_cv_exeext" >&6; }
4203 rm -f conftest.$ac_ext
4204 EXEEXT=$ac_cv_exeext
4205 ac_exeext=$EXEEXT
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4208 #include <stdio.h>
4210 main ()
4212 FILE *f = fopen ("conftest.out", "w");
4213 return ferror (f) || fclose (f) != 0;
4216 return 0;
4218 _ACEOF
4219 ac_clean_files="$ac_clean_files conftest.out"
4220 # Check that the compiler produces executables we can run. If not, either
4221 # the compiler is broken, or we cross compile.
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4223 $as_echo_n "checking whether we are cross compiling... " >&6; }
4224 if test "$cross_compiling" != yes; then
4225 { { ac_try="$ac_link"
4226 case "(($ac_try" in
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4229 esac
4230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4231 $as_echo "$ac_try_echo"; } >&5
4232 (eval "$ac_link") 2>&5
4233 ac_status=$?
4234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4235 test $ac_status = 0; }
4236 if { ac_try='./conftest$ac_cv_exeext'
4237 { { case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240 esac
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_try") 2>&5
4244 ac_status=$?
4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }; }; then
4247 cross_compiling=no
4248 else
4249 if test "$cross_compiling" = maybe; then
4250 cross_compiling=yes
4251 else
4252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4254 as_fn_error $? "cannot run C compiled programs.
4255 If you meant to cross compile, use \`--host'.
4256 See \`config.log' for more details" "$LINENO" 5; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4261 $as_echo "$cross_compiling" >&6; }
4263 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4264 ac_clean_files=$ac_clean_files_save
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4266 $as_echo_n "checking for suffix of object files... " >&6; }
4267 if ${ac_cv_objext+:} false; then :
4268 $as_echo_n "(cached) " >&6
4269 else
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4274 main ()
4278 return 0;
4280 _ACEOF
4281 rm -f conftest.o conftest.obj
4282 if { { ac_try="$ac_compile"
4283 case "(($ac_try" in
4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4286 esac
4287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4288 $as_echo "$ac_try_echo"; } >&5
4289 (eval "$ac_compile") 2>&5
4290 ac_status=$?
4291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4292 test $ac_status = 0; }; then :
4293 for ac_file in conftest.o conftest.obj conftest.*; do
4294 test -f "$ac_file" || continue;
4295 case $ac_file in
4296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4297 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4298 break;;
4299 esac
4300 done
4301 else
4302 $as_echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5
4305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4307 as_fn_error $? "cannot compute suffix of object files: cannot compile
4308 See \`config.log' for more details" "$LINENO" 5; }
4310 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4313 $as_echo "$ac_cv_objext" >&6; }
4314 OBJEXT=$ac_cv_objext
4315 ac_objext=$OBJEXT
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4317 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4318 if ${ac_cv_c_compiler_gnu+:} false; then :
4319 $as_echo_n "(cached) " >&6
4320 else
4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4322 /* end confdefs.h. */
4325 main ()
4327 #ifndef __GNUC__
4328 choke me
4329 #endif
4332 return 0;
4334 _ACEOF
4335 if ac_fn_c_try_compile "$LINENO"; then :
4336 ac_compiler_gnu=yes
4337 else
4338 ac_compiler_gnu=no
4340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4345 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4346 if test $ac_compiler_gnu = yes; then
4347 GCC=yes
4348 else
4349 GCC=
4351 ac_test_CFLAGS=${CFLAGS+set}
4352 ac_save_CFLAGS=$CFLAGS
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4354 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4355 if ${ac_cv_prog_cc_g+:} false; then :
4356 $as_echo_n "(cached) " >&6
4357 else
4358 ac_save_c_werror_flag=$ac_c_werror_flag
4359 ac_c_werror_flag=yes
4360 ac_cv_prog_cc_g=no
4361 CFLAGS="-g"
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4366 main ()
4370 return 0;
4372 _ACEOF
4373 if ac_fn_c_try_compile "$LINENO"; then :
4374 ac_cv_prog_cc_g=yes
4375 else
4376 CFLAGS=""
4377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4381 main ()
4385 return 0;
4387 _ACEOF
4388 if ac_fn_c_try_compile "$LINENO"; then :
4390 else
4391 ac_c_werror_flag=$ac_save_c_werror_flag
4392 CFLAGS="-g"
4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4397 main ()
4401 return 0;
4403 _ACEOF
4404 if ac_fn_c_try_compile "$LINENO"; then :
4405 ac_cv_prog_cc_g=yes
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4412 ac_c_werror_flag=$ac_save_c_werror_flag
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4415 $as_echo "$ac_cv_prog_cc_g" >&6; }
4416 if test "$ac_test_CFLAGS" = set; then
4417 CFLAGS=$ac_save_CFLAGS
4418 elif test $ac_cv_prog_cc_g = yes; then
4419 if test "$GCC" = yes; then
4420 CFLAGS="-g -O2"
4421 else
4422 CFLAGS="-g"
4424 else
4425 if test "$GCC" = yes; then
4426 CFLAGS="-O2"
4427 else
4428 CFLAGS=
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4432 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4433 if ${ac_cv_prog_cc_c89+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 ac_cv_prog_cc_c89=no
4437 ac_save_CC=$CC
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4440 #include <stdarg.h>
4441 #include <stdio.h>
4442 struct stat;
4443 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4444 struct buf { int x; };
4445 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4446 static char *e (p, i)
4447 char **p;
4448 int i;
4450 return p[i];
4452 static char *f (char * (*g) (char **, int), char **p, ...)
4454 char *s;
4455 va_list v;
4456 va_start (v,p);
4457 s = g (p, va_arg (v,int));
4458 va_end (v);
4459 return s;
4462 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4463 function prototypes and stuff, but not '\xHH' hex character constants.
4464 These don't provoke an error unfortunately, instead are silently treated
4465 as 'x'. The following induces an error, until -std is added to get
4466 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4467 array size at least. It's necessary to write '\x00'==0 to get something
4468 that's true only with -std. */
4469 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4471 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4472 inside strings and character constants. */
4473 #define FOO(x) 'x'
4474 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4476 int test (int i, double x);
4477 struct s1 {int (*f) (int a);};
4478 struct s2 {int (*f) (double a);};
4479 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4480 int argc;
4481 char **argv;
4483 main ()
4485 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4487 return 0;
4489 _ACEOF
4490 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4491 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4493 CC="$ac_save_CC $ac_arg"
4494 if ac_fn_c_try_compile "$LINENO"; then :
4495 ac_cv_prog_cc_c89=$ac_arg
4497 rm -f core conftest.err conftest.$ac_objext
4498 test "x$ac_cv_prog_cc_c89" != "xno" && break
4499 done
4500 rm -f conftest.$ac_ext
4501 CC=$ac_save_CC
4504 # AC_CACHE_VAL
4505 case "x$ac_cv_prog_cc_c89" in
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4508 $as_echo "none needed" >&6; } ;;
4509 xno)
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4511 $as_echo "unsupported" >&6; } ;;
4513 CC="$CC $ac_cv_prog_cc_c89"
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4515 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4516 esac
4517 if test "x$ac_cv_prog_cc_c89" != xno; then :
4521 ac_ext=c
4522 ac_cpp='$CPP $CPPFLAGS'
4523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4527 ac_ext=cpp
4528 ac_cpp='$CXXCPP $CPPFLAGS'
4529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4532 if test -z "$CXX"; then
4533 if test -n "$CCC"; then
4534 CXX=$CCC
4535 else
4536 if test -n "$ac_tool_prefix"; then
4537 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if ${ac_cv_prog_CXX+:} false; then :
4544 $as_echo_n "(cached) " >&6
4545 else
4546 if test -n "$CXX"; then
4547 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4548 else
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550 for as_dir in $PATH
4552 IFS=$as_save_IFS
4553 test -z "$as_dir" && as_dir=.
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4556 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 break 2
4560 done
4561 done
4562 IFS=$as_save_IFS
4566 CXX=$ac_cv_prog_CXX
4567 if test -n "$CXX"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4569 $as_echo "$CXX" >&6; }
4570 else
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4576 test -n "$CXX" && break
4577 done
4579 if test -z "$CXX"; then
4580 ac_ct_CXX=$CXX
4581 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4583 # Extract the first word of "$ac_prog", so it can be a program name with args.
4584 set dummy $ac_prog; ac_word=$2
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 $as_echo_n "checking for $ac_word... " >&6; }
4587 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 if test -n "$ac_ct_CXX"; then
4591 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4592 else
4593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594 for as_dir in $PATH
4596 IFS=$as_save_IFS
4597 test -z "$as_dir" && as_dir=.
4598 for ac_exec_ext in '' $ac_executable_extensions; do
4599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4600 ac_cv_prog_ac_ct_CXX="$ac_prog"
4601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 break 2
4604 done
4605 done
4606 IFS=$as_save_IFS
4610 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4611 if test -n "$ac_ct_CXX"; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4613 $as_echo "$ac_ct_CXX" >&6; }
4614 else
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4620 test -n "$ac_ct_CXX" && break
4621 done
4623 if test "x$ac_ct_CXX" = x; then
4624 CXX="g++"
4625 else
4626 case $cross_compiling:$ac_tool_warned in
4627 yes:)
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4630 ac_tool_warned=yes ;;
4631 esac
4632 CXX=$ac_ct_CXX
4638 # Provide some information about the compiler.
4639 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4640 set X $ac_compile
4641 ac_compiler=$2
4642 for ac_option in --version -v -V -qversion; do
4643 { { ac_try="$ac_compiler $ac_option >&5"
4644 case "(($ac_try" in
4645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4646 *) ac_try_echo=$ac_try;;
4647 esac
4648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4649 $as_echo "$ac_try_echo"; } >&5
4650 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4651 ac_status=$?
4652 if test -s conftest.err; then
4653 sed '10a\
4654 ... rest of stderr output deleted ...
4655 10q' conftest.err >conftest.er1
4656 cat conftest.er1 >&5
4658 rm -f conftest.er1 conftest.err
4659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4660 test $ac_status = 0; }
4661 done
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4664 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4665 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4672 main ()
4674 #ifndef __GNUC__
4675 choke me
4676 #endif
4679 return 0;
4681 _ACEOF
4682 if ac_fn_cxx_try_compile "$LINENO"; then :
4683 ac_compiler_gnu=yes
4684 else
4685 ac_compiler_gnu=no
4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4692 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4693 if test $ac_compiler_gnu = yes; then
4694 GXX=yes
4695 else
4696 GXX=
4698 ac_test_CXXFLAGS=${CXXFLAGS+set}
4699 ac_save_CXXFLAGS=$CXXFLAGS
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4701 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4702 if ${ac_cv_prog_cxx_g+:} false; then :
4703 $as_echo_n "(cached) " >&6
4704 else
4705 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4706 ac_cxx_werror_flag=yes
4707 ac_cv_prog_cxx_g=no
4708 CXXFLAGS="-g"
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4713 main ()
4717 return 0;
4719 _ACEOF
4720 if ac_fn_cxx_try_compile "$LINENO"; then :
4721 ac_cv_prog_cxx_g=yes
4722 else
4723 CXXFLAGS=""
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4728 main ()
4732 return 0;
4734 _ACEOF
4735 if ac_fn_cxx_try_compile "$LINENO"; then :
4737 else
4738 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4739 CXXFLAGS="-g"
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4744 main ()
4748 return 0;
4750 _ACEOF
4751 if ac_fn_cxx_try_compile "$LINENO"; then :
4752 ac_cv_prog_cxx_g=yes
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4759 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4762 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4763 if test "$ac_test_CXXFLAGS" = set; then
4764 CXXFLAGS=$ac_save_CXXFLAGS
4765 elif test $ac_cv_prog_cxx_g = yes; then
4766 if test "$GXX" = yes; then
4767 CXXFLAGS="-g -O2"
4768 else
4769 CXXFLAGS="-g"
4771 else
4772 if test "$GXX" = yes; then
4773 CXXFLAGS="-O2"
4774 else
4775 CXXFLAGS=
4778 ac_ext=c
4779 ac_cpp='$CPP $CPPFLAGS'
4780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4784 if test -n "$ac_tool_prefix"; then
4785 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4786 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4788 $as_echo_n "checking for $ac_word... " >&6; }
4789 if ${ac_cv_prog_CPPBIN+:} false; then :
4790 $as_echo_n "(cached) " >&6
4791 else
4792 if test -n "$CPPBIN"; then
4793 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4794 else
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 for as_dir in $PATH
4798 IFS=$as_save_IFS
4799 test -z "$as_dir" && as_dir=.
4800 for ac_exec_ext in '' $ac_executable_extensions; do
4801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4804 break 2
4806 done
4807 done
4808 IFS=$as_save_IFS
4812 CPPBIN=$ac_cv_prog_CPPBIN
4813 if test -n "$CPPBIN"; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4815 $as_echo "$CPPBIN" >&6; }
4816 else
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4823 if test -z "$ac_cv_prog_CPPBIN"; then
4824 ac_ct_CPPBIN=$CPPBIN
4825 # Extract the first word of "cpp", so it can be a program name with args.
4826 set dummy cpp; ac_word=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4830 $as_echo_n "(cached) " >&6
4831 else
4832 if test -n "$ac_ct_CPPBIN"; then
4833 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4834 else
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH
4838 IFS=$as_save_IFS
4839 test -z "$as_dir" && as_dir=.
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_ac_ct_CPPBIN="cpp"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 break 2
4846 done
4847 done
4848 IFS=$as_save_IFS
4852 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4853 if test -n "$ac_ct_CPPBIN"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4855 $as_echo "$ac_ct_CPPBIN" >&6; }
4856 else
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4861 if test "x$ac_ct_CPPBIN" = x; then
4862 CPPBIN="cpp"
4863 else
4864 case $cross_compiling:$ac_tool_warned in
4865 yes:)
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4868 ac_tool_warned=yes ;;
4869 esac
4870 CPPBIN=$ac_ct_CPPBIN
4872 else
4873 CPPBIN="$ac_cv_prog_CPPBIN"
4877 cat >>confdefs.h <<_ACEOF
4878 #define EXEEXT "$ac_exeext"
4879 _ACEOF
4881 if test -n "$ac_tool_prefix"; then
4882 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4883 set dummy ${ac_tool_prefix}ld; ac_word=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if ${ac_cv_prog_LD+:} false; then :
4887 $as_echo_n "(cached) " >&6
4888 else
4889 if test -n "$LD"; then
4890 ac_cv_prog_LD="$LD" # Let the user override the test.
4891 else
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 for as_dir in $PATH
4895 IFS=$as_save_IFS
4896 test -z "$as_dir" && as_dir=.
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_LD="${ac_tool_prefix}ld"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 break 2
4903 done
4904 done
4905 IFS=$as_save_IFS
4909 LD=$ac_cv_prog_LD
4910 if test -n "$LD"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4912 $as_echo "$LD" >&6; }
4913 else
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4920 if test -z "$ac_cv_prog_LD"; then
4921 ac_ct_LD=$LD
4922 # Extract the first word of "ld", so it can be a program name with args.
4923 set dummy ld; ac_word=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4927 $as_echo_n "(cached) " >&6
4928 else
4929 if test -n "$ac_ct_LD"; then
4930 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4931 else
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 for as_dir in $PATH
4935 IFS=$as_save_IFS
4936 test -z "$as_dir" && as_dir=.
4937 for ac_exec_ext in '' $ac_executable_extensions; do
4938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_ac_ct_LD="ld"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 break 2
4943 done
4944 done
4945 IFS=$as_save_IFS
4949 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4950 if test -n "$ac_ct_LD"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4952 $as_echo "$ac_ct_LD" >&6; }
4953 else
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4958 if test "x$ac_ct_LD" = x; then
4959 LD=""
4960 else
4961 case $cross_compiling:$ac_tool_warned in
4962 yes:)
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4965 ac_tool_warned=yes ;;
4966 esac
4967 LD=$ac_ct_LD
4969 else
4970 LD="$ac_cv_prog_LD"
4974 case $host in
4975 *-darwin*)
4976 with_fontconfig=${with_fontconfig:-no}
4978 *-mingw32*|*-cygwin*)
4979 enable_win16=${enable_win16:-no}
4980 CFLAGS="$CFLAGS -D_WIN32"
4982 esac
4984 case $host in
4985 x86_64*|amd64*)
4986 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4987 then
4988 CC="$CC -m32"
4989 CXX="$CXX -m32"
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4991 $as_echo_n "checking whether $CC works... " >&6; }
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
5001 return 0;
5003 _ACEOF
5004 if ac_fn_c_try_link "$LINENO"; then :
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5006 $as_echo "yes" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5012 rm -f core conftest.err conftest.$ac_objext \
5013 conftest$ac_exeext conftest.$ac_ext
5014 host_cpu="i386"
5015 notice_platform="32-bit "
5016 TARGETFLAGS="-m32"
5018 enable_win16=${enable_win16:-yes}
5019 else
5020 if test "x${GCC}" = "xyes"
5021 then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5023 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 #include <stdarg.h>
5028 main ()
5030 void func(__builtin_ms_va_list *args);
5032 return 0;
5034 _ACEOF
5035 if ac_fn_c_try_compile "$LINENO"; then :
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5037 $as_echo "yes" >&6; }
5038 else
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5041 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 CC="$CC -m64"
5046 CXX="$CXX -m64"
5047 host_cpu="x86_64"
5048 notice_platform="64-bit "
5049 TARGETFLAGS="-m64"
5053 arm*)
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5055 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5058 int ac_test(int i) { return i; }
5060 main ()
5062 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5064 return 0;
5066 _ACEOF
5067 if ac_fn_c_try_link "$LINENO"; then :
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5069 $as_echo "yes" >&6; }
5070 else
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5073 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5075 rm -f core conftest.err conftest.$ac_objext \
5076 conftest$ac_exeext conftest.$ac_ext
5077 CFLAGS="$CFLAGS -marm"
5078 TARGETFLAGS="-marm"
5081 i[3456789]86*)
5082 enable_win16=${enable_win16:-yes}
5084 esac
5086 enable_win16=${enable_win16:-no}
5087 enable_win64=${enable_win64:-no}
5089 enable_winetest=${enable_winetest:-$enable_tests}
5091 if test -n "$with_wine64"
5092 then
5093 if test "x$enable_win64" = "xyes"
5094 then
5095 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5096 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5098 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5099 You should create a separate build directory and run configure from there." "$LINENO" 5
5100 enable_fonts=${enable_fonts:-no}
5101 enable_server=${enable_server:-no}
5102 elif test "x$enable_win64" = "xyes"
5103 then
5104 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5108 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5109 if ${wine_cv_toolsdir+:} false; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 wine_cv_toolsdir="$with_wine_tools"
5113 if test -z "$with_wine_tools"; then
5114 if test "$cross_compiling" = "yes"; then
5115 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5116 elif test -n "$with_wine64"; then
5117 wine_cv_toolsdir="$with_wine64"
5120 if test -z "$wine_cv_toolsdir"; then
5121 wine_makedep=tools/makedep
5122 wine_cv_toolsdir="\$(top_builddir)"
5123 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5124 wine_makedep=$wine_cv_toolsdir/tools/makedep
5125 case "$wine_cv_toolsdir" in
5126 /*) ;;
5127 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5128 esac
5129 enable_tools=${enable_tools:-no}
5130 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5131 else
5132 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5136 $as_echo "$wine_cv_toolsdir" >&6; }
5137 TOOLSDIR=$wine_cv_toolsdir
5139 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5140 then
5141 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5145 for ac_prog in flex
5147 # Extract the first word of "$ac_prog", so it can be a program name with args.
5148 set dummy $ac_prog; ac_word=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5150 $as_echo_n "checking for $ac_word... " >&6; }
5151 if ${ac_cv_prog_FLEX+:} false; then :
5152 $as_echo_n "(cached) " >&6
5153 else
5154 if test -n "$FLEX"; then
5155 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5156 else
5157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158 for as_dir in $PATH
5160 IFS=$as_save_IFS
5161 test -z "$as_dir" && as_dir=.
5162 for ac_exec_ext in '' $ac_executable_extensions; do
5163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_FLEX="$ac_prog"
5165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 break 2
5168 done
5169 done
5170 IFS=$as_save_IFS
5174 FLEX=$ac_cv_prog_FLEX
5175 if test -n "$FLEX"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5177 $as_echo "$FLEX" >&6; }
5178 else
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5184 test -n "$FLEX" && break
5185 done
5186 test -n "$FLEX" || FLEX="none"
5188 if test "$FLEX" = "none"
5189 then
5190 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5193 $as_echo_n "checking whether flex is recent enough... " >&6; }
5194 cat >conftest.l <<EOF
5195 %top{
5196 #include "prediluvian.h"
5200 if $FLEX -t conftest.l >/dev/null 2>&5
5201 then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5203 $as_echo "yes" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5207 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5210 for ac_prog in bison
5212 # Extract the first word of "$ac_prog", so it can be a program name with args.
5213 set dummy $ac_prog; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_BISON+:} false; then :
5217 $as_echo_n "(cached) " >&6
5218 else
5219 if test -n "$BISON"; then
5220 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5221 else
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 for as_dir in $PATH
5225 IFS=$as_save_IFS
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_BISON="$ac_prog"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 break 2
5233 done
5234 done
5235 IFS=$as_save_IFS
5239 BISON=$ac_cv_prog_BISON
5240 if test -n "$BISON"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5242 $as_echo "$BISON" >&6; }
5243 else
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5249 test -n "$BISON" && break
5250 done
5251 test -n "$BISON" || BISON="none"
5253 if test "$BISON" = "none"
5254 then
5255 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5258 if test -n "$ac_tool_prefix"; then
5259 for ac_prog in ar gar
5261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5262 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_AR+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 if test -n "$AR"; then
5269 ac_cv_prog_AR="$AR" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5274 IFS=$as_save_IFS
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 break 2
5282 done
5283 done
5284 IFS=$as_save_IFS
5288 AR=$ac_cv_prog_AR
5289 if test -n "$AR"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5291 $as_echo "$AR" >&6; }
5292 else
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5298 test -n "$AR" && break
5299 done
5301 if test -z "$AR"; then
5302 ac_ct_AR=$AR
5303 for ac_prog in ar gar
5305 # Extract the first word of "$ac_prog", so it can be a program name with args.
5306 set dummy $ac_prog; ac_word=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5310 $as_echo_n "(cached) " >&6
5311 else
5312 if test -n "$ac_ct_AR"; then
5313 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5314 else
5315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 for as_dir in $PATH
5318 IFS=$as_save_IFS
5319 test -z "$as_dir" && as_dir=.
5320 for ac_exec_ext in '' $ac_executable_extensions; do
5321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5322 ac_cv_prog_ac_ct_AR="$ac_prog"
5323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 break 2
5326 done
5327 done
5328 IFS=$as_save_IFS
5332 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5333 if test -n "$ac_ct_AR"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5335 $as_echo "$ac_ct_AR" >&6; }
5336 else
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5342 test -n "$ac_ct_AR" && break
5343 done
5345 if test "x$ac_ct_AR" = x; then
5346 AR="ar"
5347 else
5348 case $cross_compiling:$ac_tool_warned in
5349 yes:)
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5352 ac_tool_warned=yes ;;
5353 esac
5354 AR=$ac_ct_AR
5358 if test -n "$ac_tool_prefix"; then
5359 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5360 set dummy ${ac_tool_prefix}strip; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_STRIP+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 if test -n "$STRIP"; then
5367 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5372 IFS=$as_save_IFS
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5376 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 break 2
5380 done
5381 done
5382 IFS=$as_save_IFS
5386 STRIP=$ac_cv_prog_STRIP
5387 if test -n "$STRIP"; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5389 $as_echo "$STRIP" >&6; }
5390 else
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5397 if test -z "$ac_cv_prog_STRIP"; then
5398 ac_ct_STRIP=$STRIP
5399 # Extract the first word of "strip", so it can be a program name with args.
5400 set dummy strip; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5404 $as_echo_n "(cached) " >&6
5405 else
5406 if test -n "$ac_ct_STRIP"; then
5407 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5408 else
5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 for as_dir in $PATH
5412 IFS=$as_save_IFS
5413 test -z "$as_dir" && as_dir=.
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_prog_ac_ct_STRIP="strip"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 break 2
5420 done
5421 done
5422 IFS=$as_save_IFS
5426 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5427 if test -n "$ac_ct_STRIP"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5429 $as_echo "$ac_ct_STRIP" >&6; }
5430 else
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 $as_echo "no" >&6; }
5435 if test "x$ac_ct_STRIP" = x; then
5436 STRIP="strip"
5437 else
5438 case $cross_compiling:$ac_tool_warned in
5439 yes:)
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5442 ac_tool_warned=yes ;;
5443 esac
5444 STRIP=$ac_ct_STRIP
5446 else
5447 STRIP="$ac_cv_prog_STRIP"
5450 ARFLAGS=rc
5452 if test -n "$ac_tool_prefix"; then
5453 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5454 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_RANLIB+:} false; then :
5458 $as_echo_n "(cached) " >&6
5459 else
5460 if test -n "$RANLIB"; then
5461 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5462 else
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5466 IFS=$as_save_IFS
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 break 2
5474 done
5475 done
5476 IFS=$as_save_IFS
5480 RANLIB=$ac_cv_prog_RANLIB
5481 if test -n "$RANLIB"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5483 $as_echo "$RANLIB" >&6; }
5484 else
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5491 if test -z "$ac_cv_prog_RANLIB"; then
5492 ac_ct_RANLIB=$RANLIB
5493 # Extract the first word of "ranlib", so it can be a program name with args.
5494 set dummy ranlib; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5498 $as_echo_n "(cached) " >&6
5499 else
5500 if test -n "$ac_ct_RANLIB"; then
5501 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5502 else
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5506 IFS=$as_save_IFS
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_ac_ct_RANLIB="ranlib"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 break 2
5514 done
5515 done
5516 IFS=$as_save_IFS
5520 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5521 if test -n "$ac_ct_RANLIB"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5523 $as_echo "$ac_ct_RANLIB" >&6; }
5524 else
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5529 if test "x$ac_ct_RANLIB" = x; then
5530 RANLIB=":"
5531 else
5532 case $cross_compiling:$ac_tool_warned in
5533 yes:)
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5536 ac_tool_warned=yes ;;
5537 esac
5538 RANLIB=$ac_ct_RANLIB
5540 else
5541 RANLIB="$ac_cv_prog_RANLIB"
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5545 $as_echo_n "checking whether ln -s works... " >&6; }
5546 LN_S=$as_ln_s
5547 if test "$LN_S" = "ln -s"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5549 $as_echo "yes" >&6; }
5550 else
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5552 $as_echo "no, using $LN_S" >&6; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5556 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5557 if ${ac_cv_path_GREP+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 if test -z "$GREP"; then
5561 ac_path_GREP_found=false
5562 # Loop through the user's path and test for each of PROGNAME-LIST
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5566 IFS=$as_save_IFS
5567 test -z "$as_dir" && as_dir=.
5568 for ac_prog in grep ggrep; do
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5571 as_fn_executable_p "$ac_path_GREP" || continue
5572 # Check for GNU ac_path_GREP and select it if it is found.
5573 # Check for GNU $ac_path_GREP
5574 case `"$ac_path_GREP" --version 2>&1` in
5575 *GNU*)
5576 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5578 ac_count=0
5579 $as_echo_n 0123456789 >"conftest.in"
5580 while :
5582 cat "conftest.in" "conftest.in" >"conftest.tmp"
5583 mv "conftest.tmp" "conftest.in"
5584 cp "conftest.in" "conftest.nl"
5585 $as_echo 'GREP' >> "conftest.nl"
5586 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5587 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5588 as_fn_arith $ac_count + 1 && ac_count=$as_val
5589 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5590 # Best one so far, save it but keep looking for a better one
5591 ac_cv_path_GREP="$ac_path_GREP"
5592 ac_path_GREP_max=$ac_count
5594 # 10*(2^10) chars as input seems more than enough
5595 test $ac_count -gt 10 && break
5596 done
5597 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5598 esac
5600 $ac_path_GREP_found && break 3
5601 done
5602 done
5603 done
5604 IFS=$as_save_IFS
5605 if test -z "$ac_cv_path_GREP"; then
5606 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5608 else
5609 ac_cv_path_GREP=$GREP
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5614 $as_echo "$ac_cv_path_GREP" >&6; }
5615 GREP="$ac_cv_path_GREP"
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5619 $as_echo_n "checking for egrep... " >&6; }
5620 if ${ac_cv_path_EGREP+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5624 then ac_cv_path_EGREP="$GREP -E"
5625 else
5626 if test -z "$EGREP"; then
5627 ac_path_EGREP_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 egrep; do
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5637 as_fn_executable_p "$ac_path_EGREP" || continue
5638 # Check for GNU ac_path_EGREP and select it if it is found.
5639 # Check for GNU $ac_path_EGREP
5640 case `"$ac_path_EGREP" --version 2>&1` in
5641 *GNU*)
5642 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_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 'EGREP' >> "conftest.nl"
5652 "$ac_path_EGREP" 'EGREP$' < "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_EGREP_max-0}; then
5656 # Best one so far, save it but keep looking for a better one
5657 ac_cv_path_EGREP="$ac_path_EGREP"
5658 ac_path_EGREP_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_EGREP_found && break 3
5667 done
5668 done
5669 done
5670 IFS=$as_save_IFS
5671 if test -z "$ac_cv_path_EGREP"; then
5672 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5674 else
5675 ac_cv_path_EGREP=$EGREP
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5681 $as_echo "$ac_cv_path_EGREP" >&6; }
5682 EGREP="$ac_cv_path_EGREP"
5685 # Extract the first word of "ldconfig", so it can be a program name with args.
5686 set dummy ldconfig; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_path_LDCONFIG+:} false; then :
5690 $as_echo_n "(cached) " >&6
5691 else
5692 case $LDCONFIG in
5693 [\\/]* | ?:[\\/]*)
5694 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 for as_dir in /sbin /usr/sbin $PATH
5700 IFS=$as_save_IFS
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 break 2
5708 done
5709 done
5710 IFS=$as_save_IFS
5712 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5714 esac
5716 LDCONFIG=$ac_cv_path_LDCONFIG
5717 if test -n "$LDCONFIG"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5719 $as_echo "$LDCONFIG" >&6; }
5720 else
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5726 for ac_prog in msgfmt
5728 # Extract the first word of "$ac_prog", so it can be a program name with args.
5729 set dummy $ac_prog; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_MSGFMT+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 if test -n "$MSGFMT"; then
5736 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5737 else
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $PATH
5741 IFS=$as_save_IFS
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_MSGFMT="$ac_prog"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 break 2
5749 done
5750 done
5751 IFS=$as_save_IFS
5755 MSGFMT=$ac_cv_prog_MSGFMT
5756 if test -n "$MSGFMT"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5758 $as_echo "$MSGFMT" >&6; }
5759 else
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5765 test -n "$MSGFMT" && break
5766 done
5767 test -n "$MSGFMT" || MSGFMT="false"
5769 if ${ac_tool_prefix+:} false; then :
5770 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5771 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5773 $as_echo_n "checking for $ac_word... " >&6; }
5774 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5775 $as_echo_n "(cached) " >&6
5776 else
5777 if test -n "$PKG_CONFIG"; then
5778 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5783 IFS=$as_save_IFS
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5787 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 break 2
5791 done
5792 done
5793 IFS=$as_save_IFS
5797 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5798 if test -n "$PKG_CONFIG"; then
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5800 $as_echo "$PKG_CONFIG" >&6; }
5801 else
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5808 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5809 if test "x$cross_compiling" = xyes; then :
5811 else
5812 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5813 # Extract the first word of "pkg-config", so it can be a program name with args.
5814 set dummy pkg-config; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 if test -n "$PKG_CONFIG"; then
5821 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5822 else
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 for as_dir in $PATH
5826 IFS=$as_save_IFS
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830 ac_cv_prog_PKG_CONFIG="pkg-config"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 break 2
5834 done
5835 done
5836 IFS=$as_save_IFS
5840 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5841 if test -n "$PKG_CONFIG"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5843 $as_echo "$PKG_CONFIG" >&6; }
5844 else
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5851 else
5852 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5855 if test "x$enable_maintainer_mode" != "xyes"
5856 then
5857 FONTFORGE=""
5858 RSVG=""
5859 CONVERT=""
5860 ICOTOOL=""
5861 else
5862 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5863 for ac_prog in fontforge
5865 # Extract the first word of "$ac_prog", so it can be a program name with args.
5866 set dummy $ac_prog; ac_word=$2
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 $as_echo_n "checking for $ac_word... " >&6; }
5869 if ${ac_cv_prog_FONTFORGE+:} false; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 if test -n "$FONTFORGE"; then
5873 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5874 else
5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 for as_dir in $PATH
5878 IFS=$as_save_IFS
5879 test -z "$as_dir" && as_dir=.
5880 for ac_exec_ext in '' $ac_executable_extensions; do
5881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5882 ac_cv_prog_FONTFORGE="$ac_prog"
5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 break 2
5886 done
5887 done
5888 IFS=$as_save_IFS
5892 FONTFORGE=$ac_cv_prog_FONTFORGE
5893 if test -n "$FONTFORGE"; then
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5895 $as_echo "$FONTFORGE" >&6; }
5896 else
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898 $as_echo "no" >&6; }
5902 test -n "$FONTFORGE" && break
5903 done
5904 test -n "$FONTFORGE" || FONTFORGE="false"
5906 for ac_prog in rsvg-convert rsvg
5908 # Extract the first word of "$ac_prog", so it can be a program name with args.
5909 set dummy $ac_prog; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if ${ac_cv_prog_RSVG+:} false; then :
5913 $as_echo_n "(cached) " >&6
5914 else
5915 if test -n "$RSVG"; then
5916 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5917 else
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5919 for as_dir in $PATH
5921 IFS=$as_save_IFS
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_prog_RSVG="$ac_prog"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5927 break 2
5929 done
5930 done
5931 IFS=$as_save_IFS
5935 RSVG=$ac_cv_prog_RSVG
5936 if test -n "$RSVG"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5938 $as_echo "$RSVG" >&6; }
5939 else
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5945 test -n "$RSVG" && break
5946 done
5947 test -n "$RSVG" || RSVG="false"
5949 for ac_prog in convert
5951 # Extract the first word of "$ac_prog", so it can be a program name with args.
5952 set dummy $ac_prog; ac_word=$2
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 $as_echo_n "checking for $ac_word... " >&6; }
5955 if ${ac_cv_prog_CONVERT+:} false; then :
5956 $as_echo_n "(cached) " >&6
5957 else
5958 if test -n "$CONVERT"; then
5959 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5960 else
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_CONVERT="$ac_prog"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 break 2
5972 done
5973 done
5974 IFS=$as_save_IFS
5978 CONVERT=$ac_cv_prog_CONVERT
5979 if test -n "$CONVERT"; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5981 $as_echo "$CONVERT" >&6; }
5982 else
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5988 test -n "$CONVERT" && break
5989 done
5990 test -n "$CONVERT" || CONVERT="false"
5992 for ac_prog in icotool
5994 # Extract the first word of "$ac_prog", so it can be a program name with args.
5995 set dummy $ac_prog; ac_word=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if ${ac_cv_prog_ICOTOOL+:} false; then :
5999 $as_echo_n "(cached) " >&6
6000 else
6001 if test -n "$ICOTOOL"; then
6002 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6003 else
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 for as_dir in $PATH
6007 IFS=$as_save_IFS
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6011 ac_cv_prog_ICOTOOL="$ac_prog"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013 break 2
6015 done
6016 done
6017 IFS=$as_save_IFS
6021 ICOTOOL=$ac_cv_prog_ICOTOOL
6022 if test -n "$ICOTOOL"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6024 $as_echo "$ICOTOOL" >&6; }
6025 else
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6031 test -n "$ICOTOOL" && break
6032 done
6033 test -n "$ICOTOOL" || ICOTOOL="false"
6035 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6036 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6038 if test "$CONVERT" = false
6039 then
6040 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6041 else
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6043 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6044 convert_version=`convert --version | head -n1`
6045 if test "x$convert_version" != "x"
6046 then
6047 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6048 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6049 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6050 then
6051 CONVERT=false
6054 if test "$CONVERT" = false
6055 then
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6057 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6058 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6061 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6065 if test "$ICOTOOL" = false
6066 then
6067 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6068 else
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6070 $as_echo_n "checking for recent enough icotool... " >&6; }
6071 icotool_version=`icotool --version | head -n1`
6072 if test "x$icotool_version" != "x"
6073 then
6074 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6075 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6076 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6077 then
6078 ICOTOOL=false
6079 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6082 if test "$ICOTOOL" = false
6083 then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6085 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6086 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6089 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6093 with_gettext=yes
6094 with_gettextpo=yes
6095 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6098 test "x$with_gettext" != xno || MSGFMT=false
6099 if test "$MSGFMT" != "false"
6100 then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6102 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6103 cat >conftest.po <<EOF
6104 # comment
6105 msgctxt "ctxt"
6106 msgid "id"
6107 msgstr "str"
6109 if $MSGFMT -o /dev/null conftest.po 2>&5
6110 then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6112 $as_echo "yes" >&6; }
6113 else
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6116 MSGFMT=false
6119 if test "$MSGFMT" = false; then :
6120 case "x$with_gettext" in
6121 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6122 xno) ;;
6123 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6124 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6125 esac
6126 enable_po=${enable_po:-no}
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6131 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6132 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 ac_check_lib_save_LIBS=$LIBS
6136 LIBS="-li386 $LIBS"
6137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6140 /* Override any GCC internal prototype to avoid an error.
6141 Use char because int might match the return type of a GCC
6142 builtin and then its argument prototype would still apply. */
6143 #ifdef __cplusplus
6144 extern "C"
6145 #endif
6146 char i386_set_ldt ();
6148 main ()
6150 return i386_set_ldt ();
6152 return 0;
6154 _ACEOF
6155 if ac_fn_c_try_link "$LINENO"; then :
6156 ac_cv_lib_i386_i386_set_ldt=yes
6157 else
6158 ac_cv_lib_i386_i386_set_ldt=no
6160 rm -f core conftest.err conftest.$ac_objext \
6161 conftest$ac_exeext conftest.$ac_ext
6162 LIBS=$ac_check_lib_save_LIBS
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6165 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6166 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6167 cat >>confdefs.h <<_ACEOF
6168 #define HAVE_LIBI386 1
6169 _ACEOF
6171 LIBS="-li386 $LIBS"
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6176 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6177 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6178 $as_echo_n "(cached) " >&6
6179 else
6180 ac_check_lib_save_LIBS=$LIBS
6181 LIBS="-lossaudio $LIBS"
6182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6185 /* Override any GCC internal prototype to avoid an error.
6186 Use char because int might match the return type of a GCC
6187 builtin and then its argument prototype would still apply. */
6188 #ifdef __cplusplus
6189 extern "C"
6190 #endif
6191 char _oss_ioctl ();
6193 main ()
6195 return _oss_ioctl ();
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_link "$LINENO"; then :
6201 ac_cv_lib_ossaudio__oss_ioctl=yes
6202 else
6203 ac_cv_lib_ossaudio__oss_ioctl=no
6205 rm -f core conftest.err conftest.$ac_objext \
6206 conftest$ac_exeext conftest.$ac_ext
6207 LIBS=$ac_check_lib_save_LIBS
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6210 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6211 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6212 cat >>confdefs.h <<_ACEOF
6213 #define HAVE_LIBOSSAUDIO 1
6214 _ACEOF
6216 LIBS="-lossaudio $LIBS"
6221 OPENGL_LIBS=""
6225 # Check whether --enable-largefile was given.
6226 if test "${enable_largefile+set}" = set; then :
6227 enableval=$enable_largefile;
6230 if test "$enable_largefile" != no; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6233 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6234 if ${ac_cv_sys_largefile_CC+:} false; then :
6235 $as_echo_n "(cached) " >&6
6236 else
6237 ac_cv_sys_largefile_CC=no
6238 if test "$GCC" != yes; then
6239 ac_save_CC=$CC
6240 while :; do
6241 # IRIX 6.2 and later do not support large files by default,
6242 # so use the C compiler's -n32 option if that helps.
6243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245 #include <sys/types.h>
6246 /* Check that off_t can represent 2**63 - 1 correctly.
6247 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6248 since some C++ compilers masquerading as C compilers
6249 incorrectly reject 9223372036854775807. */
6250 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6251 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6252 && LARGE_OFF_T % 2147483647 == 1)
6253 ? 1 : -1];
6255 main ()
6259 return 0;
6261 _ACEOF
6262 if ac_fn_c_try_compile "$LINENO"; then :
6263 break
6265 rm -f core conftest.err conftest.$ac_objext
6266 CC="$CC -n32"
6267 if ac_fn_c_try_compile "$LINENO"; then :
6268 ac_cv_sys_largefile_CC=' -n32'; break
6270 rm -f core conftest.err conftest.$ac_objext
6271 break
6272 done
6273 CC=$ac_save_CC
6274 rm -f conftest.$ac_ext
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6278 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6279 if test "$ac_cv_sys_largefile_CC" != no; then
6280 CC=$CC$ac_cv_sys_largefile_CC
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6284 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6285 if ${ac_cv_sys_file_offset_bits+:} false; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 while :; do
6289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6290 /* end confdefs.h. */
6291 #include <sys/types.h>
6292 /* Check that off_t can represent 2**63 - 1 correctly.
6293 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6294 since some C++ compilers masquerading as C compilers
6295 incorrectly reject 9223372036854775807. */
6296 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6297 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6298 && LARGE_OFF_T % 2147483647 == 1)
6299 ? 1 : -1];
6301 main ()
6305 return 0;
6307 _ACEOF
6308 if ac_fn_c_try_compile "$LINENO"; then :
6309 ac_cv_sys_file_offset_bits=no; break
6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6314 #define _FILE_OFFSET_BITS 64
6315 #include <sys/types.h>
6316 /* Check that off_t can represent 2**63 - 1 correctly.
6317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6318 since some C++ compilers masquerading as C compilers
6319 incorrectly reject 9223372036854775807. */
6320 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6322 && LARGE_OFF_T % 2147483647 == 1)
6323 ? 1 : -1];
6325 main ()
6329 return 0;
6331 _ACEOF
6332 if ac_fn_c_try_compile "$LINENO"; then :
6333 ac_cv_sys_file_offset_bits=64; break
6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6336 ac_cv_sys_file_offset_bits=unknown
6337 break
6338 done
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6341 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6342 case $ac_cv_sys_file_offset_bits in #(
6343 no | unknown) ;;
6345 cat >>confdefs.h <<_ACEOF
6346 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6347 _ACEOF
6349 esac
6350 rm -rf conftest*
6351 if test $ac_cv_sys_file_offset_bits = unknown; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6353 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6354 if ${ac_cv_sys_large_files+:} false; then :
6355 $as_echo_n "(cached) " >&6
6356 else
6357 while :; do
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6360 #include <sys/types.h>
6361 /* Check that off_t can represent 2**63 - 1 correctly.
6362 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6363 since some C++ compilers masquerading as C compilers
6364 incorrectly reject 9223372036854775807. */
6365 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6366 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6367 && LARGE_OFF_T % 2147483647 == 1)
6368 ? 1 : -1];
6370 main ()
6374 return 0;
6376 _ACEOF
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378 ac_cv_sys_large_files=no; break
6380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6383 #define _LARGE_FILES 1
6384 #include <sys/types.h>
6385 /* Check that off_t can represent 2**63 - 1 correctly.
6386 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6387 since some C++ compilers masquerading as C compilers
6388 incorrectly reject 9223372036854775807. */
6389 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6390 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6391 && LARGE_OFF_T % 2147483647 == 1)
6392 ? 1 : -1];
6394 main ()
6398 return 0;
6400 _ACEOF
6401 if ac_fn_c_try_compile "$LINENO"; then :
6402 ac_cv_sys_large_files=1; break
6404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6405 ac_cv_sys_large_files=unknown
6406 break
6407 done
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6410 $as_echo "$ac_cv_sys_large_files" >&6; }
6411 case $ac_cv_sys_large_files in #(
6412 no | unknown) ;;
6414 cat >>confdefs.h <<_ACEOF
6415 #define _LARGE_FILES $ac_cv_sys_large_files
6416 _ACEOF
6418 esac
6419 rm -rf conftest*
6426 ac_ext=c
6427 ac_cpp='$CPP $CPPFLAGS'
6428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6432 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6433 # On Suns, sometimes $CPP names a directory.
6434 if test -n "$CPP" && test -d "$CPP"; then
6435 CPP=
6437 if test -z "$CPP"; then
6438 if ${ac_cv_prog_CPP+:} false; then :
6439 $as_echo_n "(cached) " >&6
6440 else
6441 # Double quotes because CPP needs to be expanded
6442 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6444 ac_preproc_ok=false
6445 for ac_c_preproc_warn_flag in '' yes
6447 # Use a header file that comes with gcc, so configuring glibc
6448 # with a fresh cross-compiler works.
6449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6450 # <limits.h> exists even on freestanding compilers.
6451 # On the NeXT, cc -E runs the code through the compiler's parser,
6452 # not just through cpp. "Syntax error" is here to catch this case.
6453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6455 #ifdef __STDC__
6456 # include <limits.h>
6457 #else
6458 # include <assert.h>
6459 #endif
6460 Syntax error
6461 _ACEOF
6462 if ac_fn_c_try_cpp "$LINENO"; then :
6464 else
6465 # Broken: fails on valid input.
6466 continue
6468 rm -f conftest.err conftest.i conftest.$ac_ext
6470 # OK, works on sane cases. Now check whether nonexistent headers
6471 # can be detected and how.
6472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6473 /* end confdefs.h. */
6474 #include <ac_nonexistent.h>
6475 _ACEOF
6476 if ac_fn_c_try_cpp "$LINENO"; then :
6477 # Broken: success on invalid input.
6478 continue
6479 else
6480 # Passes both tests.
6481 ac_preproc_ok=:
6482 break
6484 rm -f conftest.err conftest.i conftest.$ac_ext
6486 done
6487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6488 rm -f conftest.i conftest.err conftest.$ac_ext
6489 if $ac_preproc_ok; then :
6490 break
6493 done
6494 ac_cv_prog_CPP=$CPP
6497 CPP=$ac_cv_prog_CPP
6498 else
6499 ac_cv_prog_CPP=$CPP
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6502 $as_echo "$CPP" >&6; }
6503 ac_preproc_ok=false
6504 for ac_c_preproc_warn_flag in '' yes
6506 # Use a header file that comes with gcc, so configuring glibc
6507 # with a fresh cross-compiler works.
6508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6509 # <limits.h> exists even on freestanding compilers.
6510 # On the NeXT, cc -E runs the code through the compiler's parser,
6511 # not just through cpp. "Syntax error" is here to catch this case.
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #ifdef __STDC__
6515 # include <limits.h>
6516 #else
6517 # include <assert.h>
6518 #endif
6519 Syntax error
6520 _ACEOF
6521 if ac_fn_c_try_cpp "$LINENO"; then :
6523 else
6524 # Broken: fails on valid input.
6525 continue
6527 rm -f conftest.err conftest.i conftest.$ac_ext
6529 # OK, works on sane cases. Now check whether nonexistent headers
6530 # can be detected and how.
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #include <ac_nonexistent.h>
6534 _ACEOF
6535 if ac_fn_c_try_cpp "$LINENO"; then :
6536 # Broken: success on invalid input.
6537 continue
6538 else
6539 # Passes both tests.
6540 ac_preproc_ok=:
6541 break
6543 rm -f conftest.err conftest.i conftest.$ac_ext
6545 done
6546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6547 rm -f conftest.i conftest.err conftest.$ac_ext
6548 if $ac_preproc_ok; then :
6550 else
6551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6553 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6554 See \`config.log' for more details" "$LINENO" 5; }
6557 ac_ext=c
6558 ac_cpp='$CPP $CPPFLAGS'
6559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6565 $as_echo_n "checking for ANSI C header files... " >&6; }
6566 if ${ac_cv_header_stdc+:} false; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <stdlib.h>
6572 #include <stdarg.h>
6573 #include <string.h>
6574 #include <float.h>
6577 main ()
6581 return 0;
6583 _ACEOF
6584 if ac_fn_c_try_compile "$LINENO"; then :
6585 ac_cv_header_stdc=yes
6586 else
6587 ac_cv_header_stdc=no
6589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6591 if test $ac_cv_header_stdc = yes; then
6592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #include <string.h>
6597 _ACEOF
6598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6599 $EGREP "memchr" >/dev/null 2>&1; then :
6601 else
6602 ac_cv_header_stdc=no
6604 rm -f conftest*
6608 if test $ac_cv_header_stdc = yes; then
6609 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #include <stdlib.h>
6614 _ACEOF
6615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6616 $EGREP "free" >/dev/null 2>&1; then :
6618 else
6619 ac_cv_header_stdc=no
6621 rm -f conftest*
6625 if test $ac_cv_header_stdc = yes; then
6626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6627 if test "$cross_compiling" = yes; then :
6629 else
6630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6632 #include <ctype.h>
6633 #include <stdlib.h>
6634 #if ((' ' & 0x0FF) == 0x020)
6635 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6636 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6637 #else
6638 # define ISLOWER(c) \
6639 (('a' <= (c) && (c) <= 'i') \
6640 || ('j' <= (c) && (c) <= 'r') \
6641 || ('s' <= (c) && (c) <= 'z'))
6642 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6643 #endif
6645 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6647 main ()
6649 int i;
6650 for (i = 0; i < 256; i++)
6651 if (XOR (islower (i), ISLOWER (i))
6652 || toupper (i) != TOUPPER (i))
6653 return 2;
6654 return 0;
6656 _ACEOF
6657 if ac_fn_c_try_run "$LINENO"; then :
6659 else
6660 ac_cv_header_stdc=no
6662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6663 conftest.$ac_objext conftest.beam conftest.$ac_ext
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6669 $as_echo "$ac_cv_header_stdc" >&6; }
6670 if test $ac_cv_header_stdc = yes; then
6672 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6677 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6678 inttypes.h stdint.h unistd.h
6679 do :
6680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6684 cat >>confdefs.h <<_ACEOF
6685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6686 _ACEOF
6690 done
6693 for ac_header in \
6694 AL/al.h \
6695 ApplicationServices/ApplicationServices.h \
6696 AudioToolbox/AudioConverter.h \
6697 AudioUnit/AudioUnit.h \
6698 AudioUnit/AudioComponent.h \
6699 CL/cl.h \
6700 Carbon/Carbon.h \
6701 CommonCrypto/CommonDigest.h \
6702 CoreAudio/CoreAudio.h \
6703 CoreServices/CoreServices.h \
6704 DiskArbitration/DiskArbitration.h \
6705 IOKit/IOKitLib.h \
6706 IOKit/hid/IOHIDLib.h \
6707 OpenAL/al.h \
6708 OpenCL/opencl.h \
6709 QuickTime/ImageCompression.h \
6710 Security/Security.h \
6711 alias.h \
6712 alsa/asoundlib.h \
6713 arpa/inet.h \
6714 arpa/nameser.h \
6715 asm/types.h \
6716 asm/user.h \
6717 curses.h \
6718 direct.h \
6719 dirent.h \
6720 dlfcn.h \
6721 elf.h \
6722 float.h \
6723 fnmatch.h \
6724 getopt.h \
6725 gettext-po.h \
6726 grp.h \
6727 gsm.h \
6728 gsm/gsm.h \
6729 ieeefp.h \
6730 inet/mib2.h \
6731 io.h \
6732 kstat.h \
6733 lber.h \
6734 ldap.h \
6735 libproc.h \
6736 link.h \
6737 linux/cdrom.h \
6738 linux/compiler.h \
6739 linux/filter.h \
6740 linux/hdreg.h \
6741 linux/input.h \
6742 linux/ioctl.h \
6743 linux/joystick.h \
6744 linux/major.h \
6745 linux/param.h \
6746 linux/serial.h \
6747 linux/types.h \
6748 linux/ucdrom.h \
6749 lwp.h \
6750 mach-o/nlist.h \
6751 mach-o/loader.h \
6752 mach/mach.h \
6753 mach/machine.h \
6754 machine/cpu.h \
6755 machine/limits.h \
6756 machine/sysarch.h \
6757 mntent.h \
6758 ncurses.h \
6759 netdb.h \
6760 netinet/in.h \
6761 netinet/in_systm.h \
6762 netinet/tcp.h \
6763 netinet/tcp_fsm.h \
6764 pcap/pcap.h \
6765 poll.h \
6766 port.h \
6767 process.h \
6768 pthread.h \
6769 pwd.h \
6770 sched.h \
6771 scsi/scsi.h \
6772 scsi/scsi_ioctl.h \
6773 scsi/sg.h \
6774 stdbool.h \
6775 stdint.h \
6776 stropts.h \
6777 sys/asoundlib.h \
6778 sys/attr.h \
6779 sys/cdio.h \
6780 sys/elf32.h \
6781 sys/epoll.h \
6782 sys/event.h \
6783 sys/exec_elf.h \
6784 sys/filio.h \
6785 sys/inotify.h \
6786 sys/ioctl.h \
6787 sys/ipc.h \
6788 sys/limits.h \
6789 sys/link.h \
6790 sys/mman.h \
6791 sys/modem.h \
6792 sys/msg.h \
6793 sys/mtio.h \
6794 sys/param.h \
6795 sys/poll.h \
6796 sys/prctl.h \
6797 sys/protosw.h \
6798 sys/ptrace.h \
6799 sys/queue.h \
6800 sys/resource.h \
6801 sys/scsiio.h \
6802 sys/shm.h \
6803 sys/signal.h \
6804 sys/socket.h \
6805 sys/socketvar.h \
6806 sys/sockio.h \
6807 sys/statvfs.h \
6808 sys/strtio.h \
6809 sys/syscall.h \
6810 sys/tihdr.h \
6811 sys/time.h \
6812 sys/timeout.h \
6813 sys/times.h \
6814 sys/uio.h \
6815 sys/user.h \
6816 sys/utsname.h \
6817 sys/vm86.h \
6818 sys/vnode.h \
6819 sys/wait.h \
6820 syscall.h \
6821 termios.h \
6822 unistd.h \
6823 utime.h \
6824 valgrind/memcheck.h \
6825 valgrind/valgrind.h \
6826 zlib.h
6828 do :
6829 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6830 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6831 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6832 cat >>confdefs.h <<_ACEOF
6833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6834 _ACEOF
6838 done
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6841 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6842 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6843 $as_echo_n "(cached) " >&6
6844 else
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6847 #include <sys/types.h>
6849 main ()
6851 return makedev(0, 0);
6853 return 0;
6855 _ACEOF
6856 if ac_fn_c_try_link "$LINENO"; then :
6857 ac_cv_header_sys_types_h_makedev=yes
6858 else
6859 ac_cv_header_sys_types_h_makedev=no
6861 rm -f core conftest.err conftest.$ac_objext \
6862 conftest$ac_exeext conftest.$ac_ext
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6866 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6868 if test $ac_cv_header_sys_types_h_makedev = no; then
6869 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6870 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6872 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6878 if test $ac_cv_header_sys_mkdev_h = no; then
6879 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6880 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6882 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6891 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6892 if ${ac_cv_header_stat_broken+:} false; then :
6893 $as_echo_n "(cached) " >&6
6894 else
6895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6897 #include <sys/types.h>
6898 #include <sys/stat.h>
6900 #if defined S_ISBLK && defined S_IFDIR
6901 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6902 #endif
6904 #if defined S_ISBLK && defined S_IFCHR
6905 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6906 #endif
6908 #if defined S_ISLNK && defined S_IFREG
6909 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6910 #endif
6912 #if defined S_ISSOCK && defined S_IFREG
6913 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6914 #endif
6916 _ACEOF
6917 if ac_fn_c_try_compile "$LINENO"; then :
6918 ac_cv_header_stat_broken=no
6919 else
6920 ac_cv_header_stat_broken=yes
6922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6925 $as_echo "$ac_cv_header_stat_broken" >&6; }
6926 if test $ac_cv_header_stat_broken = yes; then
6928 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6934 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6935 do :
6936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6938 #ifdef HAVE_SYS_PARAM_H
6939 # include <sys/param.h>
6940 #endif
6942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6943 cat >>confdefs.h <<_ACEOF
6944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6945 _ACEOF
6949 done
6952 for ac_header in \
6953 netinet/ip.h \
6954 net/if.h \
6955 net/if_arp.h \
6956 net/if_dl.h \
6957 net/if_types.h \
6958 net/route.h \
6959 netinet/if_ether.h \
6960 netinet/if_inarp.h \
6961 netinet/in_pcb.h \
6962 netinet/ip_icmp.h \
6963 netinet/ip_var.h \
6964 netinet/udp.h \
6965 netipx/ipx.h \
6966 sys/un.h \
6968 do :
6969 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6970 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6971 #ifdef HAVE_SYS_SOCKET_H
6972 # include <sys/socket.h>
6973 #endif
6974 #ifdef HAVE_SYS_SOCKETVAR_H
6975 # include <sys/socketvar.h>
6976 #endif
6977 #ifdef HAVE_NET_ROUTE_H
6978 # include <net/route.h>
6979 #endif
6980 #ifdef HAVE_NETINET_IN_H
6981 # include <netinet/in.h>
6982 #endif
6983 #ifdef HAVE_NETINET_IN_SYSTM_H
6984 # include <netinet/in_systm.h>
6985 #endif
6986 #ifdef HAVE_NET_IF_H
6987 # include <net/if.h>
6988 #endif
6989 #ifdef HAVE_NETINET_IP_H
6990 # include <netinet/ip.h>
6991 #endif
6993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6994 cat >>confdefs.h <<_ACEOF
6995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6996 _ACEOF
7000 done
7003 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7004 do :
7005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7007 #ifdef HAVE_ALIAS_H
7008 # include <alias.h>
7009 #endif
7010 #ifdef HAVE_SYS_SOCKET_H
7011 # include <sys/socket.h>
7012 #endif
7013 #ifdef HAVE_SYS_SOCKETVAR_H
7014 # include <sys/socketvar.h>
7015 #endif
7016 #ifdef HAVE_SYS_TIMEOUT_H
7017 # include <sys/timeout.h>
7018 #endif
7019 #ifdef HAVE_NETINET_IN_H
7020 # include <netinet/in.h>
7021 #endif
7022 #ifdef HAVE_NETINET_IN_SYSTM_H
7023 # include <netinet/in_systm.h>
7024 #endif
7025 #ifdef HAVE_NETINET_IP_H
7026 # include <netinet/ip.h>
7027 #endif
7028 #ifdef HAVE_NETINET_IP_VAR_H
7029 # include <netinet/ip_var.h>
7030 #endif
7031 #ifdef HAVE_NETINET_IP_ICMP_H
7032 # include <netinet/ip_icmp.h>
7033 #endif
7034 #ifdef HAVE_NETINET_UDP_H
7035 # include <netinet/udp.h>
7036 #endif
7037 #ifdef HAVE_NETINET_TCP_H
7038 # include <netinet/tcp.h>
7039 #endif
7040 #ifdef HAVE_NETINET_TCP_TIMER_H
7041 #include <netinet/tcp_timer.h>
7042 #endif
7044 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7045 cat >>confdefs.h <<_ACEOF
7046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7047 _ACEOF
7051 done
7054 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7055 do :
7056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7057 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7058 #ifdef HAVE_ASM_TYPES_H
7059 # include <asm/types.h>
7060 #endif
7061 #ifdef HAVE_SYS_SOCKET_H
7062 # include <sys/socket.h>
7063 #endif
7064 #ifdef HAVE_LINUX_TYPES_H
7065 # include <linux/types.h>
7066 #endif
7068 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7069 cat >>confdefs.h <<_ACEOF
7070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7071 _ACEOF
7075 done
7078 for ac_header in mach-o/dyld_images.h
7079 do :
7080 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7081 # include <stdbool.h>
7082 #endif
7083 #ifdef HAVE_STDINT_H
7084 # include <stdint.h>
7085 #endif
7087 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7088 cat >>confdefs.h <<_ACEOF
7089 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7090 _ACEOF
7094 done
7097 for ac_header in resolv.h
7098 do :
7099 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7100 #ifdef HAVE_SYS_SOCKET_H
7101 # include <sys/socket.h>
7102 #endif
7103 #ifdef HAVE_NETINET_IN_H
7104 # include <netinet/in.h>
7105 #endif
7106 #ifdef HAVE_ARPA_NAMESER_H
7107 # include <arpa/nameser.h>
7108 #endif
7110 if test "x$ac_cv_header_resolv_h" = xyes; then :
7111 cat >>confdefs.h <<_ACEOF
7112 #define HAVE_RESOLV_H 1
7113 _ACEOF
7117 done
7120 for ac_header in ifaddrs.h
7121 do :
7122 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7124 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7125 cat >>confdefs.h <<_ACEOF
7126 #define HAVE_IFADDRS_H 1
7127 _ACEOF
7131 done
7134 for ac_header in sys/ucontext.h
7135 do :
7136 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7138 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7139 cat >>confdefs.h <<_ACEOF
7140 #define HAVE_SYS_UCONTEXT_H 1
7141 _ACEOF
7145 done
7148 for ac_header in sys/thr.h
7149 do :
7150 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7151 #ifdef HAVE_SYS_UCONTEXT_H
7152 #include <sys/ucontext.h>
7153 #endif
7155 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define HAVE_SYS_THR_H 1
7158 _ACEOF
7162 done
7165 for ac_header in pthread_np.h
7166 do :
7167 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7168 #include <pthread.h>
7169 #endif
7171 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7172 cat >>confdefs.h <<_ACEOF
7173 #define HAVE_PTHREAD_NP_H 1
7174 _ACEOF
7178 done
7181 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7182 do :
7183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7184 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7185 #include <sys/time.h>
7186 #endif
7187 #include <sys/types.h>
7188 #ifdef HAVE_ASM_TYPES_H
7189 #include <asm/types.h>
7190 #endif
7192 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7193 cat >>confdefs.h <<_ACEOF
7194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7195 _ACEOF
7199 done
7202 for ac_header in libprocstat.h
7203 do :
7204 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7205 #include <sys/param.h>
7206 #endif
7207 #ifdef HAVE_SYS_QUEUE_H
7208 #include <sys/queue.h>
7209 #endif
7210 #ifdef HAVE_SYS_SOCKET_H
7211 #include <sys/socket.h>
7212 #endif
7214 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7215 cat >>confdefs.h <<_ACEOF
7216 #define HAVE_LIBPROCSTAT_H 1
7217 _ACEOF
7221 done
7225 dlldir="\${libdir}/wine"
7227 DLLFLAGS="-D_REENTRANT"
7229 LDRPATH_INSTALL=""
7231 LDRPATH_LOCAL=""
7233 LDEXECFLAGS=""
7235 LIBEXT="so"
7236 DLLEXT=".so"
7237 IMPLIBEXT="def"
7238 # Extract the first word of "ldd", so it can be a program name with args.
7239 set dummy ldd; ac_word=$2
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7241 $as_echo_n "checking for $ac_word... " >&6; }
7242 if ${ac_cv_path_LDD+:} false; then :
7243 $as_echo_n "(cached) " >&6
7244 else
7245 case $LDD in
7246 [\\/]* | ?:[\\/]*)
7247 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 as_dummy="/sbin:/usr/sbin:$PATH"
7252 for as_dir in $as_dummy
7254 IFS=$as_save_IFS
7255 test -z "$as_dir" && as_dir=.
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7258 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7260 break 2
7262 done
7263 done
7264 IFS=$as_save_IFS
7266 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7268 esac
7270 LDD=$ac_cv_path_LDD
7271 if test -n "$LDD"; then
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7273 $as_echo "$LDD" >&6; }
7274 else
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}otool; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if ${ac_cv_prog_OTOOL+:} false; then :
7286 $as_echo_n "(cached) " >&6
7287 else
7288 if test -n "$OTOOL"; then
7289 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7290 else
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 for as_dir in $PATH
7294 IFS=$as_save_IFS
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7298 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 break 2
7302 done
7303 done
7304 IFS=$as_save_IFS
7308 OTOOL=$ac_cv_prog_OTOOL
7309 if test -n "$OTOOL"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7311 $as_echo "$OTOOL" >&6; }
7312 else
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7319 if test -z "$ac_cv_prog_OTOOL"; then
7320 ac_ct_OTOOL=$OTOOL
7321 # Extract the first word of "otool", so it can be a program name with args.
7322 set dummy otool; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7326 $as_echo_n "(cached) " >&6
7327 else
7328 if test -n "$ac_ct_OTOOL"; then
7329 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7334 IFS=$as_save_IFS
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_ac_ct_OTOOL="otool"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 break 2
7342 done
7343 done
7344 IFS=$as_save_IFS
7348 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7349 if test -n "$ac_ct_OTOOL"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7351 $as_echo "$ac_ct_OTOOL" >&6; }
7352 else
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7357 if test "x$ac_ct_OTOOL" = x; then
7358 OTOOL="otool"
7359 else
7360 case $cross_compiling:$ac_tool_warned in
7361 yes:)
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364 ac_tool_warned=yes ;;
7365 esac
7366 OTOOL=$ac_ct_OTOOL
7368 else
7369 OTOOL="$ac_cv_prog_OTOOL"
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if ${ac_cv_prog_READELF+:} false; then :
7378 $as_echo_n "(cached) " >&6
7379 else
7380 if test -n "$READELF"; then
7381 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7382 else
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 for as_dir in $PATH
7386 IFS=$as_save_IFS
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7400 READELF=$ac_cv_prog_READELF
7401 if test -n "$READELF"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7403 $as_echo "$READELF" >&6; }
7404 else
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7411 if test -z "$ac_cv_prog_READELF"; then
7412 ac_ct_READELF=$READELF
7413 # Extract the first word of "readelf", so it can be a program name with args.
7414 set dummy readelf; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 if test -n "$ac_ct_READELF"; then
7421 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_prog_ac_ct_READELF="readelf"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 break 2
7434 done
7435 done
7436 IFS=$as_save_IFS
7440 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7441 if test -n "$ac_ct_READELF"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7443 $as_echo "$ac_ct_READELF" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 if test "x$ac_ct_READELF" = x; then
7450 READELF="true"
7451 else
7452 case $cross_compiling:$ac_tool_warned in
7453 yes:)
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7457 esac
7458 READELF=$ac_ct_READELF
7460 else
7461 READELF="$ac_cv_prog_READELF"
7464 wine_rules_file=conf$$rules.make
7465 rm -f $wine_rules_file
7466 SUBDIRS=""
7468 DISABLED_SUBDIRS=""
7470 CONFIGURE_TARGETS=""
7472 ALL_TEST_RESOURCES=""
7475 wine_fn_append_file ()
7477 as_fn_append $1 " \\$as_nl $2"
7480 wine_fn_append_rule ()
7482 $as_echo "$1" >>$wine_rules_file
7485 wine_fn_has_flag ()
7487 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7490 wine_fn_all_rules ()
7492 wine_fn_append_file SUBDIRS $ac_dir
7493 wine_fn_append_rule \
7494 "all: $ac_dir
7495 .PHONY: $ac_dir
7496 $ac_dir: dummy
7497 @cd $ac_dir && \$(MAKE)"
7500 wine_fn_install_rules ()
7502 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7504 wine_fn_append_rule \
7505 ".PHONY: $ac_dir/install $ac_dir/uninstall
7506 $ac_dir/install:: $ac_dir
7507 @cd $ac_dir && \$(MAKE) install
7508 $ac_dir/uninstall::
7509 @cd $ac_dir && \$(MAKE) uninstall
7510 install:: $ac_dir/install
7511 __uninstall__: $ac_dir/uninstall"
7513 if wine_fn_has_flag install-lib
7514 then
7515 wine_fn_append_rule \
7516 ".PHONY: $ac_dir/install-lib
7517 $ac_dir/install-lib:: $ac_dir
7518 @cd $ac_dir && \$(MAKE) install-lib
7519 install-lib:: $ac_dir/install-lib"
7522 if wine_fn_has_flag install-dev
7523 then
7524 wine_fn_append_rule \
7525 ".PHONY: $ac_dir/install-dev
7526 $ac_dir/install-dev:: $ac_dir
7527 @cd $ac_dir && \$(MAKE) install-dev
7528 install-dev:: $ac_dir/install-dev"
7532 wine_fn_clean_rules ()
7534 ac_clean=$@
7536 if wine_fn_has_flag clean
7537 then
7538 wine_fn_append_rule \
7539 "$ac_dir/clean: dummy
7540 @cd $ac_dir && \$(MAKE) clean"
7541 else
7542 wine_fn_append_rule \
7543 "$ac_dir/clean: dummy
7544 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7546 wine_fn_append_rule \
7547 "__clean__: $ac_dir/clean
7548 .PHONY: $ac_dir/clean"
7551 wine_fn_disabled_rules ()
7553 ac_clean=$@
7555 wine_fn_append_file SUBDIRS $ac_dir
7556 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7557 wine_fn_append_rule \
7558 "__clean__: $ac_dir/clean
7559 .PHONY: $ac_dir/clean
7560 $ac_dir/clean: dummy
7561 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7564 wine_fn_config_makefile ()
7566 ac_dir=$1
7567 ac_enable=$2
7568 ac_flags=$3
7570 case $ac_dir in
7571 fonts|server) test -z "$with_wine64" || return ;;
7572 esac
7573 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7574 wine_fn_disabled_rules; return
7576 wine_fn_all_rules
7577 wine_fn_install_rules
7578 wine_fn_clean_rules
7581 wine_fn_config_lib ()
7583 ac_name=$1
7584 ac_flags=$2
7585 ac_dir=dlls/$ac_name
7586 ac_deps="include"
7588 if test "x$enable_tools" = xno; then :
7590 else
7591 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7593 wine_fn_all_rules
7594 wine_fn_clean_rules
7596 wine_fn_append_rule \
7597 ".PHONY: $ac_dir/install $ac_dir/uninstall
7598 $ac_dir/install:: $ac_dir
7599 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7600 $ac_dir/uninstall::
7601 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7602 install install-dev:: $ac_dir/install
7603 __uninstall__: $ac_dir/uninstall
7604 __builddeps__: $ac_dir
7605 $ac_dir: $ac_deps"
7608 wine_fn_config_dll ()
7610 ac_name=$1
7611 ac_dir=dlls/$ac_name
7612 ac_enable=$2
7613 ac_flags=$3
7614 ac_implib=${4:-$ac_name}
7615 ac_file=$ac_dir/lib$ac_implib
7616 ac_dll=$ac_name
7617 ac_deps="include"
7618 ac_implibflags=""
7620 if test "x$enable_tools" = xno; then :
7622 else
7623 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7625 case $ac_name in
7626 *16) ac_implibflags=" -m16" ;;
7627 *.*) ;;
7628 *) ac_dll=$ac_dll.dll ;;
7629 esac
7631 ac_clean=
7632 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7633 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7635 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7636 if test "$ac_enable" != enable_win16
7637 then
7638 wine_fn_clean_rules $ac_clean
7639 wine_fn_append_file SUBDIRS $ac_dir
7640 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7641 else
7642 wine_fn_disabled_rules $ac_clean
7643 return
7645 else
7646 wine_fn_all_rules
7647 wine_fn_clean_rules $ac_clean
7648 wine_fn_append_rule \
7649 "$ac_dir: __builddeps__
7650 manpages htmlpages sgmlpages xmlpages::
7651 @cd $ac_dir && \$(MAKE) \$@
7652 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7653 install install-lib:: $ac_dir/install-lib
7654 __uninstall__: $ac_dir/uninstall"
7655 if test -n "$DLLEXT"
7656 then
7657 wine_fn_append_rule \
7658 "$ac_dir/install-lib:: $ac_dir
7659 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7660 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7661 $ac_dir/uninstall::
7662 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7663 else
7664 wine_fn_append_rule \
7665 "$ac_dir/install-lib:: $ac_dir
7666 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7667 $ac_dir/uninstall::
7668 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7672 if wine_fn_has_flag staticimplib
7673 then
7674 wine_fn_append_rule \
7675 "__builddeps__: $ac_file.a
7676 $ac_file.a $ac_file.cross.a: $ac_deps
7677 $ac_file.a: dummy
7678 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7679 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7680 $ac_dir/install-dev:: $ac_file.a
7681 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7682 $ac_dir/uninstall::
7683 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7684 install install-dev:: $ac_dir/install-dev
7685 __uninstall__: $ac_dir/uninstall"
7687 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7688 then
7689 wine_fn_append_rule \
7690 "__builddeps__: $ac_file.cross.a
7691 $ac_file.cross.a: dummy
7692 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7695 elif wine_fn_has_flag implib
7696 then
7697 wine_fn_append_rule \
7698 "__builddeps__: $ac_file.$IMPLIBEXT
7699 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7700 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7701 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7702 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7703 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7704 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7705 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7706 $ac_dir/uninstall::
7707 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7708 install install-dev:: $ac_dir/install-dev
7709 __uninstall__: $ac_dir/uninstall"
7710 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7711 then
7712 wine_fn_append_rule \
7713 "__builddeps__: $ac_file.cross.a
7714 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7715 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7720 wine_fn_config_program ()
7722 ac_name=$1
7723 ac_dir=programs/$ac_name
7724 ac_enable=$2
7725 ac_flags=$3
7726 ac_program=$ac_name
7728 case $ac_name in
7729 *.*) ;;
7730 *) ac_program=$ac_program.exe ;;
7731 esac
7733 ac_clean=
7734 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7735 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7737 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7738 wine_fn_disabled_rules $ac_clean; return
7741 wine_fn_all_rules
7742 wine_fn_clean_rules $ac_clean
7743 wine_fn_append_rule "$ac_dir: __builddeps__"
7745 wine_fn_has_flag install || return
7746 wine_fn_append_rule \
7747 ".PHONY: $ac_dir/install $ac_dir/uninstall
7748 install install-lib:: $ac_dir/install
7749 __uninstall__: $ac_dir/uninstall"
7751 if test -n "$DLLEXT"
7752 then
7753 wine_fn_append_rule \
7754 "$ac_dir/install:: $ac_dir
7755 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7756 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7757 $ac_dir/uninstall::
7758 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7760 if test -z "$with_wine64" && wine_fn_has_flag installbin
7761 then
7762 wine_fn_append_rule \
7763 "$ac_dir/install:: __tooldeps__
7764 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7765 $ac_dir/uninstall::
7766 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7768 else
7769 wine_fn_append_rule \
7770 "$ac_dir/install:: $ac_dir
7771 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7772 $ac_dir/uninstall::
7773 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7776 if test -z "$with_wine64" && wine_fn_has_flag manpage
7777 then
7778 wine_fn_append_rule \
7779 "$ac_dir/install:: $ac_dir
7780 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7781 $ac_dir/uninstall::
7782 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7786 wine_fn_config_test ()
7788 ac_dir=$1
7789 ac_name=$2
7790 ac_flags=$3
7792 ac_clean=
7793 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7794 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7796 if test "x$enable_tests" = xno; then :
7797 wine_fn_disabled_rules $ac_clean; return
7800 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7801 wine_fn_all_rules
7802 wine_fn_clean_rules $ac_clean
7804 wine_fn_append_rule \
7805 "$ac_dir: __builddeps__
7806 programs/winetest: $ac_dir
7807 check test: $ac_dir/test
7808 .PHONY: $ac_dir/test
7809 $ac_dir/test: dummy
7810 @cd $ac_dir && \$(MAKE) test
7811 testclean::
7812 \$(RM) $ac_dir/*.ok"
7814 if test -n "$CROSSTARGET"
7815 then
7816 wine_fn_append_rule \
7817 "crosstest: $ac_dir/crosstest
7818 .PHONY: $ac_dir/crosstest
7819 $ac_dir/crosstest: __builddeps__ dummy
7820 @cd $ac_dir && \$(MAKE) crosstest"
7824 wine_fn_config_tool ()
7826 ac_dir=$1
7827 ac_flags=$2
7828 if test "x$enable_tools" = xno; then :
7829 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7832 wine_fn_all_rules
7833 wine_fn_install_rules
7834 wine_fn_clean_rules
7836 wine_fn_append_rule "__tooldeps__: $ac_dir"
7837 wine_fn_append_rule "$ac_dir: libs/port"
7838 case $ac_dir in
7839 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7840 esac
7843 wine_fn_config_symlink ()
7845 ac_linkdir=
7846 if test "x$1" = "x-d"
7847 then
7848 ac_linkdir=$2
7849 shift; shift
7851 ac_links=$@
7852 wine_fn_append_rule \
7853 "$ac_links:
7854 @./config.status \$@"
7855 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7856 test -n "$ac_linkdir" || return
7857 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7860 wine_binary="wine"
7861 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7862 WINELOADER_PROGRAMS="$wine_binary"
7864 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7866 case $host_os in
7867 cygwin*|mingw32*)
7868 if test -n "$ac_tool_prefix"; then
7869 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7870 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if ${ac_cv_prog_DLLTOOL+:} false; then :
7874 $as_echo_n "(cached) " >&6
7875 else
7876 if test -n "$DLLTOOL"; then
7877 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7878 else
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 for as_dir in $PATH
7882 IFS=$as_save_IFS
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 break 2
7890 done
7891 done
7892 IFS=$as_save_IFS
7896 DLLTOOL=$ac_cv_prog_DLLTOOL
7897 if test -n "$DLLTOOL"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7899 $as_echo "$DLLTOOL" >&6; }
7900 else
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7907 if test -z "$ac_cv_prog_DLLTOOL"; then
7908 ac_ct_DLLTOOL=$DLLTOOL
7909 # Extract the first word of "dlltool", so it can be a program name with args.
7910 set dummy dlltool; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912 $as_echo_n "checking for $ac_word... " >&6; }
7913 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7914 $as_echo_n "(cached) " >&6
7915 else
7916 if test -n "$ac_ct_DLLTOOL"; then
7917 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7918 else
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 for as_dir in $PATH
7922 IFS=$as_save_IFS
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928 break 2
7930 done
7931 done
7932 IFS=$as_save_IFS
7936 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7937 if test -n "$ac_ct_DLLTOOL"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7939 $as_echo "$ac_ct_DLLTOOL" >&6; }
7940 else
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7945 if test "x$ac_ct_DLLTOOL" = x; then
7946 DLLTOOL="false"
7947 else
7948 case $cross_compiling:$ac_tool_warned in
7949 yes:)
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7952 ac_tool_warned=yes ;;
7953 esac
7954 DLLTOOL=$ac_ct_DLLTOOL
7956 else
7957 DLLTOOL="$ac_cv_prog_DLLTOOL"
7960 LIBEXT="dll"
7961 DLLEXT=""
7962 IMPLIBEXT="a"
7963 enable_iphlpapi=${enable_iphlpapi:-no}
7964 enable_kernel32=${enable_kernel32:-no}
7965 enable_msvcrt=${enable_msvcrt:-no}
7966 enable_ntdll=${enable_ntdll:-no}
7967 enable_ws2_32=${enable_ws2_32:-no}
7968 enable_loader=${enable_loader:-no}
7969 enable_server=${enable_server:-no}
7970 with_x=${with_x:-no}
7971 with_pthread=${with_pthread:-no}
7973 crtlibs=""
7974 case $host_os in
7975 mingw32*)
7976 crtlibs="-lmsvcrt"
7977 SOCKET_LIBS="-lws2_32"
7979 esac
7981 LIBWINE_SHAREDLIB="libwine.dll"
7983 LIBWINE_IMPORTLIB="libwine.a"
7985 LIBWINE_INSTALL_LIB="libwine.dll"
7987 LIBWINE_INSTALL_DEV="libwine.a"
7989 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7991 LIBWINE_DEPENDS="wine.def"
7995 darwin*|macosx*)
7996 for ac_header in libunwind.h
7997 do :
7998 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8000 cat >>confdefs.h <<_ACEOF
8001 #define HAVE_LIBUNWIND_H 1
8002 _ACEOF
8006 done
8008 LIBEXT="dylib"
8009 DLLFLAGS="$DLLFLAGS -fPIC"
8010 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8011 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8012 COREFOUNDATION_LIBS="-framework CoreFoundation"
8014 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8016 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8018 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8020 CORESERVICES_LIBS="-framework CoreServices"
8022 APPKIT_LIBS="-framework AppKit"
8024 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8026 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8027 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029 else
8030 ac_wine_try_cflags_saved=$CFLAGS
8031 CFLAGS="$CFLAGS -Wl,-no_pie"
8032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8033 /* end confdefs.h. */
8034 int main(int argc, char **argv) { return 0; }
8035 _ACEOF
8036 if ac_fn_c_try_link "$LINENO"; then :
8037 ac_cv_cflags__Wl__no_pie=yes
8038 else
8039 ac_cv_cflags__Wl__no_pie=no
8041 rm -f core conftest.err conftest.$ac_objext \
8042 conftest$ac_exeext conftest.$ac_ext
8043 CFLAGS=$ac_wine_try_cflags_saved
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8046 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8047 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8048 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8050 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8051 then
8052 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8055 if test "$ac_cv_header_Security_Security_h" = "yes"
8056 then
8057 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8059 ac_save_LIBS="$LIBS"
8060 LIBS="$LIBS $SECURITY_LIBS"
8061 for ac_func in SSLCopyPeerCertificates
8062 do :
8063 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8064 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8065 cat >>confdefs.h <<_ACEOF
8066 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8067 _ACEOF
8070 done
8072 LIBS="$ac_save_LIBS"
8073 with_gnutls=${with_gnutls:-no}
8075 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8076 then
8077 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8078 then
8079 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8081 else
8082 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8085 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8086 ac_save_LIBS="$LIBS"
8087 LIBS="$LIBS $COREAUDIO_LIBS"
8088 for ac_func in AUGraphAddNode
8089 do :
8090 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8091 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8092 cat >>confdefs.h <<_ACEOF
8093 #define HAVE_AUGRAPHADDNODE 1
8094 _ACEOF
8097 done
8099 LIBS="$ac_save_LIBS"
8101 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8102 then
8103 OPENAL_LIBS="-framework OpenAL"
8106 cat >>confdefs.h <<_ACEOF
8107 #define HAVE_OPENAL 1
8108 _ACEOF
8110 ac_cv_lib_openal=yes
8112 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8113 then
8114 OPENCL_LIBS="-framework OpenCL"
8116 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8118 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8119 then
8120 ac_save_LIBS="$LIBS"
8121 LIBS="$LIBS $IOKIT_LIBS"
8122 for ac_func in IOHIDManagerCreate
8123 do :
8124 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8125 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8126 cat >>confdefs.h <<_ACEOF
8127 #define HAVE_IOHIDMANAGERCREATE 1
8128 _ACEOF
8131 done
8133 LIBS="$ac_save_LIBS"
8135 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8136 then
8137 ac_save_LIBS="$LIBS"
8138 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8140 $as_echo_n "checking for the QuickTime framework... " >&6; }
8141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8142 /* end confdefs.h. */
8143 #include <QuickTime/ImageCompression.h>
8145 main ()
8147 CodecManagerVersion(NULL);
8149 return 0;
8151 _ACEOF
8152 if ac_fn_c_try_link "$LINENO"; then :
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8154 $as_echo "yes" >&6; }
8155 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8157 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8158 else
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8160 $as_echo "no" >&6; }
8161 ac_cv_header_QuickTime_ImageCompression_h=no
8163 rm -f core conftest.err conftest.$ac_objext \
8164 conftest$ac_exeext conftest.$ac_ext
8165 LIBS="$ac_save_LIBS"
8167 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8168 then
8169 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8171 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8172 then
8173 CARBON_LIBS="-framework Carbon"
8177 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8178 then
8179 ac_save_LIBS="$LIBS"
8180 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8181 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8182 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8183 enable_winemac_drv=${enable_winemac_drv:-yes}
8186 LIBS="$ac_save_LIBS"
8189 if test "x$enable_win16" = "xyes"
8190 then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8192 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8193 if test "$cross_compiling" = yes; then :
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8195 $as_echo "cross-compiling, assuming yes" >&6; }
8196 else
8197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8198 /* end confdefs.h. */
8199 asm(".text\n"
8200 "bad:\tnop;nop\n"
8201 "good:\tnop;nop\n\t"
8202 ".globl _testfunc\n"
8203 "_testfunc:\tcallw good");
8204 extern void testfunc();
8206 main ()
8208 unsigned short *p = (unsigned short *)testfunc;
8209 return p[0] != 0xe866 || p[1] != 0xfffa
8211 return 0;
8213 _ACEOF
8214 if ac_fn_c_try_run "$LINENO"; then :
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8216 $as_echo "yes" >&6; }
8217 else
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219 $as_echo "no" >&6; }
8220 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
8222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8223 conftest.$ac_objext conftest.beam conftest.$ac_ext
8228 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8230 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8232 LIBWINE_INSTALL_DEV="libwine.dylib"
8234 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8236 WINELOADER_DEPENDS="wine_info.plist"
8240 linux-android*)
8241 DLLFLAGS="$DLLFLAGS -fPIC"
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8243 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8244 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 ac_wine_try_cflags_saved=$CFLAGS
8248 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8250 /* end confdefs.h. */
8251 int main(int argc, char **argv) { return 0; }
8252 _ACEOF
8253 if ac_fn_c_try_link "$LINENO"; then :
8254 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8255 else
8256 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8258 rm -f core conftest.err conftest.$ac_objext \
8259 conftest$ac_exeext conftest.$ac_ext
8260 CFLAGS=$ac_wine_try_cflags_saved
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8263 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8264 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8265 LDEXECFLAGS="-Wl,--export-dynamic"
8267 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8269 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8270 if eval \${$as_ac_var+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_wine_try_cflags_saved=$CFLAGS
8274 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8278 _ACEOF
8279 if ac_fn_c_try_link "$LINENO"; then :
8280 eval "$as_ac_var=yes"
8281 else
8282 eval "$as_ac_var=no"
8284 rm -f core conftest.err conftest.$ac_objext \
8285 conftest$ac_exeext conftest.$ac_ext
8286 CFLAGS=$ac_wine_try_cflags_saved
8288 eval ac_res=\$$as_ac_var
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8290 $as_echo "$ac_res" >&6; }
8291 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8292 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8293 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8294 else
8295 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8297 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8298 if eval \${$as_ac_var+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_wine_try_cflags_saved=$CFLAGS
8302 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8306 _ACEOF
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 eval "$as_ac_var=yes"
8309 else
8310 eval "$as_ac_var=no"
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 CFLAGS=$ac_wine_try_cflags_saved
8316 eval ac_res=\$$as_ac_var
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8318 $as_echo "$ac_res" >&6; }
8319 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8320 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8321 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8326 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8327 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8328 $as_echo_n "(cached) " >&6
8329 else
8330 ac_wine_try_cflags_saved=$CFLAGS
8331 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8333 /* end confdefs.h. */
8334 int main(int argc, char **argv) { return 0; }
8335 _ACEOF
8336 if ac_fn_c_try_link "$LINENO"; then :
8337 ac_cv_cflags__Wl___enable_new_dtags=yes
8338 else
8339 ac_cv_cflags__Wl___enable_new_dtags=no
8341 rm -f core conftest.err conftest.$ac_objext \
8342 conftest$ac_exeext conftest.$ac_ext
8343 CFLAGS=$ac_wine_try_cflags_saved
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8346 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8347 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8348 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8351 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8352 if ${ac_cv_cflags__Wl__pie+:} false; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 ac_wine_try_cflags_saved=$CFLAGS
8356 CFLAGS="$CFLAGS -Wl,-pie"
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8359 int main(int argc, char **argv) { return 0; }
8360 _ACEOF
8361 if ac_fn_c_try_link "$LINENO"; then :
8362 ac_cv_cflags__Wl__pie=yes
8363 else
8364 ac_cv_cflags__Wl__pie=no
8366 rm -f core conftest.err conftest.$ac_objext \
8367 conftest$ac_exeext conftest.$ac_ext
8368 CFLAGS=$ac_wine_try_cflags_saved
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8371 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8372 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8373 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8376 LIBWINE_SHAREDLIB="libwine.so"
8378 LIBWINE_INSTALL_LIB="libwine.so"
8380 LIBWINE_LDFLAGS="-shared"
8385 DLLFLAGS="$DLLFLAGS -fPIC"
8386 LDEXECFLAGS=""
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8388 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8389 if ${ac_cv_c_dll_gnuelf+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 ac_wine_try_cflags_saved=$CFLAGS
8393 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8395 /* end confdefs.h. */
8396 void myfunc() {}
8397 _ACEOF
8398 if ac_fn_c_try_link "$LINENO"; then :
8399 ac_cv_c_dll_gnuelf="yes"
8400 else
8401 ac_cv_c_dll_gnuelf="no"
8403 rm -f core conftest.err conftest.$ac_objext \
8404 conftest$ac_exeext conftest.$ac_ext
8405 CFLAGS=$ac_wine_try_cflags_saved
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8408 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8409 if test "$ac_cv_c_dll_gnuelf" = "yes"
8410 then
8411 LIBWINE_LDFLAGS="-shared"
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8413 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8414 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8422 _ACEOF
8423 if ac_fn_c_try_link "$LINENO"; then :
8424 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8425 else
8426 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8428 rm -f core conftest.err conftest.$ac_objext \
8429 conftest$ac_exeext conftest.$ac_ext
8430 CFLAGS=$ac_wine_try_cflags_saved
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8433 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8434 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8435 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8436 else
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8438 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8439 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8446 int main(int argc, char **argv) { return 0; }
8447 _ACEOF
8448 if ac_fn_c_try_link "$LINENO"; then :
8449 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8450 else
8451 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8453 rm -f core conftest.err conftest.$ac_objext \
8454 conftest$ac_exeext conftest.$ac_ext
8455 CFLAGS=$ac_wine_try_cflags_saved
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8458 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8459 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8460 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8464 echo '{ global: *; };' >conftest.map
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8466 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8467 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 ac_wine_try_cflags_saved=$CFLAGS
8471 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* end confdefs.h. */
8474 int main(int argc, char **argv) { return 0; }
8475 _ACEOF
8476 if ac_fn_c_try_link "$LINENO"; then :
8477 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8478 else
8479 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8481 rm -f core conftest.err conftest.$ac_objext \
8482 conftest$ac_exeext conftest.$ac_ext
8483 CFLAGS=$ac_wine_try_cflags_saved
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8486 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8487 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8488 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8490 rm -f conftest.map
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8493 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8494 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 ac_wine_try_cflags_saved=$CFLAGS
8498 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8501 int main(int argc, char **argv) { return 0; }
8502 _ACEOF
8503 if ac_fn_c_try_link "$LINENO"; then :
8504 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8505 else
8506 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8508 rm -f core conftest.err conftest.$ac_objext \
8509 conftest$ac_exeext conftest.$ac_ext
8510 CFLAGS=$ac_wine_try_cflags_saved
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8513 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8514 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8515 LDEXECFLAGS="-Wl,--export-dynamic"
8518 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8520 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8521 if eval \${$as_ac_var+:} false; then :
8522 $as_echo_n "(cached) " >&6
8523 else
8524 ac_wine_try_cflags_saved=$CFLAGS
8525 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8528 int main(int argc, char **argv) { return 0; }
8529 _ACEOF
8530 if ac_fn_c_try_link "$LINENO"; then :
8531 eval "$as_ac_var=yes"
8532 else
8533 eval "$as_ac_var=no"
8535 rm -f core conftest.err conftest.$ac_objext \
8536 conftest$ac_exeext conftest.$ac_ext
8537 CFLAGS=$ac_wine_try_cflags_saved
8539 eval ac_res=\$$as_ac_var
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8541 $as_echo "$ac_res" >&6; }
8542 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8543 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8544 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8545 else
8546 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8548 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8549 if eval \${$as_ac_var+:} false; then :
8550 $as_echo_n "(cached) " >&6
8551 else
8552 ac_wine_try_cflags_saved=$CFLAGS
8553 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8556 int main(int argc, char **argv) { return 0; }
8557 _ACEOF
8558 if ac_fn_c_try_link "$LINENO"; then :
8559 eval "$as_ac_var=yes"
8560 else
8561 eval "$as_ac_var=no"
8563 rm -f core conftest.err conftest.$ac_objext \
8564 conftest$ac_exeext conftest.$ac_ext
8565 CFLAGS=$ac_wine_try_cflags_saved
8567 eval ac_res=\$$as_ac_var
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8569 $as_echo "$ac_res" >&6; }
8570 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8571 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8572 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8577 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8578 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8579 $as_echo_n "(cached) " >&6
8580 else
8581 ac_wine_try_cflags_saved=$CFLAGS
8582 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8585 int main(int argc, char **argv) { return 0; }
8586 _ACEOF
8587 if ac_fn_c_try_link "$LINENO"; then :
8588 ac_cv_cflags__Wl___enable_new_dtags=yes
8589 else
8590 ac_cv_cflags__Wl___enable_new_dtags=no
8592 rm -f core conftest.err conftest.$ac_objext \
8593 conftest$ac_exeext conftest.$ac_ext
8594 CFLAGS=$ac_wine_try_cflags_saved
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8597 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8598 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8599 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8602 case $host_cpu in
8603 *i[3456789]86* | x86_64)
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8605 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8606 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 ac_wine_try_cflags_saved=$CFLAGS
8610 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 int main(int argc, char **argv) { return 0; }
8614 _ACEOF
8615 if ac_fn_c_try_link "$LINENO"; then :
8616 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8617 else
8618 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 CFLAGS=$ac_wine_try_cflags_saved
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8625 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8626 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8627 case $host_os in
8628 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8629 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8630 esac
8631 else
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8633 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8634 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8635 $as_echo_n "(cached) " >&6
8636 else
8637 ac_wine_try_cflags_saved=$CFLAGS
8638 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 int main(int argc, char **argv) { return 0; }
8642 _ACEOF
8643 if ac_fn_c_try_link "$LINENO"; then :
8644 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8645 else
8646 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8648 rm -f core conftest.err conftest.$ac_objext \
8649 conftest$ac_exeext conftest.$ac_ext
8650 CFLAGS=$ac_wine_try_cflags_saved
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8653 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8654 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8655 case $host_os in
8656 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8657 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8658 esac
8660 # Extract the first word of "prelink", so it can be a program name with args.
8661 set dummy prelink; ac_word=$2
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8663 $as_echo_n "checking for $ac_word... " >&6; }
8664 if ${ac_cv_path_PRELINK+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 case $PRELINK in
8668 [\\/]* | ?:[\\/]*)
8669 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673 for as_dir in /sbin /usr/sbin $PATH
8675 IFS=$as_save_IFS
8676 test -z "$as_dir" && as_dir=.
8677 for ac_exec_ext in '' $ac_executable_extensions; do
8678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8679 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8681 break 2
8683 done
8684 done
8685 IFS=$as_save_IFS
8687 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8689 esac
8691 PRELINK=$ac_cv_path_PRELINK
8692 if test -n "$PRELINK"; then
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8694 $as_echo "$PRELINK" >&6; }
8695 else
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8697 $as_echo "no" >&6; }
8701 if test "x$PRELINK" = xfalse
8702 then
8703 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8707 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8708 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 ac_wine_try_cflags_saved=$CFLAGS
8712 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 int main(int argc, char **argv) { return 0; }
8716 _ACEOF
8717 if ac_fn_c_try_link "$LINENO"; then :
8718 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8719 else
8720 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8722 rm -f core conftest.err conftest.$ac_objext \
8723 conftest$ac_exeext conftest.$ac_ext
8724 CFLAGS=$ac_wine_try_cflags_saved
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8727 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8728 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8729 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8732 esac
8734 else
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8736 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8737 if ${ac_cv_c_dll_unixware+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 void myfunc() {}
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_c_dll_unixware="yes"
8748 else
8749 ac_cv_c_dll_unixware="no"
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8756 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8757 if test "$ac_cv_c_dll_unixware" = "yes"
8758 then
8759 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8762 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8764 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8766 LIBWINE_INSTALL_DEV="libwine.so"
8768 LIBWINE_DEPENDS="wine.map"
8771 esac
8773 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8774 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8775 enable_winemac_drv=${enable_winemac_drv:-no}
8776 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8778 CROSSTARGET=""
8780 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8781 then
8782 case "$host_cpu" in
8783 arm*)
8784 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8785 i[3456789]86*)
8786 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
8787 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8788 mingw32-gcc" ;;
8789 x86_64)
8790 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
8791 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8793 ac_prefix_list="" ;;
8794 esac
8795 for ac_prog in $ac_prefix_list
8797 # Extract the first word of "$ac_prog", so it can be a program name with args.
8798 set dummy $ac_prog; ac_word=$2
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8800 $as_echo_n "checking for $ac_word... " >&6; }
8801 if ${ac_cv_prog_CROSSCC+:} false; then :
8802 $as_echo_n "(cached) " >&6
8803 else
8804 if test -n "$CROSSCC"; then
8805 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8806 else
8807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8808 for as_dir in $PATH
8810 IFS=$as_save_IFS
8811 test -z "$as_dir" && as_dir=.
8812 for ac_exec_ext in '' $ac_executable_extensions; do
8813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8814 ac_cv_prog_CROSSCC="$ac_prog"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8816 break 2
8818 done
8819 done
8820 IFS=$as_save_IFS
8824 CROSSCC=$ac_cv_prog_CROSSCC
8825 if test -n "$CROSSCC"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8827 $as_echo "$CROSSCC" >&6; }
8828 else
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830 $as_echo "no" >&6; }
8834 test -n "$CROSSCC" && break
8835 done
8836 test -n "$CROSSCC" || CROSSCC="false"
8838 if test "$CROSSCC" != "false"
8839 then
8840 ac_save_CC="$CC"
8841 CC="$CROSSCC"
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8843 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8848 main ()
8852 return 0;
8854 _ACEOF
8855 if ac_fn_c_try_compile "$LINENO"; then :
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8857 $as_echo "yes" >&6; }
8858 set x $CROSSCC
8859 shift
8860 while test $# -ge 1
8862 case "$1" in
8863 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8864 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8865 esac
8866 shift
8867 done
8868 else
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8870 $as_echo "no" >&6; }
8872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8873 CC="$ac_save_CC"
8878 if test "$ac_cv_header_pthread_h" = "yes"
8879 then
8880 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8881 if test "x$ac_cv_func_pthread_create" = xyes; then :
8883 else
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8885 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8886 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8887 $as_echo_n "(cached) " >&6
8888 else
8889 ac_check_lib_save_LIBS=$LIBS
8890 LIBS="-lpthread $LIBS"
8891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8892 /* end confdefs.h. */
8894 /* Override any GCC internal prototype to avoid an error.
8895 Use char because int might match the return type of a GCC
8896 builtin and then its argument prototype would still apply. */
8897 #ifdef __cplusplus
8898 extern "C"
8899 #endif
8900 char pthread_create ();
8902 main ()
8904 return pthread_create ();
8906 return 0;
8908 _ACEOF
8909 if ac_fn_c_try_link "$LINENO"; then :
8910 ac_cv_lib_pthread_pthread_create=yes
8911 else
8912 ac_cv_lib_pthread_pthread_create=no
8914 rm -f core conftest.err conftest.$ac_objext \
8915 conftest$ac_exeext conftest.$ac_ext
8916 LIBS=$ac_check_lib_save_LIBS
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8919 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8920 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8921 PTHREAD_LIBS="-lpthread"
8928 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8929 case "x$with_pthread" in
8930 xno) ;;
8931 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8932 Wine cannot support threads without libpthread.
8933 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8934 esac
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8940 $as_echo_n "checking for X... " >&6; }
8943 # Check whether --with-x was given.
8944 if test "${with_x+set}" = set; then :
8945 withval=$with_x;
8948 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8949 if test "x$with_x" = xno; then
8950 # The user explicitly disabled X.
8951 have_x=disabled
8952 else
8953 case $x_includes,$x_libraries in #(
8954 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8955 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8956 $as_echo_n "(cached) " >&6
8957 else
8958 # One or both of the vars are not set, and there is no cached value.
8959 ac_x_includes=no ac_x_libraries=no
8960 rm -f -r conftest.dir
8961 if mkdir conftest.dir; then
8962 cd conftest.dir
8963 cat >Imakefile <<'_ACEOF'
8964 incroot:
8965 @echo incroot='${INCROOT}'
8966 usrlibdir:
8967 @echo usrlibdir='${USRLIBDIR}'
8968 libdir:
8969 @echo libdir='${LIBDIR}'
8970 _ACEOF
8971 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8972 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8973 for ac_var in incroot usrlibdir libdir; do
8974 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8975 done
8976 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8977 for ac_extension in a so sl dylib la dll; do
8978 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8979 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8980 ac_im_usrlibdir=$ac_im_libdir; break
8982 done
8983 # Screen out bogus values from the imake configuration. They are
8984 # bogus both because they are the default anyway, and because
8985 # using them would break gcc on systems where it needs fixed includes.
8986 case $ac_im_incroot in
8987 /usr/include) ac_x_includes= ;;
8988 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8989 esac
8990 case $ac_im_usrlibdir in
8991 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8992 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8993 esac
8995 cd ..
8996 rm -f -r conftest.dir
8999 # Standard set of common directories for X headers.
9000 # Check X11 before X11Rn because it is often a symlink to the current release.
9001 ac_x_header_dirs='
9002 /usr/X11/include
9003 /usr/X11R7/include
9004 /usr/X11R6/include
9005 /usr/X11R5/include
9006 /usr/X11R4/include
9008 /usr/include/X11
9009 /usr/include/X11R7
9010 /usr/include/X11R6
9011 /usr/include/X11R5
9012 /usr/include/X11R4
9014 /usr/local/X11/include
9015 /usr/local/X11R7/include
9016 /usr/local/X11R6/include
9017 /usr/local/X11R5/include
9018 /usr/local/X11R4/include
9020 /usr/local/include/X11
9021 /usr/local/include/X11R7
9022 /usr/local/include/X11R6
9023 /usr/local/include/X11R5
9024 /usr/local/include/X11R4
9026 /usr/X386/include
9027 /usr/x386/include
9028 /usr/XFree86/include/X11
9030 /usr/include
9031 /usr/local/include
9032 /usr/unsupported/include
9033 /usr/athena/include
9034 /usr/local/x11r5/include
9035 /usr/lpp/Xamples/include
9037 /usr/openwin/include
9038 /usr/openwin/share/include'
9040 if test "$ac_x_includes" = no; then
9041 # Guess where to find include files, by looking for Xlib.h.
9042 # First, try using that file with no special directory specified.
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9045 #include <X11/Xlib.h>
9046 _ACEOF
9047 if ac_fn_c_try_cpp "$LINENO"; then :
9048 # We can compile using X headers with no special include directory.
9049 ac_x_includes=
9050 else
9051 for ac_dir in $ac_x_header_dirs; do
9052 if test -r "$ac_dir/X11/Xlib.h"; then
9053 ac_x_includes=$ac_dir
9054 break
9056 done
9058 rm -f conftest.err conftest.i conftest.$ac_ext
9059 fi # $ac_x_includes = no
9061 if test "$ac_x_libraries" = no; then
9062 # Check for the libraries.
9063 # See if we find them without any special options.
9064 # Don't add to $LIBS permanently.
9065 ac_save_LIBS=$LIBS
9066 LIBS="-lX11 $LIBS"
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9069 #include <X11/Xlib.h>
9071 main ()
9073 XrmInitialize ()
9075 return 0;
9077 _ACEOF
9078 if ac_fn_c_try_link "$LINENO"; then :
9079 LIBS=$ac_save_LIBS
9080 # We can link X programs with no special library path.
9081 ac_x_libraries=
9082 else
9083 LIBS=$ac_save_LIBS
9084 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9086 # Don't even attempt the hair of trying to link an X program!
9087 for ac_extension in a so sl dylib la dll; do
9088 if test -r "$ac_dir/libX11.$ac_extension"; then
9089 ac_x_libraries=$ac_dir
9090 break 2
9092 done
9093 done
9095 rm -f core conftest.err conftest.$ac_objext \
9096 conftest$ac_exeext conftest.$ac_ext
9097 fi # $ac_x_libraries = no
9099 case $ac_x_includes,$ac_x_libraries in #(
9100 no,* | *,no | *\'*)
9101 # Didn't find X, or a directory has "'" in its name.
9102 ac_cv_have_x="have_x=no";; #(
9104 # Record where we found X for the cache.
9105 ac_cv_have_x="have_x=yes\
9106 ac_x_includes='$ac_x_includes'\
9107 ac_x_libraries='$ac_x_libraries'"
9108 esac
9110 ;; #(
9111 *) have_x=yes;;
9112 esac
9113 eval "$ac_cv_have_x"
9114 fi # $with_x != no
9116 if test "$have_x" != yes; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9118 $as_echo "$have_x" >&6; }
9119 no_x=yes
9120 else
9121 # If each of the values was on the command line, it overrides each guess.
9122 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9123 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9124 # Update the cache value to reflect the command line values.
9125 ac_cv_have_x="have_x=yes\
9126 ac_x_includes='$x_includes'\
9127 ac_x_libraries='$x_libraries'"
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9129 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9132 if test "$no_x" = yes; then
9133 # Not all programs may use this symbol, but it does not hurt to define it.
9135 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9137 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9138 else
9139 if test -n "$x_includes"; then
9140 X_CFLAGS="$X_CFLAGS -I$x_includes"
9143 # It would also be nice to do this for all -L options, not just this one.
9144 if test -n "$x_libraries"; then
9145 X_LIBS="$X_LIBS -L$x_libraries"
9146 # For Solaris; some versions of Sun CC require a space after -R and
9147 # others require no space. Words are not sufficient . . . .
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9149 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9150 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9151 ac_xsave_c_werror_flag=$ac_c_werror_flag
9152 ac_c_werror_flag=yes
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9157 main ()
9161 return 0;
9163 _ACEOF
9164 if ac_fn_c_try_link "$LINENO"; then :
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9166 $as_echo "no" >&6; }
9167 X_LIBS="$X_LIBS -R$x_libraries"
9168 else
9169 LIBS="$ac_xsave_LIBS -R $x_libraries"
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9174 main ()
9178 return 0;
9180 _ACEOF
9181 if ac_fn_c_try_link "$LINENO"; then :
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9183 $as_echo "yes" >&6; }
9184 X_LIBS="$X_LIBS -R $x_libraries"
9185 else
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9187 $as_echo "neither works" >&6; }
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9192 rm -f core conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9194 ac_c_werror_flag=$ac_xsave_c_werror_flag
9195 LIBS=$ac_xsave_LIBS
9198 # Check for system-dependent libraries X programs must link with.
9199 # Do this before checking for the system-independent R6 libraries
9200 # (-lICE), since we may need -lsocket or whatever for X linking.
9202 if test "$ISC" = yes; then
9203 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9204 else
9205 # Martyn Johnson says this is needed for Ultrix, if the X
9206 # libraries were built with DECnet support. And Karl Berry says
9207 # the Alpha needs dnet_stub (dnet does not exist).
9208 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9210 /* end confdefs.h. */
9212 /* Override any GCC internal prototype to avoid an error.
9213 Use char because int might match the return type of a GCC
9214 builtin and then its argument prototype would still apply. */
9215 #ifdef __cplusplus
9216 extern "C"
9217 #endif
9218 char XOpenDisplay ();
9220 main ()
9222 return XOpenDisplay ();
9224 return 0;
9226 _ACEOF
9227 if ac_fn_c_try_link "$LINENO"; then :
9229 else
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9231 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9232 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9233 $as_echo_n "(cached) " >&6
9234 else
9235 ac_check_lib_save_LIBS=$LIBS
9236 LIBS="-ldnet $LIBS"
9237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 /* end confdefs.h. */
9240 /* Override any GCC internal prototype to avoid an error.
9241 Use char because int might match the return type of a GCC
9242 builtin and then its argument prototype would still apply. */
9243 #ifdef __cplusplus
9244 extern "C"
9245 #endif
9246 char dnet_ntoa ();
9248 main ()
9250 return dnet_ntoa ();
9252 return 0;
9254 _ACEOF
9255 if ac_fn_c_try_link "$LINENO"; then :
9256 ac_cv_lib_dnet_dnet_ntoa=yes
9257 else
9258 ac_cv_lib_dnet_dnet_ntoa=no
9260 rm -f core conftest.err conftest.$ac_objext \
9261 conftest$ac_exeext conftest.$ac_ext
9262 LIBS=$ac_check_lib_save_LIBS
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9265 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9266 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9267 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9270 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9272 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9273 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9274 $as_echo_n "(cached) " >&6
9275 else
9276 ac_check_lib_save_LIBS=$LIBS
9277 LIBS="-ldnet_stub $LIBS"
9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9284 #ifdef __cplusplus
9285 extern "C"
9286 #endif
9287 char dnet_ntoa ();
9289 main ()
9291 return dnet_ntoa ();
9293 return 0;
9295 _ACEOF
9296 if ac_fn_c_try_link "$LINENO"; then :
9297 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9298 else
9299 ac_cv_lib_dnet_stub_dnet_ntoa=no
9301 rm -f core conftest.err conftest.$ac_objext \
9302 conftest$ac_exeext conftest.$ac_ext
9303 LIBS=$ac_check_lib_save_LIBS
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9306 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9307 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9308 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9313 rm -f core conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 LIBS="$ac_xsave_LIBS"
9317 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9318 # to get the SysV transport functions.
9319 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9320 # needs -lnsl.
9321 # The nsl library prevents programs from opening the X display
9322 # on Irix 5.2, according to T.E. Dickey.
9323 # The functions gethostbyname, getservbyname, and inet_addr are
9324 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9325 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9326 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9330 if test $ac_cv_func_gethostbyname = no; then
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9332 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9333 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_check_lib_save_LIBS=$LIBS
9337 LIBS="-lnsl $LIBS"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9344 #ifdef __cplusplus
9345 extern "C"
9346 #endif
9347 char gethostbyname ();
9349 main ()
9351 return gethostbyname ();
9353 return 0;
9355 _ACEOF
9356 if ac_fn_c_try_link "$LINENO"; then :
9357 ac_cv_lib_nsl_gethostbyname=yes
9358 else
9359 ac_cv_lib_nsl_gethostbyname=no
9361 rm -f core conftest.err conftest.$ac_objext \
9362 conftest$ac_exeext conftest.$ac_ext
9363 LIBS=$ac_check_lib_save_LIBS
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9366 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9367 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9368 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9371 if test $ac_cv_lib_nsl_gethostbyname = no; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9373 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9374 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 ac_check_lib_save_LIBS=$LIBS
9378 LIBS="-lbsd $LIBS"
9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9382 /* Override any GCC internal prototype to avoid an error.
9383 Use char because int might match the return type of a GCC
9384 builtin and then its argument prototype would still apply. */
9385 #ifdef __cplusplus
9386 extern "C"
9387 #endif
9388 char gethostbyname ();
9390 main ()
9392 return gethostbyname ();
9394 return 0;
9396 _ACEOF
9397 if ac_fn_c_try_link "$LINENO"; then :
9398 ac_cv_lib_bsd_gethostbyname=yes
9399 else
9400 ac_cv_lib_bsd_gethostbyname=no
9402 rm -f core conftest.err conftest.$ac_objext \
9403 conftest$ac_exeext conftest.$ac_ext
9404 LIBS=$ac_check_lib_save_LIBS
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9407 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9408 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9409 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9415 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9416 # socket/setsockopt and other routines are undefined under SCO ODT
9417 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9418 # on later versions), says Simon Leinen: it contains gethostby*
9419 # variants that don't use the name server (or something). -lsocket
9420 # must be given before -lnsl if both are needed. We assume that
9421 # if connect needs -lnsl, so does gethostbyname.
9422 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9423 if test "x$ac_cv_func_connect" = xyes; then :
9427 if test $ac_cv_func_connect = no; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9429 $as_echo_n "checking for connect in -lsocket... " >&6; }
9430 if ${ac_cv_lib_socket_connect+:} false; then :
9431 $as_echo_n "(cached) " >&6
9432 else
9433 ac_check_lib_save_LIBS=$LIBS
9434 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9436 /* end confdefs.h. */
9438 /* Override any GCC internal prototype to avoid an error.
9439 Use char because int might match the return type of a GCC
9440 builtin and then its argument prototype would still apply. */
9441 #ifdef __cplusplus
9442 extern "C"
9443 #endif
9444 char connect ();
9446 main ()
9448 return connect ();
9450 return 0;
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"; then :
9454 ac_cv_lib_socket_connect=yes
9455 else
9456 ac_cv_lib_socket_connect=no
9458 rm -f core conftest.err conftest.$ac_objext \
9459 conftest$ac_exeext conftest.$ac_ext
9460 LIBS=$ac_check_lib_save_LIBS
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9463 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9464 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9465 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9470 # Guillermo Gomez says -lposix is necessary on A/UX.
9471 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9472 if test "x$ac_cv_func_remove" = xyes; then :
9476 if test $ac_cv_func_remove = no; then
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9478 $as_echo_n "checking for remove in -lposix... " >&6; }
9479 if ${ac_cv_lib_posix_remove+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_check_lib_save_LIBS=$LIBS
9483 LIBS="-lposix $LIBS"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9487 /* Override any GCC internal prototype to avoid an error.
9488 Use char because int might match the return type of a GCC
9489 builtin and then its argument prototype would still apply. */
9490 #ifdef __cplusplus
9491 extern "C"
9492 #endif
9493 char remove ();
9495 main ()
9497 return remove ();
9499 return 0;
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 ac_cv_lib_posix_remove=yes
9504 else
9505 ac_cv_lib_posix_remove=no
9507 rm -f core conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 LIBS=$ac_check_lib_save_LIBS
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9512 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9513 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9514 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9519 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9520 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9521 if test "x$ac_cv_func_shmat" = xyes; then :
9525 if test $ac_cv_func_shmat = no; then
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9527 $as_echo_n "checking for shmat in -lipc... " >&6; }
9528 if ${ac_cv_lib_ipc_shmat+:} false; then :
9529 $as_echo_n "(cached) " >&6
9530 else
9531 ac_check_lib_save_LIBS=$LIBS
9532 LIBS="-lipc $LIBS"
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9539 #ifdef __cplusplus
9540 extern "C"
9541 #endif
9542 char shmat ();
9544 main ()
9546 return shmat ();
9548 return 0;
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9552 ac_cv_lib_ipc_shmat=yes
9553 else
9554 ac_cv_lib_ipc_shmat=no
9556 rm -f core conftest.err conftest.$ac_objext \
9557 conftest$ac_exeext conftest.$ac_ext
9558 LIBS=$ac_check_lib_save_LIBS
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9561 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9562 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9563 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9569 # Check for libraries that X11R6 Xt/Xaw programs need.
9570 ac_save_LDFLAGS=$LDFLAGS
9571 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9572 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9573 # check for ICE first), but we must link in the order -lSM -lICE or
9574 # we get undefined symbols. So assume we have SM if we have ICE.
9575 # These have to be linked with before -lX11, unlike the other
9576 # libraries we check for below, so use a different variable.
9577 # John Interrante, Karl Berry
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9579 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9580 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9581 $as_echo_n "(cached) " >&6
9582 else
9583 ac_check_lib_save_LIBS=$LIBS
9584 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9591 #ifdef __cplusplus
9592 extern "C"
9593 #endif
9594 char IceConnectionNumber ();
9596 main ()
9598 return IceConnectionNumber ();
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604 ac_cv_lib_ICE_IceConnectionNumber=yes
9605 else
9606 ac_cv_lib_ICE_IceConnectionNumber=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 LIBS=$ac_check_lib_save_LIBS
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9613 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9614 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9615 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9618 LDFLAGS=$ac_save_LDFLAGS
9623 if test "$have_x" = "yes"
9624 then
9625 ac_save_CPPFLAGS="$CPPFLAGS"
9626 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9629 $as_echo_n "checking for -lX11... " >&6; }
9630 if ${ac_cv_lib_soname_X11+:} false; then :
9631 $as_echo_n "(cached) " >&6
9632 else
9633 ac_check_soname_save_LIBS=$LIBS
9634 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9641 #ifdef __cplusplus
9642 extern "C"
9643 #endif
9644 char XCreateWindow ();
9646 main ()
9648 return XCreateWindow ();
9650 return 0;
9652 _ACEOF
9653 if ac_fn_c_try_link "$LINENO"; then :
9654 case "$LIBEXT" in
9655 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9656 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'` ;;
9657 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9658 if ${ac_cv_lib_soname_X11:+false} :; then :
9659 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9660 fi ;;
9661 esac
9663 rm -f core conftest.err conftest.$ac_objext \
9664 conftest$ac_exeext conftest.$ac_ext
9665 LIBS=$ac_check_soname_save_LIBS
9667 if ${ac_cv_lib_soname_X11:+false} :; then :
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9669 $as_echo "not found" >&6; }
9671 else
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9673 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9675 cat >>confdefs.h <<_ACEOF
9676 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9677 _ACEOF
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9682 $as_echo_n "checking for -lXext... " >&6; }
9683 if ${ac_cv_lib_soname_Xext+:} false; then :
9684 $as_echo_n "(cached) " >&6
9685 else
9686 ac_check_soname_save_LIBS=$LIBS
9687 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9689 /* end confdefs.h. */
9691 /* Override any GCC internal prototype to avoid an error.
9692 Use char because int might match the return type of a GCC
9693 builtin and then its argument prototype would still apply. */
9694 #ifdef __cplusplus
9695 extern "C"
9696 #endif
9697 char XextCreateExtension ();
9699 main ()
9701 return XextCreateExtension ();
9703 return 0;
9705 _ACEOF
9706 if ac_fn_c_try_link "$LINENO"; then :
9707 case "$LIBEXT" in
9708 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9709 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'` ;;
9710 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9711 if ${ac_cv_lib_soname_Xext:+false} :; then :
9712 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9713 fi ;;
9714 esac
9716 rm -f core conftest.err conftest.$ac_objext \
9717 conftest$ac_exeext conftest.$ac_ext
9718 LIBS=$ac_check_soname_save_LIBS
9720 if ${ac_cv_lib_soname_Xext:+false} :; then :
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9722 $as_echo "not found" >&6; }
9724 else
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9726 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9728 cat >>confdefs.h <<_ACEOF
9729 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9730 _ACEOF
9732 X_LIBS="$X_LIBS -lXext"
9734 X_LIBS="$X_LIBS -lX11"
9736 for ac_header in X11/Xlib.h \
9737 X11/XKBlib.h \
9738 X11/Xutil.h \
9739 X11/Xcursor/Xcursor.h \
9740 X11/extensions/shape.h \
9741 X11/extensions/XInput.h \
9742 X11/extensions/XInput2.h \
9743 X11/extensions/XShm.h \
9744 X11/extensions/Xcomposite.h \
9745 X11/extensions/Xinerama.h \
9746 X11/extensions/Xrandr.h \
9747 X11/extensions/Xrender.h \
9748 X11/extensions/xf86vmode.h \
9749 X11/extensions/xf86vmproto.h
9750 do :
9751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9752 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9753 # include <X11/Xlib.h>
9754 #endif
9755 #ifdef HAVE_X11_XUTIL_H
9756 # include <X11/Xutil.h>
9757 #endif
9759 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9760 cat >>confdefs.h <<_ACEOF
9761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9762 _ACEOF
9766 done
9769 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9770 then
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9772 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9773 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9774 $as_echo_n "(cached) " >&6
9775 else
9776 ac_check_lib_save_LIBS=$LIBS
9777 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9779 /* end confdefs.h. */
9781 /* Override any GCC internal prototype to avoid an error.
9782 Use char because int might match the return type of a GCC
9783 builtin and then its argument prototype would still apply. */
9784 #ifdef __cplusplus
9785 extern "C"
9786 #endif
9787 char XkbQueryExtension ();
9789 main ()
9791 return XkbQueryExtension ();
9793 return 0;
9795 _ACEOF
9796 if ac_fn_c_try_link "$LINENO"; then :
9797 ac_cv_lib_X11_XkbQueryExtension=yes
9798 else
9799 ac_cv_lib_X11_XkbQueryExtension=no
9801 rm -f core conftest.err conftest.$ac_objext \
9802 conftest$ac_exeext conftest.$ac_ext
9803 LIBS=$ac_check_lib_save_LIBS
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9806 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9807 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9809 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9815 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9816 then
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9818 $as_echo_n "checking for -lXcursor... " >&6; }
9819 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9820 $as_echo_n "(cached) " >&6
9821 else
9822 ac_check_soname_save_LIBS=$LIBS
9823 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9827 /* Override any GCC internal prototype to avoid an error.
9828 Use char because int might match the return type of a GCC
9829 builtin and then its argument prototype would still apply. */
9830 #ifdef __cplusplus
9831 extern "C"
9832 #endif
9833 char XcursorImageLoadCursor ();
9835 main ()
9837 return XcursorImageLoadCursor ();
9839 return 0;
9841 _ACEOF
9842 if ac_fn_c_try_link "$LINENO"; then :
9843 case "$LIBEXT" in
9844 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9845 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'` ;;
9846 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9847 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9848 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9849 fi ;;
9850 esac
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 LIBS=$ac_check_soname_save_LIBS
9856 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9858 $as_echo "not found" >&6; }
9860 else
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9862 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9864 cat >>confdefs.h <<_ACEOF
9865 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9866 _ACEOF
9871 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9872 case "x$with_xcursor" in
9873 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9874 xno) ;;
9875 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9876 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9877 esac
9881 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9882 then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9884 $as_echo_n "checking for -lXi... " >&6; }
9885 if ${ac_cv_lib_soname_Xi+:} false; then :
9886 $as_echo_n "(cached) " >&6
9887 else
9888 ac_check_soname_save_LIBS=$LIBS
9889 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9893 /* Override any GCC internal prototype to avoid an error.
9894 Use char because int might match the return type of a GCC
9895 builtin and then its argument prototype would still apply. */
9896 #ifdef __cplusplus
9897 extern "C"
9898 #endif
9899 char XOpenDevice ();
9901 main ()
9903 return XOpenDevice ();
9905 return 0;
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 case "$LIBEXT" in
9910 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9911 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'` ;;
9912 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9913 if ${ac_cv_lib_soname_Xi:+false} :; then :
9914 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9915 fi ;;
9916 esac
9918 rm -f core conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LIBS=$ac_check_soname_save_LIBS
9922 if ${ac_cv_lib_soname_Xi:+false} :; then :
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9924 $as_echo "not found" >&6; }
9926 else
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9928 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9930 cat >>confdefs.h <<_ACEOF
9931 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9932 _ACEOF
9937 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9938 case "x$with_xinput" in
9939 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9940 xno) ;;
9941 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9942 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9943 esac
9947 if test "x$ac_cv_lib_soname_Xi" != x
9948 then
9949 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9950 case "x$with_xinput2" in
9951 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9952 xno) ;;
9953 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9954 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9955 esac
9960 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9961 then
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9963 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9964 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9965 $as_echo_n "(cached) " >&6
9966 else
9967 ac_check_lib_save_LIBS=$LIBS
9968 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9972 /* Override any GCC internal prototype to avoid an error.
9973 Use char because int might match the return type of a GCC
9974 builtin and then its argument prototype would still apply. */
9975 #ifdef __cplusplus
9976 extern "C"
9977 #endif
9978 char XShmQueryExtension ();
9980 main ()
9982 return XShmQueryExtension ();
9984 return 0;
9986 _ACEOF
9987 if ac_fn_c_try_link "$LINENO"; then :
9988 ac_cv_lib_Xext_XShmQueryExtension=yes
9989 else
9990 ac_cv_lib_Xext_XShmQueryExtension=no
9992 rm -f core conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 LIBS=$ac_check_lib_save_LIBS
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9997 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9998 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10000 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10005 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10006 case "x$with_xshm" in
10007 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10008 xno) ;;
10009 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10010 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10011 esac
10015 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10016 then
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10018 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10019 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_check_lib_save_LIBS=$LIBS
10023 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10030 #ifdef __cplusplus
10031 extern "C"
10032 #endif
10033 char XShapeQueryExtension ();
10035 main ()
10037 return XShapeQueryExtension ();
10039 return 0;
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 ac_cv_lib_Xext_XShapeQueryExtension=yes
10044 else
10045 ac_cv_lib_Xext_XShapeQueryExtension=no
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_lib_save_LIBS
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10052 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10053 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10055 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10060 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10061 case "x$with_xshape" in
10062 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10063 xno) ;;
10064 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10065 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10066 esac
10070 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10071 then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10073 $as_echo_n "checking for -lXxf86vm... " >&6; }
10074 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10075 $as_echo_n "(cached) " >&6
10076 else
10077 ac_check_soname_save_LIBS=$LIBS
10078 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10082 /* Override any GCC internal prototype to avoid an error.
10083 Use char because int might match the return type of a GCC
10084 builtin and then its argument prototype would still apply. */
10085 #ifdef __cplusplus
10086 extern "C"
10087 #endif
10088 char XF86VidModeQueryExtension ();
10090 main ()
10092 return XF86VidModeQueryExtension ();
10094 return 0;
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 case "$LIBEXT" in
10099 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10100 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'` ;;
10101 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10102 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10103 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10104 fi ;;
10105 esac
10107 rm -f core conftest.err conftest.$ac_objext \
10108 conftest$ac_exeext conftest.$ac_ext
10109 LIBS=$ac_check_soname_save_LIBS
10111 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10113 $as_echo "not found" >&6; }
10115 else
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10117 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10119 cat >>confdefs.h <<_ACEOF
10120 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10121 _ACEOF
10126 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10127 case "x$with_xxf86vm" in
10128 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10129 xno) ;;
10130 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10131 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10132 esac
10136 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10137 then
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10139 $as_echo_n "checking for -lXrender... " >&6; }
10140 if ${ac_cv_lib_soname_Xrender+:} false; then :
10141 $as_echo_n "(cached) " >&6
10142 else
10143 ac_check_soname_save_LIBS=$LIBS
10144 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10151 #ifdef __cplusplus
10152 extern "C"
10153 #endif
10154 char XRenderQueryExtension ();
10156 main ()
10158 return XRenderQueryExtension ();
10160 return 0;
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 case "$LIBEXT" in
10165 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10166 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'` ;;
10167 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10168 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10169 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10170 fi ;;
10171 esac
10173 rm -f core conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_soname_save_LIBS
10177 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10179 $as_echo "not found" >&6; }
10181 else
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10183 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10185 cat >>confdefs.h <<_ACEOF
10186 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10187 _ACEOF
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10190 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10191 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10192 $as_echo_n "(cached) " >&6
10193 else
10194 ac_check_lib_save_LIBS=$LIBS
10195 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197 /* end confdefs.h. */
10199 /* Override any GCC internal prototype to avoid an error.
10200 Use char because int might match the return type of a GCC
10201 builtin and then its argument prototype would still apply. */
10202 #ifdef __cplusplus
10203 extern "C"
10204 #endif
10205 char XRenderSetPictureTransform ();
10207 main ()
10209 return XRenderSetPictureTransform ();
10211 return 0;
10213 _ACEOF
10214 if ac_fn_c_try_link "$LINENO"; then :
10215 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10216 else
10217 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10219 rm -f core conftest.err conftest.$ac_objext \
10220 conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_check_lib_save_LIBS
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10224 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10225 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10227 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10232 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10233 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10234 $as_echo_n "(cached) " >&6
10235 else
10236 ac_check_lib_save_LIBS=$LIBS
10237 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10241 /* Override any GCC internal prototype to avoid an error.
10242 Use char because int might match the return type of a GCC
10243 builtin and then its argument prototype would still apply. */
10244 #ifdef __cplusplus
10245 extern "C"
10246 #endif
10247 char XRenderCreateLinearGradient ();
10249 main ()
10251 return XRenderCreateLinearGradient ();
10253 return 0;
10255 _ACEOF
10256 if ac_fn_c_try_link "$LINENO"; then :
10257 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10258 else
10259 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 LIBS=$ac_check_lib_save_LIBS
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10266 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10267 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10269 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10276 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10277 case "x$with_xrender" in
10278 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10279 xno) ;;
10280 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10281 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10282 esac
10286 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10287 then
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10290 #include <X11/Xlib.h>
10291 #include <X11/extensions/Xrandr.h>
10293 main ()
10295 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10297 return 0;
10299 _ACEOF
10300 if ac_fn_c_try_compile "$LINENO"; then :
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10302 $as_echo_n "checking for -lXrandr... " >&6; }
10303 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_soname_save_LIBS=$LIBS
10307 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char XRRQueryExtension ();
10319 main ()
10321 return XRRQueryExtension ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 case "$LIBEXT" in
10328 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10329 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'` ;;
10330 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10331 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10332 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10333 fi ;;
10334 esac
10336 rm -f core conftest.err conftest.$ac_objext \
10337 conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_soname_save_LIBS
10340 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10342 $as_echo "not found" >&6; }
10344 else
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10346 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10348 cat >>confdefs.h <<_ACEOF
10349 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10350 _ACEOF
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xrandr.h>
10357 main ()
10359 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10361 return 0;
10363 _ACEOF
10364 if ac_fn_c_try_compile "$LINENO"; then :
10366 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10374 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10375 case "x$with_xrandr" in
10376 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10377 xno) ;;
10378 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10379 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10380 esac
10384 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10385 then
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 #include <X11/Xlib.h>
10389 #include <X11/extensions/Xinerama.h>
10391 main ()
10393 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10395 return 0;
10397 _ACEOF
10398 if ac_fn_c_try_compile "$LINENO"; then :
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10400 $as_echo_n "checking for -lXinerama... " >&6; }
10401 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10402 $as_echo_n "(cached) " >&6
10403 else
10404 ac_check_soname_save_LIBS=$LIBS
10405 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10409 /* Override any GCC internal prototype to avoid an error.
10410 Use char because int might match the return type of a GCC
10411 builtin and then its argument prototype would still apply. */
10412 #ifdef __cplusplus
10413 extern "C"
10414 #endif
10415 char XineramaQueryScreens ();
10417 main ()
10419 return XineramaQueryScreens ();
10421 return 0;
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 case "$LIBEXT" in
10426 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10427 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'` ;;
10428 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10429 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10430 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10431 fi ;;
10432 esac
10434 rm -f core conftest.err conftest.$ac_objext \
10435 conftest$ac_exeext conftest.$ac_ext
10436 LIBS=$ac_check_soname_save_LIBS
10438 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10440 $as_echo "not found" >&6; }
10442 else
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10444 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10446 cat >>confdefs.h <<_ACEOF
10447 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10448 _ACEOF
10453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10455 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10456 case "x$with_xinerama" in
10457 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10458 xno) ;;
10459 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10460 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10461 esac
10465 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10466 then
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10468 $as_echo_n "checking for -lXcomposite... " >&6; }
10469 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10470 $as_echo_n "(cached) " >&6
10471 else
10472 ac_check_soname_save_LIBS=$LIBS
10473 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10477 /* Override any GCC internal prototype to avoid an error.
10478 Use char because int might match the return type of a GCC
10479 builtin and then its argument prototype would still apply. */
10480 #ifdef __cplusplus
10481 extern "C"
10482 #endif
10483 char XCompositeRedirectWindow ();
10485 main ()
10487 return XCompositeRedirectWindow ();
10489 return 0;
10491 _ACEOF
10492 if ac_fn_c_try_link "$LINENO"; then :
10493 case "$LIBEXT" in
10494 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10495 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'` ;;
10496 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10497 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10498 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10499 fi ;;
10500 esac
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 LIBS=$ac_check_soname_save_LIBS
10506 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10508 $as_echo "not found" >&6; }
10510 else
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10512 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10514 cat >>confdefs.h <<_ACEOF
10515 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10516 _ACEOF
10521 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10522 case "x$with_xcomposite" in
10523 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10524 xno) ;;
10525 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10526 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10527 esac
10531 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10532 #include <X11/Xlib.h>
10533 #endif
10535 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10537 cat >>confdefs.h <<_ACEOF
10538 #define HAVE_XICCALLBACK_CALLBACK 1
10539 _ACEOF
10543 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10544 #include <X11/Xlib.h>
10545 #endif
10547 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10549 cat >>confdefs.h <<_ACEOF
10550 #define HAVE_XEVENT_XCOOKIE 1
10551 _ACEOF
10558 opengl_msg=""
10559 if test "x$with_opengl" != "xno"
10560 then
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10562 $as_echo_n "checking for -lGL... " >&6; }
10563 if ${ac_cv_lib_soname_GL+:} false; then :
10564 $as_echo_n "(cached) " >&6
10565 else
10566 ac_check_soname_save_LIBS=$LIBS
10567 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10574 #ifdef __cplusplus
10575 extern "C"
10576 #endif
10577 char glXCreateContext ();
10579 main ()
10581 return glXCreateContext ();
10583 return 0;
10585 _ACEOF
10586 if ac_fn_c_try_link "$LINENO"; then :
10587 case "$LIBEXT" in
10588 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10589 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'` ;;
10590 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10591 if ${ac_cv_lib_soname_GL:+false} :; then :
10592 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10593 fi ;;
10594 esac
10596 rm -f core conftest.err conftest.$ac_objext \
10597 conftest$ac_exeext conftest.$ac_ext
10598 LIBS=$ac_check_soname_save_LIBS
10600 if ${ac_cv_lib_soname_GL:+false} :; then :
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10602 $as_echo "not found" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10604 $as_echo_n "checking for -lGL... " >&6; }
10605 if ${ac_cv_lib_soname_GL+:} false; then :
10606 $as_echo_n "(cached) " >&6
10607 else
10608 ac_check_soname_save_LIBS=$LIBS
10609 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"
10610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10613 /* Override any GCC internal prototype to avoid an error.
10614 Use char because int might match the return type of a GCC
10615 builtin and then its argument prototype would still apply. */
10616 #ifdef __cplusplus
10617 extern "C"
10618 #endif
10619 char glXCreateContext ();
10621 main ()
10623 return glXCreateContext ();
10625 return 0;
10627 _ACEOF
10628 if ac_fn_c_try_link "$LINENO"; then :
10629 case "$LIBEXT" in
10630 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10631 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'` ;;
10632 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10633 if ${ac_cv_lib_soname_GL:+false} :; then :
10634 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10635 fi ;;
10636 esac
10638 rm -f core conftest.err conftest.$ac_objext \
10639 conftest$ac_exeext conftest.$ac_ext
10640 LIBS=$ac_check_soname_save_LIBS
10642 if ${ac_cv_lib_soname_GL:+false} :; then :
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10644 $as_echo "not found" >&6; }
10645 if test -f /usr/X11R6/lib/libGL.a
10646 then
10647 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10648 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10649 else
10650 opengl_msg="No OpenGL library found on this system."
10652 else
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10654 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10656 cat >>confdefs.h <<_ACEOF
10657 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10658 _ACEOF
10660 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"
10662 else
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10664 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10666 cat >>confdefs.h <<_ACEOF
10667 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10668 _ACEOF
10670 OPENGL_LIBS="-lGL"
10672 if test "x$with_glu" != "xno"
10673 then
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10675 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10676 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10677 $as_echo_n "(cached) " >&6
10678 else
10679 ac_check_lib_save_LIBS=$LIBS
10680 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10682 /* end confdefs.h. */
10684 /* Override any GCC internal prototype to avoid an error.
10685 Use char because int might match the return type of a GCC
10686 builtin and then its argument prototype would still apply. */
10687 #ifdef __cplusplus
10688 extern "C"
10689 #endif
10690 char gluLookAt ();
10692 main ()
10694 return gluLookAt ();
10696 return 0;
10698 _ACEOF
10699 if ac_fn_c_try_link "$LINENO"; then :
10700 ac_cv_lib_GLU_gluLookAt=yes
10701 else
10702 ac_cv_lib_GLU_gluLookAt=no
10704 rm -f core conftest.err conftest.$ac_objext \
10705 conftest$ac_exeext conftest.$ac_ext
10706 LIBS=$ac_check_lib_save_LIBS
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10709 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10710 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10714 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10715 case "x$with_glu" in
10716 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10717 xno) ;;
10718 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10719 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10720 esac
10725 if test "x$with_osmesa" != "xno"
10726 then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10728 $as_echo_n "checking for -lOSMesa... " >&6; }
10729 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10730 $as_echo_n "(cached) " >&6
10731 else
10732 ac_check_soname_save_LIBS=$LIBS
10733 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10740 #ifdef __cplusplus
10741 extern "C"
10742 #endif
10743 char glAccum ();
10745 main ()
10747 return glAccum ();
10749 return 0;
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"; then :
10753 case "$LIBEXT" in
10754 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10755 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'` ;;
10756 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10757 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10758 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10759 fi ;;
10760 esac
10762 rm -f core conftest.err conftest.$ac_objext \
10763 conftest$ac_exeext conftest.$ac_ext
10764 LIBS=$ac_check_soname_save_LIBS
10766 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10768 $as_echo "not found" >&6; }
10770 else
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10772 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10774 cat >>confdefs.h <<_ACEOF
10775 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10776 _ACEOF
10780 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10781 case "x$with_osmesa" in
10782 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10783 xno) ;;
10784 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10785 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10786 esac
10791 if test -n "$opengl_msg"; then :
10792 case "x$with_opengl" in
10793 x) as_fn_append wine_warnings "|$opengl_msg
10794 OpenGL and Direct3D won't be supported." ;;
10795 xno) ;;
10796 *) as_fn_error $? "$opengl_msg
10797 OpenGL and Direct3D won't be supported.
10798 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10799 esac
10803 CPPFLAGS="$ac_save_CPPFLAGS"
10804 else
10805 X_CFLAGS=""
10806 X_LIBS=""
10808 if test "x$X_LIBS" = "x"; then :
10809 case "x$with_x" in
10810 xno) ;;
10811 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10812 without X support, which probably isn't what you want. You will need
10813 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10814 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10815 esac
10816 enable_winex11_drv=${enable_winex11_drv:-no}
10819 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10821 if test "$ac_cv_header_CL_cl_h" = "yes"
10822 then
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10824 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10825 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10826 $as_echo_n "(cached) " >&6
10827 else
10828 ac_check_lib_save_LIBS=$LIBS
10829 LIBS="-lOpenCL $LIBS"
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10833 /* Override any GCC internal prototype to avoid an error.
10834 Use char because int might match the return type of a GCC
10835 builtin and then its argument prototype would still apply. */
10836 #ifdef __cplusplus
10837 extern "C"
10838 #endif
10839 char clGetPlatformInfo ();
10841 main ()
10843 return clGetPlatformInfo ();
10845 return 0;
10847 _ACEOF
10848 if ac_fn_c_try_link "$LINENO"; then :
10849 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10850 else
10851 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10853 rm -f core conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 LIBS=$ac_check_lib_save_LIBS
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10858 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10859 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10860 OPENCL_LIBS="-lOpenCL"
10865 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10866 case "x$with_opencl" in
10867 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10868 xno) ;;
10869 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10870 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10871 esac
10872 enable_opencl=${enable_opencl:-no}
10875 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10876 then
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10878 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10879 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10880 $as_echo_n "(cached) " >&6
10881 else
10882 ac_check_lib_save_LIBS=$LIBS
10883 LIBS="-lpcap $LIBS"
10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10890 #ifdef __cplusplus
10891 extern "C"
10892 #endif
10893 char pcap_create ();
10895 main ()
10897 return pcap_create ();
10899 return 0;
10901 _ACEOF
10902 if ac_fn_c_try_link "$LINENO"; then :
10903 ac_cv_lib_pcap_pcap_create=yes
10904 else
10905 ac_cv_lib_pcap_pcap_create=no
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_lib_save_LIBS
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10912 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10913 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10914 PCAP_LIBS="-lpcap"
10919 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10920 case "x$with_pcap" in
10921 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10922 xno) ;;
10923 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10924 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10925 esac
10926 enable_wpcap=${enable_wpcap:-no}
10930 if test "x$with_xml" != "xno"
10931 then
10932 if ${XML2_CFLAGS:+false} :; then :
10933 if ${PKG_CONFIG+:} false; then :
10934 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10937 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10938 if ${XML2_LIBS:+false} :; then :
10939 if ${PKG_CONFIG+:} false; then :
10940 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10943 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10944 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10945 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10946 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10947 ac_save_CPPFLAGS=$CPPFLAGS
10948 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10949 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10950 do :
10951 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10952 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10953 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10954 cat >>confdefs.h <<_ACEOF
10955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10956 _ACEOF
10960 done
10962 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"
10963 then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10965 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10966 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10967 $as_echo_n "(cached) " >&6
10968 else
10969 ac_check_lib_save_LIBS=$LIBS
10970 LIBS="-lxml2 $XML2_LIBS $LIBS"
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10977 #ifdef __cplusplus
10978 extern "C"
10979 #endif
10980 char xmlParseMemory ();
10982 main ()
10984 return xmlParseMemory ();
10986 return 0;
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 ac_cv_lib_xml2_xmlParseMemory=yes
10991 else
10992 ac_cv_lib_xml2_xmlParseMemory=no
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 LIBS=$ac_check_lib_save_LIBS
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10999 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11000 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11002 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11004 else
11005 XML2_LIBS=""
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11009 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11010 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11011 $as_echo_n "(cached) " >&6
11012 else
11013 ac_check_lib_save_LIBS=$LIBS
11014 LIBS="-lxml2 $XML2_LIBS $LIBS"
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11021 #ifdef __cplusplus
11022 extern "C"
11023 #endif
11024 char xmlReadMemory ();
11026 main ()
11028 return xmlReadMemory ();
11030 return 0;
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"; then :
11034 ac_cv_lib_xml2_xmlReadMemory=yes
11035 else
11036 ac_cv_lib_xml2_xmlReadMemory=no
11038 rm -f core conftest.err conftest.$ac_objext \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11043 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11044 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11046 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11051 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11052 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11053 $as_echo_n "(cached) " >&6
11054 else
11055 ac_check_lib_save_LIBS=$LIBS
11056 LIBS="-lxml2 $XML2_LIBS $LIBS"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11060 /* Override any GCC internal prototype to avoid an error.
11061 Use char because int might match the return type of a GCC
11062 builtin and then its argument prototype would still apply. */
11063 #ifdef __cplusplus
11064 extern "C"
11065 #endif
11066 char xmlNewDocPI ();
11068 main ()
11070 return xmlNewDocPI ();
11072 return 0;
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"; then :
11076 ac_cv_lib_xml2_xmlNewDocPI=yes
11077 else
11078 ac_cv_lib_xml2_xmlNewDocPI=no
11080 rm -f core conftest.err conftest.$ac_objext \
11081 conftest$ac_exeext conftest.$ac_ext
11082 LIBS=$ac_check_lib_save_LIBS
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11085 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11086 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11088 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11093 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11094 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11095 $as_echo_n "(cached) " >&6
11096 else
11097 ac_check_lib_save_LIBS=$LIBS
11098 LIBS="-lxml2 $XML2_LIBS $LIBS"
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11102 /* Override any GCC internal prototype to avoid an error.
11103 Use char because int might match the return type of a GCC
11104 builtin and then its argument prototype would still apply. */
11105 #ifdef __cplusplus
11106 extern "C"
11107 #endif
11108 char xmlSchemaSetParserStructuredErrors ();
11110 main ()
11112 return xmlSchemaSetParserStructuredErrors ();
11114 return 0;
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"; then :
11118 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11119 else
11120 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11122 rm -f core conftest.err conftest.$ac_objext \
11123 conftest$ac_exeext conftest.$ac_ext
11124 LIBS=$ac_check_lib_save_LIBS
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11127 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11128 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11130 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11135 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11136 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11137 $as_echo_n "(cached) " >&6
11138 else
11139 ac_check_lib_save_LIBS=$LIBS
11140 LIBS="-lxml2 $XML2_LIBS $LIBS"
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 char xmlSchemaSetValidStructuredErrors ();
11152 main ()
11154 return xmlSchemaSetValidStructuredErrors ();
11156 return 0;
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"; then :
11160 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11161 else
11162 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11164 rm -f core conftest.err conftest.$ac_objext \
11165 conftest$ac_exeext conftest.$ac_ext
11166 LIBS=$ac_check_lib_save_LIBS
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11169 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11170 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11172 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11177 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11178 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11179 $as_echo_n "(cached) " >&6
11180 else
11181 ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-lxml2 $XML2_LIBS $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char xmlFirstElementChild ();
11194 main ()
11196 return xmlFirstElementChild ();
11198 return 0;
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_xml2_xmlFirstElementChild=yes
11203 else
11204 ac_cv_lib_xml2_xmlFirstElementChild=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11211 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11212 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11214 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11218 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11220 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11222 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11226 else
11227 XML2_CFLAGS=""
11228 XML2_LIBS=""
11230 CPPFLAGS=$ac_save_CPPFLAGS
11231 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11232 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11235 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11236 case "x$with_xml" in
11237 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11238 xno) ;;
11239 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11240 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11241 esac
11245 if test "x$with_xslt" != "xno"
11246 then
11247 if ${XSLT_CFLAGS:+false} :; then :
11248 if ${PKG_CONFIG+:} false; then :
11249 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11252 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11253 if ${XSLT_LIBS:+false} :; then :
11254 if ${PKG_CONFIG+:} false; then :
11255 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11258 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11259 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11260 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11261 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11262 ac_save_CPPFLAGS=$CPPFLAGS
11263 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11264 for ac_header in libxslt/pattern.h libxslt/transform.h
11265 do :
11266 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11267 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11268 # include <libxslt/pattern.h>
11269 #endif
11271 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11272 cat >>confdefs.h <<_ACEOF
11273 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11274 _ACEOF
11278 done
11280 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11281 then
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11283 $as_echo_n "checking for -lxslt... " >&6; }
11284 if ${ac_cv_lib_soname_xslt+:} false; then :
11285 $as_echo_n "(cached) " >&6
11286 else
11287 ac_check_soname_save_LIBS=$LIBS
11288 LIBS="-lxslt $XSLT_LIBS $LIBS"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char xsltCompilePattern ();
11300 main ()
11302 return xsltCompilePattern ();
11304 return 0;
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 case "$LIBEXT" in
11309 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11310 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'` ;;
11311 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11312 if ${ac_cv_lib_soname_xslt:+false} :; then :
11313 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11314 fi ;;
11315 esac
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_soname_save_LIBS
11321 if ${ac_cv_lib_soname_xslt:+false} :; then :
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11323 $as_echo "not found" >&6; }
11325 else
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11327 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11329 cat >>confdefs.h <<_ACEOF
11330 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11331 _ACEOF
11335 else
11336 XSLT_CFLAGS=""
11338 CPPFLAGS=$ac_save_CPPFLAGS
11339 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11340 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11343 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11344 case "x$with_xslt" in
11345 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11346 xno) ;;
11347 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11348 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11349 esac
11353 if test "x$with_dbus" != "xno"
11354 then
11355 if ${DBUS_CFLAGS:+false} :; then :
11356 if ${PKG_CONFIG+:} false; then :
11357 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11361 if ${DBUS_LIBS:+false} :; then :
11362 if ${PKG_CONFIG+:} false; then :
11363 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11368 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11369 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11370 ac_save_CPPFLAGS=$CPPFLAGS
11371 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11372 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11373 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11375 $as_echo_n "checking for -ldbus-1... " >&6; }
11376 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_soname_save_LIBS=$LIBS
11380 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char dbus_connection_close ();
11392 main ()
11394 return dbus_connection_close ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 case "$LIBEXT" in
11401 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11402 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'` ;;
11403 *) 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'`
11404 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11405 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11406 fi ;;
11407 esac
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_soname_save_LIBS
11413 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11415 $as_echo "not found" >&6; }
11416 DBUS_CFLAGS=""
11417 else
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11419 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11421 cat >>confdefs.h <<_ACEOF
11422 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11423 _ACEOF
11427 else
11428 DBUS_CFLAGS=""
11432 CPPFLAGS=$ac_save_CPPFLAGS
11433 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11434 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11437 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11438 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11439 case "x$with_dbus" in
11440 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11441 xno) ;;
11442 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11443 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11444 esac
11448 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11449 then
11450 if ${HAL_CFLAGS:+false} :; then :
11451 if ${PKG_CONFIG+:} false; then :
11452 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11456 if ${HAL_LIBS:+false} :; then :
11457 if ${PKG_CONFIG+:} false; then :
11458 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11462 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11463 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11464 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11465 ac_save_CPPFLAGS=$CPPFLAGS
11466 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11467 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11468 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11470 $as_echo_n "checking for -lhal... " >&6; }
11471 if ${ac_cv_lib_soname_hal+:} false; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_soname_save_LIBS=$LIBS
11475 LIBS="-lhal $HAL_LIBS $LIBS"
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char libhal_ctx_new ();
11487 main ()
11489 return libhal_ctx_new ();
11491 return 0;
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 case "$LIBEXT" in
11496 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11497 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'` ;;
11498 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11499 if ${ac_cv_lib_soname_hal:+false} :; then :
11500 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11501 fi ;;
11502 esac
11504 rm -f core conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 LIBS=$ac_check_soname_save_LIBS
11508 if ${ac_cv_lib_soname_hal:+false} :; then :
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11510 $as_echo "not found" >&6; }
11511 HAL_CFLAGS=""
11512 else
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11514 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11516 cat >>confdefs.h <<_ACEOF
11517 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11518 _ACEOF
11522 else
11523 HAL_CFLAGS=""
11527 CPPFLAGS=$ac_save_CPPFLAGS
11528 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11529 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11531 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11532 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11533 case "x$with_hal" in
11534 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11535 xno) ;;
11536 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11537 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11538 esac
11543 if test "x$with_gnutls" != "xno"
11544 then
11545 if ${GNUTLS_CFLAGS:+false} :; then :
11546 if ${PKG_CONFIG+:} false; then :
11547 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11551 if ${GNUTLS_LIBS:+false} :; then :
11552 if ${PKG_CONFIG+:} false; then :
11553 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11558 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11559 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11560 ac_save_CPPFLAGS=$CPPFLAGS
11561 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11562 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11563 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11566 #include <gnutls/gnutls.h>
11567 #include <gnutls/crypto.h>
11569 main ()
11571 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11573 return 0;
11575 _ACEOF
11576 if ac_fn_c_try_compile "$LINENO"; then :
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11578 $as_echo_n "checking for -lgnutls... " >&6; }
11579 if ${ac_cv_lib_soname_gnutls+:} false; then :
11580 $as_echo_n "(cached) " >&6
11581 else
11582 ac_check_soname_save_LIBS=$LIBS
11583 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11587 /* Override any GCC internal prototype to avoid an error.
11588 Use char because int might match the return type of a GCC
11589 builtin and then its argument prototype would still apply. */
11590 #ifdef __cplusplus
11591 extern "C"
11592 #endif
11593 char gnutls_global_init ();
11595 main ()
11597 return gnutls_global_init ();
11599 return 0;
11601 _ACEOF
11602 if ac_fn_c_try_link "$LINENO"; then :
11603 case "$LIBEXT" in
11604 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11605 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'` ;;
11606 *) 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'`
11607 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11608 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'`
11609 fi ;;
11610 esac
11612 rm -f core conftest.err conftest.$ac_objext \
11613 conftest$ac_exeext conftest.$ac_ext
11614 LIBS=$ac_check_soname_save_LIBS
11616 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11618 $as_echo "not found" >&6; }
11619 GNUTLS_CFLAGS=""
11620 else
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11622 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11624 cat >>confdefs.h <<_ACEOF
11625 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11626 _ACEOF
11630 ac_wine_check_funcs_save_LIBS="$LIBS"
11631 LIBS="$LIBS $GNUTLS_LIBS"
11632 for ac_func in gnutls_hash
11633 do :
11634 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11635 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11636 cat >>confdefs.h <<_ACEOF
11637 #define HAVE_GNUTLS_HASH 1
11638 _ACEOF
11640 else
11641 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11643 done
11645 LIBS="$ac_wine_check_funcs_save_LIBS"
11647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11648 else
11649 GNUTLS_CFLAGS=""
11653 CPPFLAGS=$ac_save_CPPFLAGS
11654 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11655 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11658 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11659 case "x$with_gnutls" in
11660 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11661 xno) ;;
11662 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11663 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11664 esac
11668 CURSES_LIBS=""
11669 if test "$ac_cv_header_ncurses_h" = "yes"
11670 then
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11672 $as_echo_n "checking for -lncurses... " >&6; }
11673 if ${ac_cv_lib_soname_ncurses+:} false; then :
11674 $as_echo_n "(cached) " >&6
11675 else
11676 ac_check_soname_save_LIBS=$LIBS
11677 LIBS="-lncurses $LIBS"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11684 #ifdef __cplusplus
11685 extern "C"
11686 #endif
11687 char waddch ();
11689 main ()
11691 return waddch ();
11693 return 0;
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"; then :
11697 case "$LIBEXT" in
11698 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11699 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'` ;;
11700 *) 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'`
11701 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11702 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11703 fi ;;
11704 esac
11706 rm -f core conftest.err conftest.$ac_objext \
11707 conftest$ac_exeext conftest.$ac_ext
11708 LIBS=$ac_check_soname_save_LIBS
11710 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11712 $as_echo "not found" >&6; }
11714 else
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11716 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11718 cat >>confdefs.h <<_ACEOF
11719 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11720 _ACEOF
11722 CURSES_LIBS="-lncurses"
11724 elif test "$ac_cv_header_curses_h" = "yes"
11725 then
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11727 $as_echo_n "checking for -lcurses... " >&6; }
11728 if ${ac_cv_lib_soname_curses+:} false; then :
11729 $as_echo_n "(cached) " >&6
11730 else
11731 ac_check_soname_save_LIBS=$LIBS
11732 LIBS="-lcurses $LIBS"
11733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11736 /* Override any GCC internal prototype to avoid an error.
11737 Use char because int might match the return type of a GCC
11738 builtin and then its argument prototype would still apply. */
11739 #ifdef __cplusplus
11740 extern "C"
11741 #endif
11742 char waddch ();
11744 main ()
11746 return waddch ();
11748 return 0;
11750 _ACEOF
11751 if ac_fn_c_try_link "$LINENO"; then :
11752 case "$LIBEXT" in
11753 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11754 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'` ;;
11755 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11756 if ${ac_cv_lib_soname_curses:+false} :; then :
11757 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11758 fi ;;
11759 esac
11761 rm -f core conftest.err conftest.$ac_objext \
11762 conftest$ac_exeext conftest.$ac_ext
11763 LIBS=$ac_check_soname_save_LIBS
11765 if ${ac_cv_lib_soname_curses:+false} :; then :
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11767 $as_echo "not found" >&6; }
11769 else
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11771 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11773 cat >>confdefs.h <<_ACEOF
11774 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11775 _ACEOF
11777 CURSES_LIBS="-lcurses"
11780 ac_save_LIBS="$LIBS"
11781 LIBS="$LIBS $CURSES_LIBS"
11782 for ac_func in mousemask
11783 do :
11784 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11785 if test "x$ac_cv_func_mousemask" = xyes; then :
11786 cat >>confdefs.h <<_ACEOF
11787 #define HAVE_MOUSEMASK 1
11788 _ACEOF
11791 done
11793 LIBS="$ac_save_LIBS"
11794 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11795 case "x$with_curses" in
11796 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11797 xno) ;;
11798 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11799 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11800 esac
11804 if test "x$with_sane" != "xno"
11805 then
11806 if ${SANE_CFLAGS:+false} :; then :
11807 if ${PKG_CONFIG+:} false; then :
11808 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11811 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11812 if ${SANE_LIBS:+false} :; then :
11813 if ${PKG_CONFIG+:} false; then :
11814 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11817 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11819 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11820 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11821 ac_save_CPPFLAGS=$CPPFLAGS
11822 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11823 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11824 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11826 $as_echo_n "checking for -lsane... " >&6; }
11827 if ${ac_cv_lib_soname_sane+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_soname_save_LIBS=$LIBS
11831 LIBS="-lsane $SANE_LIBS $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char sane_init ();
11843 main ()
11845 return sane_init ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 case "$LIBEXT" in
11852 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11853 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'` ;;
11854 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11855 if ${ac_cv_lib_soname_sane:+false} :; then :
11856 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11857 fi ;;
11858 esac
11860 rm -f core conftest.err conftest.$ac_objext \
11861 conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_soname_save_LIBS
11864 if ${ac_cv_lib_soname_sane:+false} :; then :
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11866 $as_echo "not found" >&6; }
11867 SANE_CFLAGS=""
11868 else
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11870 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11872 cat >>confdefs.h <<_ACEOF
11873 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11874 _ACEOF
11878 else
11879 SANE_CFLAGS=""
11883 CPPFLAGS=$ac_save_CPPFLAGS
11884 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11885 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11888 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11889 case "x$with_sane" in
11890 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11891 xno) ;;
11892 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11893 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11894 esac
11898 if test "x$with_v4l" != "xno"
11899 then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11901 $as_echo_n "checking for -lv4l1... " >&6; }
11902 if ${ac_cv_lib_soname_v4l1+:} false; then :
11903 $as_echo_n "(cached) " >&6
11904 else
11905 ac_check_soname_save_LIBS=$LIBS
11906 LIBS="-lv4l1 $LIBS"
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11913 #ifdef __cplusplus
11914 extern "C"
11915 #endif
11916 char v4l1_open ();
11918 main ()
11920 return v4l1_open ();
11922 return 0;
11924 _ACEOF
11925 if ac_fn_c_try_link "$LINENO"; then :
11926 case "$LIBEXT" in
11927 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11928 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'` ;;
11929 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11930 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11931 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11932 fi ;;
11933 esac
11935 rm -f core conftest.err conftest.$ac_objext \
11936 conftest$ac_exeext conftest.$ac_ext
11937 LIBS=$ac_check_soname_save_LIBS
11939 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11941 $as_echo "not found" >&6; }
11943 else
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11945 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11947 cat >>confdefs.h <<_ACEOF
11948 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11949 _ACEOF
11954 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11955 case "x$with_v4l" in
11956 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11957 xno) ;;
11958 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11959 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11960 esac
11964 if test "x$with_gphoto" != "xno"
11965 then
11966 if ${GPHOTO2_CFLAGS:+false} :; then :
11967 if ${PKG_CONFIG+:} false; then :
11968 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11971 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11972 if ${GPHOTO2_LIBS:+false} :; then :
11973 if ${PKG_CONFIG+:} false; then :
11974 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11977 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11978 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11979 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11980 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11981 ac_save_CPPFLAGS=$CPPFLAGS
11982 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11983 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11984 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11986 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11987 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11988 $as_echo_n "(cached) " >&6
11989 else
11990 ac_check_lib_save_LIBS=$LIBS
11991 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
11998 #ifdef __cplusplus
11999 extern "C"
12000 #endif
12001 char gp_camera_new ();
12003 main ()
12005 return gp_camera_new ();
12007 return 0;
12009 _ACEOF
12010 if ac_fn_c_try_link "$LINENO"; then :
12011 ac_cv_lib_gphoto2_gp_camera_new=yes
12012 else
12013 ac_cv_lib_gphoto2_gp_camera_new=no
12015 rm -f core conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_lib_save_LIBS
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12020 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12021 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12023 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12025 else
12026 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12029 else
12030 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12034 CPPFLAGS=$ac_save_CPPFLAGS
12035 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12036 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12038 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12039 if ${PKG_CONFIG+:} false; then :
12040 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12043 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12044 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12045 if ${PKG_CONFIG+:} false; then :
12046 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12049 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12050 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12051 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12052 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12053 ac_save_CPPFLAGS=$CPPFLAGS
12054 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12055 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12056 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12058 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12059 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12060 $as_echo_n "(cached) " >&6
12061 else
12062 ac_check_lib_save_LIBS=$LIBS
12063 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 char gp_port_info_list_new ();
12075 main ()
12077 return gp_port_info_list_new ();
12079 return 0;
12081 _ACEOF
12082 if ac_fn_c_try_link "$LINENO"; then :
12083 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12084 else
12085 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12087 rm -f core conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12089 LIBS=$ac_check_lib_save_LIBS
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12092 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12093 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12095 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12097 else
12098 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12101 else
12102 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12106 CPPFLAGS=$ac_save_CPPFLAGS
12107 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12108 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12111 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12112 case "x$with_gphoto" in
12113 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12114 xno) ;;
12115 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12116 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12117 esac
12120 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12121 case "x$with_gphoto" in
12122 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12123 xno) ;;
12124 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12125 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12126 esac
12131 if test "$ac_cv_header_resolv_h" = "yes"
12132 then
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12134 $as_echo_n "checking for resolver library... " >&6; }
12135 if ${ac_cv_have_resolv+:} false; then :
12136 $as_echo_n "(cached) " >&6
12137 else
12138 ac_save_LIBS="$LIBS"
12139 for lib in '' -lresolv
12141 LIBS="$lib $ac_save_LIBS"
12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12144 #ifdef HAVE_NETINET_IN_H
12145 #include <netinet/in.h>
12146 #endif
12147 #include <resolv.h>
12149 main ()
12151 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12153 return 0;
12155 _ACEOF
12156 if ac_fn_c_try_link "$LINENO"; then :
12157 ac_cv_have_resolv=${lib:-"none required"}
12158 else
12159 ac_cv_have_resolv="not found"
12161 rm -f core conftest.err conftest.$ac_objext \
12162 conftest$ac_exeext conftest.$ac_ext
12163 test "x$ac_cv_have_resolv" = "xnot found" || break
12164 done
12165 LIBS="$ac_save_LIBS"
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12168 $as_echo "$ac_cv_have_resolv" >&6; }
12170 case "$ac_cv_have_resolv" in
12171 "not found") ;;
12172 "none required")
12174 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12177 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12179 RESOLV_LIBS=$ac_cv_have_resolv
12181 esac
12184 if test "x$with_cms" != "xno"
12185 then
12186 if ${LCMS2_CFLAGS:+false} :; then :
12187 if ${PKG_CONFIG+:} false; then :
12188 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12192 if ${LCMS2_LIBS:+false} :; then :
12193 if ${PKG_CONFIG+:} false; then :
12194 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12198 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12199 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12200 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12201 ac_save_CPPFLAGS=$CPPFLAGS
12202 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12203 for ac_header in lcms2.h
12204 do :
12205 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12206 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12207 cat >>confdefs.h <<_ACEOF
12208 #define HAVE_LCMS2_H 1
12209 _ACEOF
12213 done
12215 if test "$ac_cv_header_lcms2_h" = "yes"
12216 then
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12218 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12219 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12220 $as_echo_n "(cached) " >&6
12221 else
12222 ac_check_lib_save_LIBS=$LIBS
12223 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12227 /* Override any GCC internal prototype to avoid an error.
12228 Use char because int might match the return type of a GCC
12229 builtin and then its argument prototype would still apply. */
12230 #ifdef __cplusplus
12231 extern "C"
12232 #endif
12233 char cmsOpenProfileFromFile ();
12235 main ()
12237 return cmsOpenProfileFromFile ();
12239 return 0;
12241 _ACEOF
12242 if ac_fn_c_try_link "$LINENO"; then :
12243 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12244 else
12245 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12247 rm -f core conftest.err conftest.$ac_objext \
12248 conftest$ac_exeext conftest.$ac_ext
12249 LIBS=$ac_check_lib_save_LIBS
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12252 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12253 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12255 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12257 else
12258 LCMS2_LIBS=""
12261 else
12262 LCMS2_CFLAGS=""
12263 LCMS2_LIBS=""
12265 CPPFLAGS=$ac_save_CPPFLAGS
12266 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12267 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12270 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12271 case "x$with_cms" in
12272 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12273 xno) ;;
12274 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12275 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12276 esac
12280 if test "x$with_freetype" != "xno"
12281 then
12282 if ${FREETYPE_CFLAGS:+false} :; then :
12283 if ${PKG_CONFIG+:} false; then :
12284 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12287 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12288 if ${FREETYPE_LIBS:+false} :; then :
12289 if ${PKG_CONFIG+:} false; then :
12290 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12293 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12294 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12295 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12296 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12297 ac_save_CPPFLAGS=$CPPFLAGS
12298 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12299 for ac_header in ft2build.h
12300 do :
12301 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12302 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12303 cat >>confdefs.h <<_ACEOF
12304 #define HAVE_FT2BUILD_H 1
12305 _ACEOF
12309 done
12311 if test "$ac_cv_header_ft2build_h" = "yes"
12312 then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12314 $as_echo_n "checking for -lfreetype... " >&6; }
12315 if ${ac_cv_lib_soname_freetype+:} false; then :
12316 $as_echo_n "(cached) " >&6
12317 else
12318 ac_check_soname_save_LIBS=$LIBS
12319 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12326 #ifdef __cplusplus
12327 extern "C"
12328 #endif
12329 char FT_Init_FreeType ();
12331 main ()
12333 return FT_Init_FreeType ();
12335 return 0;
12337 _ACEOF
12338 if ac_fn_c_try_link "$LINENO"; then :
12339 case "$LIBEXT" in
12340 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12341 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'` ;;
12342 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12343 if ${ac_cv_lib_soname_freetype:+false} :; then :
12344 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12345 fi ;;
12346 esac
12348 rm -f core conftest.err conftest.$ac_objext \
12349 conftest$ac_exeext conftest.$ac_ext
12350 LIBS=$ac_check_soname_save_LIBS
12352 if ${ac_cv_lib_soname_freetype:+false} :; then :
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12354 $as_echo "not found" >&6; }
12355 FREETYPE_LIBS=""
12356 else
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12358 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12360 cat >>confdefs.h <<_ACEOF
12361 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12362 _ACEOF
12365 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12367 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12368 #include FT_MODULE_H
12370 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12372 cat >>confdefs.h <<_ACEOF
12373 #define HAVE_FT_TRUETYPEENGINETYPE 1
12374 _ACEOF
12380 else
12381 FREETYPE_CFLAGS=""
12382 FREETYPE_LIBS=""
12384 CPPFLAGS=$ac_save_CPPFLAGS
12385 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12386 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12389 if test "x$ac_cv_lib_soname_freetype" = x; then :
12390 case "x$with_freetype" in
12391 xno) ;;
12392 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12393 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12394 esac
12395 enable_fonts=${enable_fonts:-no}
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12399 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12400 if ${ac_cv_c_ppdev+:} false; then :
12401 $as_echo_n "(cached) " >&6
12402 else
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12405 #ifdef HAVE_SYS_IOCTL_H
12406 # include <sys/ioctl.h>
12407 #endif
12408 #include <linux/ppdev.h>
12410 main ()
12412 ioctl (1,PPCLAIM,0)
12414 return 0;
12416 _ACEOF
12417 if ac_fn_c_try_compile "$LINENO"; then :
12418 ac_cv_c_ppdev="yes"
12419 else
12420 ac_cv_c_ppdev="no"
12422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12425 $as_echo "$ac_cv_c_ppdev" >&6; }
12426 if test "$ac_cv_c_ppdev" = "yes"
12427 then
12429 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12433 ac_wine_check_funcs_save_LIBS="$LIBS"
12434 LIBS="$LIBS $PTHREAD_LIBS"
12435 for ac_func in \
12436 pthread_attr_get_np \
12437 pthread_getattr_np \
12438 pthread_getthreadid_np \
12439 pthread_get_stackaddr_np \
12440 pthread_get_stacksize_np
12441 do :
12442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12444 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12445 cat >>confdefs.h <<_ACEOF
12446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12447 _ACEOF
12450 done
12452 LIBS="$ac_wine_check_funcs_save_LIBS"
12454 if test "$ac_cv_header_zlib_h" = "yes"
12455 then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12457 $as_echo_n "checking for inflate in -lz... " >&6; }
12458 if ${ac_cv_lib_z_inflate+:} false; then :
12459 $as_echo_n "(cached) " >&6
12460 else
12461 ac_check_lib_save_LIBS=$LIBS
12462 LIBS="-lz $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 #ifdef __cplusplus
12470 extern "C"
12471 #endif
12472 char inflate ();
12474 main ()
12476 return inflate ();
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 ac_cv_lib_z_inflate=yes
12483 else
12484 ac_cv_lib_z_inflate=no
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 LIBS=$ac_check_lib_save_LIBS
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12491 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12492 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12494 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12496 Z_LIBS="-lz"
12501 if test "x$Z_LIBS" = "x"; then :
12502 case "x$with_zlib" in
12503 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12504 xno) ;;
12505 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12506 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12507 esac
12511 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12512 then
12513 if test "$ac_cv_header_gettext_po_h" = "yes"
12514 then
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12516 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12517 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12518 $as_echo_n "(cached) " >&6
12519 else
12520 ac_check_lib_save_LIBS=$LIBS
12521 LIBS="-lgettextpo $LIBS"
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12528 #ifdef __cplusplus
12529 extern "C"
12530 #endif
12531 char po_message_msgctxt ();
12533 main ()
12535 return po_message_msgctxt ();
12537 return 0;
12539 _ACEOF
12540 if ac_fn_c_try_link "$LINENO"; then :
12541 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12542 else
12543 ac_cv_lib_gettextpo_po_message_msgctxt=no
12545 rm -f core conftest.err conftest.$ac_objext \
12546 conftest$ac_exeext conftest.$ac_ext
12547 LIBS=$ac_check_lib_save_LIBS
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12550 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12551 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12553 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12555 GETTEXTPO_LIBS="-lgettextpo"
12560 if test "x$GETTEXTPO_LIBS" = "x"; then :
12561 case "x$with_gettextpo" in
12562 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12563 xno) ;;
12564 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12565 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12566 esac
12569 if test "$srcdir" != .; then :
12570 case "x$with_gettextpo" in
12571 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12572 xno) ;;
12573 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12574 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12575 esac
12580 if test "x$with_pulse" != "xno";
12581 then
12582 if ${PULSE_CFLAGS:+false} :; then :
12583 if ${PKG_CONFIG+:} false; then :
12584 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12588 if ${PULSE_LIBS:+false} :; then :
12589 if ${PKG_CONFIG+:} false; then :
12590 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12595 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12596 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12597 ac_save_CPPFLAGS=$CPPFLAGS
12598 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12599 for ac_header in pulse/pulseaudio.h
12600 do :
12601 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12602 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12603 cat >>confdefs.h <<_ACEOF
12604 #define HAVE_PULSE_PULSEAUDIO_H 1
12605 _ACEOF
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12607 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12608 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 ac_check_lib_save_LIBS=$LIBS
12612 LIBS="-lpulse $PULSE_LIBS $LIBS"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12619 #ifdef __cplusplus
12620 extern "C"
12621 #endif
12622 char pa_stream_is_corked ();
12624 main ()
12626 return pa_stream_is_corked ();
12628 return 0;
12630 _ACEOF
12631 if ac_fn_c_try_link "$LINENO"; then :
12632 ac_cv_lib_pulse_pa_stream_is_corked=yes
12633 else
12634 ac_cv_lib_pulse_pa_stream_is_corked=no
12636 rm -f core conftest.err conftest.$ac_objext \
12637 conftest$ac_exeext conftest.$ac_ext
12638 LIBS=$ac_check_lib_save_LIBS
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12641 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12642 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12644 else
12645 PULSE_LIBS=""
12648 else
12649 PULSE_LIBS=""
12652 done
12654 CPPFLAGS=$ac_save_CPPFLAGS
12655 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12656 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12659 if test -z "$PULSE_LIBS"; then :
12660 case "x$with_pulse" in
12661 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12662 xno) ;;
12663 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12664 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12665 esac
12666 enable_winepulse_drv=${enable_winepulse_drv:-no}
12669 if test "x$with_gstreamer" != "xno"
12670 then
12671 if ${GSTREAMER_CFLAGS:+false} :; then :
12672 if ${PKG_CONFIG+:} false; then :
12673 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12677 if ${GSTREAMER_LIBS:+false} :; then :
12678 if ${PKG_CONFIG+:} false; then :
12679 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12684 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12685 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12686 ac_save_CPPFLAGS=$CPPFLAGS
12687 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12688 ac_gst_incl=""
12689 for i in $GSTREAMER_CFLAGS
12691 case "$i" in
12692 -I*) ac_gst_incl="$ac_gst_incl $i";;
12693 esac
12694 done
12695 GSTREAMER_CFLAGS=$ac_gst_incl
12696 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12697 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12698 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12700 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12703 #include <gst/gst.h>
12705 main ()
12707 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12709 return 0;
12711 _ACEOF
12712 if ac_fn_c_try_compile "$LINENO"; then :
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12714 $as_echo "yes" >&6; }
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12716 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12717 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12718 $as_echo_n "(cached) " >&6
12719 else
12720 ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12725 /* Override any GCC internal prototype to avoid an error.
12726 Use char because int might match the return type of a GCC
12727 builtin and then its argument prototype would still apply. */
12728 #ifdef __cplusplus
12729 extern "C"
12730 #endif
12731 char gst_pad_new ();
12733 main ()
12735 return gst_pad_new ();
12737 return 0;
12739 _ACEOF
12740 if ac_fn_c_try_link "$LINENO"; then :
12741 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12742 else
12743 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12745 rm -f core conftest.err conftest.$ac_objext \
12746 conftest$ac_exeext conftest.$ac_ext
12747 LIBS=$ac_check_lib_save_LIBS
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12750 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12751 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12755 else
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12758 ac_glib2_broken=yes
12759 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12765 CPPFLAGS=$ac_save_CPPFLAGS
12766 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12767 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12770 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 :
12771 case "x$with_gstreamer" in
12772 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12773 xno) ;;
12774 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12775 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12776 esac
12779 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12781 ALSA_LIBS=""
12783 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12784 then
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12786 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12787 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12788 $as_echo_n "(cached) " >&6
12789 else
12790 ac_check_lib_save_LIBS=$LIBS
12791 LIBS="-lasound $LIBS"
12792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12795 /* Override any GCC internal prototype to avoid an error.
12796 Use char because int might match the return type of a GCC
12797 builtin and then its argument prototype would still apply. */
12798 #ifdef __cplusplus
12799 extern "C"
12800 #endif
12801 char snd_pcm_hw_params_get_access_mask ();
12803 main ()
12805 return snd_pcm_hw_params_get_access_mask ();
12807 return 0;
12809 _ACEOF
12810 if ac_fn_c_try_link "$LINENO"; then :
12811 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12812 else
12813 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12815 rm -f core conftest.err conftest.$ac_objext \
12816 conftest$ac_exeext conftest.$ac_ext
12817 LIBS=$ac_check_lib_save_LIBS
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12820 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12821 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12823 /* end confdefs.h. */
12824 #ifdef HAVE_ALSA_ASOUNDLIB_H
12825 #include <alsa/asoundlib.h>
12826 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12827 #include <sys/asoundlib.h>
12828 #endif
12830 main ()
12832 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12834 return 0;
12836 _ACEOF
12837 if ac_fn_c_try_compile "$LINENO"; then :
12838 ALSA_LIBS="-lasound"
12840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12844 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12846 if test "x$with_oss" != xno
12847 then
12848 ac_save_CPPFLAGS="$CPPFLAGS"
12849 if test -f /etc/oss.conf
12850 then
12851 . /etc/oss.conf
12853 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12854 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12855 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12856 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12857 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12859 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12861 cat >>confdefs.h <<_ACEOF
12862 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12863 _ACEOF
12865 OSS4_CFLAGS="$ac_oss_incl"
12872 CPPFLAGS="$ac_save_CPPFLAGS"
12874 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12875 case "x$with_oss" in
12876 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12877 xno) ;;
12878 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12879 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12880 esac
12881 enable_wineoss_drv=${enable_wineoss_drv:-no}
12884 if test "x$with_capi" != "xno"
12885 then
12886 if ${CAPI20_CFLAGS:+false} :; then :
12887 if ${PKG_CONFIG+:} false; then :
12888 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12892 if ${CAPI20_LIBS:+false} :; then :
12893 if ${PKG_CONFIG+:} false; then :
12894 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12899 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12900 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12901 ac_save_CPPFLAGS=$CPPFLAGS
12902 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12903 for ac_header in capi20.h linux/capi.h
12904 do :
12905 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12906 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12908 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12909 cat >>confdefs.h <<_ACEOF
12910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12911 _ACEOF
12915 done
12917 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12918 then
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12920 $as_echo_n "checking for -lcapi20... " >&6; }
12921 if ${ac_cv_lib_soname_capi20+:} false; then :
12922 $as_echo_n "(cached) " >&6
12923 else
12924 ac_check_soname_save_LIBS=$LIBS
12925 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12929 /* Override any GCC internal prototype to avoid an error.
12930 Use char because int might match the return type of a GCC
12931 builtin and then its argument prototype would still apply. */
12932 #ifdef __cplusplus
12933 extern "C"
12934 #endif
12935 char capi20_register ();
12937 main ()
12939 return capi20_register ();
12941 return 0;
12943 _ACEOF
12944 if ac_fn_c_try_link "$LINENO"; then :
12945 case "$LIBEXT" in
12946 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12947 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'` ;;
12948 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12949 if ${ac_cv_lib_soname_capi20:+false} :; then :
12950 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12951 fi ;;
12952 esac
12954 rm -f core conftest.err conftest.$ac_objext \
12955 conftest$ac_exeext conftest.$ac_ext
12956 LIBS=$ac_check_soname_save_LIBS
12958 if ${ac_cv_lib_soname_capi20:+false} :; then :
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12960 $as_echo "not found" >&6; }
12962 else
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12964 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12966 cat >>confdefs.h <<_ACEOF
12967 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12968 _ACEOF
12973 CPPFLAGS=$ac_save_CPPFLAGS
12974 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12975 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12978 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12979 case "x$with_capi" in
12980 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12981 xno) ;;
12982 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12983 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12984 esac
12988 CUPS_CFLAGS=""
12990 if test "x$with_cups" != "xno"
12991 then
12992 ac_save_CPPFLAGS="$CPPFLAGS"
12993 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12994 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12995 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12996 for ac_header in cups/cups.h
12997 do :
12998 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12999 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13000 cat >>confdefs.h <<_ACEOF
13001 #define HAVE_CUPS_CUPS_H 1
13002 _ACEOF
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13004 $as_echo_n "checking for -lcups... " >&6; }
13005 if ${ac_cv_lib_soname_cups+:} false; then :
13006 $as_echo_n "(cached) " >&6
13007 else
13008 ac_check_soname_save_LIBS=$LIBS
13009 LIBS="-lcups $ac_cups_libs $LIBS"
13010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13013 /* Override any GCC internal prototype to avoid an error.
13014 Use char because int might match the return type of a GCC
13015 builtin and then its argument prototype would still apply. */
13016 #ifdef __cplusplus
13017 extern "C"
13018 #endif
13019 char cupsGetDefault ();
13021 main ()
13023 return cupsGetDefault ();
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_link "$LINENO"; then :
13029 case "$LIBEXT" in
13030 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13031 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'` ;;
13032 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13033 if ${ac_cv_lib_soname_cups:+false} :; then :
13034 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13035 fi ;;
13036 esac
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_soname_save_LIBS
13042 if ${ac_cv_lib_soname_cups:+false} :; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13044 $as_echo "not found" >&6; }
13046 else
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13048 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13050 cat >>confdefs.h <<_ACEOF
13051 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13052 _ACEOF
13054 CUPS_CFLAGS="$ac_cups_cflags"
13058 done
13060 CPPFLAGS="$ac_save_CPPFLAGS"
13062 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13063 case "x$with_cups" in
13064 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13065 xno) ;;
13066 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13067 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13068 esac
13072 if test "x$with_fontconfig" != "xno"
13073 then
13074 if ${FONTCONFIG_CFLAGS:+false} :; then :
13075 if ${PKG_CONFIG+:} false; then :
13076 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13079 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13080 if ${FONTCONFIG_LIBS:+false} :; then :
13081 if ${PKG_CONFIG+:} false; then :
13082 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13085 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13087 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13088 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13089 ac_save_CPPFLAGS=$CPPFLAGS
13090 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13091 for ac_header in fontconfig/fontconfig.h
13092 do :
13093 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13094 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13095 cat >>confdefs.h <<_ACEOF
13096 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13097 _ACEOF
13101 done
13103 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13104 then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13106 $as_echo_n "checking for -lfontconfig... " >&6; }
13107 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13108 $as_echo_n "(cached) " >&6
13109 else
13110 ac_check_soname_save_LIBS=$LIBS
13111 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13115 /* Override any GCC internal prototype to avoid an error.
13116 Use char because int might match the return type of a GCC
13117 builtin and then its argument prototype would still apply. */
13118 #ifdef __cplusplus
13119 extern "C"
13120 #endif
13121 char FcInit ();
13123 main ()
13125 return FcInit ();
13127 return 0;
13129 _ACEOF
13130 if ac_fn_c_try_link "$LINENO"; then :
13131 case "$LIBEXT" in
13132 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13133 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'` ;;
13134 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13135 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13136 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13137 fi ;;
13138 esac
13140 rm -f core conftest.err conftest.$ac_objext \
13141 conftest$ac_exeext conftest.$ac_ext
13142 LIBS=$ac_check_soname_save_LIBS
13144 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13146 $as_echo "not found" >&6; }
13147 FONTCONFIG_CFLAGS=""
13148 else
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13150 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13152 cat >>confdefs.h <<_ACEOF
13153 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13154 _ACEOF
13158 else
13159 FONTCONFIG_CFLAGS=""
13161 CPPFLAGS=$ac_save_CPPFLAGS
13162 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13163 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13166 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13167 case "x$with_fontconfig" in
13168 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13169 xno) ;;
13170 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13171 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13172 esac
13176 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13177 then
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13179 $as_echo_n "checking for -lgsm... " >&6; }
13180 if ${ac_cv_lib_soname_gsm+:} false; then :
13181 $as_echo_n "(cached) " >&6
13182 else
13183 ac_check_soname_save_LIBS=$LIBS
13184 LIBS="-lgsm $LIBS"
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13188 /* Override any GCC internal prototype to avoid an error.
13189 Use char because int might match the return type of a GCC
13190 builtin and then its argument prototype would still apply. */
13191 #ifdef __cplusplus
13192 extern "C"
13193 #endif
13194 char gsm_create ();
13196 main ()
13198 return gsm_create ();
13200 return 0;
13202 _ACEOF
13203 if ac_fn_c_try_link "$LINENO"; then :
13204 case "$LIBEXT" in
13205 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13206 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'` ;;
13207 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13208 if ${ac_cv_lib_soname_gsm:+false} :; then :
13209 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13210 fi ;;
13211 esac
13213 rm -f core conftest.err conftest.$ac_objext \
13214 conftest$ac_exeext conftest.$ac_ext
13215 LIBS=$ac_check_soname_save_LIBS
13217 if ${ac_cv_lib_soname_gsm:+false} :; then :
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13219 $as_echo "not found" >&6; }
13221 else
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13223 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13225 cat >>confdefs.h <<_ACEOF
13226 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13227 _ACEOF
13232 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13233 case "x$with_gsm" in
13234 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13235 xno) ;;
13236 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13237 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13238 esac
13242 if test "x$with_jpeg" != "xno"
13243 then
13244 if ${JPEG_CFLAGS:+false} :; then :
13245 if ${PKG_CONFIG+:} false; then :
13246 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13250 if ${JPEG_LIBS:+false} :; then :
13251 if ${PKG_CONFIG+:} false; then :
13252 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13257 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13258 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13259 ac_save_CPPFLAGS=$CPPFLAGS
13260 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13261 for ac_header in jpeglib.h
13262 do :
13263 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13264 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13265 cat >>confdefs.h <<_ACEOF
13266 #define HAVE_JPEGLIB_H 1
13267 _ACEOF
13271 done
13273 if test "$ac_cv_header_jpeglib_h" = "yes"
13274 then
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13276 $as_echo_n "checking for -ljpeg... " >&6; }
13277 if ${ac_cv_lib_soname_jpeg+:} false; then :
13278 $as_echo_n "(cached) " >&6
13279 else
13280 ac_check_soname_save_LIBS=$LIBS
13281 LIBS="-ljpeg $JPEG_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 jpeg_start_decompress ();
13293 main ()
13295 return jpeg_start_decompress ();
13297 return 0;
13299 _ACEOF
13300 if ac_fn_c_try_link "$LINENO"; then :
13301 case "$LIBEXT" in
13302 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13303 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'` ;;
13304 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13305 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13306 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$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_jpeg:+false} :; then :
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13316 $as_echo "not found" >&6; }
13317 JPEG_CFLAGS=""
13318 else
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13320 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13322 cat >>confdefs.h <<_ACEOF
13323 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13324 _ACEOF
13328 else
13329 JPEG_CFLAGS=""
13331 CPPFLAGS=$ac_save_CPPFLAGS
13332 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13333 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13336 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13337 case "x$with_jpeg" in
13338 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13339 xno) ;;
13340 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13341 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13342 esac
13346 if test "x$with_png" != "xno"
13347 then
13348 if ${PNG_CFLAGS:+false} :; then :
13349 if ${PKG_CONFIG+:} false; then :
13350 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13353 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13354 if ${PNG_LIBS:+false} :; then :
13355 if ${PKG_CONFIG+:} false; then :
13356 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13359 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13361 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13362 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13363 ac_save_CPPFLAGS=$CPPFLAGS
13364 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13365 for ac_header in png.h
13366 do :
13367 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13368 if test "x$ac_cv_header_png_h" = xyes; then :
13369 cat >>confdefs.h <<_ACEOF
13370 #define HAVE_PNG_H 1
13371 _ACEOF
13375 done
13377 if test "$ac_cv_header_png_h" = "yes"
13378 then
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13380 $as_echo_n "checking for -lpng... " >&6; }
13381 if ${ac_cv_lib_soname_png+:} false; then :
13382 $as_echo_n "(cached) " >&6
13383 else
13384 ac_check_soname_save_LIBS=$LIBS
13385 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13389 /* Override any GCC internal prototype to avoid an error.
13390 Use char because int might match the return type of a GCC
13391 builtin and then its argument prototype would still apply. */
13392 #ifdef __cplusplus
13393 extern "C"
13394 #endif
13395 char png_create_read_struct ();
13397 main ()
13399 return png_create_read_struct ();
13401 return 0;
13403 _ACEOF
13404 if ac_fn_c_try_link "$LINENO"; then :
13405 case "$LIBEXT" in
13406 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13407 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'` ;;
13408 *) 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'`
13409 if ${ac_cv_lib_soname_png:+false} :; then :
13410 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13411 fi ;;
13412 esac
13414 rm -f core conftest.err conftest.$ac_objext \
13415 conftest$ac_exeext conftest.$ac_ext
13416 LIBS=$ac_check_soname_save_LIBS
13418 if ${ac_cv_lib_soname_png:+false} :; then :
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13420 $as_echo "not found" >&6; }
13421 PNG_CFLAGS=""
13422 else
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13424 $as_echo "$ac_cv_lib_soname_png" >&6; }
13426 cat >>confdefs.h <<_ACEOF
13427 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13428 _ACEOF
13430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13431 /* end confdefs.h. */
13432 #include <png.h>
13434 main ()
13436 typeof(png_set_expand_gray_1_2_4_to_8) *p
13438 return 0;
13440 _ACEOF
13441 if ac_fn_c_try_compile "$LINENO"; then :
13443 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13448 else
13449 PNG_CFLAGS=""
13451 CPPFLAGS=$ac_save_CPPFLAGS
13452 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13453 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13456 if test "x$ac_cv_lib_soname_png" = "x"; then :
13457 case "x$with_png" in
13458 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13459 xno) ;;
13460 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13461 This is an error since --with-png was requested." "$LINENO" 5 ;;
13462 esac
13466 if test "x$with_tiff" != "xno"
13467 then
13468 if ${TIFF_CFLAGS:+false} :; then :
13469 if ${PKG_CONFIG+:} false; then :
13470 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13474 if ${TIFF_LIBS:+false} :; then :
13475 if ${PKG_CONFIG+:} false; then :
13476 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13481 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13482 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13483 ac_save_CPPFLAGS=$CPPFLAGS
13484 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13485 for ac_header in tiffio.h
13486 do :
13487 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13488 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13489 cat >>confdefs.h <<_ACEOF
13490 #define HAVE_TIFFIO_H 1
13491 _ACEOF
13495 done
13497 if test "$ac_cv_header_tiffio_h" = "yes"
13498 then
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13500 $as_echo_n "checking for -ltiff... " >&6; }
13501 if ${ac_cv_lib_soname_tiff+:} false; then :
13502 $as_echo_n "(cached) " >&6
13503 else
13504 ac_check_soname_save_LIBS=$LIBS
13505 LIBS="-ltiff $TIFF_LIBS $LIBS"
13506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507 /* end confdefs.h. */
13509 /* Override any GCC internal prototype to avoid an error.
13510 Use char because int might match the return type of a GCC
13511 builtin and then its argument prototype would still apply. */
13512 #ifdef __cplusplus
13513 extern "C"
13514 #endif
13515 char TIFFClientOpen ();
13517 main ()
13519 return TIFFClientOpen ();
13521 return 0;
13523 _ACEOF
13524 if ac_fn_c_try_link "$LINENO"; then :
13525 case "$LIBEXT" in
13526 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13527 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'` ;;
13528 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13529 if ${ac_cv_lib_soname_tiff:+false} :; then :
13530 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13531 fi ;;
13532 esac
13534 rm -f core conftest.err conftest.$ac_objext \
13535 conftest$ac_exeext conftest.$ac_ext
13536 LIBS=$ac_check_soname_save_LIBS
13538 if ${ac_cv_lib_soname_tiff:+false} :; then :
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13540 $as_echo "not found" >&6; }
13542 else
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13544 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13546 cat >>confdefs.h <<_ACEOF
13547 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13548 _ACEOF
13553 CPPFLAGS=$ac_save_CPPFLAGS
13554 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13555 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13558 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13559 case "x$with_tiff" in
13560 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13561 xno) ;;
13562 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13563 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13564 esac
13568 if test "x$with_mpg123" != "xno"
13569 then
13570 if ${MPG123_CFLAGS:+false} :; then :
13571 if ${PKG_CONFIG+:} false; then :
13572 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13576 if ${MPG123_LIBS:+false} :; then :
13577 if ${PKG_CONFIG+:} false; then :
13578 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13582 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13583 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13584 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13585 ac_save_CPPFLAGS=$CPPFLAGS
13586 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13587 for ac_header in mpg123.h
13588 do :
13589 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13590 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13591 cat >>confdefs.h <<_ACEOF
13592 #define HAVE_MPG123_H 1
13593 _ACEOF
13597 done
13599 if test "$ac_cv_header_mpg123_h" = "yes"
13600 then
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13602 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13603 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13604 $as_echo_n "(cached) " >&6
13605 else
13606 ac_check_lib_save_LIBS=$LIBS
13607 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13609 /* end confdefs.h. */
13611 /* Override any GCC internal prototype to avoid an error.
13612 Use char because int might match the return type of a GCC
13613 builtin and then its argument prototype would still apply. */
13614 #ifdef __cplusplus
13615 extern "C"
13616 #endif
13617 char mpg123_feed ();
13619 main ()
13621 return mpg123_feed ();
13623 return 0;
13625 _ACEOF
13626 if ac_fn_c_try_link "$LINENO"; then :
13627 ac_cv_lib_mpg123_mpg123_feed=yes
13628 else
13629 ac_cv_lib_mpg123_mpg123_feed=no
13631 rm -f core conftest.err conftest.$ac_objext \
13632 conftest$ac_exeext conftest.$ac_ext
13633 LIBS=$ac_check_lib_save_LIBS
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13636 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13637 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13639 else
13640 MPG123_LIBS=""
13643 else
13644 MPG123_CFLAGS=""
13645 MPG123_LIBS=""
13647 CPPFLAGS=$ac_save_CPPFLAGS
13648 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13649 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13652 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13653 case "x$with_mpg123" in
13654 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13655 xno) ;;
13656 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13657 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13658 esac
13659 enable_winemp3_acm=${enable_winemp3_acm:-no}
13662 if test "$ac_cv_header_AL_al_h" = "yes"
13663 then
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13665 $as_echo_n "checking for -lopenal... " >&6; }
13666 if ${ac_cv_lib_soname_openal+:} false; then :
13667 $as_echo_n "(cached) " >&6
13668 else
13669 ac_check_soname_save_LIBS=$LIBS
13670 LIBS="-lopenal $LIBS"
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13674 /* Override any GCC internal prototype to avoid an error.
13675 Use char because int might match the return type of a GCC
13676 builtin and then its argument prototype would still apply. */
13677 #ifdef __cplusplus
13678 extern "C"
13679 #endif
13680 char alGetSource3i ();
13682 main ()
13684 return alGetSource3i ();
13686 return 0;
13688 _ACEOF
13689 if ac_fn_c_try_link "$LINENO"; then :
13690 case "$LIBEXT" in
13691 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13692 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'` ;;
13693 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13694 if ${ac_cv_lib_soname_openal:+false} :; then :
13695 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13696 fi ;;
13697 esac
13699 rm -f core conftest.err conftest.$ac_objext \
13700 conftest$ac_exeext conftest.$ac_ext
13701 LIBS=$ac_check_soname_save_LIBS
13703 if ${ac_cv_lib_soname_openal:+false} :; then :
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13705 $as_echo "not found" >&6; }
13707 else
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13709 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13711 cat >>confdefs.h <<_ACEOF
13712 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13713 _ACEOF
13715 OPENAL_LIBS="-lopenal"
13717 ac_cv_lib_openal=yes
13719 cat >>confdefs.h <<_ACEOF
13720 #define HAVE_OPENAL 1
13721 _ACEOF
13725 if test "x$ac_cv_lib_openal" != xyes; then :
13726 case "x$with_openal" in
13727 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13728 xno) ;;
13729 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13730 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13731 esac
13732 enable_openal32=${enable_openal32:-no}
13735 if test "x$ac_cv_lib_openal" = xyes
13736 then
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13738 $as_echo_n "checking for openal-soft... " >&6; }
13739 if ${ac_cv_have_openalsoft+:} false; then :
13740 $as_echo_n "(cached) " >&6
13741 else
13742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13744 #include <AL/al.h>
13745 #include <AL/alc.h>
13746 #include <AL/alext.h>
13747 LPALCRENDERSAMPLESSOFT x;
13749 main ()
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_compile "$LINENO"; then :
13757 ac_cv_have_openalsoft=yes
13758 else
13759 ac_cv_have_openalsoft=no
13761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13764 $as_echo "$ac_cv_have_openalsoft" >&6; }
13766 if test "x$ac_cv_have_openalsoft" != xyes
13767 then
13768 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13769 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13770 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13771 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13772 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13773 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13774 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13775 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13776 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13777 enable_xapofx1_1=${enable_xapofx1_1:-no}
13778 enable_xapofx1_2=${enable_xapofx1_2:-no}
13779 enable_xapofx1_3=${enable_xapofx1_3:-no}
13780 enable_xapofx1_4=${enable_xapofx1_4:-no}
13781 enable_xapofx1_5=${enable_xapofx1_5:-no}
13782 enable_xaudio2_0=${enable_xaudio2_0:-no}
13783 enable_xaudio2_1=${enable_xaudio2_1:-no}
13784 enable_xaudio2_2=${enable_xaudio2_2:-no}
13785 enable_xaudio2_3=${enable_xaudio2_3:-no}
13786 enable_xaudio2_4=${enable_xaudio2_4:-no}
13787 enable_xaudio2_5=${enable_xaudio2_5:-no}
13788 enable_xaudio2_6=${enable_xaudio2_6:-no}
13789 enable_xaudio2_7=${enable_xaudio2_7:-no}
13790 enable_xaudio2_8=${enable_xaudio2_8:-no}
13791 enable_xaudio2_9=${enable_xaudio2_9:-no}
13794 if test "$ac_cv_header_kstat_h" = "yes"
13795 then
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13797 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13798 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13799 $as_echo_n "(cached) " >&6
13800 else
13801 ac_check_lib_save_LIBS=$LIBS
13802 LIBS="-lkstat $LIBS"
13803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13806 /* Override any GCC internal prototype to avoid an error.
13807 Use char because int might match the return type of a GCC
13808 builtin and then its argument prototype would still apply. */
13809 #ifdef __cplusplus
13810 extern "C"
13811 #endif
13812 char kstat_open ();
13814 main ()
13816 return kstat_open ();
13818 return 0;
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"; then :
13822 ac_cv_lib_kstat_kstat_open=yes
13823 else
13824 ac_cv_lib_kstat_kstat_open=no
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 LIBS=$ac_check_lib_save_LIBS
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13831 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13832 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13834 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13836 KSTAT_LIBS="-lkstat"
13842 if test "$ac_cv_header_libprocstat_h" = "yes"
13843 then
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13845 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13846 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13847 $as_echo_n "(cached) " >&6
13848 else
13849 ac_check_lib_save_LIBS=$LIBS
13850 LIBS="-lprocstat $LIBS"
13851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h. */
13854 /* Override any GCC internal prototype to avoid an error.
13855 Use char because int might match the return type of a GCC
13856 builtin and then its argument prototype would still apply. */
13857 #ifdef __cplusplus
13858 extern "C"
13859 #endif
13860 char procstat_open_sysctl ();
13862 main ()
13864 return procstat_open_sysctl ();
13866 return 0;
13868 _ACEOF
13869 if ac_fn_c_try_link "$LINENO"; then :
13870 ac_cv_lib_procstat_procstat_open_sysctl=yes
13871 else
13872 ac_cv_lib_procstat_procstat_open_sysctl=no
13874 rm -f core conftest.err conftest.$ac_objext \
13875 conftest$ac_exeext conftest.$ac_ext
13876 LIBS=$ac_check_lib_save_LIBS
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13879 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13880 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13882 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13884 PROCSTAT_LIBS="-lprocstat"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13891 $as_echo_n "checking for -lodbc... " >&6; }
13892 if ${ac_cv_lib_soname_odbc+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_check_soname_save_LIBS=$LIBS
13896 LIBS="-lodbc $LIBS"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 /* Override any GCC internal prototype to avoid an error.
13901 Use char because int might match the return type of a GCC
13902 builtin and then its argument prototype would still apply. */
13903 #ifdef __cplusplus
13904 extern "C"
13905 #endif
13906 char SQLConnect ();
13908 main ()
13910 return SQLConnect ();
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 case "$LIBEXT" in
13917 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13918 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'` ;;
13919 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13920 if ${ac_cv_lib_soname_odbc:+false} :; then :
13921 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13922 fi ;;
13923 esac
13925 rm -f core conftest.err conftest.$ac_objext \
13926 conftest$ac_exeext conftest.$ac_ext
13927 LIBS=$ac_check_soname_save_LIBS
13929 if ${ac_cv_lib_soname_odbc:+false} :; then :
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13931 $as_echo "not found" >&6; }
13932 cat >>confdefs.h <<_ACEOF
13933 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13934 _ACEOF
13936 else
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13938 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13940 cat >>confdefs.h <<_ACEOF
13941 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13942 _ACEOF
13947 if test "x$with_netapi" != "xno"
13948 then
13949 if ${NETAPI_CFLAGS:+false} :; then :
13950 if ${PKG_CONFIG+:} false; then :
13951 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13955 if ${NETAPI_LIBS:+false} :; then :
13956 if ${PKG_CONFIG+:} false; then :
13957 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13962 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13963 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13964 ac_save_CPPFLAGS=$CPPFLAGS
13965 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13967 $as_echo_n "checking for -lnetapi... " >&6; }
13968 if ${ac_cv_lib_soname_netapi+:} false; then :
13969 $as_echo_n "(cached) " >&6
13970 else
13971 ac_check_soname_save_LIBS=$LIBS
13972 LIBS="-lnetapi $NETAPI_LIBS $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 libnetapi_init ();
13984 main ()
13986 return libnetapi_init ();
13988 return 0;
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"; then :
13992 case "$LIBEXT" in
13993 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13994 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'` ;;
13995 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13996 if ${ac_cv_lib_soname_netapi:+false} :; then :
13997 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13998 fi ;;
13999 esac
14001 rm -f core conftest.err conftest.$ac_objext \
14002 conftest$ac_exeext conftest.$ac_ext
14003 LIBS=$ac_check_soname_save_LIBS
14005 if ${ac_cv_lib_soname_netapi:+false} :; then :
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14007 $as_echo "not found" >&6; }
14008 cat >>confdefs.h <<_ACEOF
14009 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14010 _ACEOF
14012 else
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14014 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14016 cat >>confdefs.h <<_ACEOF
14017 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14018 _ACEOF
14022 CPPFLAGS=$ac_save_CPPFLAGS
14023 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14024 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14028 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14029 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14030 then
14031 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14035 EXTRACFLAGS=""
14037 if test "x${GCC}" = "xyes"
14038 then
14039 EXTRACFLAGS="-Wall -pipe"
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14042 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14043 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 if test "$cross_compiling" = yes; then :
14047 ac_cv_c_gcc_strength_bug="no"
14048 else
14049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14051 int L[4] = {0,1,2,3};
14053 main ()
14055 static int Array[3];
14056 unsigned int B = 3;
14057 int i;
14058 for(i=0; i<B; i++) Array[i] = i - 3;
14059 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14060 L[i] = 4;
14061 return (Array[1] != -2 || L[2] != 3)
14063 return 0;
14065 _ACEOF
14066 if ac_fn_c_try_run "$LINENO"; then :
14067 ac_cv_c_gcc_strength_bug="no"
14068 else
14069 ac_cv_c_gcc_strength_bug="yes"
14071 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14072 conftest.$ac_objext conftest.beam conftest.$ac_ext
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14077 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14078 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14079 then
14080 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14084 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14085 if ${ac_cv_cflags__fno_builtin+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 ac_wine_try_cflags_saved=$CFLAGS
14089 CFLAGS="$CFLAGS -fno-builtin"
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 int main(int argc, char **argv) { return 0; }
14093 _ACEOF
14094 if ac_fn_c_try_link "$LINENO"; then :
14095 ac_cv_cflags__fno_builtin=yes
14096 else
14097 ac_cv_cflags__fno_builtin=no
14099 rm -f core conftest.err conftest.$ac_objext \
14100 conftest$ac_exeext conftest.$ac_ext
14101 CFLAGS=$ac_wine_try_cflags_saved
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14104 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14105 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14106 BUILTINFLAG="-fno-builtin"
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14110 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14111 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14112 $as_echo_n "(cached) " >&6
14113 else
14114 ac_wine_try_cflags_saved=$CFLAGS
14115 CFLAGS="$CFLAGS -fno-strict-aliasing"
14116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14118 int main(int argc, char **argv) { return 0; }
14119 _ACEOF
14120 if ac_fn_c_try_link "$LINENO"; then :
14121 ac_cv_cflags__fno_strict_aliasing=yes
14122 else
14123 ac_cv_cflags__fno_strict_aliasing=no
14125 rm -f core conftest.err conftest.$ac_objext \
14126 conftest$ac_exeext conftest.$ac_ext
14127 CFLAGS=$ac_wine_try_cflags_saved
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14130 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14131 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14132 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14135 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14136 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14137 $as_echo_n "(cached) " >&6
14138 else
14139 ac_wine_try_cflags_saved=$CFLAGS
14140 CFLAGS="$CFLAGS -fexcess-precision=standard"
14141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14142 /* end confdefs.h. */
14143 int main(int argc, char **argv) { return 0; }
14144 _ACEOF
14145 if ac_fn_c_try_link "$LINENO"; then :
14146 ac_cv_cflags__fexcess_precision_standard=yes
14147 else
14148 ac_cv_cflags__fexcess_precision_standard=no
14150 rm -f core conftest.err conftest.$ac_objext \
14151 conftest$ac_exeext conftest.$ac_ext
14152 CFLAGS=$ac_wine_try_cflags_saved
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14155 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14156 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14157 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14160 saved_CFLAGS=$CFLAGS
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14162 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14163 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14164 $as_echo_n "(cached) " >&6
14165 else
14166 ac_wine_try_cflags_saved=$CFLAGS
14167 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14170 int main(int argc, char **argv) { return 0; }
14171 _ACEOF
14172 if ac_fn_c_try_link "$LINENO"; then :
14173 ac_cv_cflags__Werror_unknown_warning_option=yes
14174 else
14175 ac_cv_cflags__Werror_unknown_warning_option=no
14177 rm -f core conftest.err conftest.$ac_objext \
14178 conftest$ac_exeext conftest.$ac_ext
14179 CFLAGS=$ac_wine_try_cflags_saved
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14182 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14183 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14184 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14187 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14188 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14189 $as_echo_n "(cached) " >&6
14190 else
14191 ac_wine_try_cflags_saved=$CFLAGS
14192 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 int main(int argc, char **argv) { return 0; }
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 ac_cv_cflags__Wdeclaration_after_statement=yes
14199 else
14200 ac_cv_cflags__Wdeclaration_after_statement=no
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 CFLAGS=$ac_wine_try_cflags_saved
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14207 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14208 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14209 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14212 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14213 if ${ac_cv_cflags__Wempty_body+:} false; then :
14214 $as_echo_n "(cached) " >&6
14215 else
14216 ac_wine_try_cflags_saved=$CFLAGS
14217 CFLAGS="$CFLAGS -Wempty-body"
14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14220 int main(int argc, char **argv) { return 0; }
14221 _ACEOF
14222 if ac_fn_c_try_link "$LINENO"; then :
14223 ac_cv_cflags__Wempty_body=yes
14224 else
14225 ac_cv_cflags__Wempty_body=no
14227 rm -f core conftest.err conftest.$ac_objext \
14228 conftest$ac_exeext conftest.$ac_ext
14229 CFLAGS=$ac_wine_try_cflags_saved
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14232 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14233 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14234 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14237 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14238 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 ac_wine_try_cflags_saved=$CFLAGS
14242 CFLAGS="$CFLAGS -Wignored-qualifiers"
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14245 int main(int argc, char **argv) { return 0; }
14246 _ACEOF
14247 if ac_fn_c_try_link "$LINENO"; then :
14248 ac_cv_cflags__Wignored_qualifiers=yes
14249 else
14250 ac_cv_cflags__Wignored_qualifiers=no
14252 rm -f core conftest.err conftest.$ac_objext \
14253 conftest$ac_exeext conftest.$ac_ext
14254 CFLAGS=$ac_wine_try_cflags_saved
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14257 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14258 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14259 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14262 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14263 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14264 $as_echo_n "(cached) " >&6
14265 else
14266 ac_wine_try_cflags_saved=$CFLAGS
14267 CFLAGS="$CFLAGS -Wshift-overflow=2"
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14270 int main(int argc, char **argv) { return 0; }
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"; then :
14273 ac_cv_cflags__Wshift_overflow_2=yes
14274 else
14275 ac_cv_cflags__Wshift_overflow_2=no
14277 rm -f core conftest.err conftest.$ac_objext \
14278 conftest$ac_exeext conftest.$ac_ext
14279 CFLAGS=$ac_wine_try_cflags_saved
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14282 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14283 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14284 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14287 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14288 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14289 $as_echo_n "(cached) " >&6
14290 else
14291 ac_wine_try_cflags_saved=$CFLAGS
14292 CFLAGS="$CFLAGS -Wstrict-prototypes"
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14295 int main(int argc, char **argv) { return 0; }
14296 _ACEOF
14297 if ac_fn_c_try_link "$LINENO"; then :
14298 ac_cv_cflags__Wstrict_prototypes=yes
14299 else
14300 ac_cv_cflags__Wstrict_prototypes=no
14302 rm -f core conftest.err conftest.$ac_objext \
14303 conftest$ac_exeext conftest.$ac_ext
14304 CFLAGS=$ac_wine_try_cflags_saved
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14307 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14308 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14309 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14312 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14313 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14314 $as_echo_n "(cached) " >&6
14315 else
14316 ac_wine_try_cflags_saved=$CFLAGS
14317 CFLAGS="$CFLAGS -Wtype-limits"
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14320 int main(int argc, char **argv) { return 0; }
14321 _ACEOF
14322 if ac_fn_c_try_link "$LINENO"; then :
14323 ac_cv_cflags__Wtype_limits=yes
14324 else
14325 ac_cv_cflags__Wtype_limits=no
14327 rm -f core conftest.err conftest.$ac_objext \
14328 conftest$ac_exeext conftest.$ac_ext
14329 CFLAGS=$ac_wine_try_cflags_saved
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14332 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14333 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14334 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14337 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14338 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14339 $as_echo_n "(cached) " >&6
14340 else
14341 ac_wine_try_cflags_saved=$CFLAGS
14342 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 int main(int argc, char **argv) { return 0; }
14346 _ACEOF
14347 if ac_fn_c_try_link "$LINENO"; then :
14348 ac_cv_cflags__Wunused_but_set_parameter=yes
14349 else
14350 ac_cv_cflags__Wunused_but_set_parameter=no
14352 rm -f core conftest.err conftest.$ac_objext \
14353 conftest$ac_exeext conftest.$ac_ext
14354 CFLAGS=$ac_wine_try_cflags_saved
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14357 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14358 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14359 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14362 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14363 if ${ac_cv_cflags__Wvla+:} false; then :
14364 $as_echo_n "(cached) " >&6
14365 else
14366 ac_wine_try_cflags_saved=$CFLAGS
14367 CFLAGS="$CFLAGS -Wvla"
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 int main(int argc, char **argv) { return 0; }
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 ac_cv_cflags__Wvla=yes
14374 else
14375 ac_cv_cflags__Wvla=no
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 CFLAGS=$ac_wine_try_cflags_saved
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14382 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14383 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14384 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14387 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14388 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14389 $as_echo_n "(cached) " >&6
14390 else
14391 ac_wine_try_cflags_saved=$CFLAGS
14392 CFLAGS="$CFLAGS -Wwrite-strings"
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395 int main(int argc, char **argv) { return 0; }
14396 _ACEOF
14397 if ac_fn_c_try_link "$LINENO"; then :
14398 ac_cv_cflags__Wwrite_strings=yes
14399 else
14400 ac_cv_cflags__Wwrite_strings=no
14402 rm -f core conftest.err conftest.$ac_objext \
14403 conftest$ac_exeext conftest.$ac_ext
14404 CFLAGS=$ac_wine_try_cflags_saved
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14407 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14408 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14409 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14413 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14414 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14415 $as_echo_n "(cached) " >&6
14416 else
14417 ac_wine_try_cflags_saved=$CFLAGS
14418 CFLAGS="$CFLAGS -Wpointer-arith"
14419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14421 int main(int argc, char **argv) { return 0; }
14422 _ACEOF
14423 if ac_fn_c_try_link "$LINENO"; then :
14424 ac_cv_cflags__Wpointer_arith=yes
14425 else
14426 ac_cv_cflags__Wpointer_arith=no
14428 rm -f core conftest.err conftest.$ac_objext \
14429 conftest$ac_exeext conftest.$ac_ext
14430 CFLAGS=$ac_wine_try_cflags_saved
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14433 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14434 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14435 saved_string_h_CFLAGS=$CFLAGS
14436 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14438 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14439 if ${ac_cv_c_string_h_warnings+:} false; then :
14440 $as_echo_n "(cached) " >&6
14441 else
14442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14444 #include <string.h>
14446 main ()
14450 return 0;
14452 _ACEOF
14453 if ac_fn_c_try_compile "$LINENO"; then :
14454 ac_cv_c_string_h_warnings=no
14455 else
14456 ac_cv_c_string_h_warnings=yes
14458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14461 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14462 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14463 CFLAGS=$saved_string_h_CFLAGS
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14467 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14468 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14469 $as_echo_n "(cached) " >&6
14470 else
14471 ac_wine_try_cflags_saved=$CFLAGS
14472 CFLAGS="$CFLAGS -Wlogical-op"
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 int main(int argc, char **argv) { return 0; }
14476 _ACEOF
14477 if ac_fn_c_try_link "$LINENO"; then :
14478 ac_cv_cflags__Wlogical_op=yes
14479 else
14480 ac_cv_cflags__Wlogical_op=no
14482 rm -f core conftest.err conftest.$ac_objext \
14483 conftest$ac_exeext conftest.$ac_ext
14484 CFLAGS=$ac_wine_try_cflags_saved
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14487 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14488 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14489 saved_string_h_CFLAGS=$CFLAGS
14490 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14492 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14493 if ${ac_cv_c_logicalop_noisy+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 #include <string.h>
14499 char*f(const char *h,char n) {return strchr(h,n);}
14501 main ()
14505 return 0;
14507 _ACEOF
14508 if ac_fn_c_try_compile "$LINENO"; then :
14509 ac_cv_c_logicalop_noisy=no
14510 else
14511 ac_cv_c_logicalop_noisy=yes
14513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14516 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14517 CFLAGS=$saved_string_h_CFLAGS
14518 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14521 CFLAGS=$saved_CFLAGS
14523 for ac_flag in $CFLAGS; do
14524 case $ac_flag in
14525 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14526 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14527 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 ac_wine_try_cflags_saved=$CFLAGS
14531 CFLAGS="$CFLAGS -gdwarf-2"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14534 int main(int argc, char **argv) { return 0; }
14535 _ACEOF
14536 if ac_fn_c_try_link "$LINENO"; then :
14537 ac_cv_cflags__gdwarf_2=yes
14538 else
14539 ac_cv_cflags__gdwarf_2=no
14541 rm -f core conftest.err conftest.$ac_objext \
14542 conftest$ac_exeext conftest.$ac_ext
14543 CFLAGS=$ac_wine_try_cflags_saved
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14546 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14547 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14548 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14551 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14552 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14553 $as_echo_n "(cached) " >&6
14554 else
14555 ac_wine_try_cflags_saved=$CFLAGS
14556 CFLAGS="$CFLAGS -gstrict-dwarf"
14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14559 int main(int argc, char **argv) { return 0; }
14560 _ACEOF
14561 if ac_fn_c_try_link "$LINENO"; then :
14562 ac_cv_cflags__gstrict_dwarf=yes
14563 else
14564 ac_cv_cflags__gstrict_dwarf=no
14566 rm -f core conftest.err conftest.$ac_objext \
14567 conftest$ac_exeext conftest.$ac_ext
14568 CFLAGS=$ac_wine_try_cflags_saved
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14571 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14572 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14573 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14574 fi ;;
14575 esac
14576 done
14578 case $host_cpu in
14579 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14580 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14581 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14582 $as_echo_n "(cached) " >&6
14583 else
14584 ac_wine_try_cflags_saved=$CFLAGS
14585 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 int main(int argc, char **argv) { return 0; }
14589 _ACEOF
14590 if ac_fn_c_try_link "$LINENO"; then :
14591 ac_cv_cflags__fno_omit_frame_pointer=yes
14592 else
14593 ac_cv_cflags__fno_omit_frame_pointer=no
14595 rm -f core conftest.err conftest.$ac_objext \
14596 conftest$ac_exeext conftest.$ac_ext
14597 CFLAGS=$ac_wine_try_cflags_saved
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14600 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14601 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14602 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14603 fi ;;
14604 esac
14606 case $host in
14607 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14608 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14609 if ${ac_cv_cflags__Wno_format+:} false; then :
14610 $as_echo_n "(cached) " >&6
14611 else
14612 ac_wine_try_cflags_saved=$CFLAGS
14613 CFLAGS="$CFLAGS -Wno-format"
14614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14616 int main(int argc, char **argv) { return 0; }
14617 _ACEOF
14618 if ac_fn_c_try_link "$LINENO"; then :
14619 ac_cv_cflags__Wno_format=yes
14620 else
14621 ac_cv_cflags__Wno_format=no
14623 rm -f core conftest.err conftest.$ac_objext \
14624 conftest$ac_exeext conftest.$ac_ext
14625 CFLAGS=$ac_wine_try_cflags_saved
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14628 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14629 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14630 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14631 fi ;;
14632 esac
14634 if test "x$enable_maintainer_mode" = "xyes"
14635 then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14637 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14638 if ${ac_cv_cflags__Werror+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_wine_try_cflags_saved=$CFLAGS
14642 CFLAGS="$CFLAGS -Werror"
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__Werror=yes
14649 else
14650 ac_cv_cflags__Werror=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__Werror" >&5
14657 $as_echo "$ac_cv_cflags__Werror" >&6; }
14658 if test "x$ac_cv_cflags__Werror" = xyes; then :
14659 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14663 saved_CFLAGS="$CFLAGS"
14664 CFLAGS="$CFLAGS -Werror"
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14666 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14667 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14668 $as_echo_n "(cached) " >&6
14669 else
14670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14672 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14674 main ()
14678 return 0;
14680 _ACEOF
14681 if ac_fn_c_try_compile "$LINENO"; then :
14682 ac_cv_have_ms_hook_prologue="yes"
14683 else
14684 ac_cv_have_ms_hook_prologue="no"
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14689 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14690 CFLAGS="$saved_CFLAGS"
14691 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14692 then
14694 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14696 else
14697 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14704 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14705 if ${ac_cv_c_fortify_enabled+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14710 #include <string.h>
14712 main ()
14714 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14715 #error Fortify enabled
14716 #endif
14718 return 0;
14720 _ACEOF
14721 if ac_fn_c_try_compile "$LINENO"; then :
14722 ac_cv_c_fortify_enabled=no
14723 else
14724 ac_cv_c_fortify_enabled=yes
14726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14729 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14730 if test "$ac_cv_c_fortify_enabled" = yes
14731 then
14732 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14737 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14738 if ${ac_cv_c_extern_prefix+:} false; then :
14739 $as_echo_n "(cached) " >&6
14740 else
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14743 extern int ac_test;
14745 main ()
14747 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14749 return 0;
14751 _ACEOF
14752 if ac_fn_c_try_link "$LINENO"; then :
14753 ac_cv_c_extern_prefix="yes"
14754 else
14755 ac_cv_c_extern_prefix="no"
14757 rm -f core conftest.err conftest.$ac_objext \
14758 conftest$ac_exeext conftest.$ac_ext
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14761 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14763 case $host_cpu in
14764 *i[3456789]86*)
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14766 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14767 if ${ac_cv_c_stdcall_suffix+:} false; then :
14768 $as_echo_n "(cached) " >&6
14769 else
14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14772 #ifndef _MSC_VER
14773 #define __stdcall __attribute__((__stdcall__))
14774 #endif
14775 int __stdcall ac_test(int i) { return i; }
14777 main ()
14779 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14781 return 0;
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_c_stdcall_suffix="yes"
14786 else
14787 ac_cv_c_stdcall_suffix="no"
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14793 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14794 *) ac_cv_c_stdcall_suffix="no" ;;
14795 esac
14798 if test "$ac_cv_c_extern_prefix" = "yes"
14799 then
14800 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14802 asm_name_prefix="_"
14803 else
14804 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14806 asm_name_prefix=""
14810 if test "$ac_cv_c_stdcall_suffix" = "yes"
14811 then
14812 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14814 else
14815 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14821 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14822 if ${ac_cv_asm_func_def+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14829 main ()
14831 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14833 return 0;
14835 _ACEOF
14836 if ac_fn_c_try_link "$LINENO"; then :
14837 ac_cv_asm_func_def=".def"
14838 else
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14843 main ()
14845 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14847 return 0;
14849 _ACEOF
14850 if ac_fn_c_try_link "$LINENO"; then :
14851 ac_cv_asm_func_def=".type @function"
14852 else
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14857 main ()
14859 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"; then :
14865 ac_cv_asm_func_def=".type 2"
14866 else
14867 ac_cv_asm_func_def="unknown"
14869 rm -f core conftest.err conftest.$ac_objext \
14870 conftest$ac_exeext conftest.$ac_ext
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14879 $as_echo "$ac_cv_asm_func_def" >&6; }
14882 case "$ac_cv_asm_func_def" in
14883 ".def")
14884 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14886 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14887 ".type @function")
14888 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14890 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14891 ".type 2")
14892 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14894 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14896 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14898 asm_func_header="" ;;
14899 esac
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14902 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14903 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14904 $as_echo_n "(cached) " >&6
14905 else
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14908 asm(".text\n\t.long 0");
14910 main ()
14914 return 0;
14916 _ACEOF
14917 if ac_fn_c_try_compile "$LINENO"; then :
14918 ac_cv_c_asm_outside_funcs="yes"
14919 else
14920 ac_cv_c_asm_outside_funcs="no"
14922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14925 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14928 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14929 if ${ac_cv_c_dot_previous+:} false; then :
14930 $as_echo_n "(cached) " >&6
14931 else
14932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14936 main ()
14938 asm(".text\nac_test:\t.long 0\n\t.previous");
14940 return 0;
14942 _ACEOF
14943 if ac_fn_c_try_link "$LINENO"; then :
14944 ac_cv_c_dot_previous="yes"
14945 else
14946 ac_cv_c_dot_previous="no"
14948 rm -f core conftest.err conftest.$ac_objext \
14949 conftest$ac_exeext conftest.$ac_ext
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14952 $as_echo "$ac_cv_c_dot_previous" >&6; }
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14955 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14956 if ${ac_cv_c_cfi_support+:} false; then :
14957 $as_echo_n "(cached) " >&6
14958 else
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14961 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14963 main ()
14967 return 0;
14969 _ACEOF
14970 if ac_fn_c_try_compile "$LINENO"; then :
14971 ac_cv_c_cfi_support="yes"
14972 else
14973 ac_cv_c_cfi_support="no"
14975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14978 $as_echo "$ac_cv_c_cfi_support" >&6; }
14980 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14981 asm_func_trailer=""
14982 if test "$ac_cv_c_dot_previous" = "yes"
14983 then
14984 asm_func_trailer="\\n\\t.previous"
14986 if test "$ac_cv_c_cfi_support" = "yes"
14987 then
14988 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14989 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14991 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14993 UNWINDFLAGS=-fasynchronous-unwind-tables
14995 else
14996 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14998 if test "x$enable_win64" = "xyes"
14999 then
15000 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15004 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15007 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15008 then
15009 cat >>confdefs.h <<_ACEOF
15010 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15011 _ACEOF
15013 else
15014 cat >>confdefs.h <<_ACEOF
15015 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15016 _ACEOF
15020 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15023 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15027 case $build_os in
15028 cygwin*|mingw32*) TOOLSEXT=".exe"
15030 esac
15032 case $host_os in
15033 linux-android*) ;;
15034 linux*)
15035 case $host_cpu in
15036 *i[3456789]86*|x86_64*)
15037 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15038 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15040 esac
15042 esac
15045 ac_save_CFLAGS="$CFLAGS"
15046 CFLAGS="$CFLAGS $BUILTINFLAG"
15047 for ac_func in \
15048 __res_get_state \
15049 __res_getservers \
15050 _finite \
15051 _isnan \
15052 _pclose \
15053 _popen \
15054 _snprintf \
15055 _spawnvp \
15056 _strdup \
15057 _stricmp \
15058 _strnicmp \
15059 _strtoi64 \
15060 _strtoui64 \
15061 _vsnprintf \
15062 asctime_r \
15063 chsize \
15064 dlopen \
15065 epoll_create \
15066 ffs \
15067 finitef \
15068 fnmatch \
15069 fork \
15070 fpclass \
15071 fstatfs \
15072 fstatvfs \
15073 ftruncate \
15074 futimens \
15075 futimes \
15076 futimesat \
15077 getattrlist \
15078 getdirentries \
15079 getopt_long_only \
15080 getpwuid \
15081 gettimeofday \
15082 getuid \
15083 if_nameindex \
15084 isnanf \
15085 kqueue \
15086 lstat \
15087 memmove \
15088 mmap \
15089 pclose \
15090 pipe2 \
15091 poll \
15092 popen \
15093 port_create \
15094 prctl \
15095 pread \
15096 proc_pidinfo \
15097 pwrite \
15098 readdir \
15099 readlink \
15100 sched_yield \
15101 select \
15102 setproctitle \
15103 setprogname \
15104 setrlimit \
15105 settimeofday \
15106 sigaltstack \
15107 sigprocmask \
15108 snprintf \
15109 statfs \
15110 statvfs \
15111 strcasecmp \
15112 strdup \
15113 strerror \
15114 strncasecmp \
15115 strtold \
15116 strtoll \
15117 strtoull \
15118 symlink \
15119 tcdrain \
15120 thr_kill2 \
15121 timegm \
15122 usleep \
15123 vsnprintf
15125 do :
15126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15129 cat >>confdefs.h <<_ACEOF
15130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15131 _ACEOF
15134 done
15136 CFLAGS="$ac_save_CFLAGS"
15138 if test "$ac_cv_func_dlopen" = no
15139 then
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15141 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15142 if ${ac_cv_lib_dl_dlopen+:} false; then :
15143 $as_echo_n "(cached) " >&6
15144 else
15145 ac_check_lib_save_LIBS=$LIBS
15146 LIBS="-ldl $LIBS"
15147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 /* end confdefs.h. */
15150 /* Override any GCC internal prototype to avoid an error.
15151 Use char because int might match the return type of a GCC
15152 builtin and then its argument prototype would still apply. */
15153 #ifdef __cplusplus
15154 extern "C"
15155 #endif
15156 char dlopen ();
15158 main ()
15160 return dlopen ();
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_link "$LINENO"; then :
15166 ac_cv_lib_dl_dlopen=yes
15167 else
15168 ac_cv_lib_dl_dlopen=no
15170 rm -f core conftest.err conftest.$ac_objext \
15171 conftest$ac_exeext conftest.$ac_ext
15172 LIBS=$ac_check_lib_save_LIBS
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15175 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15176 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15177 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15178 DL_LIBS="-ldl"
15183 ac_wine_check_funcs_save_LIBS="$LIBS"
15184 LIBS="$LIBS $DL_LIBS"
15185 for ac_func in dladdr
15186 do :
15187 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15188 if test "x$ac_cv_func_dladdr" = xyes; then :
15189 cat >>confdefs.h <<_ACEOF
15190 #define HAVE_DLADDR 1
15191 _ACEOF
15194 done
15196 LIBS="$ac_wine_check_funcs_save_LIBS"
15198 if test "$ac_cv_func_poll" = no
15199 then
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15201 $as_echo_n "checking for poll in -lpoll... " >&6; }
15202 if ${ac_cv_lib_poll_poll+:} false; then :
15203 $as_echo_n "(cached) " >&6
15204 else
15205 ac_check_lib_save_LIBS=$LIBS
15206 LIBS="-lpoll $LIBS"
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15210 /* Override any GCC internal prototype to avoid an error.
15211 Use char because int might match the return type of a GCC
15212 builtin and then its argument prototype would still apply. */
15213 #ifdef __cplusplus
15214 extern "C"
15215 #endif
15216 char poll ();
15218 main ()
15220 return poll ();
15222 return 0;
15224 _ACEOF
15225 if ac_fn_c_try_link "$LINENO"; then :
15226 ac_cv_lib_poll_poll=yes
15227 else
15228 ac_cv_lib_poll_poll=no
15230 rm -f core conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15232 LIBS=$ac_check_lib_save_LIBS
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15235 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15236 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15237 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15238 POLL_LIBS="-lpoll"
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15245 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15246 if ${ac_cv_search_gethostbyname+:} false; then :
15247 $as_echo_n "(cached) " >&6
15248 else
15249 ac_func_search_save_LIBS=$LIBS
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15253 /* Override any GCC internal prototype to avoid an error.
15254 Use char because int might match the return type of a GCC
15255 builtin and then its argument prototype would still apply. */
15256 #ifdef __cplusplus
15257 extern "C"
15258 #endif
15259 char gethostbyname ();
15261 main ()
15263 return gethostbyname ();
15265 return 0;
15267 _ACEOF
15268 for ac_lib in '' nsl; do
15269 if test -z "$ac_lib"; then
15270 ac_res="none required"
15271 else
15272 ac_res=-l$ac_lib
15273 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15275 if ac_fn_c_try_link "$LINENO"; then :
15276 ac_cv_search_gethostbyname=$ac_res
15278 rm -f core conftest.err conftest.$ac_objext \
15279 conftest$ac_exeext
15280 if ${ac_cv_search_gethostbyname+:} false; then :
15281 break
15283 done
15284 if ${ac_cv_search_gethostbyname+:} false; then :
15286 else
15287 ac_cv_search_gethostbyname=no
15289 rm conftest.$ac_ext
15290 LIBS=$ac_func_search_save_LIBS
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15293 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15294 ac_res=$ac_cv_search_gethostbyname
15295 if test "$ac_res" != no; then :
15296 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15302 $as_echo_n "checking for library containing connect... " >&6; }
15303 if ${ac_cv_search_connect+:} false; then :
15304 $as_echo_n "(cached) " >&6
15305 else
15306 ac_func_search_save_LIBS=$LIBS
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 #ifdef __cplusplus
15314 extern "C"
15315 #endif
15316 char connect ();
15318 main ()
15320 return connect ();
15322 return 0;
15324 _ACEOF
15325 for ac_lib in '' socket; do
15326 if test -z "$ac_lib"; then
15327 ac_res="none required"
15328 else
15329 ac_res=-l$ac_lib
15330 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15332 if ac_fn_c_try_link "$LINENO"; then :
15333 ac_cv_search_connect=$ac_res
15335 rm -f core conftest.err conftest.$ac_objext \
15336 conftest$ac_exeext
15337 if ${ac_cv_search_connect+:} false; then :
15338 break
15340 done
15341 if ${ac_cv_search_connect+:} false; then :
15343 else
15344 ac_cv_search_connect=no
15346 rm conftest.$ac_ext
15347 LIBS=$ac_func_search_save_LIBS
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15350 $as_echo "$ac_cv_search_connect" >&6; }
15351 ac_res=$ac_cv_search_connect
15352 if test "$ac_res" != no; then :
15353 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15359 $as_echo_n "checking for library containing inet_aton... " >&6; }
15360 if ${ac_cv_search_inet_aton+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 ac_func_search_save_LIBS=$LIBS
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15367 /* Override any GCC internal prototype to avoid an error.
15368 Use char because int might match the return type of a GCC
15369 builtin and then its argument prototype would still apply. */
15370 #ifdef __cplusplus
15371 extern "C"
15372 #endif
15373 char inet_aton ();
15375 main ()
15377 return inet_aton ();
15379 return 0;
15381 _ACEOF
15382 for ac_lib in '' resolv; do
15383 if test -z "$ac_lib"; then
15384 ac_res="none required"
15385 else
15386 ac_res=-l$ac_lib
15387 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15389 if ac_fn_c_try_link "$LINENO"; then :
15390 ac_cv_search_inet_aton=$ac_res
15392 rm -f core conftest.err conftest.$ac_objext \
15393 conftest$ac_exeext
15394 if ${ac_cv_search_inet_aton+:} false; then :
15395 break
15397 done
15398 if ${ac_cv_search_inet_aton+:} false; then :
15400 else
15401 ac_cv_search_inet_aton=no
15403 rm conftest.$ac_ext
15404 LIBS=$ac_func_search_save_LIBS
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15407 $as_echo "$ac_cv_search_inet_aton" >&6; }
15408 ac_res=$ac_cv_search_inet_aton
15409 if test "$ac_res" != no; then :
15410 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15415 for ac_func in \
15416 getaddrinfo \
15417 getnameinfo \
15418 getnetbyname \
15419 getprotobyname \
15420 getprotobynumber \
15421 getservbyport \
15422 inet_addr \
15423 inet_network \
15424 inet_ntop \
15425 inet_pton \
15426 sendmsg \
15427 socketpair \
15429 do :
15430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15433 cat >>confdefs.h <<_ACEOF
15434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15435 _ACEOF
15438 done
15441 ac_save_LIBS=$LIBS
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15443 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15444 if ${ac_cv_search_clock_gettime+:} false; then :
15445 $as_echo_n "(cached) " >&6
15446 else
15447 ac_func_search_save_LIBS=$LIBS
15448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15451 /* Override any GCC internal prototype to avoid an error.
15452 Use char because int might match the return type of a GCC
15453 builtin and then its argument prototype would still apply. */
15454 #ifdef __cplusplus
15455 extern "C"
15456 #endif
15457 char clock_gettime ();
15459 main ()
15461 return clock_gettime ();
15463 return 0;
15465 _ACEOF
15466 for ac_lib in '' rt; do
15467 if test -z "$ac_lib"; then
15468 ac_res="none required"
15469 else
15470 ac_res=-l$ac_lib
15471 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15473 if ac_fn_c_try_link "$LINENO"; then :
15474 ac_cv_search_clock_gettime=$ac_res
15476 rm -f core conftest.err conftest.$ac_objext \
15477 conftest$ac_exeext
15478 if ${ac_cv_search_clock_gettime+:} false; then :
15479 break
15481 done
15482 if ${ac_cv_search_clock_gettime+:} false; then :
15484 else
15485 ac_cv_search_clock_gettime=no
15487 rm conftest.$ac_ext
15488 LIBS=$ac_func_search_save_LIBS
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15491 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15492 ac_res=$ac_cv_search_clock_gettime
15493 if test "$ac_res" != no; then :
15494 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15496 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15498 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15502 LIBS=$ac_save_LIBS
15504 LDAP_LIBS=""
15506 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15507 then
15508 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15510 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15512 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15513 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 ac_check_lib_save_LIBS=$LIBS
15517 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15521 /* Override any GCC internal prototype to avoid an error.
15522 Use char because int might match the return type of a GCC
15523 builtin and then its argument prototype would still apply. */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 char ldap_initialize ();
15529 main ()
15531 return ldap_initialize ();
15533 return 0;
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 ac_cv_lib_ldap_r_ldap_initialize=yes
15538 else
15539 ac_cv_lib_ldap_r_ldap_initialize=no
15541 rm -f core conftest.err conftest.$ac_objext \
15542 conftest$ac_exeext conftest.$ac_ext
15543 LIBS=$ac_check_lib_save_LIBS
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15546 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15547 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15549 $as_echo_n "checking for ber_init in -llber... " >&6; }
15550 if ${ac_cv_lib_lber_ber_init+:} false; then :
15551 $as_echo_n "(cached) " >&6
15552 else
15553 ac_check_lib_save_LIBS=$LIBS
15554 LIBS="-llber $PTHREAD_LIBS $LIBS"
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15558 /* Override any GCC internal prototype to avoid an error.
15559 Use char because int might match the return type of a GCC
15560 builtin and then its argument prototype would still apply. */
15561 #ifdef __cplusplus
15562 extern "C"
15563 #endif
15564 char ber_init ();
15566 main ()
15568 return ber_init ();
15570 return 0;
15572 _ACEOF
15573 if ac_fn_c_try_link "$LINENO"; then :
15574 ac_cv_lib_lber_ber_init=yes
15575 else
15576 ac_cv_lib_lber_ber_init=no
15578 rm -f core conftest.err conftest.$ac_objext \
15579 conftest$ac_exeext conftest.$ac_ext
15580 LIBS=$ac_check_lib_save_LIBS
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15583 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15584 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15586 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15588 LDAP_LIBS="-lldap_r -llber"
15595 ac_wine_check_funcs_save_LIBS="$LIBS"
15596 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15597 for ac_func in \
15598 ldap_count_references \
15599 ldap_first_reference \
15600 ldap_next_reference \
15601 ldap_parse_reference \
15602 ldap_parse_sort_control \
15603 ldap_parse_sortresponse_control \
15604 ldap_parse_vlv_control \
15605 ldap_parse_vlvresponse_control
15606 do :
15607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15609 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15610 cat >>confdefs.h <<_ACEOF
15611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15612 _ACEOF
15615 done
15617 LIBS="$ac_wine_check_funcs_save_LIBS"
15619 if test "x$LDAP_LIBS" = "x"; then :
15620 case "x$with_ldap" in
15621 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15622 xno) ;;
15623 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15624 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15625 esac
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15630 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15631 if ${wine_cv_one_arg_mkdir+:} false; then :
15632 $as_echo_n "(cached) " >&6
15633 else
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15636 #include <sys/stat.h>
15638 main ()
15640 mkdir("foo");
15642 return 0;
15644 _ACEOF
15645 if ac_fn_c_try_compile "$LINENO"; then :
15646 wine_cv_one_arg_mkdir=yes
15647 else
15648 wine_cv_one_arg_mkdir=no
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15653 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15654 if test "$wine_cv_one_arg_mkdir" = "yes"
15655 then
15657 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15662 $as_echo_n "checking for sched_setaffinity... " >&6; }
15663 if ${wine_cv_have_sched_setaffinity+:} false; then :
15664 $as_echo_n "(cached) " >&6
15665 else
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15668 #define _GNU_SOURCE
15669 #include <sched.h>
15671 main ()
15673 sched_setaffinity(0, 0, 0);
15675 return 0;
15677 _ACEOF
15678 if ac_fn_c_try_link "$LINENO"; then :
15679 wine_cv_have_sched_setaffinity=yes
15680 else
15681 wine_cv_have_sched_setaffinity=no
15683 rm -f core conftest.err conftest.$ac_objext \
15684 conftest$ac_exeext conftest.$ac_ext
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15687 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15688 if test "$wine_cv_have_sched_setaffinity" = "yes"
15689 then
15691 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15696 $as_echo_n "checking for fallocate... " >&6; }
15697 if ${wine_cv_have_fallocate+:} false; then :
15698 $as_echo_n "(cached) " >&6
15699 else
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15702 #define _GNU_SOURCE
15703 #include <fcntl.h>
15705 main ()
15707 fallocate(-1, 0, 0, 0);
15709 return 0;
15711 _ACEOF
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 wine_cv_have_fallocate=yes
15714 else
15715 wine_cv_have_fallocate=no
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15721 $as_echo "$wine_cv_have_fallocate" >&6; }
15722 if test "$wine_cv_have_fallocate" = "yes"
15723 then
15725 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15731 $as_echo_n "checking for inline... " >&6; }
15732 if ${ac_cv_c_inline+:} false; then :
15733 $as_echo_n "(cached) " >&6
15734 else
15735 ac_cv_c_inline=no
15736 for ac_kw in inline __inline__ __inline; do
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15739 #ifndef __cplusplus
15740 typedef int foo_t;
15741 static $ac_kw foo_t static_foo () {return 0; }
15742 $ac_kw foo_t foo () {return 0; }
15743 #endif
15745 _ACEOF
15746 if ac_fn_c_try_compile "$LINENO"; then :
15747 ac_cv_c_inline=$ac_kw
15749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15750 test "$ac_cv_c_inline" != no && break
15751 done
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15755 $as_echo "$ac_cv_c_inline" >&6; }
15757 case $ac_cv_c_inline in
15758 inline | yes) ;;
15760 case $ac_cv_c_inline in
15761 no) ac_val=;;
15762 *) ac_val=$ac_cv_c_inline;;
15763 esac
15764 cat >>confdefs.h <<_ACEOF
15765 #ifndef __cplusplus
15766 #define inline $ac_val
15767 #endif
15768 _ACEOF
15770 esac
15772 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15773 if test "x$ac_cv_type_mode_t" = xyes; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define HAVE_MODE_T 1
15777 _ACEOF
15781 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15782 if test "x$ac_cv_type_off_t" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_OFF_T 1
15786 _ACEOF
15790 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15791 if test "x$ac_cv_type_pid_t" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_PID_T 1
15795 _ACEOF
15799 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15800 if test "x$ac_cv_type_size_t" = xyes; then :
15802 cat >>confdefs.h <<_ACEOF
15803 #define HAVE_SIZE_T 1
15804 _ACEOF
15808 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15809 if test "x$ac_cv_type_ssize_t" = xyes; then :
15811 cat >>confdefs.h <<_ACEOF
15812 #define HAVE_SSIZE_T 1
15813 _ACEOF
15817 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15818 if test "x$ac_cv_type_long_long" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_LONG_LONG 1
15822 _ACEOF
15826 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15827 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15829 cat >>confdefs.h <<_ACEOF
15830 #define HAVE_FSBLKCNT_T 1
15831 _ACEOF
15835 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15836 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define HAVE_FSFILCNT_T 1
15840 _ACEOF
15845 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15846 #include <signal.h>
15848 if test "x$ac_cv_type_sigset_t" = xyes; then :
15850 cat >>confdefs.h <<_ACEOF
15851 #define HAVE_SIGSET_T 1
15852 _ACEOF
15857 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15859 if test "x$ac_cv_type_request_sense" = xyes; then :
15861 cat >>confdefs.h <<_ACEOF
15862 #define HAVE_REQUEST_SENSE 1
15863 _ACEOF
15869 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15870 #ifdef HAVE_SYS_SOCKET_H
15871 #include <sys/socket.h>
15872 #endif
15873 #ifdef HAVE_SYS_SOCKETVAR_H
15874 #include <sys/socketvar.h>
15875 #endif
15876 #ifdef HAVE_NET_ROUTE_H
15877 #include <net/route.h>
15878 #endif
15879 #ifdef HAVE_NETINET_IN_H
15880 #include <netinet/in.h>
15881 #endif
15882 #ifdef HAVE_NETINET_IN_SYSTM_H
15883 #include <netinet/in_systm.h>
15884 #endif
15885 #ifdef HAVE_NETINET_IP_H
15886 #include <netinet/ip.h>
15887 #endif
15888 #ifdef HAVE_NETINET_IN_PCB_H
15889 #include <netinet/in_pcb.h>
15890 #endif
15892 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15894 cat >>confdefs.h <<_ACEOF
15895 #define HAVE_STRUCT_XINPGEN 1
15896 _ACEOF
15902 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15903 #include <link.h>
15904 #endif
15905 #ifdef HAVE_SYS_LINK_H
15906 #include <sys/link.h>
15907 #endif
15909 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15911 cat >>confdefs.h <<_ACEOF
15912 #define HAVE_STRUCT_R_DEBUG 1
15913 _ACEOF
15917 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15918 #include <link.h>
15919 #endif
15920 #ifdef HAVE_SYS_LINK_H
15921 #include <sys/link.h>
15922 #endif
15924 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_STRUCT_LINK_MAP 1
15928 _ACEOF
15934 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15935 #include <linux/input.h>
15936 #endif
15938 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15942 _ACEOF
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15949 $as_echo_n "checking for sigaddset... " >&6; }
15950 if ${wine_cv_have_sigaddset+:} false; then :
15951 $as_echo_n "(cached) " >&6
15952 else
15953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15954 /* end confdefs.h. */
15955 #include <signal.h>
15957 main ()
15959 sigset_t set; sigaddset(&set,SIGTERM);
15961 return 0;
15963 _ACEOF
15964 if ac_fn_c_try_link "$LINENO"; then :
15965 wine_cv_have_sigaddset=yes
15966 else
15967 wine_cv_have_sigaddset=no
15969 rm -f core conftest.err conftest.$ac_objext \
15970 conftest$ac_exeext conftest.$ac_ext
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15973 $as_echo "$wine_cv_have_sigaddset" >&6; }
15974 if test "$wine_cv_have_sigaddset" = "yes"
15975 then
15977 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15983 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15984 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15985 $as_echo_n "(cached) " >&6
15986 else
15987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15988 /* end confdefs.h. */
15989 #include <netdb.h>
15991 main ()
15994 char *name=0;
15995 struct hostent he;
15996 struct hostent *result;
15997 char *buf=0;
15998 int bufsize=0;
15999 int errnr;
16000 char *addr=0;
16001 int addrlen=0;
16002 int addrtype=0;
16003 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16004 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"; then :
16011 wine_cv_linux_gethostbyname_r_6=yes
16012 else
16013 wine_cv_linux_gethostbyname_r_6=no
16016 rm -f core conftest.err conftest.$ac_objext \
16017 conftest$ac_exeext conftest.$ac_ext
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16021 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16022 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16023 then
16025 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16029 if test "$ac_cv_header_linux_joystick_h" = "yes"
16030 then
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16032 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16033 if ${wine_cv_linux_joystick_22_api+:} false; then :
16034 $as_echo_n "(cached) " >&6
16035 else
16036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16037 /* end confdefs.h. */
16039 #include <sys/ioctl.h>
16040 #include <sys/types.h>
16041 #include <linux/joystick.h>
16043 struct js_event blub;
16044 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16045 #error "no 2.2 header"
16046 #endif
16049 main ()
16051 /*empty*/
16053 return 0;
16055 _ACEOF
16056 if ac_fn_c_try_compile "$LINENO"; then :
16057 wine_cv_linux_joystick_22_api=yes
16058 else
16059 wine_cv_linux_joystick_22_api=no
16061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16065 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16066 if test "$wine_cv_linux_joystick_22_api" = "yes"
16067 then
16069 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16075 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16076 #ifdef HAVE_SYS_PARAM_H
16077 # include <sys/param.h>
16078 #endif
16079 #ifdef HAVE_SYS_MOUNT_H
16080 # include <sys/mount.h>
16081 #endif
16082 #ifdef HAVE_SYS_VFS_H
16083 # include <sys/vfs.h>
16084 #endif
16085 #ifdef HAVE_SYS_STATFS_H
16086 # include <sys/statfs.h>
16087 #endif
16089 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_STRUCT_STATFS_F_BFREE 1
16093 _ACEOF
16097 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16098 #ifdef HAVE_SYS_PARAM_H
16099 # include <sys/param.h>
16100 #endif
16101 #ifdef HAVE_SYS_MOUNT_H
16102 # include <sys/mount.h>
16103 #endif
16104 #ifdef HAVE_SYS_VFS_H
16105 # include <sys/vfs.h>
16106 #endif
16107 #ifdef HAVE_SYS_STATFS_H
16108 # include <sys/statfs.h>
16109 #endif
16111 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16115 _ACEOF
16119 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16120 #ifdef HAVE_SYS_PARAM_H
16121 # include <sys/param.h>
16122 #endif
16123 #ifdef HAVE_SYS_MOUNT_H
16124 # include <sys/mount.h>
16125 #endif
16126 #ifdef HAVE_SYS_VFS_H
16127 # include <sys/vfs.h>
16128 #endif
16129 #ifdef HAVE_SYS_STATFS_H
16130 # include <sys/statfs.h>
16131 #endif
16133 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16137 _ACEOF
16141 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16142 #ifdef HAVE_SYS_PARAM_H
16143 # include <sys/param.h>
16144 #endif
16145 #ifdef HAVE_SYS_MOUNT_H
16146 # include <sys/mount.h>
16147 #endif
16148 #ifdef HAVE_SYS_VFS_H
16149 # include <sys/vfs.h>
16150 #endif
16151 #ifdef HAVE_SYS_STATFS_H
16152 # include <sys/statfs.h>
16153 #endif
16155 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16157 cat >>confdefs.h <<_ACEOF
16158 #define HAVE_STRUCT_STATFS_F_FFREE 1
16159 _ACEOF
16163 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16164 #ifdef HAVE_SYS_PARAM_H
16165 # include <sys/param.h>
16166 #endif
16167 #ifdef HAVE_SYS_MOUNT_H
16168 # include <sys/mount.h>
16169 #endif
16170 #ifdef HAVE_SYS_VFS_H
16171 # include <sys/vfs.h>
16172 #endif
16173 #ifdef HAVE_SYS_STATFS_H
16174 # include <sys/statfs.h>
16175 #endif
16177 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16181 _ACEOF
16185 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16186 #ifdef HAVE_SYS_PARAM_H
16187 # include <sys/param.h>
16188 #endif
16189 #ifdef HAVE_SYS_MOUNT_H
16190 # include <sys/mount.h>
16191 #endif
16192 #ifdef HAVE_SYS_VFS_H
16193 # include <sys/vfs.h>
16194 #endif
16195 #ifdef HAVE_SYS_STATFS_H
16196 # include <sys/statfs.h>
16197 #endif
16199 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16201 cat >>confdefs.h <<_ACEOF
16202 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16203 _ACEOF
16209 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16210 #include <sys/statvfs.h>
16211 #endif
16213 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16215 cat >>confdefs.h <<_ACEOF
16216 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16217 _ACEOF
16223 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16224 #include <dirent.h>
16225 #endif
16227 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16231 _ACEOF
16237 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16238 #ifdef HAVE_SYS_SOCKET_H
16239 # include <sys/socket.h>
16240 #endif
16241 #ifdef HAVE_SYS_UN_H
16242 # include <sys/un.h>
16243 #endif
16245 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16247 cat >>confdefs.h <<_ACEOF
16248 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16249 _ACEOF
16253 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16254 #ifdef HAVE_SYS_SOCKET_H
16255 # include <sys/socket.h>
16256 #endif
16257 #ifdef HAVE_SYS_UN_H
16258 # include <sys/un.h>
16259 #endif
16261 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16265 _ACEOF
16269 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16270 #ifdef HAVE_SYS_SOCKET_H
16271 # include <sys/socket.h>
16272 #endif
16273 #ifdef HAVE_SYS_UN_H
16274 # include <sys/un.h>
16275 #endif
16277 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16281 _ACEOF
16287 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16288 #ifdef HAVE_SCSI_SG_H
16289 #include <scsi/sg.h>
16290 #endif
16292 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_SCSIREQ_T_CMD 1
16296 _ACEOF
16300 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>
16301 #ifdef HAVE_SCSI_SG_H
16302 #include <scsi/sg.h>
16303 #endif
16305 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16309 _ACEOF
16315 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16317 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_SIGINFO_T_SI_FD 1
16321 _ACEOF
16327 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16328 #ifdef HAVE_SYS_MTIO_H
16329 #include <sys/mtio.h>
16330 #endif
16332 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16336 _ACEOF
16340 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16341 #ifdef HAVE_SYS_MTIO_H
16342 #include <sys/mtio.h>
16343 #endif
16345 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16349 _ACEOF
16353 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16354 #ifdef HAVE_SYS_MTIO_H
16355 #include <sys/mtio.h>
16356 #endif
16358 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16362 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16369 #include <getopt.h>
16370 #endif
16372 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_OPTION_NAME 1
16376 _ACEOF
16382 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16383 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16385 cat >>confdefs.h <<_ACEOF
16386 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16387 _ACEOF
16391 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16392 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_STAT_ST_MTIM 1
16396 _ACEOF
16400 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16401 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16405 _ACEOF
16409 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16410 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_STRUCT_STAT_ST_CTIM 1
16414 _ACEOF
16418 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16419 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16423 _ACEOF
16427 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16428 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_STAT_ST_ATIM 1
16432 _ACEOF
16436 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16437 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16441 _ACEOF
16445 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16446 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16448 cat >>confdefs.h <<_ACEOF
16449 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16450 _ACEOF
16454 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16455 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16457 cat >>confdefs.h <<_ACEOF
16458 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16459 _ACEOF
16463 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16464 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16466 cat >>confdefs.h <<_ACEOF
16467 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16468 _ACEOF
16472 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16473 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16477 _ACEOF
16481 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16482 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16486 _ACEOF
16492 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
16493 #include <sys/types.h>
16494 #endif
16495 #ifdef HAVE_NETINET_IN_H
16496 #include <netinet/in.h>
16497 #endif
16499 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16501 cat >>confdefs.h <<_ACEOF
16502 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16503 _ACEOF
16509 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16510 #include <resolv.h>
16511 #endif
16513 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_STRUCT___RES_STATE 1
16517 _ACEOF
16523 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
16524 #include <resolv.h>
16525 #endif
16527 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16531 _ACEOF
16537 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16538 #include <sys/types.h>
16539 #endif
16540 #ifdef HAVE_NETINET_IN_H
16541 # include <netinet/in.h>
16542 #endif
16543 #ifdef HAVE_ARPA_NAMESER_H
16544 # include <arpa/nameser.h>
16545 #endif
16547 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_NS_MSG__MSG_PTR 1
16551 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16558 #include <sys/types.h>
16559 #endif
16560 #ifdef HAVE_NETINET_IP_H
16561 #include <netinet/ip.h>
16562 #endif
16563 #ifdef HAVE_NETINET_IP_ICMP_H
16564 #include <netinet/ip_icmp.h>
16565 #endif
16566 #ifdef HAVE_NETINET_ICMP_VAR_H
16567 #include <netinet/icmp_var.h>
16568 #endif
16570 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16572 cat >>confdefs.h <<_ACEOF
16573 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16574 _ACEOF
16580 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16581 #include <sys/types.h>
16582 #endif
16583 #ifdef HAVE_ALIAS_H
16584 #include <alias.h>
16585 #endif
16586 #ifdef HAVE_SYS_SOCKET_H
16587 #include <sys/socket.h>
16588 #endif
16589 #ifdef HAVE_SYS_SOCKETVAR_H
16590 #include <sys/socketvar.h>
16591 #endif
16592 #ifdef HAVE_SYS_TIMEOUT_H
16593 #include <sys/timeout.h>
16594 #endif
16595 #ifdef HAVE_NETINET_IN_H
16596 #include <netinet/in.h>
16597 #endif
16598 #ifdef HAVE_NETINET_IN_SYSTM_H
16599 #include <netinet/in_systm.h>
16600 #endif
16601 #ifdef HAVE_NETINET_IP_H
16602 #include <netinet/ip.h>
16603 #endif
16604 #ifdef HAVE_NETINET_IP_VAR_H
16605 #include <netinet/ip_var.h>
16606 #endif
16607 #ifdef HAVE_NETINET_IP_ICMP_H
16608 #include <netinet/ip_icmp.h>
16609 #endif
16610 #ifdef HAVE_NETINET_ICMP_VAR_H
16611 #include <netinet/icmp_var.h>
16612 #endif
16614 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16616 cat >>confdefs.h <<_ACEOF
16617 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16618 _ACEOF
16624 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16625 #include <sys/types.h>
16626 #endif
16627 #ifdef HAVE_SYS_SOCKETVAR_H
16628 #include <sys/socketvar.h>
16629 #endif
16630 #ifdef HAVE_NETINET_IN_H
16631 #include <netinet/in.h>
16632 #endif
16633 #ifdef HAVE_NETINET_IP_VAR_H
16634 #include <netinet/ip_var.h>
16635 #endif
16637 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16641 _ACEOF
16647 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
16648 #include <netinet/ip_var.h>
16649 #endif
16651 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16655 _ACEOF
16661 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16662 #include <sys/types.h>
16663 #endif
16664 #ifdef HAVE_SYS_SOCKETVAR_H
16665 #include <sys/socketvar.h>
16666 #endif
16667 #ifdef HAVE_NETINET_IN_H
16668 #include <netinet/in.h>
16669 #endif
16670 #ifdef HAVE_NETINET_TCP_H
16671 #include <netinet/tcp.h>
16672 #endif
16673 #ifdef HAVE_NETINET_TCP_VAR_H
16674 #include <netinet/tcp_var.h>
16675 #endif
16677 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16679 cat >>confdefs.h <<_ACEOF
16680 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16681 _ACEOF
16687 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
16688 #include <netinet/tcp_var.h>
16689 #endif
16691 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16695 _ACEOF
16701 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16702 #include <sys/types.h>
16703 #endif
16704 #ifdef HAVE_NETINET_IN_H
16705 #include <netinet/in.h>
16706 #endif
16707 #ifdef HAVE_NETINET_IP_VAR_H
16708 #include <netinet/ip_var.h>
16709 #endif
16710 #ifdef HAVE_NETINET_UDP_H
16711 #include <netinet/udp.h>
16712 #endif
16713 #ifdef HAVE_NETINET_UDP_VAR_H
16714 #include <netinet/udp_var.h>
16715 #endif
16717 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16721 _ACEOF
16727 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16728 #include <sys/types.h>
16729 #endif
16730 #ifdef HAVE_NET_IF_H
16731 # include <net/if.h>
16732 #endif
16734 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16736 cat >>confdefs.h <<_ACEOF
16737 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16738 _ACEOF
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16745 $as_echo_n "checking for timezone variable... " >&6; }
16746 if ${ac_cv_have_timezone+:} false; then :
16747 $as_echo_n "(cached) " >&6
16748 else
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <time.h>
16753 main ()
16755 timezone = 1
16757 return 0;
16759 _ACEOF
16760 if ac_fn_c_try_link "$LINENO"; then :
16761 ac_cv_have_timezone="yes"
16762 else
16763 ac_cv_have_timezone="no"
16765 rm -f core conftest.err conftest.$ac_objext \
16766 conftest$ac_exeext conftest.$ac_ext
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16769 $as_echo "$ac_cv_have_timezone" >&6; }
16770 if test "$ac_cv_have_timezone" = "yes"
16771 then
16773 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16777 $as_echo_n "checking for daylight variable... " >&6; }
16778 if ${ac_cv_have_daylight+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16783 #include <time.h>
16785 main ()
16787 daylight = 1
16789 return 0;
16791 _ACEOF
16792 if ac_fn_c_try_link "$LINENO"; then :
16793 ac_cv_have_daylight="yes"
16794 else
16795 ac_cv_have_daylight="no"
16797 rm -f core conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16801 $as_echo "$ac_cv_have_daylight" >&6; }
16802 if test "$ac_cv_have_daylight" = "yes"
16803 then
16805 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16809 ac_save_LIBS="$LIBS"
16810 LIBS="$LIBS -lm"
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16812 $as_echo_n "checking for isfinite... " >&6; }
16813 if ${ac_cv_have_isfinite+:} false; then :
16814 $as_echo_n "(cached) " >&6
16815 else
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16818 #define _GNU_SOURCE
16819 #include <math.h>
16821 main ()
16823 float f = 0.0; return isfinite(f)
16825 return 0;
16827 _ACEOF
16828 if ac_fn_c_try_link "$LINENO"; then :
16829 ac_cv_have_isfinite="yes"
16830 else
16831 ac_cv_have_isfinite="no"
16833 rm -f core conftest.err conftest.$ac_objext \
16834 conftest$ac_exeext conftest.$ac_ext
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16837 $as_echo "$ac_cv_have_isfinite" >&6; }
16838 if test "$ac_cv_have_isfinite" = "yes"
16839 then
16841 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16846 $as_echo_n "checking for isinf... " >&6; }
16847 if ${ac_cv_have_isinf+:} false; then :
16848 $as_echo_n "(cached) " >&6
16849 else
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16852 #include <math.h>
16854 main ()
16856 float f = 0.0; return isinf(f)
16858 return 0;
16860 _ACEOF
16861 if ac_fn_c_try_link "$LINENO"; then :
16862 ac_cv_have_isinf="yes"
16863 else
16864 ac_cv_have_isinf="no"
16866 rm -f core conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext conftest.$ac_ext
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16870 $as_echo "$ac_cv_have_isinf" >&6; }
16871 if test "$ac_cv_have_isinf" = "yes"
16872 then
16874 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16879 $as_echo_n "checking for isnan... " >&6; }
16880 if ${ac_cv_have_isnan+:} false; then :
16881 $as_echo_n "(cached) " >&6
16882 else
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885 #include <math.h>
16887 main ()
16889 float f = 0.0; return isnan(f)
16891 return 0;
16893 _ACEOF
16894 if ac_fn_c_try_link "$LINENO"; then :
16895 ac_cv_have_isnan="yes"
16896 else
16897 ac_cv_have_isnan="no"
16899 rm -f core conftest.err conftest.$ac_objext \
16900 conftest$ac_exeext conftest.$ac_ext
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16903 $as_echo "$ac_cv_have_isnan" >&6; }
16904 if test "$ac_cv_have_isnan" = "yes"
16905 then
16907 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16911 for ac_func in \
16912 asinh \
16913 asinhf \
16914 cbrt \
16915 cbrtf \
16916 erf \
16917 erff \
16918 exp2 \
16919 exp2f \
16920 llrint \
16921 llrintf \
16922 llround \
16923 llroundf \
16924 log2 \
16925 log2f \
16926 lrint \
16927 lrintf \
16928 lround \
16929 lroundf \
16930 remainder \
16931 remainderf \
16932 rint \
16933 rintf \
16934 round \
16935 roundf \
16936 trunc \
16937 truncf
16939 do :
16940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16942 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16943 cat >>confdefs.h <<_ACEOF
16944 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16945 _ACEOF
16948 done
16950 LIBS="$ac_save_LIBS"
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16953 $as_echo_n "checking for __builtin_clz... " >&6; }
16954 if ${ac_cv_have___builtin_clz+:} false; then :
16955 $as_echo_n "(cached) " >&6
16956 else
16957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16958 /* end confdefs.h. */
16961 main ()
16963 return __builtin_clz(1)
16965 return 0;
16967 _ACEOF
16968 if ac_fn_c_try_link "$LINENO"; then :
16969 ac_cv_have___builtin_clz="yes"
16970 else
16971 ac_cv_have___builtin_clz="no"
16973 rm -f core conftest.err conftest.$ac_objext \
16974 conftest$ac_exeext conftest.$ac_ext
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16977 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16978 if test "$ac_cv_have___builtin_clz" = "yes"
16979 then
16981 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16986 $as_echo_n "checking for __builtin_popcount... " >&6; }
16987 if ${ac_cv_have___builtin_popcount+:} false; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16994 main ()
16996 return __builtin_popcount(1)
16998 return 0;
17000 _ACEOF
17001 if ac_fn_c_try_link "$LINENO"; then :
17002 ac_cv_have___builtin_popcount="yes"
17003 else
17004 ac_cv_have___builtin_popcount="no"
17006 rm -f core conftest.err conftest.$ac_objext \
17007 conftest$ac_exeext conftest.$ac_ext
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17010 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17011 if test "$ac_cv_have___builtin_popcount" = "yes"
17012 then
17014 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17019 case $host_cpu in
17020 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17021 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17022 if ${ac_cv_cpp_def___i386__+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #ifndef __i386__
17029 #endif
17030 _ACEOF
17031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17032 $EGREP "yes" >/dev/null 2>&1; then :
17033 ac_cv_cpp_def___i386__=yes
17034 else
17035 ac_cv_cpp_def___i386__=no
17037 rm -f conftest*
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17041 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17042 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17043 CFLAGS="$CFLAGS -D__i386__"
17044 LINTFLAGS="$LINTFLAGS -D__i386__"
17045 fi ;;
17046 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17047 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17048 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #ifndef __x86_64__
17055 #endif
17056 _ACEOF
17057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17058 $EGREP "yes" >/dev/null 2>&1; then :
17059 ac_cv_cpp_def___x86_64__=yes
17060 else
17061 ac_cv_cpp_def___x86_64__=no
17063 rm -f conftest*
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17067 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17068 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17069 CFLAGS="$CFLAGS -D__x86_64__"
17070 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17071 fi ;;
17072 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17073 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17074 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #ifndef __sparc64__
17081 #endif
17082 _ACEOF
17083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17084 $EGREP "yes" >/dev/null 2>&1; then :
17085 ac_cv_cpp_def___sparc64__=yes
17086 else
17087 ac_cv_cpp_def___sparc64__=no
17089 rm -f conftest*
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17093 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17094 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17095 CFLAGS="$CFLAGS -D__sparc64__"
17096 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17097 fi ;;
17098 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17099 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17100 if ${ac_cv_cpp_def___sparc__+:} false; then :
17101 $as_echo_n "(cached) " >&6
17102 else
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #ifndef __sparc__
17107 #endif
17108 _ACEOF
17109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17110 $EGREP "yes" >/dev/null 2>&1; then :
17111 ac_cv_cpp_def___sparc__=yes
17112 else
17113 ac_cv_cpp_def___sparc__=no
17115 rm -f conftest*
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17119 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17120 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17121 CFLAGS="$CFLAGS -D__sparc__"
17122 LINTFLAGS="$LINTFLAGS -D__sparc__"
17123 fi ;;
17124 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17125 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17126 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #ifndef __powerpc64__
17133 #endif
17134 _ACEOF
17135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17136 $EGREP "yes" >/dev/null 2>&1; then :
17137 ac_cv_cpp_def___powerpc64__=yes
17138 else
17139 ac_cv_cpp_def___powerpc64__=no
17141 rm -f conftest*
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17145 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17146 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17147 CFLAGS="$CFLAGS -D__powerpc64__"
17148 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17149 fi ;;
17150 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17151 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17152 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 #ifndef __powerpc__
17159 #endif
17160 _ACEOF
17161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17162 $EGREP "yes" >/dev/null 2>&1; then :
17163 ac_cv_cpp_def___powerpc__=yes
17164 else
17165 ac_cv_cpp_def___powerpc__=no
17167 rm -f conftest*
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17171 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17172 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17173 CFLAGS="$CFLAGS -D__powerpc__"
17174 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17175 fi ;;
17176 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17177 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17178 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 #ifndef __aarch64__
17185 #endif
17186 _ACEOF
17187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17188 $EGREP "yes" >/dev/null 2>&1; then :
17189 ac_cv_cpp_def___aarch64__=yes
17190 else
17191 ac_cv_cpp_def___aarch64__=no
17193 rm -f conftest*
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17197 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17198 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17199 CFLAGS="$CFLAGS -D__aarch64__"
17200 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17201 fi ;;
17202 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17203 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17204 if ${ac_cv_cpp_def___arm__+:} false; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 #ifndef __arm__
17211 #endif
17212 _ACEOF
17213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17214 $EGREP "yes" >/dev/null 2>&1; then :
17215 ac_cv_cpp_def___arm__=yes
17216 else
17217 ac_cv_cpp_def___arm__=no
17219 rm -f conftest*
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17223 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17224 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17225 CFLAGS="$CFLAGS -D__arm__"
17226 LINTFLAGS="$LINTFLAGS -D__arm__"
17227 fi ;;
17228 esac
17230 case $host_vendor in
17231 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17232 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17233 if ${ac_cv_cpp_def___sun__+:} false; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17238 #ifndef __sun__
17240 #endif
17241 _ACEOF
17242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17243 $EGREP "yes" >/dev/null 2>&1; then :
17244 ac_cv_cpp_def___sun__=yes
17245 else
17246 ac_cv_cpp_def___sun__=no
17248 rm -f conftest*
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17252 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17253 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17254 CFLAGS="$CFLAGS -D__sun__"
17255 LINTFLAGS="$LINTFLAGS -D__sun__"
17256 fi ;;
17257 esac
17263 ac_config_commands="$ac_config_commands include/stamp-h"
17265 $as_echo_n "creating Makefile rules..." >&6
17267 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17268 SOCKET_LIBS = $SOCKET_LIBS
17269 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17270 IOKIT_LIBS = $IOKIT_LIBS
17271 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17272 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17273 CORESERVICES_LIBS = $CORESERVICES_LIBS
17274 APPKIT_LIBS = $APPKIT_LIBS
17275 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17276 SECURITY_LIBS = $SECURITY_LIBS
17277 COREAUDIO_LIBS = $COREAUDIO_LIBS
17278 OPENAL_LIBS = $OPENAL_LIBS
17279 OPENCL_LIBS = $OPENCL_LIBS
17280 QUICKTIME_LIBS = $QUICKTIME_LIBS
17281 CARBON_LIBS = $CARBON_LIBS
17282 PTHREAD_LIBS = $PTHREAD_LIBS
17283 X_CFLAGS = $X_CFLAGS
17284 X_PRE_LIBS = $X_PRE_LIBS
17285 X_LIBS = $X_LIBS
17286 X_EXTRA_LIBS = $X_EXTRA_LIBS
17287 PCAP_LIBS = $PCAP_LIBS
17288 XML2_CFLAGS = $XML2_CFLAGS
17289 XML2_LIBS = $XML2_LIBS
17290 XSLT_CFLAGS = $XSLT_CFLAGS
17291 XSLT_LIBS = $XSLT_LIBS
17292 DBUS_CFLAGS = $DBUS_CFLAGS
17293 DBUS_LIBS = $DBUS_LIBS
17294 HAL_CFLAGS = $HAL_CFLAGS
17295 HAL_LIBS = $HAL_LIBS
17296 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17297 GNUTLS_LIBS = $GNUTLS_LIBS
17298 SANE_CFLAGS = $SANE_CFLAGS
17299 SANE_LIBS = $SANE_LIBS
17300 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17301 GPHOTO2_LIBS = $GPHOTO2_LIBS
17302 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17303 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17304 RESOLV_LIBS = $RESOLV_LIBS
17305 LCMS2_CFLAGS = $LCMS2_CFLAGS
17306 LCMS2_LIBS = $LCMS2_LIBS
17307 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17308 FREETYPE_LIBS = $FREETYPE_LIBS
17309 Z_LIBS = $Z_LIBS
17310 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17311 PULSE_CFLAGS = $PULSE_CFLAGS
17312 PULSE_LIBS = $PULSE_LIBS
17313 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17314 GSTREAMER_LIBS = $GSTREAMER_LIBS
17315 ALSA_LIBS = $ALSA_LIBS
17316 OSS4_CFLAGS = $OSS4_CFLAGS
17317 CAPI20_CFLAGS = $CAPI20_CFLAGS
17318 CAPI20_LIBS = $CAPI20_LIBS
17319 CUPS_CFLAGS = $CUPS_CFLAGS
17320 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17321 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17322 JPEG_CFLAGS = $JPEG_CFLAGS
17323 JPEG_LIBS = $JPEG_LIBS
17324 PNG_CFLAGS = $PNG_CFLAGS
17325 PNG_LIBS = $PNG_LIBS
17326 TIFF_CFLAGS = $TIFF_CFLAGS
17327 TIFF_LIBS = $TIFF_LIBS
17328 MPG123_CFLAGS = $MPG123_CFLAGS
17329 MPG123_LIBS = $MPG123_LIBS
17330 KSTAT_LIBS = $KSTAT_LIBS
17331 PROCSTAT_LIBS = $PROCSTAT_LIBS
17332 NETAPI_CFLAGS = $NETAPI_CFLAGS
17333 NETAPI_LIBS = $NETAPI_LIBS
17334 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17335 DL_LIBS = $DL_LIBS
17336 POLL_LIBS = $POLL_LIBS
17337 RT_LIBS = $RT_LIBS
17338 LDAP_LIBS = $LDAP_LIBS
17343 wine_fn_append_rule "
17344 # Rules automatically generated by configure
17346 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17348 .INIT: Makefile
17349 .MAKEFILEDEPS:
17350 all: Makefile
17351 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17352 @./config.status Make.tmp Makefile
17353 depend: \$(MAKEDEP) dummy
17354 \$(MAKEDEP)"
17356 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17357 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17359 if test "x$enable_fonts" != xno; then
17360 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17361 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17362 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17363 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17364 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17365 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17367 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17368 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17369 ac_config_links="$ac_config_links wine:tools/winewrapper"
17370 wine_fn_config_symlink wine
17371 if test "x$enable_win64" != xno; then
17372 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17373 wine_fn_config_symlink wine64
17376 wine_fn_config_dll acledit enable_acledit
17377 wine_fn_config_dll aclui enable_aclui implib
17378 wine_fn_config_dll activeds enable_activeds implib
17379 wine_fn_config_dll actxprxy enable_actxprxy clean
17380 wine_fn_config_lib adsiid
17381 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17382 wine_fn_config_test dlls/advapi32/tests advapi32_test
17383 wine_fn_config_dll advpack enable_advpack implib
17384 wine_fn_config_test dlls/advpack/tests advpack_test
17385 wine_fn_config_dll amstream enable_amstream clean
17386 wine_fn_config_test dlls/amstream/tests amstream_test
17387 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17388 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17389 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17390 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17391 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17392 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17393 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17394 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17395 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17396 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17397 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17398 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17399 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17400 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17401 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17402 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17403 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17404 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17405 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17406 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17407 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17408 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17409 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17410 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17411 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17412 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17413 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17414 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17415 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17416 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17417 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17418 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17419 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17420 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17421 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17423 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17424 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17425 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17426 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17427 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17428 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17429 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17430 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17431 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17432 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17433 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17434 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17435 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17436 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17437 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17438 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17439 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17440 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17442 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17443 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17444 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17446 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17447 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17448 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17451 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17454 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17455 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17457 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17460 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17461 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17462 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17463 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17464 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17465 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17466 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17467 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17468 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17469 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17470 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17471 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17472 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17473 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17474 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17475 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17476 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17477 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17478 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17479 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17480 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17481 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17482 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17483 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17484 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17485 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17486 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17487 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17488 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17489 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17490 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17491 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17492 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17493 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17494 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17495 wine_fn_config_dll apphelp enable_apphelp
17496 wine_fn_config_test dlls/apphelp/tests apphelp_test
17497 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17498 wine_fn_config_dll atl enable_atl clean,implib
17499 wine_fn_config_test dlls/atl/tests atl_test
17500 wine_fn_config_dll atl100 enable_atl100 clean,implib
17501 wine_fn_config_test dlls/atl100/tests atl100_test
17502 wine_fn_config_dll atl110 enable_atl110 clean
17503 wine_fn_config_dll atl80 enable_atl80 clean,implib
17504 wine_fn_config_test dlls/atl80/tests atl80_test
17505 wine_fn_config_dll atl90 enable_atl90 clean
17506 wine_fn_config_dll authz enable_authz
17507 wine_fn_config_dll avicap32 enable_avicap32 implib
17508 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17509 wine_fn_config_test dlls/avifil32/tests avifil32_test
17510 wine_fn_config_dll avifile.dll16 enable_win16
17511 wine_fn_config_dll avrt enable_avrt implib
17512 wine_fn_config_dll bcrypt enable_bcrypt implib
17513 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17514 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17515 wine_fn_config_dll browseui enable_browseui clean
17516 wine_fn_config_test dlls/browseui/tests browseui_test
17517 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17518 wine_fn_config_dll cabinet enable_cabinet implib
17519 wine_fn_config_test dlls/cabinet/tests cabinet_test
17520 wine_fn_config_dll capi2032 enable_capi2032 implib
17521 wine_fn_config_dll cards enable_cards implib
17522 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17523 wine_fn_config_dll clusapi enable_clusapi implib
17524 wine_fn_config_dll combase enable_combase
17525 wine_fn_config_test dlls/combase/tests combase_test
17526 wine_fn_config_dll comcat enable_comcat
17527 wine_fn_config_test dlls/comcat/tests comcat_test
17528 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17529 wine_fn_config_test dlls/comctl32/tests comctl32_test
17530 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17531 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17532 wine_fn_config_dll comm.drv16 enable_win16
17533 wine_fn_config_dll commdlg.dll16 enable_win16
17534 wine_fn_config_dll compobj.dll16 enable_win16
17535 wine_fn_config_dll compstui enable_compstui implib
17536 wine_fn_config_dll comsvcs enable_comsvcs implib
17537 wine_fn_config_dll connect enable_connect
17538 wine_fn_config_dll credui enable_credui clean,implib
17539 wine_fn_config_test dlls/credui/tests credui_test
17540 wine_fn_config_dll crtdll enable_crtdll implib
17541 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17542 wine_fn_config_test dlls/crypt32/tests crypt32_test
17543 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17544 wine_fn_config_dll cryptdll enable_cryptdll implib
17545 wine_fn_config_dll cryptext enable_cryptext
17546 wine_fn_config_dll cryptnet enable_cryptnet implib
17547 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17548 wine_fn_config_dll cryptui enable_cryptui clean,implib
17549 wine_fn_config_test dlls/cryptui/tests cryptui_test
17550 wine_fn_config_dll ctapi32 enable_ctapi32
17551 wine_fn_config_dll ctl3d.dll16 enable_win16
17552 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17553 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17554 wine_fn_config_dll d2d1 enable_d2d1 implib
17555 wine_fn_config_test dlls/d2d1/tests d2d1_test
17556 wine_fn_config_dll d3d10 enable_d3d10 implib
17557 wine_fn_config_test dlls/d3d10/tests d3d10_test
17558 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17559 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17560 wine_fn_config_dll d3d10core enable_d3d10core implib
17561 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17562 wine_fn_config_dll d3d11 enable_d3d11 implib
17563 wine_fn_config_test dlls/d3d11/tests d3d11_test
17564 wine_fn_config_dll d3d8 enable_d3d8 implib
17565 wine_fn_config_test dlls/d3d8/tests d3d8_test
17566 wine_fn_config_dll d3d9 enable_d3d9 implib
17567 wine_fn_config_test dlls/d3d9/tests d3d9_test
17568 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17569 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17570 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17571 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17572 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17573 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17574 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17575 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17576 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17577 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17578 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17579 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17580 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17581 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17582 wine_fn_config_dll d3dim enable_d3dim implib
17583 wine_fn_config_dll d3drm enable_d3drm implib
17584 wine_fn_config_test dlls/d3drm/tests d3drm_test
17585 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17586 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17587 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17588 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17589 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17590 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17591 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17592 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17593 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17594 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17595 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17596 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17597 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17598 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17599 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17600 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17601 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17602 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17603 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17604 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17605 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17606 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17607 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17608 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17609 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17610 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17611 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17612 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17613 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17614 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17615 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17616 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17617 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17618 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17619 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17620 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17621 wine_fn_config_dll davclnt enable_davclnt
17622 wine_fn_config_dll dbgeng enable_dbgeng implib
17623 wine_fn_config_dll dbghelp enable_dbghelp implib
17624 wine_fn_config_dll dciman32 enable_dciman32 implib
17625 wine_fn_config_dll ddeml.dll16 enable_win16
17626 wine_fn_config_dll ddraw enable_ddraw clean,implib
17627 wine_fn_config_test dlls/ddraw/tests ddraw_test
17628 wine_fn_config_dll ddrawex enable_ddrawex clean
17629 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17630 wine_fn_config_dll devenum enable_devenum clean
17631 wine_fn_config_test dlls/devenum/tests devenum_test
17632 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17633 wine_fn_config_dll difxapi enable_difxapi
17634 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17635 wine_fn_config_test dlls/dinput/tests dinput_test
17636 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17637 wine_fn_config_test dlls/dinput8/tests dinput8_test
17638 wine_fn_config_dll dispdib.dll16 enable_win16
17639 wine_fn_config_dll dispex enable_dispex clean
17640 wine_fn_config_test dlls/dispex/tests dispex_test
17641 wine_fn_config_dll display.drv16 enable_win16
17642 wine_fn_config_dll dmband enable_dmband clean
17643 wine_fn_config_test dlls/dmband/tests dmband_test
17644 wine_fn_config_dll dmcompos enable_dmcompos clean
17645 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17646 wine_fn_config_dll dmime enable_dmime clean
17647 wine_fn_config_test dlls/dmime/tests dmime_test
17648 wine_fn_config_dll dmloader enable_dmloader clean
17649 wine_fn_config_test dlls/dmloader/tests dmloader_test
17650 wine_fn_config_dll dmscript enable_dmscript clean
17651 wine_fn_config_test dlls/dmscript/tests dmscript_test
17652 wine_fn_config_dll dmstyle enable_dmstyle clean
17653 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17654 wine_fn_config_dll dmsynth enable_dmsynth clean
17655 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17656 wine_fn_config_dll dmusic enable_dmusic clean
17657 wine_fn_config_test dlls/dmusic/tests dmusic_test
17658 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17659 wine_fn_config_dll dnsapi enable_dnsapi implib
17660 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17661 wine_fn_config_dll dplay enable_dplay implib
17662 wine_fn_config_dll dplayx enable_dplayx clean,implib
17663 wine_fn_config_test dlls/dplayx/tests dplayx_test
17664 wine_fn_config_dll dpnaddr enable_dpnaddr
17665 wine_fn_config_dll dpnet enable_dpnet clean,implib
17666 wine_fn_config_test dlls/dpnet/tests dpnet_test
17667 wine_fn_config_dll dpnhpast enable_dpnhpast
17668 wine_fn_config_dll dpnlobby enable_dpnlobby
17669 wine_fn_config_dll dpvoice enable_dpvoice clean
17670 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17671 wine_fn_config_dll dpwsockx enable_dpwsockx
17672 wine_fn_config_dll drmclien enable_drmclien
17673 wine_fn_config_dll dsound enable_dsound clean,implib
17674 wine_fn_config_test dlls/dsound/tests dsound_test
17675 wine_fn_config_dll dssenh enable_dssenh
17676 wine_fn_config_test dlls/dssenh/tests dssenh_test
17677 wine_fn_config_dll dswave enable_dswave clean
17678 wine_fn_config_test dlls/dswave/tests dswave_test
17679 wine_fn_config_dll dwmapi enable_dwmapi implib
17680 wine_fn_config_dll dwrite enable_dwrite implib
17681 wine_fn_config_test dlls/dwrite/tests dwrite_test
17682 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17683 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17684 wine_fn_config_lib dxerr8
17685 wine_fn_config_lib dxerr9
17686 wine_fn_config_dll dxgi enable_dxgi implib
17687 wine_fn_config_test dlls/dxgi/tests dxgi_test
17688 wine_fn_config_lib dxguid
17689 wine_fn_config_dll dxva2 enable_dxva2
17690 wine_fn_config_dll esent enable_esent
17691 wine_fn_config_dll evr enable_evr
17692 wine_fn_config_dll explorerframe enable_explorerframe clean
17693 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17694 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17695 wine_fn_config_dll faultrep enable_faultrep implib
17696 wine_fn_config_test dlls/faultrep/tests faultrep_test
17697 wine_fn_config_dll fltlib enable_fltlib
17698 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17699 wine_fn_config_dll fntcache enable_fntcache
17700 wine_fn_config_dll fontsub enable_fontsub
17701 wine_fn_config_dll fusion enable_fusion
17702 wine_fn_config_test dlls/fusion/tests fusion_test
17703 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17704 wine_fn_config_dll gameux enable_gameux clean
17705 wine_fn_config_test dlls/gameux/tests gameux_test
17706 wine_fn_config_dll gdi.exe16 enable_win16
17707 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17708 wine_fn_config_test dlls/gdi32/tests gdi32_test
17709 wine_fn_config_dll gdiplus enable_gdiplus implib
17710 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17711 wine_fn_config_dll glu32 enable_glu32 implib
17712 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17713 wine_fn_config_dll gpkcsp enable_gpkcsp
17714 wine_fn_config_dll hal enable_hal
17715 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17716 wine_fn_config_dll hid enable_hid implib
17717 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17718 wine_fn_config_dll hlink enable_hlink clean,implib
17719 wine_fn_config_test dlls/hlink/tests hlink_test
17720 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17721 wine_fn_config_dll httpapi enable_httpapi
17722 wine_fn_config_dll iccvid enable_iccvid clean
17723 wine_fn_config_dll icmp enable_icmp
17724 wine_fn_config_dll ieframe enable_ieframe clean,implib
17725 wine_fn_config_test dlls/ieframe/tests ieframe_test
17726 wine_fn_config_dll ifsmgr.vxd enable_win16
17727 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17728 wine_fn_config_dll imagehlp enable_imagehlp implib
17729 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17730 wine_fn_config_dll imm.dll16 enable_win16
17731 wine_fn_config_dll imm32 enable_imm32 implib
17732 wine_fn_config_test dlls/imm32/tests imm32_test
17733 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17734 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17735 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17736 wine_fn_config_dll inetmib1 enable_inetmib1
17737 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17738 wine_fn_config_dll infosoft enable_infosoft clean
17739 wine_fn_config_test dlls/infosoft/tests infosoft_test
17740 wine_fn_config_dll initpki enable_initpki
17741 wine_fn_config_dll inkobj enable_inkobj
17742 wine_fn_config_dll inseng enable_inseng clean
17743 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17744 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17745 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17746 wine_fn_config_dll itircl enable_itircl
17747 wine_fn_config_dll itss enable_itss clean
17748 wine_fn_config_test dlls/itss/tests itss_test
17749 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17750 wine_fn_config_dll jscript enable_jscript clean
17751 wine_fn_config_test dlls/jscript/tests jscript_test
17752 wine_fn_config_dll jsproxy enable_jsproxy implib
17753 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17754 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17755 wine_fn_config_test dlls/kernel32/tests kernel32_test
17756 wine_fn_config_dll kernelbase enable_kernelbase
17757 wine_fn_config_dll keyboard.drv16 enable_win16
17758 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17759 wine_fn_config_dll ksuser enable_ksuser
17760 wine_fn_config_dll ktmw32 enable_ktmw32
17761 wine_fn_config_dll loadperf enable_loadperf implib
17762 wine_fn_config_dll localspl enable_localspl clean
17763 wine_fn_config_test dlls/localspl/tests localspl_test
17764 wine_fn_config_dll localui enable_localui clean
17765 wine_fn_config_test dlls/localui/tests localui_test
17766 wine_fn_config_dll lz32 enable_lz32 implib
17767 wine_fn_config_test dlls/lz32/tests lz32_test
17768 wine_fn_config_dll lzexpand.dll16 enable_win16
17769 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17770 wine_fn_config_test dlls/mapi32/tests mapi32_test
17771 wine_fn_config_dll mapistub enable_mapistub
17772 wine_fn_config_dll mciavi32 enable_mciavi32
17773 wine_fn_config_dll mcicda enable_mcicda
17774 wine_fn_config_dll mciqtz32 enable_mciqtz32
17775 wine_fn_config_dll mciseq enable_mciseq
17776 wine_fn_config_dll mciwave enable_mciwave
17777 wine_fn_config_dll mf enable_mf
17778 wine_fn_config_dll mfplat enable_mfplat
17779 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17780 wine_fn_config_dll mgmtapi enable_mgmtapi
17781 wine_fn_config_dll midimap enable_midimap
17782 wine_fn_config_dll mlang enable_mlang clean,implib
17783 wine_fn_config_test dlls/mlang/tests mlang_test
17784 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17785 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17786 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17787 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17788 wine_fn_config_dll mmdevldr.vxd enable_win16
17789 wine_fn_config_dll mmsystem.dll16 enable_win16
17790 wine_fn_config_dll monodebg.vxd enable_win16
17791 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17792 wine_fn_config_dll mouse.drv16 enable_win16
17793 wine_fn_config_dll mpr enable_mpr clean,implib
17794 wine_fn_config_test dlls/mpr/tests mpr_test
17795 wine_fn_config_dll mprapi enable_mprapi implib
17796 wine_fn_config_dll msacm.dll16 enable_win16
17797 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17798 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17799 wine_fn_config_test dlls/msacm32/tests msacm32_test
17800 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17801 wine_fn_config_dll msasn1 enable_msasn1 implib
17802 wine_fn_config_dll mscat32 enable_mscat32
17803 wine_fn_config_dll mscms enable_mscms implib
17804 wine_fn_config_test dlls/mscms/tests mscms_test
17805 wine_fn_config_dll mscoree enable_mscoree clean
17806 wine_fn_config_test dlls/mscoree/tests mscoree_test
17807 wine_fn_config_dll msctf enable_msctf clean
17808 wine_fn_config_test dlls/msctf/tests msctf_test
17809 wine_fn_config_dll msctfp enable_msctfp clean
17810 wine_fn_config_dll msdaps enable_msdaps clean
17811 wine_fn_config_dll msdelta enable_msdelta
17812 wine_fn_config_dll msdmo enable_msdmo implib
17813 wine_fn_config_test dlls/msdmo/tests msdmo_test
17814 wine_fn_config_dll msdrm enable_msdrm
17815 wine_fn_config_dll msftedit enable_msftedit
17816 wine_fn_config_dll msg711.acm enable_msg711_acm
17817 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17818 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17819 wine_fn_config_dll mshtml enable_mshtml clean,implib
17820 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17821 wine_fn_config_dll msi enable_msi clean,implib
17822 wine_fn_config_test dlls/msi/tests msi_test
17823 wine_fn_config_dll msident enable_msident clean
17824 wine_fn_config_dll msimg32 enable_msimg32 implib
17825 wine_fn_config_dll msimsg enable_msimsg
17826 wine_fn_config_dll msimtf enable_msimtf clean
17827 wine_fn_config_dll msisip enable_msisip
17828 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17829 wine_fn_config_dll msls31 enable_msls31
17830 wine_fn_config_dll msnet32 enable_msnet32
17831 wine_fn_config_dll mspatcha enable_mspatcha implib
17832 wine_fn_config_dll msrle32 enable_msrle32 clean
17833 wine_fn_config_test dlls/msrle32/tests msrle32_test
17834 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17835 wine_fn_config_dll mssign32 enable_mssign32
17836 wine_fn_config_dll mssip32 enable_mssip32
17837 wine_fn_config_dll mstask enable_mstask clean
17838 wine_fn_config_test dlls/mstask/tests mstask_test
17839 wine_fn_config_dll msvcirt enable_msvcirt
17840 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17841 wine_fn_config_dll msvcm80 enable_msvcm80
17842 wine_fn_config_dll msvcm90 enable_msvcm90
17843 wine_fn_config_dll msvcp100 enable_msvcp100
17844 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17845 wine_fn_config_dll msvcp110 enable_msvcp110
17846 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17847 wine_fn_config_dll msvcp120 enable_msvcp120
17848 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17849 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17850 wine_fn_config_dll msvcp60 enable_msvcp60
17851 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17852 wine_fn_config_dll msvcp70 enable_msvcp70
17853 wine_fn_config_dll msvcp71 enable_msvcp71
17854 wine_fn_config_dll msvcp80 enable_msvcp80
17855 wine_fn_config_dll msvcp90 enable_msvcp90
17856 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17857 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17858 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17859 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17860 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17861 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17862 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17863 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17864 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17865 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17866 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17867 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17868 wine_fn_config_dll msvcrt enable_msvcrt implib
17869 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17870 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17871 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17872 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17873 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17874 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17875 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17876 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17877 wine_fn_config_dll msvideo.dll16 enable_win16
17878 wine_fn_config_dll mswsock enable_mswsock implib
17879 wine_fn_config_dll msxml enable_msxml clean
17880 wine_fn_config_dll msxml2 enable_msxml2 clean
17881 wine_fn_config_dll msxml3 enable_msxml3 clean
17882 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17883 wine_fn_config_dll msxml4 enable_msxml4 clean
17884 wine_fn_config_dll msxml6 enable_msxml6 clean
17885 wine_fn_config_dll nddeapi enable_nddeapi implib
17886 wine_fn_config_dll ndis.sys enable_ndis_sys
17887 wine_fn_config_dll netapi32 enable_netapi32 implib
17888 wine_fn_config_test dlls/netapi32/tests netapi32_test
17889 wine_fn_config_dll netcfgx enable_netcfgx clean
17890 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17891 wine_fn_config_dll netprofm enable_netprofm clean
17892 wine_fn_config_test dlls/netprofm/tests netprofm_test
17893 wine_fn_config_dll newdev enable_newdev implib
17894 wine_fn_config_dll normaliz enable_normaliz implib
17895 wine_fn_config_dll npmshtml enable_npmshtml
17896 wine_fn_config_dll npptools enable_npptools
17897 wine_fn_config_dll ntdll enable_ntdll implib
17898 wine_fn_config_test dlls/ntdll/tests ntdll_test
17899 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17900 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17901 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17902 wine_fn_config_dll ntprint enable_ntprint
17903 wine_fn_config_test dlls/ntprint/tests ntprint_test
17904 wine_fn_config_dll objsel enable_objsel clean
17905 wine_fn_config_dll odbc32 enable_odbc32 implib
17906 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17907 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17908 wine_fn_config_dll odbccu32 enable_odbccu32
17909 wine_fn_config_dll ole2.dll16 enable_win16
17910 wine_fn_config_dll ole2conv.dll16 enable_win16
17911 wine_fn_config_dll ole2disp.dll16 enable_win16
17912 wine_fn_config_dll ole2nls.dll16 enable_win16
17913 wine_fn_config_dll ole2prox.dll16 enable_win16
17914 wine_fn_config_dll ole2thk.dll16 enable_win16
17915 wine_fn_config_dll ole32 enable_ole32 clean,implib
17916 wine_fn_config_test dlls/ole32/tests ole32_test
17917 wine_fn_config_dll oleacc enable_oleacc clean,implib
17918 wine_fn_config_test dlls/oleacc/tests oleacc_test
17919 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17920 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17921 wine_fn_config_dll olecli.dll16 enable_win16
17922 wine_fn_config_dll olecli32 enable_olecli32 implib
17923 wine_fn_config_dll oledb32 enable_oledb32 clean
17924 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17925 wine_fn_config_dll oledlg enable_oledlg clean,implib
17926 wine_fn_config_test dlls/oledlg/tests oledlg_test
17927 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17928 wine_fn_config_dll olesvr.dll16 enable_win16
17929 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17930 wine_fn_config_dll olethk32 enable_olethk32
17931 wine_fn_config_dll openal32 enable_openal32
17932 wine_fn_config_dll opencl enable_opencl
17933 wine_fn_config_dll opengl32 enable_opengl32 implib
17934 wine_fn_config_test dlls/opengl32/tests opengl32_test
17935 wine_fn_config_dll packager enable_packager clean
17936 wine_fn_config_test dlls/packager/tests packager_test
17937 wine_fn_config_dll pdh enable_pdh implib
17938 wine_fn_config_test dlls/pdh/tests pdh_test
17939 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17940 wine_fn_config_dll pidgen enable_pidgen
17941 wine_fn_config_dll powrprof enable_powrprof implib
17942 wine_fn_config_dll printui enable_printui
17943 wine_fn_config_dll prntvpt enable_prntvpt
17944 wine_fn_config_dll propsys enable_propsys clean,implib
17945 wine_fn_config_test dlls/propsys/tests propsys_test
17946 wine_fn_config_dll psapi enable_psapi implib
17947 wine_fn_config_test dlls/psapi/tests psapi_test
17948 wine_fn_config_dll pstorec enable_pstorec clean
17949 wine_fn_config_dll qcap enable_qcap
17950 wine_fn_config_test dlls/qcap/tests qcap_test
17951 wine_fn_config_dll qedit enable_qedit clean
17952 wine_fn_config_test dlls/qedit/tests qedit_test
17953 wine_fn_config_dll qmgr enable_qmgr clean
17954 wine_fn_config_test dlls/qmgr/tests qmgr_test
17955 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17956 wine_fn_config_dll quartz enable_quartz clean,implib
17957 wine_fn_config_test dlls/quartz/tests quartz_test clean
17958 wine_fn_config_dll query enable_query
17959 wine_fn_config_dll rasapi16.dll16 enable_win16
17960 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17961 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17962 wine_fn_config_dll rasdlg enable_rasdlg implib
17963 wine_fn_config_dll regapi enable_regapi
17964 wine_fn_config_dll resutils enable_resutils implib
17965 wine_fn_config_dll riched20 enable_riched20 clean,implib
17966 wine_fn_config_test dlls/riched20/tests riched20_test
17967 wine_fn_config_dll riched32 enable_riched32
17968 wine_fn_config_test dlls/riched32/tests riched32_test
17969 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17970 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17971 wine_fn_config_dll rsabase enable_rsabase
17972 wine_fn_config_dll rsaenh enable_rsaenh implib
17973 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17974 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17975 wine_fn_config_dll rtutils enable_rtutils implib
17976 wine_fn_config_dll samlib enable_samlib
17977 wine_fn_config_dll sane.ds enable_sane_ds clean
17978 wine_fn_config_dll scarddlg enable_scarddlg
17979 wine_fn_config_dll sccbase enable_sccbase
17980 wine_fn_config_dll schannel enable_schannel
17981 wine_fn_config_test dlls/schannel/tests schannel_test
17982 wine_fn_config_dll schedsvc enable_schedsvc clean
17983 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17984 wine_fn_config_dll scrrun enable_scrrun clean
17985 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17986 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17987 wine_fn_config_dll secur32 enable_secur32 implib
17988 wine_fn_config_test dlls/secur32/tests secur32_test
17989 wine_fn_config_dll security enable_security
17990 wine_fn_config_dll sensapi enable_sensapi implib
17991 wine_fn_config_dll serialui enable_serialui clean,implib
17992 wine_fn_config_test dlls/serialui/tests serialui_test
17993 wine_fn_config_dll setupapi enable_setupapi clean,implib
17994 wine_fn_config_test dlls/setupapi/tests setupapi_test
17995 wine_fn_config_dll setupx.dll16 enable_win16
17996 wine_fn_config_dll sfc enable_sfc implib
17997 wine_fn_config_dll sfc_os enable_sfc_os implib
17998 wine_fn_config_dll shdoclc enable_shdoclc clean
17999 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18000 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18001 wine_fn_config_dll shell.dll16 enable_win16
18002 wine_fn_config_dll shell32 enable_shell32 clean,implib
18003 wine_fn_config_test dlls/shell32/tests shell32_test
18004 wine_fn_config_dll shfolder enable_shfolder implib
18005 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18006 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18007 wine_fn_config_dll slbcsp enable_slbcsp
18008 wine_fn_config_dll slc enable_slc implib
18009 wine_fn_config_test dlls/slc/tests slc_test
18010 wine_fn_config_dll snmpapi enable_snmpapi implib
18011 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18012 wine_fn_config_dll softpub enable_softpub
18013 wine_fn_config_dll sound.drv16 enable_win16
18014 wine_fn_config_dll spoolss enable_spoolss implib
18015 wine_fn_config_test dlls/spoolss/tests spoolss_test
18016 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18017 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18018 wine_fn_config_dll sti enable_sti clean,implib
18019 wine_fn_config_test dlls/sti/tests sti_test
18020 wine_fn_config_dll storage.dll16 enable_win16
18021 wine_fn_config_dll stress.dll16 enable_win16
18022 wine_fn_config_lib strmbase
18023 wine_fn_config_lib strmiids
18024 wine_fn_config_dll svrapi enable_svrapi
18025 wine_fn_config_dll sxs enable_sxs implib
18026 wine_fn_config_test dlls/sxs/tests sxs_test
18027 wine_fn_config_dll system.drv16 enable_win16
18028 wine_fn_config_dll t2embed enable_t2embed implib
18029 wine_fn_config_test dlls/t2embed/tests t2embed_test
18030 wine_fn_config_dll tapi32 enable_tapi32 implib
18031 wine_fn_config_dll taskschd enable_taskschd clean
18032 wine_fn_config_test dlls/taskschd/tests taskschd_test
18033 wine_fn_config_dll tdi.sys enable_tdi_sys
18034 wine_fn_config_dll toolhelp.dll16 enable_win16
18035 wine_fn_config_dll traffic enable_traffic
18036 wine_fn_config_dll twain.dll16 enable_win16
18037 wine_fn_config_dll twain_32 enable_twain_32
18038 wine_fn_config_test dlls/twain_32/tests twain_32_test
18039 wine_fn_config_dll typelib.dll16 enable_win16
18040 wine_fn_config_dll ucrtbase enable_ucrtbase
18041 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18042 wine_fn_config_dll unicows enable_unicows implib
18043 wine_fn_config_dll updspapi enable_updspapi
18044 wine_fn_config_dll url enable_url implib
18045 wine_fn_config_dll urlmon enable_urlmon clean,implib
18046 wine_fn_config_test dlls/urlmon/tests urlmon_test
18047 wine_fn_config_dll usbd.sys enable_usbd_sys implib
18048 wine_fn_config_dll user.exe16 enable_win16
18049 wine_fn_config_dll user32 enable_user32 clean,implib
18050 wine_fn_config_test dlls/user32/tests user32_test
18051 wine_fn_config_dll userenv enable_userenv implib
18052 wine_fn_config_test dlls/userenv/tests userenv_test
18053 wine_fn_config_dll usp10 enable_usp10 implib
18054 wine_fn_config_test dlls/usp10/tests usp10_test
18055 wine_fn_config_lib uuid
18056 wine_fn_config_dll uxtheme enable_uxtheme implib
18057 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18058 wine_fn_config_dll vbscript enable_vbscript clean
18059 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18060 wine_fn_config_dll vcomp enable_vcomp
18061 wine_fn_config_test dlls/vcomp/tests vcomp_test
18062 wine_fn_config_dll vcomp100 enable_vcomp100
18063 wine_fn_config_dll vcomp110 enable_vcomp110
18064 wine_fn_config_dll vcomp120 enable_vcomp120
18065 wine_fn_config_dll vcomp90 enable_vcomp90
18066 wine_fn_config_dll vcruntime140 enable_vcruntime140
18067 wine_fn_config_dll vdhcp.vxd enable_win16
18068 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18069 wine_fn_config_dll ver.dll16 enable_win16
18070 wine_fn_config_dll version enable_version implib
18071 wine_fn_config_test dlls/version/tests version_test
18072 wine_fn_config_dll vmm.vxd enable_win16
18073 wine_fn_config_dll vnbt.vxd enable_win16
18074 wine_fn_config_dll vnetbios.vxd enable_win16
18075 wine_fn_config_dll vssapi enable_vssapi
18076 wine_fn_config_dll vtdapi.vxd enable_win16
18077 wine_fn_config_dll vwin32.vxd enable_win16
18078 wine_fn_config_dll w32skrnl enable_win16
18079 wine_fn_config_dll w32sys.dll16 enable_win16
18080 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18081 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18082 wine_fn_config_dll wbemprox enable_wbemprox clean
18083 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18084 wine_fn_config_dll webservices enable_webservices implib
18085 wine_fn_config_test dlls/webservices/tests webservices_test
18086 wine_fn_config_dll wer enable_wer implib
18087 wine_fn_config_test dlls/wer/tests wer_test
18088 wine_fn_config_dll wevtapi enable_wevtapi
18089 wine_fn_config_dll wiaservc enable_wiaservc clean
18090 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18091 wine_fn_config_dll wimgapi enable_wimgapi
18092 wine_fn_config_dll win32s16.dll16 enable_win16
18093 wine_fn_config_dll win87em.dll16 enable_win16
18094 wine_fn_config_dll winaspi.dll16 enable_win16
18095 wine_fn_config_dll windebug.dll16 enable_win16
18096 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18097 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18098 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18099 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18100 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18101 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18102 wine_fn_config_lib winecrt0
18103 wine_fn_config_dll wined3d enable_wined3d implib
18104 wine_fn_config_dll winegstreamer enable_winegstreamer
18105 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18106 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18107 wine_fn_config_dll winemapi enable_winemapi
18108 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18109 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18110 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18111 wine_fn_config_dll wineps16.drv16 enable_win16
18112 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18113 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18114 wine_fn_config_dll winex11.drv enable_winex11_drv
18115 wine_fn_config_dll wing.dll16 enable_win16
18116 wine_fn_config_dll wing32 enable_wing32
18117 wine_fn_config_dll winhttp enable_winhttp clean,implib
18118 wine_fn_config_test dlls/winhttp/tests winhttp_test
18119 wine_fn_config_dll wininet enable_wininet clean,implib
18120 wine_fn_config_test dlls/wininet/tests wininet_test
18121 wine_fn_config_dll winmm enable_winmm clean,implib
18122 wine_fn_config_test dlls/winmm/tests winmm_test
18123 wine_fn_config_dll winnls.dll16 enable_win16
18124 wine_fn_config_dll winnls32 enable_winnls32 implib
18125 wine_fn_config_dll winscard enable_winscard implib
18126 wine_fn_config_dll winsock.dll16 enable_win16
18127 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18128 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18129 wine_fn_config_dll winsta enable_winsta
18130 wine_fn_config_dll wintab.dll16 enable_win16
18131 wine_fn_config_dll wintab32 enable_wintab32 implib
18132 wine_fn_config_test dlls/wintab32/tests wintab32_test
18133 wine_fn_config_dll wintrust enable_wintrust implib
18134 wine_fn_config_test dlls/wintrust/tests wintrust_test
18135 wine_fn_config_dll wlanapi enable_wlanapi
18136 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18137 wine_fn_config_test dlls/wldap32/tests wldap32_test
18138 wine_fn_config_dll wmasf enable_wmasf
18139 wine_fn_config_dll wmi enable_wmi
18140 wine_fn_config_dll wmiutils enable_wmiutils clean
18141 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18142 wine_fn_config_dll wmp enable_wmp clean
18143 wine_fn_config_test dlls/wmp/tests wmp_test
18144 wine_fn_config_dll wmvcore enable_wmvcore
18145 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18146 wine_fn_config_dll wow32 enable_win16 implib
18147 wine_fn_config_dll wpcap enable_wpcap
18148 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18149 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18150 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18151 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18152 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18153 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18154 wine_fn_config_dll wsock32 enable_wsock32 implib
18155 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18156 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18157 wine_fn_config_dll wuapi enable_wuapi clean
18158 wine_fn_config_dll wuaueng enable_wuaueng
18159 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18160 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18161 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18162 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18163 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18164 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18165 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18166 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18167 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18168 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18169 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18170 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18171 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18172 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18173 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18174 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18175 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18176 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18177 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18178 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18179 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18180 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18181 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18182 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18183 wine_fn_config_dll xinput1_1 enable_xinput1_1
18184 wine_fn_config_dll xinput1_2 enable_xinput1_2
18185 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18186 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18187 wine_fn_config_dll xinput1_4 enable_xinput1_4
18188 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18189 wine_fn_config_dll xmllite enable_xmllite implib
18190 wine_fn_config_test dlls/xmllite/tests xmllite_test
18191 wine_fn_config_dll xolehlp enable_xolehlp
18192 wine_fn_config_dll xpsprint enable_xpsprint
18193 wine_fn_config_dll xpssvcs enable_xpssvcs
18194 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18195 wine_fn_config_makefile include enable_include clean,install-dev
18196 wine_fn_config_makefile libs/port enable_libs_port
18197 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18198 wine_fn_config_makefile libs/wpp enable_libs_wpp
18199 wine_fn_config_makefile loader enable_loader clean,install-lib
18200 wine_fn_config_makefile po enable_po clean
18201 wine_fn_config_program arp enable_arp install
18202 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18203 wine_fn_config_program attrib enable_attrib clean,install
18204 wine_fn_config_program cabarc enable_cabarc install
18205 wine_fn_config_program cacls enable_cacls install
18206 wine_fn_config_program clock enable_clock clean,install
18207 wine_fn_config_program cmd enable_cmd clean,install
18208 wine_fn_config_test programs/cmd/tests cmd.exe_test
18209 wine_fn_config_program conhost enable_conhost install
18210 wine_fn_config_program control enable_control install
18211 wine_fn_config_program cscript enable_cscript clean,install
18212 wine_fn_config_program dpnsvr enable_dpnsvr install
18213 wine_fn_config_program dxdiag enable_dxdiag clean,install
18214 wine_fn_config_program eject enable_eject install
18215 wine_fn_config_program expand enable_expand install
18216 wine_fn_config_program explorer enable_explorer clean,install
18217 wine_fn_config_program extrac32 enable_extrac32 install
18218 wine_fn_config_program findstr enable_findstr install
18219 wine_fn_config_program fsutil enable_fsutil install
18220 wine_fn_config_program hh enable_hh install
18221 wine_fn_config_program hostname enable_hostname clean,install
18222 wine_fn_config_program icacls enable_icacls install
18223 wine_fn_config_program icinfo enable_icinfo install
18224 wine_fn_config_program iexplore enable_iexplore install
18225 wine_fn_config_program ipconfig enable_ipconfig clean,install
18226 wine_fn_config_program lodctr enable_lodctr install
18227 wine_fn_config_program mofcomp enable_mofcomp install
18228 wine_fn_config_program mshta enable_mshta install
18229 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18230 wine_fn_config_program net enable_net clean,install
18231 wine_fn_config_program netsh enable_netsh install
18232 wine_fn_config_program netstat enable_netstat clean,install
18233 wine_fn_config_program ngen enable_ngen install
18234 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18235 wine_fn_config_program oleview enable_oleview clean,install
18236 wine_fn_config_program ping enable_ping install
18237 wine_fn_config_program plugplay enable_plugplay install
18238 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18239 wine_fn_config_program progman enable_progman clean,install
18240 wine_fn_config_program reg enable_reg clean,install
18241 wine_fn_config_test programs/reg/tests reg.exe_test
18242 wine_fn_config_program regasm enable_regasm install
18243 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18244 wine_fn_config_test programs/regedit/tests regedit.exe_test
18245 wine_fn_config_program regsvcs enable_regsvcs install
18246 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18247 wine_fn_config_program rpcss enable_rpcss clean,install
18248 wine_fn_config_program rundll.exe16 enable_win16 install
18249 wine_fn_config_program rundll32 enable_rundll32 install
18250 wine_fn_config_program sc enable_sc install
18251 wine_fn_config_program schtasks enable_schtasks install
18252 wine_fn_config_program sdbinst enable_sdbinst install
18253 wine_fn_config_program secedit enable_secedit install
18254 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18255 wine_fn_config_program services enable_services clean,install
18256 wine_fn_config_test programs/services/tests services.exe_test
18257 wine_fn_config_program shutdown enable_shutdown install
18258 wine_fn_config_program spoolsv enable_spoolsv install
18259 wine_fn_config_program start enable_start clean,install
18260 wine_fn_config_program svchost enable_svchost install
18261 wine_fn_config_program systeminfo enable_systeminfo install
18262 wine_fn_config_program taskkill enable_taskkill clean,install
18263 wine_fn_config_program tasklist enable_tasklist install
18264 wine_fn_config_program taskmgr enable_taskmgr clean,install
18265 wine_fn_config_program termsv enable_termsv install
18266 wine_fn_config_program uninstaller enable_uninstaller clean,install
18267 wine_fn_config_program unlodctr enable_unlodctr install
18268 wine_fn_config_program view enable_view clean,install
18269 wine_fn_config_program wevtutil enable_wevtutil install
18270 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18271 wine_fn_config_program winebrowser enable_winebrowser install
18272 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18273 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18274 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18275 wine_fn_config_program winedevice enable_winedevice install
18276 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18277 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18278 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18279 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18280 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18281 wine_fn_config_program winetest enable_winetest clean
18282 wine_fn_config_program winevdm enable_win16 install
18283 wine_fn_config_program winhelp.exe16 enable_win16 install
18284 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18285 wine_fn_config_program winoldap.mod16 enable_win16 install
18286 wine_fn_config_program winver enable_winver install
18287 wine_fn_config_program wmic enable_wmic clean,install
18288 wine_fn_config_program wmplayer enable_wmplayer install
18289 wine_fn_config_program wordpad enable_wordpad clean,install
18290 wine_fn_config_program write enable_write clean,install
18291 wine_fn_config_program wscript enable_wscript clean,install
18292 wine_fn_config_test programs/wscript/tests wscript.exe_test
18293 wine_fn_config_program wusa enable_wusa install
18294 wine_fn_config_program xcopy enable_xcopy clean,install
18295 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18296 wine_fn_config_makefile server enable_server clean,install-lib
18297 wine_fn_config_tool tools clean
18298 wine_fn_config_tool tools/sfnt2fon clean
18299 wine_fn_config_tool tools/widl clean,install-dev
18300 wine_fn_config_tool tools/winebuild clean,install-dev
18301 wine_fn_config_tool tools/winedump clean,install-dev
18302 wine_fn_config_tool tools/winegcc clean,install-dev
18303 wine_fn_config_tool tools/winemaker clean,install-dev
18304 wine_fn_config_tool tools/wmc clean,install-dev
18305 wine_fn_config_tool tools/wrc clean,install-dev
18308 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18309 wine_fn_append_file CONFIGURE_TARGETS "tags"
18310 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18311 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18312 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18313 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18314 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18315 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18317 if test "x$enable_tools" != xno
18318 then
18319 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18320 ac_config_commands="$ac_config_commands tools/makedep"
18324 ac_config_commands="$ac_config_commands Makefile"
18327 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18331 if test "x$enable_maintainer_mode" = xyes
18332 then
18333 wine_fn_append_rule "configure: configure.ac aclocal.m4
18334 autoconf --warnings=all
18335 include/config.h.in: include/stamp-h.in
18336 include/stamp-h.in: configure.ac aclocal.m4
18337 autoheader --warnings=all
18338 @echo timestamp > \$@"
18341 if test "x$enable_tools" != xno
18342 then
18343 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18344 @./config.status tools/makedep
18345 Makefile: tools/makedep$ac_exeext"
18346 else
18347 wine_fn_append_rule "\$(MAKEDEP):
18348 @echo \"You need to run make in $TOOLSDIR first\" && false"
18351 if test -n "$with_wine64"
18352 then
18353 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18354 fonts server:
18355 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18356 $with_wine64/loader/wine:
18357 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18358 $with_wine64/loader/wine-preloader:
18359 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18360 clean::
18361 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18362 else
18363 WINELOADER_INSTALL="wine.inf"
18365 wine_fn_append_rule "install install-lib::
18366 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18367 uninstall::
18368 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18369 case $host_os in
18370 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18371 *) wine_fn_append_rule "install install-lib::
18372 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18373 uninstall::
18374 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18375 esac
18378 $as_echo " done" >&6
18379 cat >confcache <<\_ACEOF
18380 # This file is a shell script that caches the results of configure
18381 # tests run on this system so they can be shared between configure
18382 # scripts and configure runs, see configure's option --config-cache.
18383 # It is not useful on other systems. If it contains results you don't
18384 # want to keep, you may remove or edit it.
18386 # config.status only pays attention to the cache file if you give it
18387 # the --recheck option to rerun configure.
18389 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18390 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18391 # following values.
18393 _ACEOF
18395 # The following way of writing the cache mishandles newlines in values,
18396 # but we know of no workaround that is simple, portable, and efficient.
18397 # So, we kill variables containing newlines.
18398 # Ultrix sh set writes to stderr and can't be redirected directly,
18399 # and sets the high bit in the cache file unless we assign to the vars.
18401 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18402 eval ac_val=\$$ac_var
18403 case $ac_val in #(
18404 *${as_nl}*)
18405 case $ac_var in #(
18406 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18407 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18408 esac
18409 case $ac_var in #(
18410 _ | IFS | as_nl) ;; #(
18411 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18412 *) { eval $ac_var=; unset $ac_var;} ;;
18413 esac ;;
18414 esac
18415 done
18417 (set) 2>&1 |
18418 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18419 *${as_nl}ac_space=\ *)
18420 # `set' does not quote correctly, so add quotes: double-quote
18421 # substitution turns \\\\ into \\, and sed turns \\ into \.
18422 sed -n \
18423 "s/'/'\\\\''/g;
18424 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18425 ;; #(
18427 # `set' quotes correctly as required by POSIX, so do not add quotes.
18428 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18430 esac |
18431 sort
18433 sed '
18434 /^ac_cv_env_/b end
18435 t clear
18436 :clear
18437 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18438 t end
18439 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18440 :end' >>confcache
18441 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18442 if test -w "$cache_file"; then
18443 if test "x$cache_file" != "x/dev/null"; then
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18445 $as_echo "$as_me: updating cache $cache_file" >&6;}
18446 if test ! -f "$cache_file" || test -h "$cache_file"; then
18447 cat confcache >"$cache_file"
18448 else
18449 case $cache_file in #(
18450 */* | ?:*)
18451 mv -f confcache "$cache_file"$$ &&
18452 mv -f "$cache_file"$$ "$cache_file" ;; #(
18454 mv -f confcache "$cache_file" ;;
18455 esac
18458 else
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18460 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18463 rm -f confcache
18465 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18466 # Let make expand exec_prefix.
18467 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18469 DEFS=-DHAVE_CONFIG_H
18471 ac_libobjs=
18472 ac_ltlibobjs=
18474 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18475 # 1. Remove the extension, and $U if already installed.
18476 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18477 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18478 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18479 # will be set to the directory where LIBOBJS objects are built.
18480 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18481 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18482 done
18483 LIBOBJS=$ac_libobjs
18485 LTLIBOBJS=$ac_ltlibobjs
18489 : "${CONFIG_STATUS=./config.status}"
18490 ac_write_fail=0
18491 ac_clean_files_save=$ac_clean_files
18492 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18494 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18495 as_write_fail=0
18496 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18497 #! $SHELL
18498 # Generated by $as_me.
18499 # Run this file to recreate the current configuration.
18500 # Compiler output produced by configure, useful for debugging
18501 # configure, is in config.log if it exists.
18503 debug=false
18504 ac_cs_recheck=false
18505 ac_cs_silent=false
18507 SHELL=\${CONFIG_SHELL-$SHELL}
18508 export SHELL
18509 _ASEOF
18510 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18511 ## -------------------- ##
18512 ## M4sh Initialization. ##
18513 ## -------------------- ##
18515 # Be more Bourne compatible
18516 DUALCASE=1; export DUALCASE # for MKS sh
18517 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18518 emulate sh
18519 NULLCMD=:
18520 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18521 # is contrary to our usage. Disable this feature.
18522 alias -g '${1+"$@"}'='"$@"'
18523 setopt NO_GLOB_SUBST
18524 else
18525 case `(set -o) 2>/dev/null` in #(
18526 *posix*) :
18527 set -o posix ;; #(
18528 *) :
18530 esac
18534 as_nl='
18536 export as_nl
18537 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18538 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18541 # Prefer a ksh shell builtin over an external printf program on Solaris,
18542 # but without wasting forks for bash or zsh.
18543 if test -z "$BASH_VERSION$ZSH_VERSION" \
18544 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18545 as_echo='print -r --'
18546 as_echo_n='print -rn --'
18547 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18548 as_echo='printf %s\n'
18549 as_echo_n='printf %s'
18550 else
18551 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18552 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18553 as_echo_n='/usr/ucb/echo -n'
18554 else
18555 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18556 as_echo_n_body='eval
18557 arg=$1;
18558 case $arg in #(
18559 *"$as_nl"*)
18560 expr "X$arg" : "X\\(.*\\)$as_nl";
18561 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18562 esac;
18563 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18565 export as_echo_n_body
18566 as_echo_n='sh -c $as_echo_n_body as_echo'
18568 export as_echo_body
18569 as_echo='sh -c $as_echo_body as_echo'
18572 # The user is always right.
18573 if test "${PATH_SEPARATOR+set}" != set; then
18574 PATH_SEPARATOR=:
18575 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18576 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18577 PATH_SEPARATOR=';'
18582 # IFS
18583 # We need space, tab and new line, in precisely that order. Quoting is
18584 # there to prevent editors from complaining about space-tab.
18585 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18586 # splitting by setting IFS to empty value.)
18587 IFS=" "" $as_nl"
18589 # Find who we are. Look in the path if we contain no directory separator.
18590 as_myself=
18591 case $0 in #((
18592 *[\\/]* ) as_myself=$0 ;;
18593 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18594 for as_dir in $PATH
18596 IFS=$as_save_IFS
18597 test -z "$as_dir" && as_dir=.
18598 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18599 done
18600 IFS=$as_save_IFS
18603 esac
18604 # We did not find ourselves, most probably we were run as `sh COMMAND'
18605 # in which case we are not to be found in the path.
18606 if test "x$as_myself" = x; then
18607 as_myself=$0
18609 if test ! -f "$as_myself"; then
18610 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18611 exit 1
18614 # Unset variables that we do not need and which cause bugs (e.g. in
18615 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18616 # suppresses any "Segmentation fault" message there. '((' could
18617 # trigger a bug in pdksh 5.2.14.
18618 for as_var in BASH_ENV ENV MAIL MAILPATH
18619 do eval test x\${$as_var+set} = xset \
18620 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18621 done
18622 PS1='$ '
18623 PS2='> '
18624 PS4='+ '
18626 # NLS nuisances.
18627 LC_ALL=C
18628 export LC_ALL
18629 LANGUAGE=C
18630 export LANGUAGE
18632 # CDPATH.
18633 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18636 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18637 # ----------------------------------------
18638 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18639 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18640 # script with STATUS, using 1 if that was 0.
18641 as_fn_error ()
18643 as_status=$1; test $as_status -eq 0 && as_status=1
18644 if test "$4"; then
18645 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18646 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18648 $as_echo "$as_me: error: $2" >&2
18649 as_fn_exit $as_status
18650 } # as_fn_error
18653 # as_fn_set_status STATUS
18654 # -----------------------
18655 # Set $? to STATUS, without forking.
18656 as_fn_set_status ()
18658 return $1
18659 } # as_fn_set_status
18661 # as_fn_exit STATUS
18662 # -----------------
18663 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18664 as_fn_exit ()
18666 set +e
18667 as_fn_set_status $1
18668 exit $1
18669 } # as_fn_exit
18671 # as_fn_unset VAR
18672 # ---------------
18673 # Portably unset VAR.
18674 as_fn_unset ()
18676 { eval $1=; unset $1;}
18678 as_unset=as_fn_unset
18679 # as_fn_append VAR VALUE
18680 # ----------------------
18681 # Append the text in VALUE to the end of the definition contained in VAR. Take
18682 # advantage of any shell optimizations that allow amortized linear growth over
18683 # repeated appends, instead of the typical quadratic growth present in naive
18684 # implementations.
18685 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18686 eval 'as_fn_append ()
18688 eval $1+=\$2
18690 else
18691 as_fn_append ()
18693 eval $1=\$$1\$2
18695 fi # as_fn_append
18697 # as_fn_arith ARG...
18698 # ------------------
18699 # Perform arithmetic evaluation on the ARGs, and store the result in the
18700 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18701 # must be portable across $(()) and expr.
18702 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18703 eval 'as_fn_arith ()
18705 as_val=$(( $* ))
18707 else
18708 as_fn_arith ()
18710 as_val=`expr "$@" || test $? -eq 1`
18712 fi # as_fn_arith
18715 if expr a : '\(a\)' >/dev/null 2>&1 &&
18716 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18717 as_expr=expr
18718 else
18719 as_expr=false
18722 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18723 as_basename=basename
18724 else
18725 as_basename=false
18728 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18729 as_dirname=dirname
18730 else
18731 as_dirname=false
18734 as_me=`$as_basename -- "$0" ||
18735 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18736 X"$0" : 'X\(//\)$' \| \
18737 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18738 $as_echo X/"$0" |
18739 sed '/^.*\/\([^/][^/]*\)\/*$/{
18740 s//\1/
18743 /^X\/\(\/\/\)$/{
18744 s//\1/
18747 /^X\/\(\/\).*/{
18748 s//\1/
18751 s/.*/./; q'`
18753 # Avoid depending upon Character Ranges.
18754 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18755 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18756 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18757 as_cr_digits='0123456789'
18758 as_cr_alnum=$as_cr_Letters$as_cr_digits
18760 ECHO_C= ECHO_N= ECHO_T=
18761 case `echo -n x` in #(((((
18762 -n*)
18763 case `echo 'xy\c'` in
18764 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18765 xy) ECHO_C='\c';;
18766 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18767 ECHO_T=' ';;
18768 esac;;
18770 ECHO_N='-n';;
18771 esac
18773 rm -f conf$$ conf$$.exe conf$$.file
18774 if test -d conf$$.dir; then
18775 rm -f conf$$.dir/conf$$.file
18776 else
18777 rm -f conf$$.dir
18778 mkdir conf$$.dir 2>/dev/null
18780 if (echo >conf$$.file) 2>/dev/null; then
18781 if ln -s conf$$.file conf$$ 2>/dev/null; then
18782 as_ln_s='ln -s'
18783 # ... but there are two gotchas:
18784 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18785 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18786 # In both cases, we have to default to `cp -pR'.
18787 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18788 as_ln_s='cp -pR'
18789 elif ln conf$$.file conf$$ 2>/dev/null; then
18790 as_ln_s=ln
18791 else
18792 as_ln_s='cp -pR'
18794 else
18795 as_ln_s='cp -pR'
18797 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18798 rmdir conf$$.dir 2>/dev/null
18801 # as_fn_mkdir_p
18802 # -------------
18803 # Create "$as_dir" as a directory, including parents if necessary.
18804 as_fn_mkdir_p ()
18807 case $as_dir in #(
18808 -*) as_dir=./$as_dir;;
18809 esac
18810 test -d "$as_dir" || eval $as_mkdir_p || {
18811 as_dirs=
18812 while :; do
18813 case $as_dir in #(
18814 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18815 *) as_qdir=$as_dir;;
18816 esac
18817 as_dirs="'$as_qdir' $as_dirs"
18818 as_dir=`$as_dirname -- "$as_dir" ||
18819 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18820 X"$as_dir" : 'X\(//\)[^/]' \| \
18821 X"$as_dir" : 'X\(//\)$' \| \
18822 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18823 $as_echo X"$as_dir" |
18824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18825 s//\1/
18828 /^X\(\/\/\)[^/].*/{
18829 s//\1/
18832 /^X\(\/\/\)$/{
18833 s//\1/
18836 /^X\(\/\).*/{
18837 s//\1/
18840 s/.*/./; q'`
18841 test -d "$as_dir" && break
18842 done
18843 test -z "$as_dirs" || eval "mkdir $as_dirs"
18844 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18847 } # as_fn_mkdir_p
18848 if mkdir -p . 2>/dev/null; then
18849 as_mkdir_p='mkdir -p "$as_dir"'
18850 else
18851 test -d ./-p && rmdir ./-p
18852 as_mkdir_p=false
18856 # as_fn_executable_p FILE
18857 # -----------------------
18858 # Test if FILE is an executable regular file.
18859 as_fn_executable_p ()
18861 test -f "$1" && test -x "$1"
18862 } # as_fn_executable_p
18863 as_test_x='test -x'
18864 as_executable_p=as_fn_executable_p
18866 # Sed expression to map a string onto a valid CPP name.
18867 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18869 # Sed expression to map a string onto a valid variable name.
18870 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18873 exec 6>&1
18874 ## ----------------------------------- ##
18875 ## Main body of $CONFIG_STATUS script. ##
18876 ## ----------------------------------- ##
18877 _ASEOF
18878 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18881 # Save the log message, to keep $0 and so on meaningful, and to
18882 # report actual input values of CONFIG_FILES etc. instead of their
18883 # values after options handling.
18884 ac_log="
18885 This file was extended by Wine $as_me 1.9.9, which was
18886 generated by GNU Autoconf 2.69. Invocation command line was
18888 CONFIG_FILES = $CONFIG_FILES
18889 CONFIG_HEADERS = $CONFIG_HEADERS
18890 CONFIG_LINKS = $CONFIG_LINKS
18891 CONFIG_COMMANDS = $CONFIG_COMMANDS
18892 $ $0 $@
18894 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18897 _ACEOF
18899 case $ac_config_files in *"
18900 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18901 esac
18903 case $ac_config_headers in *"
18904 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18905 esac
18908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18909 # Files that config.status was made for.
18910 config_files="$ac_config_files"
18911 config_headers="$ac_config_headers"
18912 config_links="$ac_config_links"
18913 config_commands="$ac_config_commands"
18915 _ACEOF
18917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18918 ac_cs_usage="\
18919 \`$as_me' instantiates files and other configuration actions
18920 from templates according to the current configuration. Unless the files
18921 and actions are specified as TAGs, all are instantiated by default.
18923 Usage: $0 [OPTION]... [TAG]...
18925 -h, --help print this help, then exit
18926 -V, --version print version number and configuration settings, then exit
18927 --config print configuration, then exit
18928 -q, --quiet, --silent
18929 do not print progress messages
18930 -d, --debug don't remove temporary files
18931 --recheck update $as_me by reconfiguring in the same conditions
18932 --file=FILE[:TEMPLATE]
18933 instantiate the configuration file FILE
18934 --header=FILE[:TEMPLATE]
18935 instantiate the configuration header FILE
18937 Configuration files:
18938 $config_files
18940 Configuration headers:
18941 $config_headers
18943 Configuration links:
18944 $config_links
18946 Configuration commands:
18947 $config_commands
18949 Report bugs to <wine-devel@winehq.org>.
18950 Wine home page: <http://www.winehq.org>."
18952 _ACEOF
18953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18954 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18955 ac_cs_version="\\
18956 Wine config.status 1.9.9
18957 configured by $0, generated by GNU Autoconf 2.69,
18958 with options \\"\$ac_cs_config\\"
18960 Copyright (C) 2012 Free Software Foundation, Inc.
18961 This config.status script is free software; the Free Software Foundation
18962 gives unlimited permission to copy, distribute and modify it."
18964 ac_pwd='$ac_pwd'
18965 srcdir='$srcdir'
18966 test -n "\$AWK" || AWK=awk
18967 _ACEOF
18969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18970 # The default lists apply if the user does not specify any file.
18971 ac_need_defaults=:
18972 while test $# != 0
18974 case $1 in
18975 --*=?*)
18976 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18977 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18978 ac_shift=:
18980 --*=)
18981 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18982 ac_optarg=
18983 ac_shift=:
18986 ac_option=$1
18987 ac_optarg=$2
18988 ac_shift=shift
18990 esac
18992 case $ac_option in
18993 # Handling of the options.
18994 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18995 ac_cs_recheck=: ;;
18996 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18997 $as_echo "$ac_cs_version"; exit ;;
18998 --config | --confi | --conf | --con | --co | --c )
18999 $as_echo "$ac_cs_config"; exit ;;
19000 --debug | --debu | --deb | --de | --d | -d )
19001 debug=: ;;
19002 --file | --fil | --fi | --f )
19003 $ac_shift
19004 case $ac_optarg in
19005 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19006 '') as_fn_error $? "missing file argument" ;;
19007 esac
19008 as_fn_append CONFIG_FILES " '$ac_optarg'"
19009 ac_need_defaults=false;;
19010 --header | --heade | --head | --hea )
19011 $ac_shift
19012 case $ac_optarg in
19013 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19014 esac
19015 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19016 ac_need_defaults=false;;
19017 --he | --h)
19018 # Conflict between --help and --header
19019 as_fn_error $? "ambiguous option: \`$1'
19020 Try \`$0 --help' for more information.";;
19021 --help | --hel | -h )
19022 $as_echo "$ac_cs_usage"; exit ;;
19023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19024 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19025 ac_cs_silent=: ;;
19027 # This is an error.
19028 -*) as_fn_error $? "unrecognized option: \`$1'
19029 Try \`$0 --help' for more information." ;;
19031 *) as_fn_append ac_config_targets " $1"
19032 ac_need_defaults=false ;;
19034 esac
19035 shift
19036 done
19038 ac_configure_extra_args=
19040 if $ac_cs_silent; then
19041 exec 6>/dev/null
19042 ac_configure_extra_args="$ac_configure_extra_args --silent"
19045 _ACEOF
19046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19047 if \$ac_cs_recheck; then
19048 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19049 shift
19050 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19051 CONFIG_SHELL='$SHELL'
19052 export CONFIG_SHELL
19053 exec "\$@"
19056 _ACEOF
19057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19058 exec 5>>config.log
19060 echo
19061 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19062 ## Running $as_me. ##
19063 _ASBOX
19064 $as_echo "$ac_log"
19065 } >&5
19067 _ACEOF
19068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19070 # INIT-COMMANDS
19072 wine_fn_output_makedep ()
19074 as_dir=tools; as_fn_mkdir_p
19075 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19077 wine_fn_output_makefile ()
19079 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19080 `cat $wine_rules_file`
19081 _WINE_EOF
19082 as_fn_error $? "could not create Makefile" "$LINENO" 5
19085 _ACEOF
19087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19089 # Handling of arguments.
19090 for ac_config_target in $ac_config_targets
19092 case $ac_config_target in
19093 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19094 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19095 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19096 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19097 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19098 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19099 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19100 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19101 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19102 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19103 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19104 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19105 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19107 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19108 esac
19109 done
19112 # If the user did not use the arguments to specify the items to instantiate,
19113 # then the envvar interface is used. Set only those that are not.
19114 # We use the long form for the default assignment because of an extremely
19115 # bizarre bug on SunOS 4.1.3.
19116 if $ac_need_defaults; then
19117 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19118 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19119 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19120 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19123 # Have a temporary directory for convenience. Make it in the build tree
19124 # simply because there is no reason against having it here, and in addition,
19125 # creating and moving files from /tmp can sometimes cause problems.
19126 # Hook for its removal unless debugging.
19127 # Note that there is a small window in which the directory will not be cleaned:
19128 # after its creation but before its name has been assigned to `$tmp'.
19129 $debug ||
19131 tmp= ac_tmp=
19132 trap 'exit_status=$?
19133 : "${ac_tmp:=$tmp}"
19134 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19136 trap 'as_fn_exit 1' 1 2 13 15
19138 # Create a (secure) tmp directory for tmp files.
19141 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19142 test -d "$tmp"
19143 } ||
19145 tmp=./conf$$-$RANDOM
19146 (umask 077 && mkdir "$tmp")
19147 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19148 ac_tmp=$tmp
19150 # Set up the scripts for CONFIG_FILES section.
19151 # No need to generate them if there are no CONFIG_FILES.
19152 # This happens for instance with `./config.status config.h'.
19153 if test -n "$CONFIG_FILES"; then
19156 ac_cr=`echo X | tr X '\015'`
19157 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19158 # But we know of no other shell where ac_cr would be empty at this
19159 # point, so we can use a bashism as a fallback.
19160 if test "x$ac_cr" = x; then
19161 eval ac_cr=\$\'\\r\'
19163 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19164 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19165 ac_cs_awk_cr='\\r'
19166 else
19167 ac_cs_awk_cr=$ac_cr
19170 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19171 _ACEOF
19175 echo "cat >conf$$subs.awk <<_ACEOF" &&
19176 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19177 echo "_ACEOF"
19178 } >conf$$subs.sh ||
19179 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19180 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19181 ac_delim='%!_!# '
19182 for ac_last_try in false false false false false :; do
19183 . ./conf$$subs.sh ||
19184 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19186 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19187 if test $ac_delim_n = $ac_delim_num; then
19188 break
19189 elif $ac_last_try; then
19190 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19191 else
19192 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19194 done
19195 rm -f conf$$subs.sh
19197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19198 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19199 _ACEOF
19200 sed -n '
19202 s/^/S["/; s/!.*/"]=/
19205 s/^[^!]*!//
19206 :repl
19207 t repl
19208 s/'"$ac_delim"'$//
19209 t delim
19212 s/\(.\{148\}\)..*/\1/
19213 t more1
19214 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19217 b repl
19218 :more1
19219 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19222 s/.\{148\}//
19223 t nl
19224 :delim
19226 s/\(.\{148\}\)..*/\1/
19227 t more2
19228 s/["\\]/\\&/g; s/^/"/; s/$/"/
19231 :more2
19232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19235 s/.\{148\}//
19236 t delim
19237 ' <conf$$subs.awk | sed '
19238 /^[^""]/{
19240 s/\n//
19242 ' >>$CONFIG_STATUS || ac_write_fail=1
19243 rm -f conf$$subs.awk
19244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19245 _ACAWK
19246 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19247 for (key in S) S_is_set[key] = 1
19248 FS = "\a"
19252 line = $ 0
19253 nfields = split(line, field, "@")
19254 substed = 0
19255 len = length(field[1])
19256 for (i = 2; i < nfields; i++) {
19257 key = field[i]
19258 keylen = length(key)
19259 if (S_is_set[key]) {
19260 value = S[key]
19261 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19262 len += length(value) + length(field[++i])
19263 substed = 1
19264 } else
19265 len += 1 + keylen
19268 print line
19271 _ACAWK
19272 _ACEOF
19273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19274 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19275 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19276 else
19278 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19279 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19280 _ACEOF
19282 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19283 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19284 # trailing colons and then remove the whole line if VPATH becomes empty
19285 # (actually we leave an empty line to preserve line numbers).
19286 if test "x$srcdir" = x.; then
19287 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19289 s///
19290 s/^/:/
19291 s/[ ]*$/:/
19292 s/:\$(srcdir):/:/g
19293 s/:\${srcdir}:/:/g
19294 s/:@srcdir@:/:/g
19295 s/^:*//
19296 s/:*$//
19298 s/\(=[ ]*\).*/\1/
19300 s/\n//
19301 s/^[^=]*=[ ]*$//
19305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19306 fi # test -n "$CONFIG_FILES"
19308 # Set up the scripts for CONFIG_HEADERS section.
19309 # No need to generate them if there are no CONFIG_HEADERS.
19310 # This happens for instance with `./config.status Makefile'.
19311 if test -n "$CONFIG_HEADERS"; then
19312 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19313 BEGIN {
19314 _ACEOF
19316 # Transform confdefs.h into an awk script `defines.awk', embedded as
19317 # here-document in config.status, that substitutes the proper values into
19318 # config.h.in to produce config.h.
19320 # Create a delimiter string that does not exist in confdefs.h, to ease
19321 # handling of long lines.
19322 ac_delim='%!_!# '
19323 for ac_last_try in false false :; do
19324 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19325 if test -z "$ac_tt"; then
19326 break
19327 elif $ac_last_try; then
19328 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19329 else
19330 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19332 done
19334 # For the awk script, D is an array of macro values keyed by name,
19335 # likewise P contains macro parameters if any. Preserve backslash
19336 # newline sequences.
19338 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19339 sed -n '
19340 s/.\{148\}/&'"$ac_delim"'/g
19341 t rset
19342 :rset
19343 s/^[ ]*#[ ]*define[ ][ ]*/ /
19344 t def
19346 :def
19347 s/\\$//
19348 t bsnl
19349 s/["\\]/\\&/g
19350 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19351 D["\1"]=" \3"/p
19352 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19354 :bsnl
19355 s/["\\]/\\&/g
19356 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19357 D["\1"]=" \3\\\\\\n"\\/p
19358 t cont
19359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19360 t cont
19362 :cont
19364 s/.\{148\}/&'"$ac_delim"'/g
19365 t clear
19366 :clear
19367 s/\\$//
19368 t bsnlc
19369 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19371 :bsnlc
19372 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19373 b cont
19374 ' <confdefs.h | sed '
19375 s/'"$ac_delim"'/"\\\
19376 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19379 for (key in D) D_is_set[key] = 1
19380 FS = "\a"
19382 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19383 line = \$ 0
19384 split(line, arg, " ")
19385 if (arg[1] == "#") {
19386 defundef = arg[2]
19387 mac1 = arg[3]
19388 } else {
19389 defundef = substr(arg[1], 2)
19390 mac1 = arg[2]
19392 split(mac1, mac2, "(") #)
19393 macro = mac2[1]
19394 prefix = substr(line, 1, index(line, defundef) - 1)
19395 if (D_is_set[macro]) {
19396 # Preserve the white space surrounding the "#".
19397 print prefix "define", macro P[macro] D[macro]
19398 next
19399 } else {
19400 # Replace #undef with comments. This is necessary, for example,
19401 # in the case of _POSIX_SOURCE, which is predefined and required
19402 # on some systems where configure will not decide to define it.
19403 if (defundef == "undef") {
19404 print "/*", prefix defundef, macro, "*/"
19405 next
19409 { print }
19410 _ACAWK
19411 _ACEOF
19412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19413 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19414 fi # test -n "$CONFIG_HEADERS"
19417 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19418 shift
19419 for ac_tag
19421 case $ac_tag in
19422 :[FHLC]) ac_mode=$ac_tag; continue;;
19423 esac
19424 case $ac_mode$ac_tag in
19425 :[FHL]*:*);;
19426 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19427 :[FH]-) ac_tag=-:-;;
19428 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19429 esac
19430 ac_save_IFS=$IFS
19431 IFS=:
19432 set x $ac_tag
19433 IFS=$ac_save_IFS
19434 shift
19435 ac_file=$1
19436 shift
19438 case $ac_mode in
19439 :L) ac_source=$1;;
19440 :[FH])
19441 ac_file_inputs=
19442 for ac_f
19444 case $ac_f in
19445 -) ac_f="$ac_tmp/stdin";;
19446 *) # Look for the file first in the build tree, then in the source tree
19447 # (if the path is not absolute). The absolute path cannot be DOS-style,
19448 # because $ac_f cannot contain `:'.
19449 test -f "$ac_f" ||
19450 case $ac_f in
19451 [\\/$]*) false;;
19452 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19453 esac ||
19454 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19455 esac
19456 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19457 as_fn_append ac_file_inputs " '$ac_f'"
19458 done
19460 # Let's still pretend it is `configure' which instantiates (i.e., don't
19461 # use $as_me), people would be surprised to read:
19462 # /* config.h. Generated by config.status. */
19463 configure_input='Generated from '`
19464 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19465 `' by configure.'
19466 if test x"$ac_file" != x-; then
19467 configure_input="$ac_file. $configure_input"
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19469 $as_echo "$as_me: creating $ac_file" >&6;}
19471 # Neutralize special characters interpreted by sed in replacement strings.
19472 case $configure_input in #(
19473 *\&* | *\|* | *\\* )
19474 ac_sed_conf_input=`$as_echo "$configure_input" |
19475 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19476 *) ac_sed_conf_input=$configure_input;;
19477 esac
19479 case $ac_tag in
19480 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19481 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19482 esac
19484 esac
19486 ac_dir=`$as_dirname -- "$ac_file" ||
19487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19488 X"$ac_file" : 'X\(//\)[^/]' \| \
19489 X"$ac_file" : 'X\(//\)$' \| \
19490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19491 $as_echo X"$ac_file" |
19492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19493 s//\1/
19496 /^X\(\/\/\)[^/].*/{
19497 s//\1/
19500 /^X\(\/\/\)$/{
19501 s//\1/
19504 /^X\(\/\).*/{
19505 s//\1/
19508 s/.*/./; q'`
19509 as_dir="$ac_dir"; as_fn_mkdir_p
19510 ac_builddir=.
19512 case "$ac_dir" in
19513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19515 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19516 # A ".." for each directory in $ac_dir_suffix.
19517 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19518 case $ac_top_builddir_sub in
19519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19521 esac ;;
19522 esac
19523 ac_abs_top_builddir=$ac_pwd
19524 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19525 # for backward compatibility:
19526 ac_top_builddir=$ac_top_build_prefix
19528 case $srcdir in
19529 .) # We are building in place.
19530 ac_srcdir=.
19531 ac_top_srcdir=$ac_top_builddir_sub
19532 ac_abs_top_srcdir=$ac_pwd ;;
19533 [\\/]* | ?:[\\/]* ) # Absolute name.
19534 ac_srcdir=$srcdir$ac_dir_suffix;
19535 ac_top_srcdir=$srcdir
19536 ac_abs_top_srcdir=$srcdir ;;
19537 *) # Relative name.
19538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19539 ac_top_srcdir=$ac_top_build_prefix$srcdir
19540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19541 esac
19542 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19545 case $ac_mode in
19548 # CONFIG_FILE
19551 _ACEOF
19553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19554 # If the template does not know about datarootdir, expand it.
19555 # FIXME: This hack should be removed a few years after 2.60.
19556 ac_datarootdir_hack=; ac_datarootdir_seen=
19557 ac_sed_dataroot='
19558 /datarootdir/ {
19562 /@datadir@/p
19563 /@docdir@/p
19564 /@infodir@/p
19565 /@localedir@/p
19566 /@mandir@/p'
19567 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19568 *datarootdir*) ac_datarootdir_seen=yes;;
19569 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19571 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19572 _ACEOF
19573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19574 ac_datarootdir_hack='
19575 s&@datadir@&$datadir&g
19576 s&@docdir@&$docdir&g
19577 s&@infodir@&$infodir&g
19578 s&@localedir@&$localedir&g
19579 s&@mandir@&$mandir&g
19580 s&\\\${datarootdir}&$datarootdir&g' ;;
19581 esac
19582 _ACEOF
19584 # Neutralize VPATH when `$srcdir' = `.'.
19585 # Shell code in configure.ac might set extrasub.
19586 # FIXME: do we really want to maintain this feature?
19587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19588 ac_sed_extra="$ac_vpsub
19589 $extrasub
19590 _ACEOF
19591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19593 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19594 s|@configure_input@|$ac_sed_conf_input|;t t
19595 s&@top_builddir@&$ac_top_builddir_sub&;t t
19596 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19597 s&@srcdir@&$ac_srcdir&;t t
19598 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19599 s&@top_srcdir@&$ac_top_srcdir&;t t
19600 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19601 s&@builddir@&$ac_builddir&;t t
19602 s&@abs_builddir@&$ac_abs_builddir&;t t
19603 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19604 $ac_datarootdir_hack
19606 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19607 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19609 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19610 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19611 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19612 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19614 which seems to be undefined. Please make sure it is defined" >&5
19615 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19616 which seems to be undefined. Please make sure it is defined" >&2;}
19618 rm -f "$ac_tmp/stdin"
19619 case $ac_file in
19620 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19621 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19622 esac \
19623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19627 # CONFIG_HEADER
19629 if test x"$ac_file" != x-; then
19631 $as_echo "/* $configure_input */" \
19632 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19633 } >"$ac_tmp/config.h" \
19634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19635 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19637 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19638 else
19639 rm -f "$ac_file"
19640 mv "$ac_tmp/config.h" "$ac_file" \
19641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19643 else
19644 $as_echo "/* $configure_input */" \
19645 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19646 || as_fn_error $? "could not create -" "$LINENO" 5
19651 # CONFIG_LINK
19654 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19656 else
19657 # Prefer the file from the source tree if names are identical.
19658 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19659 ac_source=$srcdir/$ac_source
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19663 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19665 if test ! -r "$ac_source"; then
19666 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19668 rm -f "$ac_file"
19670 # Try a relative symlink, then a hard link, then a copy.
19671 case $ac_source in
19672 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19673 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19674 esac
19675 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19676 ln "$ac_source" "$ac_file" 2>/dev/null ||
19677 cp -p "$ac_source" "$ac_file" ||
19678 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19681 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19682 $as_echo "$as_me: executing $ac_file commands" >&6;}
19684 esac
19687 case $ac_file$ac_mode in
19688 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19689 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19690 "Makefile":C) wine_fn_output_makefile Makefile ;;
19692 esac
19693 done # for ac_tag
19696 as_fn_exit 0
19697 _ACEOF
19698 ac_clean_files=$ac_clean_files_save
19700 test $ac_write_fail = 0 ||
19701 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19704 # configure is writing to config.log, and then calls config.status.
19705 # config.status does its own redirection, appending to config.log.
19706 # Unfortunately, on DOS this fails, as config.log is still kept open
19707 # by configure, so config.status won't be able to write to it; its
19708 # output is simply discarded. So we exec the FD to /dev/null,
19709 # effectively closing config.log, so it can be properly (re)opened and
19710 # appended to by config.status. When coming back to configure, we
19711 # need to make the FD available again.
19712 if test "$no_create" != yes; then
19713 ac_cs_success=:
19714 ac_config_status_args=
19715 test "$silent" = yes &&
19716 ac_config_status_args="$ac_config_status_args --quiet"
19717 exec 5>/dev/null
19718 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19719 exec 5>>config.log
19720 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19721 # would make configure fail if this is the last instruction.
19722 $ac_cs_success || as_fn_exit 1
19724 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19726 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19730 if test "$no_create" = "yes"
19731 then
19732 exit 0
19735 ac_save_IFS="$IFS"
19736 if test "x$wine_notices" != x; then
19737 echo >&6
19738 IFS="|"
19739 for msg in $wine_notices; do
19740 IFS="$ac_save_IFS"
19741 if ${msg:+false} :; then :
19743 else
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19745 $as_echo "$as_me: $msg" >&6;}
19747 done
19749 IFS="|"
19750 for msg in $wine_warnings; do
19751 IFS="$ac_save_IFS"
19752 if ${msg:+false} :; then :
19754 else
19755 echo >&2
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19757 $as_echo "$as_me: WARNING: $msg" >&2;}
19759 done
19760 IFS="$ac_save_IFS"
19762 $as_echo "
19763 $as_me: Finished. Do '${ac_make}' to compile Wine.
19764 " >&6