makefiles: Expand the ln -s command into the makefiles.
[wine.git] / configure
blob06c68322eb76e324004fbe76442cf9b36574b67e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.4.
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.4'
584 PACKAGE_STRING='Wine 1.9.4'
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 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4_CFLAGS
657 ALSA_LIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 PULSE_LIBS
661 PULSE_CFLAGS
662 GETTEXTPO_LIBS
663 Z_LIBS
664 FREETYPE_LIBS
665 FREETYPE_CFLAGS
666 LCMS2_LIBS
667 LCMS2_CFLAGS
668 RESOLV_LIBS
669 GPHOTO2_PORT_LIBS
670 GPHOTO2_PORT_CFLAGS
671 GPHOTO2_LIBS
672 GPHOTO2_CFLAGS
673 SANE_LIBS
674 SANE_CFLAGS
675 GNUTLS_LIBS
676 GNUTLS_CFLAGS
677 HAL_LIBS
678 HAL_CFLAGS
679 DBUS_LIBS
680 DBUS_CFLAGS
681 XSLT_LIBS
682 XSLT_CFLAGS
683 XML2_LIBS
684 XML2_CFLAGS
685 PCAP_LIBS
686 X_EXTRA_LIBS
687 X_LIBS
688 X_PRE_LIBS
689 X_CFLAGS
690 XMKMF
691 PTHREAD_LIBS
692 CROSSCC
693 CROSSTARGET
694 PRELINK
695 WINELOADER_DEPENDS
696 CARBON_LIBS
697 QUICKTIME_LIBS
698 OPENCL_LIBS
699 OPENAL_LIBS
700 COREAUDIO_LIBS
701 SECURITY_LIBS
702 DISKARBITRATION_LIBS
703 APPKIT_LIBS
704 CORESERVICES_LIBS
705 APPLICATIONSERVICES_LIBS
706 FORCEFEEDBACK_LIBS
707 IOKIT_LIBS
708 COREFOUNDATION_LIBS
709 LIBWINE_DEPENDS
710 LIBWINE_LDFLAGS
711 LIBWINE_INSTALL_DEV
712 LIBWINE_INSTALL_LIB
713 LIBWINE_IMPORTLIB
714 LIBWINE_SHAREDLIB
715 SOCKET_LIBS
716 DLLTOOL
717 WINELOADER_PROGRAMS
718 ALL_TEST_RESOURCES
719 SUBDIRS
720 READELF
721 OTOOL
723 LDEXECFLAGS
724 LDRPATH_LOCAL
725 LDRPATH_INSTALL
726 DLLFLAGS
727 dlldir
729 OPENGL_LIBS
730 ICOTOOL
731 CONVERT
732 RSVG
733 FONTFORGE
734 PKG_CONFIG
735 MSGFMT
736 LDCONFIG
737 EGREP
738 GREP
739 LN_S
740 RANLIB
741 ARFLAGS
742 STRIP
743 ac_ct_AR
745 BISON
746 FLEX
747 TOOLSDIR
748 TARGETFLAGS
750 CPPBIN
751 ac_ct_CXX
752 CXXFLAGS
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
761 SET_MAKE
762 host_os
763 host_vendor
764 host_cpu
765 host
766 build_os
767 build_vendor
768 build_cpu
769 build
770 target_alias
771 host_alias
772 build_alias
773 LIBS
774 ECHO_T
775 ECHO_N
776 ECHO_C
777 DEFS
778 mandir
779 localedir
780 libdir
781 psdir
782 pdfdir
783 dvidir
784 htmldir
785 infodir
786 docdir
787 oldincludedir
788 includedir
789 runstatedir
790 localstatedir
791 sharedstatedir
792 sysconfdir
793 datadir
794 datarootdir
795 libexecdir
796 sbindir
797 bindir
798 program_transform_name
799 prefix
800 exec_prefix
801 PACKAGE_URL
802 PACKAGE_BUGREPORT
803 PACKAGE_STRING
804 PACKAGE_VERSION
805 PACKAGE_TARNAME
806 PACKAGE_NAME
807 PATH_SEPARATOR
808 SHELL'
809 ac_subst_files=''
810 ac_user_opts='
811 enable_option_checking
812 enable_win16
813 enable_win64
814 enable_tests
815 enable_maintainer_mode
816 with_alsa
817 with_capi
818 with_cms
819 with_coreaudio
820 with_cups
821 with_curses
822 with_dbus
823 with_fontconfig
824 with_freetype
825 with_gettext
826 with_gettextpo
827 with_gphoto
828 with_glu
829 with_gnutls
830 with_gsm
831 with_gstreamer
832 with_hal
833 with_jpeg
834 with_ldap
835 with_mpg123
836 with_netapi
837 with_openal
838 with_opencl
839 with_opengl
840 with_osmesa
841 with_oss
842 with_pcap
843 with_png
844 with_pthread
845 with_pulse
846 with_sane
847 with_tiff
848 with_v4l
849 with_xcomposite
850 with_xcursor
851 with_xinerama
852 with_xinput
853 with_xinput2
854 with_xml
855 with_xrandr
856 with_xrender
857 with_xshape
858 with_xshm
859 with_xslt
860 with_xxf86vm
861 with_zlib
862 with_wine_tools
863 with_wine64
864 enable_largefile
865 with_x
866 enable_acledit
867 enable_aclui
868 enable_activeds
869 enable_actxprxy
870 enable_advapi32
871 enable_advpack
872 enable_amstream
873 enable_api_ms_win_core_com_l1_1_0
874 enable_api_ms_win_core_com_l1_1_1
875 enable_api_ms_win_core_console_l1_1_0
876 enable_api_ms_win_core_datetime_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_1
878 enable_api_ms_win_core_debug_l1_1_0
879 enable_api_ms_win_core_debug_l1_1_1
880 enable_api_ms_win_core_delayload_l1_1_1
881 enable_api_ms_win_core_errorhandling_l1_1_0
882 enable_api_ms_win_core_errorhandling_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_2
884 enable_api_ms_win_core_fibers_l1_1_0
885 enable_api_ms_win_core_fibers_l1_1_1
886 enable_api_ms_win_core_file_l1_1_0
887 enable_api_ms_win_core_file_l1_2_0
888 enable_api_ms_win_core_file_l2_1_0
889 enable_api_ms_win_core_file_l2_1_1
890 enable_api_ms_win_core_handle_l1_1_0
891 enable_api_ms_win_core_heap_l1_1_0
892 enable_api_ms_win_core_heap_l1_2_0
893 enable_api_ms_win_core_heap_obsolete_l1_1_0
894 enable_api_ms_win_core_interlocked_l1_1_0
895 enable_api_ms_win_core_interlocked_l1_2_0
896 enable_api_ms_win_core_io_l1_1_1
897 enable_api_ms_win_core_kernel32_legacy_l1_1_0
898 enable_api_ms_win_core_kernel32_legacy_l1_1_1
899 enable_api_ms_win_core_libraryloader_l1_1_0
900 enable_api_ms_win_core_libraryloader_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_2_0
902 enable_api_ms_win_core_localization_l1_1_0
903 enable_api_ms_win_core_localization_l1_2_0
904 enable_api_ms_win_core_localization_l1_2_1
905 enable_api_ms_win_core_localization_obsolete_l1_1_0
906 enable_api_ms_win_core_localregistry_l1_1_0
907 enable_api_ms_win_core_memory_l1_1_0
908 enable_api_ms_win_core_memory_l1_1_1
909 enable_api_ms_win_core_misc_l1_1_0
910 enable_api_ms_win_core_namedpipe_l1_1_0
911 enable_api_ms_win_core_namedpipe_l1_2_0
912 enable_api_ms_win_core_path_l1_1_0
913 enable_api_ms_win_core_processenvironment_l1_1_0
914 enable_api_ms_win_core_processenvironment_l1_2_0
915 enable_api_ms_win_core_processthreads_l1_1_0
916 enable_api_ms_win_core_processthreads_l1_1_1
917 enable_api_ms_win_core_processthreads_l1_1_2
918 enable_api_ms_win_core_profile_l1_1_0
919 enable_api_ms_win_core_psapi_l1_1_0
920 enable_api_ms_win_core_registry_l1_1_0
921 enable_api_ms_win_core_rtlsupport_l1_1_0
922 enable_api_ms_win_core_rtlsupport_l1_2_0
923 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
924 enable_api_ms_win_core_string_l1_1_0
925 enable_api_ms_win_core_synch_l1_1_0
926 enable_api_ms_win_core_synch_l1_2_0
927 enable_api_ms_win_core_sysinfo_l1_1_0
928 enable_api_ms_win_core_sysinfo_l1_2_0
929 enable_api_ms_win_core_sysinfo_l1_2_1
930 enable_api_ms_win_core_threadpool_l1_2_0
931 enable_api_ms_win_core_threadpool_legacy_l1_1_0
932 enable_api_ms_win_core_timezone_l1_1_0
933 enable_api_ms_win_core_url_l1_1_0
934 enable_api_ms_win_core_util_l1_1_0
935 enable_api_ms_win_core_winrt_error_l1_1_0
936 enable_api_ms_win_core_winrt_error_l1_1_1
937 enable_api_ms_win_core_winrt_l1_1_0
938 enable_api_ms_win_core_winrt_registration_l1_1_0
939 enable_api_ms_win_core_winrt_string_l1_1_0
940 enable_api_ms_win_core_wow64_l1_1_0
941 enable_api_ms_win_core_xstate_l2_1_0
942 enable_api_ms_win_crt_conio_l1_1_0
943 enable_api_ms_win_crt_convert_l1_1_0
944 enable_api_ms_win_crt_environment_l1_1_0
945 enable_api_ms_win_crt_filesystem_l1_1_0
946 enable_api_ms_win_crt_heap_l1_1_0
947 enable_api_ms_win_crt_locale_l1_1_0
948 enable_api_ms_win_crt_math_l1_1_0
949 enable_api_ms_win_crt_multibyte_l1_1_0
950 enable_api_ms_win_crt_private_l1_1_0
951 enable_api_ms_win_crt_process_l1_1_0
952 enable_api_ms_win_crt_runtime_l1_1_0
953 enable_api_ms_win_crt_stdio_l1_1_0
954 enable_api_ms_win_crt_string_l1_1_0
955 enable_api_ms_win_crt_time_l1_1_0
956 enable_api_ms_win_crt_utility_l1_1_0
957 enable_api_ms_win_downlevel_advapi32_l1_1_0
958 enable_api_ms_win_downlevel_advapi32_l2_1_0
959 enable_api_ms_win_downlevel_normaliz_l1_1_0
960 enable_api_ms_win_downlevel_ole32_l1_1_0
961 enable_api_ms_win_downlevel_shell32_l1_1_0
962 enable_api_ms_win_downlevel_shlwapi_l1_1_0
963 enable_api_ms_win_downlevel_shlwapi_l2_1_0
964 enable_api_ms_win_downlevel_user32_l1_1_0
965 enable_api_ms_win_downlevel_version_l1_1_0
966 enable_api_ms_win_eventing_classicprovider_l1_1_0
967 enable_api_ms_win_eventing_provider_l1_1_0
968 enable_api_ms_win_ntuser_dc_access_l1_1_0
969 enable_api_ms_win_security_base_l1_1_0
970 enable_api_ms_win_security_base_l1_2_0
971 enable_api_ms_win_security_lsalookup_l1_1_0
972 enable_api_ms_win_security_lsalookup_l1_1_1
973 enable_api_ms_win_security_sddl_l1_1_0
974 enable_api_ms_win_service_core_l1_1_1
975 enable_api_ms_win_service_management_l1_1_0
976 enable_api_ms_win_service_winsvc_l1_2_0
977 enable_apphelp
978 enable_appwiz_cpl
979 enable_atl
980 enable_atl100
981 enable_atl110
982 enable_atl80
983 enable_atl90
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bluetoothapis
990 enable_browseui
991 enable_bthprops_cpl
992 enable_cabinet
993 enable_capi2032
994 enable_cards
995 enable_cfgmgr32
996 enable_clusapi
997 enable_combase
998 enable_comcat
999 enable_comctl32
1000 enable_comdlg32
1001 enable_compstui
1002 enable_comsvcs
1003 enable_connect
1004 enable_credui
1005 enable_crtdll
1006 enable_crypt32
1007 enable_cryptdlg
1008 enable_cryptdll
1009 enable_cryptext
1010 enable_cryptnet
1011 enable_cryptui
1012 enable_ctapi32
1013 enable_ctl3d32
1014 enable_d2d1
1015 enable_d3d10
1016 enable_d3d10_1
1017 enable_d3d10core
1018 enable_d3d11
1019 enable_d3d8
1020 enable_d3d9
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1034 enable_d3dim
1035 enable_d3drm
1036 enable_d3dx10_33
1037 enable_d3dx10_34
1038 enable_d3dx10_35
1039 enable_d3dx10_36
1040 enable_d3dx10_37
1041 enable_d3dx10_38
1042 enable_d3dx10_39
1043 enable_d3dx10_40
1044 enable_d3dx10_41
1045 enable_d3dx10_42
1046 enable_d3dx10_43
1047 enable_d3dx11_42
1048 enable_d3dx11_43
1049 enable_d3dx9_24
1050 enable_d3dx9_25
1051 enable_d3dx9_26
1052 enable_d3dx9_27
1053 enable_d3dx9_28
1054 enable_d3dx9_29
1055 enable_d3dx9_30
1056 enable_d3dx9_31
1057 enable_d3dx9_32
1058 enable_d3dx9_33
1059 enable_d3dx9_34
1060 enable_d3dx9_35
1061 enable_d3dx9_36
1062 enable_d3dx9_37
1063 enable_d3dx9_38
1064 enable_d3dx9_39
1065 enable_d3dx9_40
1066 enable_d3dx9_41
1067 enable_d3dx9_42
1068 enable_d3dx9_43
1069 enable_d3dxof
1070 enable_davclnt
1071 enable_dbgeng
1072 enable_dbghelp
1073 enable_dciman32
1074 enable_ddraw
1075 enable_ddrawex
1076 enable_devenum
1077 enable_dhcpcsvc
1078 enable_difxapi
1079 enable_dinput
1080 enable_dinput8
1081 enable_dispex
1082 enable_dmband
1083 enable_dmcompos
1084 enable_dmime
1085 enable_dmloader
1086 enable_dmscript
1087 enable_dmstyle
1088 enable_dmsynth
1089 enable_dmusic
1090 enable_dmusic32
1091 enable_dnsapi
1092 enable_dplay
1093 enable_dplayx
1094 enable_dpnaddr
1095 enable_dpnet
1096 enable_dpnhpast
1097 enable_dpnlobby
1098 enable_dpvoice
1099 enable_dpwsockx
1100 enable_drmclien
1101 enable_dsound
1102 enable_dssenh
1103 enable_dswave
1104 enable_dwmapi
1105 enable_dwrite
1106 enable_dxdiagn
1107 enable_dxgi
1108 enable_dxva2
1109 enable_esent
1110 enable_evr
1111 enable_explorerframe
1112 enable_ext_ms_win_gdi_devcaps_l1_1_0
1113 enable_faultrep
1114 enable_fltlib
1115 enable_fltmgr_sys
1116 enable_fntcache
1117 enable_fontsub
1118 enable_fusion
1119 enable_fwpuclnt
1120 enable_gameux
1121 enable_gdi32
1122 enable_gdiplus
1123 enable_glu32
1124 enable_gphoto2_ds
1125 enable_gpkcsp
1126 enable_hal
1127 enable_hhctrl_ocx
1128 enable_hid
1129 enable_hidclass_sys
1130 enable_hlink
1131 enable_hnetcfg
1132 enable_httpapi
1133 enable_iccvid
1134 enable_icmp
1135 enable_ieframe
1136 enable_imaadp32_acm
1137 enable_imagehlp
1138 enable_imm32
1139 enable_inetcomm
1140 enable_inetcpl_cpl
1141 enable_inetmib1
1142 enable_infosoft
1143 enable_initpki
1144 enable_inkobj
1145 enable_inseng
1146 enable_iphlpapi
1147 enable_irprops_cpl
1148 enable_itircl
1149 enable_itss
1150 enable_joy_cpl
1151 enable_jscript
1152 enable_jsproxy
1153 enable_kernel32
1154 enable_ksuser
1155 enable_ktmw32
1156 enable_loadperf
1157 enable_localspl
1158 enable_localui
1159 enable_lz32
1160 enable_mapi32
1161 enable_mapistub
1162 enable_mciavi32
1163 enable_mcicda
1164 enable_mciqtz32
1165 enable_mciseq
1166 enable_mciwave
1167 enable_mf
1168 enable_mfplat
1169 enable_mfreadwrite
1170 enable_mgmtapi
1171 enable_midimap
1172 enable_mlang
1173 enable_mmcndmgr
1174 enable_mmdevapi
1175 enable_mountmgr_sys
1176 enable_mpr
1177 enable_mprapi
1178 enable_msacm32_drv
1179 enable_msacm32
1180 enable_msadp32_acm
1181 enable_msasn1
1182 enable_mscat32
1183 enable_mscms
1184 enable_mscoree
1185 enable_msctf
1186 enable_msctfp
1187 enable_msdaps
1188 enable_msdelta
1189 enable_msdmo
1190 enable_msdrm
1191 enable_msftedit
1192 enable_msg711_acm
1193 enable_msgsm32_acm
1194 enable_mshtml_tlb
1195 enable_mshtml
1196 enable_msi
1197 enable_msident
1198 enable_msimg32
1199 enable_msimsg
1200 enable_msimtf
1201 enable_msisip
1202 enable_msisys_ocx
1203 enable_msls31
1204 enable_msnet32
1205 enable_mspatcha
1206 enable_msrle32
1207 enable_msscript_ocx
1208 enable_mssign32
1209 enable_mssip32
1210 enable_mstask
1211 enable_msvcirt
1212 enable_msvcm80
1213 enable_msvcm90
1214 enable_msvcp100
1215 enable_msvcp110
1216 enable_msvcp120
1217 enable_msvcp120_app
1218 enable_msvcp60
1219 enable_msvcp70
1220 enable_msvcp71
1221 enable_msvcp80
1222 enable_msvcp90
1223 enable_msvcr100
1224 enable_msvcr110
1225 enable_msvcr120
1226 enable_msvcr120_app
1227 enable_msvcr70
1228 enable_msvcr71
1229 enable_msvcr80
1230 enable_msvcr90
1231 enable_msvcrt
1232 enable_msvcrt20
1233 enable_msvcrt40
1234 enable_msvcrtd
1235 enable_msvfw32
1236 enable_msvidc32
1237 enable_mswsock
1238 enable_msxml
1239 enable_msxml2
1240 enable_msxml3
1241 enable_msxml4
1242 enable_msxml6
1243 enable_nddeapi
1244 enable_ndis_sys
1245 enable_netapi32
1246 enable_netcfgx
1247 enable_netprofm
1248 enable_newdev
1249 enable_normaliz
1250 enable_npmshtml
1251 enable_npptools
1252 enable_ntdll
1253 enable_ntdsapi
1254 enable_ntoskrnl_exe
1255 enable_ntprint
1256 enable_objsel
1257 enable_odbc32
1258 enable_odbccp32
1259 enable_odbccu32
1260 enable_ole32
1261 enable_oleacc
1262 enable_oleaut32
1263 enable_olecli32
1264 enable_oledb32
1265 enable_oledlg
1266 enable_olepro32
1267 enable_olesvr32
1268 enable_olethk32
1269 enable_openal32
1270 enable_opencl
1271 enable_opengl32
1272 enable_packager
1273 enable_pdh
1274 enable_photometadatahandler
1275 enable_pidgen
1276 enable_powrprof
1277 enable_printui
1278 enable_prntvpt
1279 enable_propsys
1280 enable_psapi
1281 enable_pstorec
1282 enable_qcap
1283 enable_qedit
1284 enable_qmgr
1285 enable_qmgrprxy
1286 enable_quartz
1287 enable_query
1288 enable_rasapi32
1289 enable_rasdlg
1290 enable_regapi
1291 enable_resutils
1292 enable_riched20
1293 enable_riched32
1294 enable_rpcrt4
1295 enable_rsabase
1296 enable_rsaenh
1297 enable_rstrtmgr
1298 enable_rtutils
1299 enable_samlib
1300 enable_sane_ds
1301 enable_scarddlg
1302 enable_sccbase
1303 enable_schannel
1304 enable_schedsvc
1305 enable_scrrun
1306 enable_scsiport_sys
1307 enable_secur32
1308 enable_security
1309 enable_sensapi
1310 enable_serialui
1311 enable_setupapi
1312 enable_sfc
1313 enable_sfc_os
1314 enable_shdoclc
1315 enable_shdocvw
1316 enable_shell32
1317 enable_shfolder
1318 enable_shlwapi
1319 enable_slbcsp
1320 enable_slc
1321 enable_snmpapi
1322 enable_softpub
1323 enable_spoolss
1324 enable_stdole2_tlb
1325 enable_stdole32_tlb
1326 enable_sti
1327 enable_svrapi
1328 enable_sxs
1329 enable_t2embed
1330 enable_tapi32
1331 enable_taskschd
1332 enable_tdi_sys
1333 enable_traffic
1334 enable_twain_32
1335 enable_ucrtbase
1336 enable_unicows
1337 enable_updspapi
1338 enable_url
1339 enable_urlmon
1340 enable_usbd_sys
1341 enable_user32
1342 enable_userenv
1343 enable_usp10
1344 enable_uxtheme
1345 enable_vbscript
1346 enable_vcomp
1347 enable_vcomp100
1348 enable_vcomp110
1349 enable_vcomp120
1350 enable_vcomp90
1351 enable_vcruntime140
1352 enable_vdmdbg
1353 enable_version
1354 enable_vssapi
1355 enable_wbemdisp
1356 enable_wbemprox
1357 enable_webservices
1358 enable_wer
1359 enable_wevtapi
1360 enable_wiaservc
1361 enable_wimgapi
1362 enable_windowscodecs
1363 enable_windowscodecsext
1364 enable_winealsa_drv
1365 enable_winecoreaudio_drv
1366 enable_wined3d
1367 enable_winegstreamer
1368 enable_winejoystick_drv
1369 enable_winemac_drv
1370 enable_winemapi
1371 enable_winemp3_acm
1372 enable_wineoss_drv
1373 enable_wineps_drv
1374 enable_winepulse_drv
1375 enable_wineqtdecoder
1376 enable_winex11_drv
1377 enable_wing32
1378 enable_winhttp
1379 enable_wininet
1380 enable_winmm
1381 enable_winnls32
1382 enable_winscard
1383 enable_winspool_drv
1384 enable_winsta
1385 enable_wintab32
1386 enable_wintrust
1387 enable_wlanapi
1388 enable_wldap32
1389 enable_wmi
1390 enable_wmiutils
1391 enable_wmp
1392 enable_wmvcore
1393 enable_wnaspi32
1394 enable_wpcap
1395 enable_ws2_32
1396 enable_wshom_ocx
1397 enable_wsnmp32
1398 enable_wsock32
1399 enable_wtsapi32
1400 enable_wuapi
1401 enable_wuaueng
1402 enable_x3daudio1_0
1403 enable_x3daudio1_1
1404 enable_x3daudio1_2
1405 enable_x3daudio1_3
1406 enable_x3daudio1_4
1407 enable_x3daudio1_5
1408 enable_x3daudio1_6
1409 enable_x3daudio1_7
1410 enable_xapofx1_1
1411 enable_xapofx1_2
1412 enable_xapofx1_3
1413 enable_xapofx1_4
1414 enable_xapofx1_5
1415 enable_xaudio2_0
1416 enable_xaudio2_1
1417 enable_xaudio2_2
1418 enable_xaudio2_3
1419 enable_xaudio2_4
1420 enable_xaudio2_5
1421 enable_xaudio2_6
1422 enable_xaudio2_7
1423 enable_xaudio2_8
1424 enable_xaudio2_9
1425 enable_xinput1_1
1426 enable_xinput1_2
1427 enable_xinput1_3
1428 enable_xinput1_4
1429 enable_xinput9_1_0
1430 enable_xmllite
1431 enable_xolehlp
1432 enable_xpsprint
1433 enable_xpssvcs
1434 enable_fonts
1435 enable_include
1436 enable_libs_port
1437 enable_libs_wine
1438 enable_libs_wpp
1439 enable_loader
1440 enable_arp
1441 enable_aspnet_regiis
1442 enable_attrib
1443 enable_cabarc
1444 enable_cacls
1445 enable_clock
1446 enable_cmd
1447 enable_conhost
1448 enable_control
1449 enable_cscript
1450 enable_dpnsvr
1451 enable_dxdiag
1452 enable_eject
1453 enable_expand
1454 enable_explorer
1455 enable_extrac32
1456 enable_findstr
1457 enable_hh
1458 enable_hostname
1459 enable_icacls
1460 enable_icinfo
1461 enable_iexplore
1462 enable_ipconfig
1463 enable_lodctr
1464 enable_mofcomp
1465 enable_mshta
1466 enable_msiexec
1467 enable_net
1468 enable_netsh
1469 enable_netstat
1470 enable_ngen
1471 enable_notepad
1472 enable_oleview
1473 enable_ping
1474 enable_plugplay
1475 enable_presentationfontcache
1476 enable_progman
1477 enable_reg
1478 enable_regasm
1479 enable_regedit
1480 enable_regsvcs
1481 enable_regsvr32
1482 enable_rpcss
1483 enable_rundll32
1484 enable_sc
1485 enable_schtasks
1486 enable_sdbinst
1487 enable_secedit
1488 enable_servicemodelreg
1489 enable_services
1490 enable_spoolsv
1491 enable_start
1492 enable_svchost
1493 enable_systeminfo
1494 enable_taskkill
1495 enable_tasklist
1496 enable_taskmgr
1497 enable_termsv
1498 enable_uninstaller
1499 enable_unlodctr
1500 enable_view
1501 enable_wevtutil
1502 enable_wineboot
1503 enable_winebrowser
1504 enable_winecfg
1505 enable_wineconsole
1506 enable_winedbg
1507 enable_winedevice
1508 enable_winefile
1509 enable_winemenubuilder
1510 enable_winemine
1511 enable_winemsibuilder
1512 enable_winepath
1513 enable_winetest
1514 enable_winhlp32
1515 enable_winver
1516 enable_wmic
1517 enable_wmplayer
1518 enable_wordpad
1519 enable_write
1520 enable_wscript
1521 enable_wusa
1522 enable_xcopy
1523 enable_server
1524 enable_tools
1526 ac_precious_vars='build_alias
1527 host_alias
1528 target_alias
1530 CFLAGS
1531 LDFLAGS
1532 LIBS
1533 CPPFLAGS
1535 CXXFLAGS
1538 XMKMF
1539 XML2_CFLAGS
1540 XML2_LIBS
1541 XSLT_CFLAGS
1542 XSLT_LIBS
1543 DBUS_CFLAGS
1544 DBUS_LIBS
1545 HAL_CFLAGS
1546 HAL_LIBS
1547 GNUTLS_CFLAGS
1548 GNUTLS_LIBS
1549 SANE_CFLAGS
1550 SANE_LIBS
1551 GPHOTO2_CFLAGS
1552 GPHOTO2_LIBS
1553 GPHOTO2_PORT_CFLAGS
1554 GPHOTO2_PORT_LIBS
1555 LCMS2_CFLAGS
1556 LCMS2_LIBS
1557 FREETYPE_CFLAGS
1558 FREETYPE_LIBS
1559 PULSE_CFLAGS
1560 PULSE_LIBS
1561 GSTREAMER_CFLAGS
1562 GSTREAMER_LIBS
1563 CAPI20_CFLAGS
1564 CAPI20_LIBS
1565 FONTCONFIG_CFLAGS
1566 FONTCONFIG_LIBS
1567 JPEG_CFLAGS
1568 JPEG_LIBS
1569 PNG_CFLAGS
1570 PNG_LIBS
1571 TIFF_CFLAGS
1572 TIFF_LIBS
1573 MPG123_CFLAGS
1574 MPG123_LIBS
1575 NETAPI_CFLAGS
1576 NETAPI_LIBS'
1579 # Initialize some variables set by options.
1580 ac_init_help=
1581 ac_init_version=false
1582 ac_unrecognized_opts=
1583 ac_unrecognized_sep=
1584 # The variables have the same names as the options, with
1585 # dashes changed to underlines.
1586 cache_file=/dev/null
1587 exec_prefix=NONE
1588 no_create=
1589 no_recursion=
1590 prefix=NONE
1591 program_prefix=NONE
1592 program_suffix=NONE
1593 program_transform_name=s,x,x,
1594 silent=
1595 site=
1596 srcdir=
1597 verbose=
1598 x_includes=NONE
1599 x_libraries=NONE
1601 # Installation directory options.
1602 # These are left unexpanded so users can "make install exec_prefix=/foo"
1603 # and all the variables that are supposed to be based on exec_prefix
1604 # by default will actually change.
1605 # Use braces instead of parens because sh, perl, etc. also accept them.
1606 # (The list follows the same order as the GNU Coding Standards.)
1607 bindir='${exec_prefix}/bin'
1608 sbindir='${exec_prefix}/sbin'
1609 libexecdir='${exec_prefix}/libexec'
1610 datarootdir='${prefix}/share'
1611 datadir='${datarootdir}'
1612 sysconfdir='${prefix}/etc'
1613 sharedstatedir='${prefix}/com'
1614 localstatedir='${prefix}/var'
1615 runstatedir='${localstatedir}/run'
1616 includedir='${prefix}/include'
1617 oldincludedir='/usr/include'
1618 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1619 infodir='${datarootdir}/info'
1620 htmldir='${docdir}'
1621 dvidir='${docdir}'
1622 pdfdir='${docdir}'
1623 psdir='${docdir}'
1624 libdir='${exec_prefix}/lib'
1625 localedir='${datarootdir}/locale'
1626 mandir='${datarootdir}/man'
1628 ac_prev=
1629 ac_dashdash=
1630 for ac_option
1632 # If the previous option needs an argument, assign it.
1633 if test -n "$ac_prev"; then
1634 eval $ac_prev=\$ac_option
1635 ac_prev=
1636 continue
1639 case $ac_option in
1640 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1641 *=) ac_optarg= ;;
1642 *) ac_optarg=yes ;;
1643 esac
1645 # Accept the important Cygnus configure options, so we can diagnose typos.
1647 case $ac_dashdash$ac_option in
1649 ac_dashdash=yes ;;
1651 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1652 ac_prev=bindir ;;
1653 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1654 bindir=$ac_optarg ;;
1656 -build | --build | --buil | --bui | --bu)
1657 ac_prev=build_alias ;;
1658 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1659 build_alias=$ac_optarg ;;
1661 -cache-file | --cache-file | --cache-fil | --cache-fi \
1662 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1663 ac_prev=cache_file ;;
1664 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1665 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1666 cache_file=$ac_optarg ;;
1668 --config-cache | -C)
1669 cache_file=config.cache ;;
1671 -datadir | --datadir | --datadi | --datad)
1672 ac_prev=datadir ;;
1673 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1674 datadir=$ac_optarg ;;
1676 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1677 | --dataroo | --dataro | --datar)
1678 ac_prev=datarootdir ;;
1679 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1680 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1681 datarootdir=$ac_optarg ;;
1683 -disable-* | --disable-*)
1684 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1685 # Reject names that are not valid shell variable names.
1686 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1687 as_fn_error $? "invalid feature name: $ac_useropt"
1688 ac_useropt_orig=$ac_useropt
1689 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1690 case $ac_user_opts in
1692 "enable_$ac_useropt"
1693 "*) ;;
1694 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1695 ac_unrecognized_sep=', ';;
1696 esac
1697 eval enable_$ac_useropt=no ;;
1699 -docdir | --docdir | --docdi | --doc | --do)
1700 ac_prev=docdir ;;
1701 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1702 docdir=$ac_optarg ;;
1704 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1705 ac_prev=dvidir ;;
1706 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1707 dvidir=$ac_optarg ;;
1709 -enable-* | --enable-*)
1710 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1711 # Reject names that are not valid shell variable names.
1712 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1713 as_fn_error $? "invalid feature name: $ac_useropt"
1714 ac_useropt_orig=$ac_useropt
1715 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1716 case $ac_user_opts in
1718 "enable_$ac_useropt"
1719 "*) ;;
1720 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1721 ac_unrecognized_sep=', ';;
1722 esac
1723 eval enable_$ac_useropt=\$ac_optarg ;;
1725 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1726 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1727 | --exec | --exe | --ex)
1728 ac_prev=exec_prefix ;;
1729 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1730 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1731 | --exec=* | --exe=* | --ex=*)
1732 exec_prefix=$ac_optarg ;;
1734 -gas | --gas | --ga | --g)
1735 # Obsolete; use --with-gas.
1736 with_gas=yes ;;
1738 -help | --help | --hel | --he | -h)
1739 ac_init_help=long ;;
1740 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1741 ac_init_help=recursive ;;
1742 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1743 ac_init_help=short ;;
1745 -host | --host | --hos | --ho)
1746 ac_prev=host_alias ;;
1747 -host=* | --host=* | --hos=* | --ho=*)
1748 host_alias=$ac_optarg ;;
1750 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1751 ac_prev=htmldir ;;
1752 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1753 | --ht=*)
1754 htmldir=$ac_optarg ;;
1756 -includedir | --includedir | --includedi | --included | --include \
1757 | --includ | --inclu | --incl | --inc)
1758 ac_prev=includedir ;;
1759 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1760 | --includ=* | --inclu=* | --incl=* | --inc=*)
1761 includedir=$ac_optarg ;;
1763 -infodir | --infodir | --infodi | --infod | --info | --inf)
1764 ac_prev=infodir ;;
1765 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1766 infodir=$ac_optarg ;;
1768 -libdir | --libdir | --libdi | --libd)
1769 ac_prev=libdir ;;
1770 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1771 libdir=$ac_optarg ;;
1773 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1774 | --libexe | --libex | --libe)
1775 ac_prev=libexecdir ;;
1776 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1777 | --libexe=* | --libex=* | --libe=*)
1778 libexecdir=$ac_optarg ;;
1780 -localedir | --localedir | --localedi | --localed | --locale)
1781 ac_prev=localedir ;;
1782 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1783 localedir=$ac_optarg ;;
1785 -localstatedir | --localstatedir | --localstatedi | --localstated \
1786 | --localstate | --localstat | --localsta | --localst | --locals)
1787 ac_prev=localstatedir ;;
1788 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1789 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1790 localstatedir=$ac_optarg ;;
1792 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1793 ac_prev=mandir ;;
1794 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1795 mandir=$ac_optarg ;;
1797 -nfp | --nfp | --nf)
1798 # Obsolete; use --without-fp.
1799 with_fp=no ;;
1801 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1802 | --no-cr | --no-c | -n)
1803 no_create=yes ;;
1805 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1806 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1807 no_recursion=yes ;;
1809 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1810 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1811 | --oldin | --oldi | --old | --ol | --o)
1812 ac_prev=oldincludedir ;;
1813 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1814 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1815 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1816 oldincludedir=$ac_optarg ;;
1818 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1819 ac_prev=prefix ;;
1820 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1821 prefix=$ac_optarg ;;
1823 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1824 | --program-pre | --program-pr | --program-p)
1825 ac_prev=program_prefix ;;
1826 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1827 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1828 program_prefix=$ac_optarg ;;
1830 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1831 | --program-suf | --program-su | --program-s)
1832 ac_prev=program_suffix ;;
1833 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1834 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1835 program_suffix=$ac_optarg ;;
1837 -program-transform-name | --program-transform-name \
1838 | --program-transform-nam | --program-transform-na \
1839 | --program-transform-n | --program-transform- \
1840 | --program-transform | --program-transfor \
1841 | --program-transfo | --program-transf \
1842 | --program-trans | --program-tran \
1843 | --progr-tra | --program-tr | --program-t)
1844 ac_prev=program_transform_name ;;
1845 -program-transform-name=* | --program-transform-name=* \
1846 | --program-transform-nam=* | --program-transform-na=* \
1847 | --program-transform-n=* | --program-transform-=* \
1848 | --program-transform=* | --program-transfor=* \
1849 | --program-transfo=* | --program-transf=* \
1850 | --program-trans=* | --program-tran=* \
1851 | --progr-tra=* | --program-tr=* | --program-t=*)
1852 program_transform_name=$ac_optarg ;;
1854 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1855 ac_prev=pdfdir ;;
1856 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1857 pdfdir=$ac_optarg ;;
1859 -psdir | --psdir | --psdi | --psd | --ps)
1860 ac_prev=psdir ;;
1861 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1862 psdir=$ac_optarg ;;
1864 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1865 | -silent | --silent | --silen | --sile | --sil)
1866 silent=yes ;;
1868 -runstatedir | --runstatedir | --runstatedi | --runstated \
1869 | --runstate | --runstat | --runsta | --runst | --runs \
1870 | --run | --ru | --r)
1871 ac_prev=runstatedir ;;
1872 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1873 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1874 | --run=* | --ru=* | --r=*)
1875 runstatedir=$ac_optarg ;;
1877 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1878 ac_prev=sbindir ;;
1879 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1880 | --sbi=* | --sb=*)
1881 sbindir=$ac_optarg ;;
1883 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1884 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1885 | --sharedst | --shareds | --shared | --share | --shar \
1886 | --sha | --sh)
1887 ac_prev=sharedstatedir ;;
1888 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1889 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1890 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1891 | --sha=* | --sh=*)
1892 sharedstatedir=$ac_optarg ;;
1894 -site | --site | --sit)
1895 ac_prev=site ;;
1896 -site=* | --site=* | --sit=*)
1897 site=$ac_optarg ;;
1899 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1900 ac_prev=srcdir ;;
1901 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1902 srcdir=$ac_optarg ;;
1904 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1905 | --syscon | --sysco | --sysc | --sys | --sy)
1906 ac_prev=sysconfdir ;;
1907 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1908 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1909 sysconfdir=$ac_optarg ;;
1911 -target | --target | --targe | --targ | --tar | --ta | --t)
1912 ac_prev=target_alias ;;
1913 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1914 target_alias=$ac_optarg ;;
1916 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1917 verbose=yes ;;
1919 -version | --version | --versio | --versi | --vers | -V)
1920 ac_init_version=: ;;
1922 -with-* | --with-*)
1923 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1924 # Reject names that are not valid shell variable names.
1925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1926 as_fn_error $? "invalid package name: $ac_useropt"
1927 ac_useropt_orig=$ac_useropt
1928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1929 case $ac_user_opts in
1931 "with_$ac_useropt"
1932 "*) ;;
1933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1934 ac_unrecognized_sep=', ';;
1935 esac
1936 eval with_$ac_useropt=\$ac_optarg ;;
1938 -without-* | --without-*)
1939 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1940 # Reject names that are not valid shell variable names.
1941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1942 as_fn_error $? "invalid package name: $ac_useropt"
1943 ac_useropt_orig=$ac_useropt
1944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1945 case $ac_user_opts in
1947 "with_$ac_useropt"
1948 "*) ;;
1949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1950 ac_unrecognized_sep=', ';;
1951 esac
1952 eval with_$ac_useropt=no ;;
1954 --x)
1955 # Obsolete; use --with-x.
1956 with_x=yes ;;
1958 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1959 | --x-incl | --x-inc | --x-in | --x-i)
1960 ac_prev=x_includes ;;
1961 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1962 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1963 x_includes=$ac_optarg ;;
1965 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1966 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1967 ac_prev=x_libraries ;;
1968 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1969 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1970 x_libraries=$ac_optarg ;;
1972 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1973 Try \`$0 --help' for more information"
1976 *=*)
1977 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1978 # Reject names that are not valid shell variable names.
1979 case $ac_envvar in #(
1980 '' | [0-9]* | *[!_$as_cr_alnum]* )
1981 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1982 esac
1983 eval $ac_envvar=\$ac_optarg
1984 export $ac_envvar ;;
1987 # FIXME: should be removed in autoconf 3.0.
1988 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1989 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1990 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1991 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1994 esac
1995 done
1997 if test -n "$ac_prev"; then
1998 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1999 as_fn_error $? "missing argument to $ac_option"
2002 if test -n "$ac_unrecognized_opts"; then
2003 case $enable_option_checking in
2004 no) ;;
2005 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2006 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2007 esac
2010 # Check all directory arguments for consistency.
2011 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2012 datadir sysconfdir sharedstatedir localstatedir includedir \
2013 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2014 libdir localedir mandir runstatedir
2016 eval ac_val=\$$ac_var
2017 # Remove trailing slashes.
2018 case $ac_val in
2019 */ )
2020 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2021 eval $ac_var=\$ac_val;;
2022 esac
2023 # Be sure to have absolute directory names.
2024 case $ac_val in
2025 [\\/$]* | ?:[\\/]* ) continue;;
2026 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2027 esac
2028 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2029 done
2031 # There might be people who depend on the old broken behavior: `$host'
2032 # used to hold the argument of --host etc.
2033 # FIXME: To remove some day.
2034 build=$build_alias
2035 host=$host_alias
2036 target=$target_alias
2038 # FIXME: To remove some day.
2039 if test "x$host_alias" != x; then
2040 if test "x$build_alias" = x; then
2041 cross_compiling=maybe
2042 elif test "x$build_alias" != "x$host_alias"; then
2043 cross_compiling=yes
2047 ac_tool_prefix=
2048 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2050 test "$silent" = yes && exec 6>/dev/null
2053 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2054 ac_ls_di=`ls -di .` &&
2055 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2056 as_fn_error $? "working directory cannot be determined"
2057 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2058 as_fn_error $? "pwd does not report name of working directory"
2061 # Find the source files, if location was not specified.
2062 if test -z "$srcdir"; then
2063 ac_srcdir_defaulted=yes
2064 # Try the directory containing this script, then the parent directory.
2065 ac_confdir=`$as_dirname -- "$as_myself" ||
2066 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2067 X"$as_myself" : 'X\(//\)[^/]' \| \
2068 X"$as_myself" : 'X\(//\)$' \| \
2069 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2070 $as_echo X"$as_myself" |
2071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2072 s//\1/
2075 /^X\(\/\/\)[^/].*/{
2076 s//\1/
2079 /^X\(\/\/\)$/{
2080 s//\1/
2083 /^X\(\/\).*/{
2084 s//\1/
2087 s/.*/./; q'`
2088 srcdir=$ac_confdir
2089 if test ! -r "$srcdir/$ac_unique_file"; then
2090 srcdir=..
2092 else
2093 ac_srcdir_defaulted=no
2095 if test ! -r "$srcdir/$ac_unique_file"; then
2096 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2097 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2099 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2100 ac_abs_confdir=`(
2101 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2102 pwd)`
2103 # When building in place, set srcdir=.
2104 if test "$ac_abs_confdir" = "$ac_pwd"; then
2105 srcdir=.
2107 # Remove unnecessary trailing slashes from srcdir.
2108 # Double slashes in file names in object file debugging info
2109 # mess up M-x gdb in Emacs.
2110 case $srcdir in
2111 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2112 esac
2113 for ac_var in $ac_precious_vars; do
2114 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2115 eval ac_env_${ac_var}_value=\$${ac_var}
2116 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2117 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2118 done
2121 # Report the --help message.
2123 if test "$ac_init_help" = "long"; then
2124 # Omit some internal or obsolete options to make the list less imposing.
2125 # This message is too long to be a string in the A/UX 3.1 sh.
2126 cat <<_ACEOF
2127 \`configure' configures Wine 1.9.4 to adapt to many kinds of systems.
2129 Usage: $0 [OPTION]... [VAR=VALUE]...
2131 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2132 VAR=VALUE. See below for descriptions of some of the useful variables.
2134 Defaults for the options are specified in brackets.
2136 Configuration:
2137 -h, --help display this help and exit
2138 --help=short display options specific to this package
2139 --help=recursive display the short help of all the included packages
2140 -V, --version display version information and exit
2141 -q, --quiet, --silent do not print \`checking ...' messages
2142 --cache-file=FILE cache test results in FILE [disabled]
2143 -C, --config-cache alias for \`--cache-file=config.cache'
2144 -n, --no-create do not create output files
2145 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2147 Installation directories:
2148 --prefix=PREFIX install architecture-independent files in PREFIX
2149 [$ac_default_prefix]
2150 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2151 [PREFIX]
2153 By default, \`make install' will install all the files in
2154 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2155 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2156 for instance \`--prefix=\$HOME'.
2158 For better control, use the options below.
2160 Fine tuning of the installation directories:
2161 --bindir=DIR user executables [EPREFIX/bin]
2162 --sbindir=DIR system admin executables [EPREFIX/sbin]
2163 --libexecdir=DIR program executables [EPREFIX/libexec]
2164 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2165 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2166 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2167 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2168 --libdir=DIR object code libraries [EPREFIX/lib]
2169 --includedir=DIR C header files [PREFIX/include]
2170 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2171 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2172 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2173 --infodir=DIR info documentation [DATAROOTDIR/info]
2174 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2175 --mandir=DIR man documentation [DATAROOTDIR/man]
2176 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2177 --htmldir=DIR html documentation [DOCDIR]
2178 --dvidir=DIR dvi documentation [DOCDIR]
2179 --pdfdir=DIR pdf documentation [DOCDIR]
2180 --psdir=DIR ps documentation [DOCDIR]
2181 _ACEOF
2183 cat <<\_ACEOF
2185 X features:
2186 --x-includes=DIR X include files are in DIR
2187 --x-libraries=DIR X library files are in DIR
2189 System types:
2190 --build=BUILD configure for building on BUILD [guessed]
2191 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2192 _ACEOF
2195 if test -n "$ac_init_help"; then
2196 case $ac_init_help in
2197 short | recursive ) echo "Configuration of Wine 1.9.4:";;
2198 esac
2199 cat <<\_ACEOF
2201 Optional Features:
2202 --disable-option-checking ignore unrecognized --enable/--with options
2203 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2204 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2205 --disable-win16 do not include Win16 support
2206 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2207 binaries)
2208 --disable-tests do not build the regression tests
2209 --enable-maintainer-mode
2210 enable maintainer-specific build rules
2211 --disable-largefile omit support for large files
2213 Optional Packages:
2214 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2215 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2216 --without-alsa do not use the Alsa sound support
2217 --without-capi do not use CAPI (ISDN support)
2218 --without-cms do not use CMS (color management support)
2219 --without-coreaudio do not use the CoreAudio sound support
2220 --without-cups do not use CUPS
2221 --without-curses do not use (n)curses
2222 --without-dbus do not use DBus (dynamic device support)
2223 --without-fontconfig do not use fontconfig
2224 --without-freetype do not use the FreeType library
2225 --without-gettext do not use gettext
2226 --with-gettextpo use the GetTextPO library to rebuild po files
2227 --without-gphoto do not use gphoto (Digital Camera support)
2228 --without-glu do not use the GLU library
2229 --without-gnutls do not use GnuTLS (schannel support)
2230 --without-gsm do not use libgsm (GSM 06.10 codec support)
2231 --without-gstreamer do not use GStreamer (codecs support)
2232 --without-hal do not use HAL (dynamic device support)
2233 --without-jpeg do not use JPEG
2234 --without-ldap do not use LDAP
2235 --without-mpg123 do not use the mpg123 library
2236 --without-netapi do not use the Samba NetAPI library
2237 --without-openal do not use OpenAL
2238 --without-opencl do not use OpenCL
2239 --without-opengl do not use OpenGL
2240 --without-osmesa do not use the OSMesa library
2241 --without-oss do not use the OSS sound support
2242 --without-pcap do not use the Packet Capture library
2243 --without-png do not use PNG
2244 --without-pthread do not use the pthread library
2245 --without-pulse do not use PulseAudio sound support
2246 --without-sane do not use SANE (scanner support)
2247 --without-tiff do not use TIFF
2248 --without-v4l do not use v4l1 (v4l support)
2249 --without-xcomposite do not use the Xcomposite extension
2250 --without-xcursor do not use the Xcursor extension
2251 --without-xinerama do not use Xinerama (multi-monitor support)
2252 --without-xinput do not use the Xinput extension
2253 --without-xinput2 do not use the Xinput 2 extension
2254 --without-xml do not use XML
2255 --without-xrandr do not use Xrandr (resolution changes)
2256 --without-xrender do not use the Xrender extension
2257 --without-xshape do not use the Xshape extension
2258 --without-xshm do not use XShm (shared memory extension)
2259 --without-xslt do not use XSLT
2260 --without-xxf86vm do not use XFree video mode extension
2261 --without-zlib do not use Zlib (data compression)
2262 --with-wine-tools=DIR use Wine tools from directory DIR
2263 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2264 --with-x use the X Window System
2266 Some influential environment variables:
2267 CC C compiler command
2268 CFLAGS C compiler flags
2269 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2270 nonstandard directory <lib dir>
2271 LIBS libraries to pass to the linker, e.g. -l<library>
2272 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2273 you have headers in a nonstandard directory <include dir>
2274 CXX C++ compiler command
2275 CXXFLAGS C++ compiler flags
2276 CPP C preprocessor
2277 XMKMF Path to xmkmf, Makefile generator for X Window System
2278 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2279 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2280 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2281 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2282 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2283 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2284 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2285 HAL_LIBS Linker flags for hal, overriding pkg-config
2286 GNUTLS_CFLAGS
2287 C compiler flags for gnutls, overriding pkg-config
2288 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2289 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2290 SANE_LIBS Linker flags for libsane, overriding pkg-config
2291 GPHOTO2_CFLAGS
2292 C compiler flags for libgphoto2, overriding pkg-config
2293 GPHOTO2_LIBS
2294 Linker flags for libgphoto2, overriding pkg-config
2295 GPHOTO2_PORT_CFLAGS
2296 C compiler flags for libgphoto2_port, overriding pkg-config
2297 GPHOTO2_PORT_LIBS
2298 Linker flags for libgphoto2_port, overriding pkg-config
2299 LCMS2_CFLAGS
2300 C compiler flags for lcms2, overriding pkg-config
2301 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2302 FREETYPE_CFLAGS
2303 C compiler flags for freetype2, overriding pkg-config
2304 FREETYPE_LIBS
2305 Linker flags for freetype2, overriding pkg-config
2306 PULSE_CFLAGS
2307 C compiler flags for libpulse, overriding pkg-config
2308 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2309 GSTREAMER_CFLAGS
2310 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2311 gstreamer-audio-1.0, overriding pkg-config
2312 GSTREAMER_LIBS
2313 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2314 gstreamer-audio-1.0, overriding pkg-config
2315 CAPI20_CFLAGS
2316 C compiler flags for capi20, overriding pkg-config
2317 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2318 FONTCONFIG_CFLAGS
2319 C compiler flags for fontconfig, overriding pkg-config
2320 FONTCONFIG_LIBS
2321 Linker flags for fontconfig, overriding pkg-config
2322 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2323 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2324 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2325 PNG_LIBS Linker flags for libpng, overriding pkg-config
2326 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2327 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2328 MPG123_CFLAGS
2329 C compiler flags for libmpg123, overriding pkg-config
2330 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2331 NETAPI_CFLAGS
2332 C compiler flags for netapi, overriding pkg-config
2333 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2335 Use these variables to override the choices made by `configure' or to help
2336 it to find libraries and programs with nonstandard names/locations.
2338 Report bugs to <wine-devel@winehq.org>.
2339 Wine home page: <http://www.winehq.org>.
2340 _ACEOF
2341 ac_status=$?
2344 if test "$ac_init_help" = "recursive"; then
2345 # If there are subdirs, report their specific --help.
2346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2347 test -d "$ac_dir" ||
2348 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2349 continue
2350 ac_builddir=.
2352 case "$ac_dir" in
2353 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2355 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2356 # A ".." for each directory in $ac_dir_suffix.
2357 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2358 case $ac_top_builddir_sub in
2359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2361 esac ;;
2362 esac
2363 ac_abs_top_builddir=$ac_pwd
2364 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2365 # for backward compatibility:
2366 ac_top_builddir=$ac_top_build_prefix
2368 case $srcdir in
2369 .) # We are building in place.
2370 ac_srcdir=.
2371 ac_top_srcdir=$ac_top_builddir_sub
2372 ac_abs_top_srcdir=$ac_pwd ;;
2373 [\\/]* | ?:[\\/]* ) # Absolute name.
2374 ac_srcdir=$srcdir$ac_dir_suffix;
2375 ac_top_srcdir=$srcdir
2376 ac_abs_top_srcdir=$srcdir ;;
2377 *) # Relative name.
2378 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2379 ac_top_srcdir=$ac_top_build_prefix$srcdir
2380 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2381 esac
2382 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2384 cd "$ac_dir" || { ac_status=$?; continue; }
2385 # Check for guested configure.
2386 if test -f "$ac_srcdir/configure.gnu"; then
2387 echo &&
2388 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2389 elif test -f "$ac_srcdir/configure"; then
2390 echo &&
2391 $SHELL "$ac_srcdir/configure" --help=recursive
2392 else
2393 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2394 fi || ac_status=$?
2395 cd "$ac_pwd" || { ac_status=$?; break; }
2396 done
2399 test -n "$ac_init_help" && exit $ac_status
2400 if $ac_init_version; then
2401 cat <<\_ACEOF
2402 Wine configure 1.9.4
2403 generated by GNU Autoconf 2.69
2405 Copyright (C) 2012 Free Software Foundation, Inc.
2406 This configure script is free software; the Free Software Foundation
2407 gives unlimited permission to copy, distribute and modify it.
2408 _ACEOF
2409 exit
2412 ## ------------------------ ##
2413 ## Autoconf initialization. ##
2414 ## ------------------------ ##
2416 # ac_fn_c_try_compile LINENO
2417 # --------------------------
2418 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2419 ac_fn_c_try_compile ()
2421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2422 rm -f conftest.$ac_objext
2423 if { { ac_try="$ac_compile"
2424 case "(($ac_try" in
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2427 esac
2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_compile") 2>conftest.err
2431 ac_status=$?
2432 if test -s conftest.err; then
2433 grep -v '^ *+' conftest.err >conftest.er1
2434 cat conftest.er1 >&5
2435 mv -f conftest.er1 conftest.err
2437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2438 test $ac_status = 0; } && {
2439 test -z "$ac_c_werror_flag" ||
2440 test ! -s conftest.err
2441 } && test -s conftest.$ac_objext; then :
2442 ac_retval=0
2443 else
2444 $as_echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.$ac_ext >&5
2447 ac_retval=1
2449 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2450 as_fn_set_status $ac_retval
2452 } # ac_fn_c_try_compile
2454 # ac_fn_cxx_try_compile LINENO
2455 # ----------------------------
2456 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2457 ac_fn_cxx_try_compile ()
2459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2460 rm -f conftest.$ac_objext
2461 if { { ac_try="$ac_compile"
2462 case "(($ac_try" in
2463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2464 *) ac_try_echo=$ac_try;;
2465 esac
2466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2467 $as_echo "$ac_try_echo"; } >&5
2468 (eval "$ac_compile") 2>conftest.err
2469 ac_status=$?
2470 if test -s conftest.err; then
2471 grep -v '^ *+' conftest.err >conftest.er1
2472 cat conftest.er1 >&5
2473 mv -f conftest.er1 conftest.err
2475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2476 test $ac_status = 0; } && {
2477 test -z "$ac_cxx_werror_flag" ||
2478 test ! -s conftest.err
2479 } && test -s conftest.$ac_objext; then :
2480 ac_retval=0
2481 else
2482 $as_echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2485 ac_retval=1
2487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2488 as_fn_set_status $ac_retval
2490 } # ac_fn_cxx_try_compile
2492 # ac_fn_c_try_link LINENO
2493 # -----------------------
2494 # Try to link conftest.$ac_ext, and return whether this succeeded.
2495 ac_fn_c_try_link ()
2497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2498 rm -f conftest.$ac_objext conftest$ac_exeext
2499 if { { ac_try="$ac_link"
2500 case "(($ac_try" in
2501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502 *) ac_try_echo=$ac_try;;
2503 esac
2504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2505 $as_echo "$ac_try_echo"; } >&5
2506 (eval "$ac_link") 2>conftest.err
2507 ac_status=$?
2508 if test -s conftest.err; then
2509 grep -v '^ *+' conftest.err >conftest.er1
2510 cat conftest.er1 >&5
2511 mv -f conftest.er1 conftest.err
2513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2514 test $ac_status = 0; } && {
2515 test -z "$ac_c_werror_flag" ||
2516 test ! -s conftest.err
2517 } && test -s conftest$ac_exeext && {
2518 test "$cross_compiling" = yes ||
2519 test -x conftest$ac_exeext
2520 }; then :
2521 ac_retval=0
2522 else
2523 $as_echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 ac_retval=1
2528 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2529 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2530 # interfere with the next link command; also delete a directory that is
2531 # left behind by Apple's compiler. We do this before executing the actions.
2532 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2534 as_fn_set_status $ac_retval
2536 } # ac_fn_c_try_link
2538 # ac_fn_c_try_cpp LINENO
2539 # ----------------------
2540 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2541 ac_fn_c_try_cpp ()
2543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2544 if { { ac_try="$ac_cpp conftest.$ac_ext"
2545 case "(($ac_try" in
2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2548 esac
2549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550 $as_echo "$ac_try_echo"; } >&5
2551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2552 ac_status=$?
2553 if test -s conftest.err; then
2554 grep -v '^ *+' conftest.err >conftest.er1
2555 cat conftest.er1 >&5
2556 mv -f conftest.er1 conftest.err
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; } > conftest.i && {
2560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2561 test ! -s conftest.err
2562 }; then :
2563 ac_retval=0
2564 else
2565 $as_echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2568 ac_retval=1
2570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 as_fn_set_status $ac_retval
2573 } # ac_fn_c_try_cpp
2575 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2576 # -------------------------------------------------------
2577 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2578 # the include files in INCLUDES and setting the cache variable VAR
2579 # accordingly.
2580 ac_fn_c_check_header_mongrel ()
2582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2583 if eval \${$3+:} false; then :
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2585 $as_echo_n "checking for $2... " >&6; }
2586 if eval \${$3+:} false; then :
2587 $as_echo_n "(cached) " >&6
2589 eval ac_res=\$$3
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2591 $as_echo "$ac_res" >&6; }
2592 else
2593 # Is the header compilable?
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2595 $as_echo_n "checking $2 usability... " >&6; }
2596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2599 #include <$2>
2600 _ACEOF
2601 if ac_fn_c_try_compile "$LINENO"; then :
2602 ac_header_compiler=yes
2603 else
2604 ac_header_compiler=no
2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2608 $as_echo "$ac_header_compiler" >&6; }
2610 # Is the header present?
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2612 $as_echo_n "checking $2 presence... " >&6; }
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2615 #include <$2>
2616 _ACEOF
2617 if ac_fn_c_try_cpp "$LINENO"; then :
2618 ac_header_preproc=yes
2619 else
2620 ac_header_preproc=no
2622 rm -f conftest.err conftest.i conftest.$ac_ext
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2624 $as_echo "$ac_header_preproc" >&6; }
2626 # So? What about this header?
2627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2628 yes:no: )
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2630 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2634 no:yes:* )
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2636 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2638 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2640 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2642 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2645 ( $as_echo "## ------------------------------------ ##
2646 ## Report this to wine-devel@winehq.org ##
2647 ## ------------------------------------ ##"
2648 ) | sed "s/^/$as_me: WARNING: /" >&2
2650 esac
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2652 $as_echo_n "checking for $2... " >&6; }
2653 if eval \${$3+:} false; then :
2654 $as_echo_n "(cached) " >&6
2655 else
2656 eval "$3=\$ac_header_compiler"
2658 eval ac_res=\$$3
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2660 $as_echo "$ac_res" >&6; }
2662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2664 } # ac_fn_c_check_header_mongrel
2666 # ac_fn_c_try_run LINENO
2667 # ----------------------
2668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2669 # that executables *can* be run.
2670 ac_fn_c_try_run ()
2672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2673 if { { ac_try="$ac_link"
2674 case "(($ac_try" in
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2677 esac
2678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2679 $as_echo "$ac_try_echo"; } >&5
2680 (eval "$ac_link") 2>&5
2681 ac_status=$?
2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
2691 ac_status=$?
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; }; }; then :
2694 ac_retval=0
2695 else
2696 $as_echo "$as_me: program exited with status $ac_status" >&5
2697 $as_echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.$ac_ext >&5
2700 ac_retval=$ac_status
2702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 as_fn_set_status $ac_retval
2706 } # ac_fn_c_try_run
2708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2709 # -------------------------------------------------------
2710 # Tests whether HEADER exists and can be compiled using the include files in
2711 # INCLUDES, setting the cache variable VAR accordingly.
2712 ac_fn_c_check_header_compile ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2716 $as_echo_n "checking for $2... " >&6; }
2717 if eval \${$3+:} false; then :
2718 $as_echo_n "(cached) " >&6
2719 else
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2723 #include <$2>
2724 _ACEOF
2725 if ac_fn_c_try_compile "$LINENO"; then :
2726 eval "$3=yes"
2727 else
2728 eval "$3=no"
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2732 eval ac_res=\$$3
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2737 } # ac_fn_c_check_header_compile
2739 # ac_fn_c_check_func LINENO FUNC VAR
2740 # ----------------------------------
2741 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2742 ac_fn_c_check_func ()
2744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2746 $as_echo_n "checking for $2... " >&6; }
2747 if eval \${$3+:} false; then :
2748 $as_echo_n "(cached) " >&6
2749 else
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2752 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2754 #define $2 innocuous_$2
2756 /* System header to define __stub macros and hopefully few prototypes,
2757 which can conflict with char $2 (); below.
2758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2759 <limits.h> exists even on freestanding compilers. */
2761 #ifdef __STDC__
2762 # include <limits.h>
2763 #else
2764 # include <assert.h>
2765 #endif
2767 #undef $2
2769 /* Override any GCC internal prototype to avoid an error.
2770 Use char because int might match the return type of a GCC
2771 builtin and then its argument prototype would still apply. */
2772 #ifdef __cplusplus
2773 extern "C"
2774 #endif
2775 char $2 ();
2776 /* The GNU C library defines this for functions which it implements
2777 to always fail with ENOSYS. Some functions are actually named
2778 something starting with __ and the normal name is an alias. */
2779 #if defined __stub_$2 || defined __stub___$2
2780 choke me
2781 #endif
2784 main ()
2786 return $2 ();
2788 return 0;
2790 _ACEOF
2791 if ac_fn_c_try_link "$LINENO"; then :
2792 eval "$3=yes"
2793 else
2794 eval "$3=no"
2796 rm -f core conftest.err conftest.$ac_objext \
2797 conftest$ac_exeext conftest.$ac_ext
2799 eval ac_res=\$$3
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_func
2806 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2807 # ----------------------------------------------------
2808 # Tries to find if the field MEMBER exists in type AGGR, after including
2809 # INCLUDES, setting cache variable VAR accordingly.
2810 ac_fn_c_check_member ()
2812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2814 $as_echo_n "checking for $2.$3... " >&6; }
2815 if eval \${$4+:} false; then :
2816 $as_echo_n "(cached) " >&6
2817 else
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2822 main ()
2824 static $2 ac_aggr;
2825 if (ac_aggr.$3)
2826 return 0;
2828 return 0;
2830 _ACEOF
2831 if ac_fn_c_try_compile "$LINENO"; then :
2832 eval "$4=yes"
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2838 main ()
2840 static $2 ac_aggr;
2841 if (sizeof ac_aggr.$3)
2842 return 0;
2844 return 0;
2846 _ACEOF
2847 if ac_fn_c_try_compile "$LINENO"; then :
2848 eval "$4=yes"
2849 else
2850 eval "$4=no"
2852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 eval ac_res=\$$4
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2858 $as_echo "$ac_res" >&6; }
2859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 } # ac_fn_c_check_member
2863 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2864 # -------------------------------------------
2865 # Tests whether TYPE exists after having included INCLUDES, setting cache
2866 # variable VAR accordingly.
2867 ac_fn_c_check_type ()
2869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2871 $as_echo_n "checking for $2... " >&6; }
2872 if eval \${$3+:} false; then :
2873 $as_echo_n "(cached) " >&6
2874 else
2875 eval "$3=no"
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2880 main ()
2882 if (sizeof ($2))
2883 return 0;
2885 return 0;
2887 _ACEOF
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2893 main ()
2895 if (sizeof (($2)))
2896 return 0;
2898 return 0;
2900 _ACEOF
2901 if ac_fn_c_try_compile "$LINENO"; then :
2903 else
2904 eval "$3=yes"
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 } # ac_fn_c_check_type
2916 cat >config.log <<_ACEOF
2917 This file contains any messages produced by compilers while
2918 running configure, to aid debugging if configure makes a mistake.
2920 It was created by Wine $as_me 1.9.4, which was
2921 generated by GNU Autoconf 2.69. Invocation command line was
2923 $ $0 $@
2925 _ACEOF
2926 exec 5>>config.log
2928 cat <<_ASUNAME
2929 ## --------- ##
2930 ## Platform. ##
2931 ## --------- ##
2933 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2934 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2935 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2936 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2937 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2939 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2940 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2942 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2943 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2944 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2945 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2946 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2947 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2948 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2950 _ASUNAME
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 for as_dir in $PATH
2955 IFS=$as_save_IFS
2956 test -z "$as_dir" && as_dir=.
2957 $as_echo "PATH: $as_dir"
2958 done
2959 IFS=$as_save_IFS
2961 } >&5
2963 cat >&5 <<_ACEOF
2966 ## ----------- ##
2967 ## Core tests. ##
2968 ## ----------- ##
2970 _ACEOF
2973 # Keep a trace of the command line.
2974 # Strip out --no-create and --no-recursion so they do not pile up.
2975 # Strip out --silent because we don't want to record it for future runs.
2976 # Also quote any args containing shell meta-characters.
2977 # Make two passes to allow for proper duplicate-argument suppression.
2978 ac_configure_args=
2979 ac_configure_args0=
2980 ac_configure_args1=
2981 ac_must_keep_next=false
2982 for ac_pass in 1 2
2984 for ac_arg
2986 case $ac_arg in
2987 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2989 | -silent | --silent | --silen | --sile | --sil)
2990 continue ;;
2991 *\'*)
2992 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2993 esac
2994 case $ac_pass in
2995 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2997 as_fn_append ac_configure_args1 " '$ac_arg'"
2998 if test $ac_must_keep_next = true; then
2999 ac_must_keep_next=false # Got value, back to normal.
3000 else
3001 case $ac_arg in
3002 *=* | --config-cache | -C | -disable-* | --disable-* \
3003 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3004 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3005 | -with-* | --with-* | -without-* | --without-* | --x)
3006 case "$ac_configure_args0 " in
3007 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3008 esac
3010 -* ) ac_must_keep_next=true ;;
3011 esac
3013 as_fn_append ac_configure_args " '$ac_arg'"
3015 esac
3016 done
3017 done
3018 { ac_configure_args0=; unset ac_configure_args0;}
3019 { ac_configure_args1=; unset ac_configure_args1;}
3021 # When interrupted or exit'd, cleanup temporary files, and complete
3022 # config.log. We remove comments because anyway the quotes in there
3023 # would cause problems or look ugly.
3024 # WARNING: Use '\'' to represent an apostrophe within the trap.
3025 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3026 trap 'exit_status=$?
3027 # Save into config.log some information that might help in debugging.
3029 echo
3031 $as_echo "## ---------------- ##
3032 ## Cache variables. ##
3033 ## ---------------- ##"
3034 echo
3035 # The following way of writing the cache mishandles newlines in values,
3037 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3038 eval ac_val=\$$ac_var
3039 case $ac_val in #(
3040 *${as_nl}*)
3041 case $ac_var in #(
3042 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3044 esac
3045 case $ac_var in #(
3046 _ | IFS | as_nl) ;; #(
3047 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3048 *) { eval $ac_var=; unset $ac_var;} ;;
3049 esac ;;
3050 esac
3051 done
3052 (set) 2>&1 |
3053 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3054 *${as_nl}ac_space=\ *)
3055 sed -n \
3056 "s/'\''/'\''\\\\'\'''\''/g;
3057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3058 ;; #(
3060 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3062 esac |
3063 sort
3065 echo
3067 $as_echo "## ----------------- ##
3068 ## Output variables. ##
3069 ## ----------------- ##"
3070 echo
3071 for ac_var in $ac_subst_vars
3073 eval ac_val=\$$ac_var
3074 case $ac_val in
3075 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3076 esac
3077 $as_echo "$ac_var='\''$ac_val'\''"
3078 done | sort
3079 echo
3081 if test -n "$ac_subst_files"; then
3082 $as_echo "## ------------------- ##
3083 ## File substitutions. ##
3084 ## ------------------- ##"
3085 echo
3086 for ac_var in $ac_subst_files
3088 eval ac_val=\$$ac_var
3089 case $ac_val in
3090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3091 esac
3092 $as_echo "$ac_var='\''$ac_val'\''"
3093 done | sort
3094 echo
3097 if test -s confdefs.h; then
3098 $as_echo "## ----------- ##
3099 ## confdefs.h. ##
3100 ## ----------- ##"
3101 echo
3102 cat confdefs.h
3103 echo
3105 test "$ac_signal" != 0 &&
3106 $as_echo "$as_me: caught signal $ac_signal"
3107 $as_echo "$as_me: exit $exit_status"
3108 } >&5
3109 rm -f core *.core core.conftest.* &&
3110 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3111 exit $exit_status
3113 for ac_signal in 1 2 13 15; do
3114 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3115 done
3116 ac_signal=0
3118 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3119 rm -f -r conftest* confdefs.h
3121 $as_echo "/* confdefs.h */" > confdefs.h
3123 # Predefined preprocessor variables.
3125 cat >>confdefs.h <<_ACEOF
3126 #define PACKAGE_NAME "$PACKAGE_NAME"
3127 _ACEOF
3129 cat >>confdefs.h <<_ACEOF
3130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3131 _ACEOF
3133 cat >>confdefs.h <<_ACEOF
3134 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3135 _ACEOF
3137 cat >>confdefs.h <<_ACEOF
3138 #define PACKAGE_STRING "$PACKAGE_STRING"
3139 _ACEOF
3141 cat >>confdefs.h <<_ACEOF
3142 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3143 _ACEOF
3145 cat >>confdefs.h <<_ACEOF
3146 #define PACKAGE_URL "$PACKAGE_URL"
3147 _ACEOF
3150 # Let the site file select an alternate cache file if it wants to.
3151 # Prefer an explicitly selected file to automatically selected ones.
3152 ac_site_file1=NONE
3153 ac_site_file2=NONE
3154 if test -n "$CONFIG_SITE"; then
3155 # We do not want a PATH search for config.site.
3156 case $CONFIG_SITE in #((
3157 -*) ac_site_file1=./$CONFIG_SITE;;
3158 */*) ac_site_file1=$CONFIG_SITE;;
3159 *) ac_site_file1=./$CONFIG_SITE;;
3160 esac
3161 elif test "x$prefix" != xNONE; then
3162 ac_site_file1=$prefix/share/config.site
3163 ac_site_file2=$prefix/etc/config.site
3164 else
3165 ac_site_file1=$ac_default_prefix/share/config.site
3166 ac_site_file2=$ac_default_prefix/etc/config.site
3168 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3170 test "x$ac_site_file" = xNONE && continue
3171 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3173 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3174 sed 's/^/| /' "$ac_site_file" >&5
3175 . "$ac_site_file" \
3176 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error $? "failed to load site script $ac_site_file
3179 See \`config.log' for more details" "$LINENO" 5; }
3181 done
3183 if test -r "$cache_file"; then
3184 # Some versions of bash will fail to source /dev/null (special files
3185 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3186 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3188 $as_echo "$as_me: loading cache $cache_file" >&6;}
3189 case $cache_file in
3190 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3191 *) . "./$cache_file";;
3192 esac
3194 else
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3196 $as_echo "$as_me: creating cache $cache_file" >&6;}
3197 >$cache_file
3200 # Check that the precious variables saved in the cache have kept the same
3201 # value.
3202 ac_cache_corrupted=false
3203 for ac_var in $ac_precious_vars; do
3204 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3205 eval ac_new_set=\$ac_env_${ac_var}_set
3206 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3207 eval ac_new_val=\$ac_env_${ac_var}_value
3208 case $ac_old_set,$ac_new_set in
3209 set,)
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3211 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3212 ac_cache_corrupted=: ;;
3213 ,set)
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3215 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3216 ac_cache_corrupted=: ;;
3217 ,);;
3219 if test "x$ac_old_val" != "x$ac_new_val"; then
3220 # differences in whitespace do not lead to failure.
3221 ac_old_val_w=`echo x $ac_old_val`
3222 ac_new_val_w=`echo x $ac_new_val`
3223 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3225 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3226 ac_cache_corrupted=:
3227 else
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3229 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3230 eval $ac_var=\$ac_old_val
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3233 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3235 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3236 fi;;
3237 esac
3238 # Pass precious variables to config.status.
3239 if test "$ac_new_set" = set; then
3240 case $ac_new_val in
3241 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3242 *) ac_arg=$ac_var=$ac_new_val ;;
3243 esac
3244 case " $ac_configure_args " in
3245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3246 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3247 esac
3249 done
3250 if $ac_cache_corrupted; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3254 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3255 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3257 ## -------------------- ##
3258 ## Main body of script. ##
3259 ## -------------------- ##
3261 ac_ext=c
3262 ac_cpp='$CPP $CPPFLAGS'
3263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 ac_config_headers="$ac_config_headers include/config.h"
3271 ac_aux_dir=
3272 for ac_dir in tools "$srcdir"/tools; do
3273 if test -f "$ac_dir/install-sh"; then
3274 ac_aux_dir=$ac_dir
3275 ac_install_sh="$ac_aux_dir/install-sh -c"
3276 break
3277 elif test -f "$ac_dir/install.sh"; then
3278 ac_aux_dir=$ac_dir
3279 ac_install_sh="$ac_aux_dir/install.sh -c"
3280 break
3281 elif test -f "$ac_dir/shtool"; then
3282 ac_aux_dir=$ac_dir
3283 ac_install_sh="$ac_aux_dir/shtool install -c"
3284 break
3286 done
3287 if test -z "$ac_aux_dir"; then
3288 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3291 # These three variables are undocumented and unsupported,
3292 # and are intended to be withdrawn in a future Autoconf release.
3293 # They can cause serious problems if a builder's source tree is in a directory
3294 # whose full name contains unusual characters.
3295 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3296 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3297 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3301 libwine_version="1.0"
3305 # Check whether --enable-win16 was given.
3306 if test "${enable_win16+set}" = set; then :
3307 enableval=$enable_win16;
3310 # Check whether --enable-win64 was given.
3311 if test "${enable_win64+set}" = set; then :
3312 enableval=$enable_win64;
3315 # Check whether --enable-tests was given.
3316 if test "${enable_tests+set}" = set; then :
3317 enableval=$enable_tests;
3320 # Check whether --enable-maintainer-mode was given.
3321 if test "${enable_maintainer_mode+set}" = set; then :
3322 enableval=$enable_maintainer_mode;
3327 # Check whether --with-alsa was given.
3328 if test "${with_alsa+set}" = set; then :
3329 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3333 # Check whether --with-capi was given.
3334 if test "${with_capi+set}" = set; then :
3335 withval=$with_capi;
3339 # Check whether --with-cms was given.
3340 if test "${with_cms+set}" = set; then :
3341 withval=$with_cms;
3345 # Check whether --with-coreaudio was given.
3346 if test "${with_coreaudio+set}" = set; then :
3347 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3351 # Check whether --with-cups was given.
3352 if test "${with_cups+set}" = set; then :
3353 withval=$with_cups;
3357 # Check whether --with-curses was given.
3358 if test "${with_curses+set}" = set; then :
3359 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3363 # Check whether --with-dbus was given.
3364 if test "${with_dbus+set}" = set; then :
3365 withval=$with_dbus;
3369 # Check whether --with-fontconfig was given.
3370 if test "${with_fontconfig+set}" = set; then :
3371 withval=$with_fontconfig;
3375 # Check whether --with-freetype was given.
3376 if test "${with_freetype+set}" = set; then :
3377 withval=$with_freetype;
3381 # Check whether --with-gettext was given.
3382 if test "${with_gettext+set}" = set; then :
3383 withval=$with_gettext;
3387 # Check whether --with-gettextpo was given.
3388 if test "${with_gettextpo+set}" = set; then :
3389 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3393 # Check whether --with-gphoto was given.
3394 if test "${with_gphoto+set}" = set; then :
3395 withval=$with_gphoto;
3399 # Check whether --with-glu was given.
3400 if test "${with_glu+set}" = set; then :
3401 withval=$with_glu;
3405 # Check whether --with-gnutls was given.
3406 if test "${with_gnutls+set}" = set; then :
3407 withval=$with_gnutls;
3411 # Check whether --with-gsm was given.
3412 if test "${with_gsm+set}" = set; then :
3413 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3417 # Check whether --with-gstreamer was given.
3418 if test "${with_gstreamer+set}" = set; then :
3419 withval=$with_gstreamer;
3423 # Check whether --with-hal was given.
3424 if test "${with_hal+set}" = set; then :
3425 withval=$with_hal;
3429 # Check whether --with-jpeg was given.
3430 if test "${with_jpeg+set}" = set; then :
3431 withval=$with_jpeg;
3435 # Check whether --with-ldap was given.
3436 if test "${with_ldap+set}" = set; then :
3437 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3441 # Check whether --with-mpg123 was given.
3442 if test "${with_mpg123+set}" = set; then :
3443 withval=$with_mpg123;
3447 # Check whether --with-netapi was given.
3448 if test "${with_netapi+set}" = set; then :
3449 withval=$with_netapi;
3453 # Check whether --with-openal was given.
3454 if test "${with_openal+set}" = set; then :
3455 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3459 # Check whether --with-opencl was given.
3460 if test "${with_opencl+set}" = set; then :
3461 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3465 # Check whether --with-opengl was given.
3466 if test "${with_opengl+set}" = set; then :
3467 withval=$with_opengl;
3471 # Check whether --with-osmesa was given.
3472 if test "${with_osmesa+set}" = set; then :
3473 withval=$with_osmesa;
3477 # Check whether --with-oss was given.
3478 if test "${with_oss+set}" = set; then :
3479 withval=$with_oss;
3483 # Check whether --with-pcap was given.
3484 if test "${with_pcap+set}" = set; then :
3485 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3489 # Check whether --with-png was given.
3490 if test "${with_png+set}" = set; then :
3491 withval=$with_png;
3495 # Check whether --with-pthread was given.
3496 if test "${with_pthread+set}" = set; then :
3497 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3501 # Check whether --with-pulse was given.
3502 if test "${with_pulse+set}" = set; then :
3503 withval=$with_pulse;
3507 # Check whether --with-sane was given.
3508 if test "${with_sane+set}" = set; then :
3509 withval=$with_sane;
3513 # Check whether --with-tiff was given.
3514 if test "${with_tiff+set}" = set; then :
3515 withval=$with_tiff;
3519 # Check whether --with-v4l was given.
3520 if test "${with_v4l+set}" = set; then :
3521 withval=$with_v4l;
3525 # Check whether --with-xcomposite was given.
3526 if test "${with_xcomposite+set}" = set; then :
3527 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3531 # Check whether --with-xcursor was given.
3532 if test "${with_xcursor+set}" = set; then :
3533 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3537 # Check whether --with-xinerama was given.
3538 if test "${with_xinerama+set}" = set; then :
3539 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3543 # Check whether --with-xinput was given.
3544 if test "${with_xinput+set}" = set; then :
3545 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3549 # Check whether --with-xinput2 was given.
3550 if test "${with_xinput2+set}" = set; then :
3551 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3555 # Check whether --with-xml was given.
3556 if test "${with_xml+set}" = set; then :
3557 withval=$with_xml;
3561 # Check whether --with-xrandr was given.
3562 if test "${with_xrandr+set}" = set; then :
3563 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3567 # Check whether --with-xrender was given.
3568 if test "${with_xrender+set}" = set; then :
3569 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3573 # Check whether --with-xshape was given.
3574 if test "${with_xshape+set}" = set; then :
3575 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3579 # Check whether --with-xshm was given.
3580 if test "${with_xshm+set}" = set; then :
3581 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3585 # Check whether --with-xslt was given.
3586 if test "${with_xslt+set}" = set; then :
3587 withval=$with_xslt;
3591 # Check whether --with-xxf86vm was given.
3592 if test "${with_xxf86vm+set}" = set; then :
3593 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
3597 # Check whether --with-zlib was given.
3598 if test "${with_zlib+set}" = set; then :
3599 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3604 # Check whether --with-wine-tools was given.
3605 if test "${with_wine_tools+set}" = set; then :
3606 withval=$with_wine_tools;
3610 # Check whether --with-wine64 was given.
3611 if test "${with_wine64+set}" = set; then :
3612 withval=$with_wine64;
3616 # Make sure we can run config.sub.
3617 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3618 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3621 $as_echo_n "checking build system type... " >&6; }
3622 if ${ac_cv_build+:} false; then :
3623 $as_echo_n "(cached) " >&6
3624 else
3625 ac_build_alias=$build_alias
3626 test "x$ac_build_alias" = x &&
3627 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3628 test "x$ac_build_alias" = x &&
3629 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3630 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3631 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3635 $as_echo "$ac_cv_build" >&6; }
3636 case $ac_cv_build in
3637 *-*-*) ;;
3638 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3639 esac
3640 build=$ac_cv_build
3641 ac_save_IFS=$IFS; IFS='-'
3642 set x $ac_cv_build
3643 shift
3644 build_cpu=$1
3645 build_vendor=$2
3646 shift; shift
3647 # Remember, the first character of IFS is used to create $*,
3648 # except with old shells:
3649 build_os=$*
3650 IFS=$ac_save_IFS
3651 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3655 $as_echo_n "checking host system type... " >&6; }
3656 if ${ac_cv_host+:} false; then :
3657 $as_echo_n "(cached) " >&6
3658 else
3659 if test "x$host_alias" = x; then
3660 ac_cv_host=$ac_cv_build
3661 else
3662 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3663 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3668 $as_echo "$ac_cv_host" >&6; }
3669 case $ac_cv_host in
3670 *-*-*) ;;
3671 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3672 esac
3673 host=$ac_cv_host
3674 ac_save_IFS=$IFS; IFS='-'
3675 set x $ac_cv_host
3676 shift
3677 host_cpu=$1
3678 host_vendor=$2
3679 shift; shift
3680 # Remember, the first character of IFS is used to create $*,
3681 # except with old shells:
3682 host_os=$*
3683 IFS=$ac_save_IFS
3684 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3688 case "$srcdir" in
3689 .) ;;
3690 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3691 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3692 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3693 fi ;;
3694 esac
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3698 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3699 set x ${MAKE-make}
3700 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3701 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 cat >conftest.make <<\_ACEOF
3705 SHELL = /bin/sh
3706 all:
3707 @echo '@@@%%%=$(MAKE)=@@@%%%'
3708 _ACEOF
3709 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3710 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3711 *@@@%%%=?*=@@@%%%*)
3712 eval ac_cv_prog_make_${ac_make}_set=yes;;
3714 eval ac_cv_prog_make_${ac_make}_set=no;;
3715 esac
3716 rm -f conftest.make
3718 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3720 $as_echo "yes" >&6; }
3721 SET_MAKE=
3722 else
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 SET_MAKE="MAKE=${MAKE-make}"
3728 ac_ext=c
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733 if test -n "$ac_tool_prefix"; then
3734 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3735 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if ${ac_cv_prog_CC+:} false; then :
3739 $as_echo_n "(cached) " >&6
3740 else
3741 if test -n "$CC"; then
3742 ac_cv_prog_CC="$CC" # Let the user override the test.
3743 else
3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 for as_dir in $PATH
3747 IFS=$as_save_IFS
3748 test -z "$as_dir" && as_dir=.
3749 for ac_exec_ext in '' $ac_executable_extensions; do
3750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 break 2
3755 done
3756 done
3757 IFS=$as_save_IFS
3761 CC=$ac_cv_prog_CC
3762 if test -n "$CC"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3764 $as_echo "$CC" >&6; }
3765 else
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3772 if test -z "$ac_cv_prog_CC"; then
3773 ac_ct_CC=$CC
3774 # Extract the first word of "gcc", so it can be a program name with args.
3775 set dummy gcc; ac_word=$2
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3777 $as_echo_n "checking for $ac_word... " >&6; }
3778 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3779 $as_echo_n "(cached) " >&6
3780 else
3781 if test -n "$ac_ct_CC"; then
3782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3783 else
3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3785 for as_dir in $PATH
3787 IFS=$as_save_IFS
3788 test -z "$as_dir" && as_dir=.
3789 for ac_exec_ext in '' $ac_executable_extensions; do
3790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3791 ac_cv_prog_ac_ct_CC="gcc"
3792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 break 2
3795 done
3796 done
3797 IFS=$as_save_IFS
3801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3802 if test -n "$ac_ct_CC"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3804 $as_echo "$ac_ct_CC" >&6; }
3805 else
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3810 if test "x$ac_ct_CC" = x; then
3811 CC=""
3812 else
3813 case $cross_compiling:$ac_tool_warned in
3814 yes:)
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3817 ac_tool_warned=yes ;;
3818 esac
3819 CC=$ac_ct_CC
3821 else
3822 CC="$ac_cv_prog_CC"
3825 if test -z "$CC"; then
3826 if test -n "$ac_tool_prefix"; then
3827 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3828 set dummy ${ac_tool_prefix}cc; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if ${ac_cv_prog_CC+:} false; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$CC"; then
3835 ac_cv_prog_CC="$CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844 ac_cv_prog_CC="${ac_tool_prefix}cc"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3848 done
3849 done
3850 IFS=$as_save_IFS
3854 CC=$ac_cv_prog_CC
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3866 if test -z "$CC"; then
3867 # Extract the first word of "cc", so it can be a program name with args.
3868 set dummy cc; ac_word=$2
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3870 $as_echo_n "checking for $ac_word... " >&6; }
3871 if ${ac_cv_prog_CC+:} false; then :
3872 $as_echo_n "(cached) " >&6
3873 else
3874 if test -n "$CC"; then
3875 ac_cv_prog_CC="$CC" # Let the user override the test.
3876 else
3877 ac_prog_rejected=no
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3886 ac_prog_rejected=yes
3887 continue
3889 ac_cv_prog_CC="cc"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3893 done
3894 done
3895 IFS=$as_save_IFS
3897 if test $ac_prog_rejected = yes; then
3898 # We found a bogon in the path, so make sure we never use it.
3899 set dummy $ac_cv_prog_CC
3900 shift
3901 if test $# != 0; then
3902 # We chose a different compiler from the bogus one.
3903 # However, it has the same basename, so the bogon will be chosen
3904 # first if we set CC to just the basename; use the full file name.
3905 shift
3906 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3911 CC=$ac_cv_prog_CC
3912 if test -n "$CC"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3914 $as_echo "$CC" >&6; }
3915 else
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3922 if test -z "$CC"; then
3923 if test -n "$ac_tool_prefix"; then
3924 for ac_prog in cl.exe
3926 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3927 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if ${ac_cv_prog_CC+:} false; then :
3931 $as_echo_n "(cached) " >&6
3932 else
3933 if test -n "$CC"; then
3934 ac_cv_prog_CC="$CC" # Let the user override the test.
3935 else
3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 for as_dir in $PATH
3939 IFS=$as_save_IFS
3940 test -z "$as_dir" && as_dir=.
3941 for ac_exec_ext in '' $ac_executable_extensions; do
3942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3943 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 break 2
3947 done
3948 done
3949 IFS=$as_save_IFS
3953 CC=$ac_cv_prog_CC
3954 if test -n "$CC"; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3956 $as_echo "$CC" >&6; }
3957 else
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3963 test -n "$CC" && break
3964 done
3966 if test -z "$CC"; then
3967 ac_ct_CC=$CC
3968 for ac_prog in cl.exe
3970 # Extract the first word of "$ac_prog", so it can be a program name with args.
3971 set dummy $ac_prog; ac_word=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3975 $as_echo_n "(cached) " >&6
3976 else
3977 if test -n "$ac_ct_CC"; then
3978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3979 else
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_ac_ct_CC="$ac_prog"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 break 2
3991 done
3992 done
3993 IFS=$as_save_IFS
3997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3998 if test -n "$ac_ct_CC"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4000 $as_echo "$ac_ct_CC" >&6; }
4001 else
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4007 test -n "$ac_ct_CC" && break
4008 done
4010 if test "x$ac_ct_CC" = x; then
4011 CC=""
4012 else
4013 case $cross_compiling:$ac_tool_warned in
4014 yes:)
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4017 ac_tool_warned=yes ;;
4018 esac
4019 CC=$ac_ct_CC
4026 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4028 as_fn_error $? "no acceptable C compiler found in \$PATH
4029 See \`config.log' for more details" "$LINENO" 5; }
4031 # Provide some information about the compiler.
4032 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4033 set X $ac_compile
4034 ac_compiler=$2
4035 for ac_option in --version -v -V -qversion; do
4036 { { ac_try="$ac_compiler $ac_option >&5"
4037 case "(($ac_try" in
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4040 esac
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4044 ac_status=$?
4045 if test -s conftest.err; then
4046 sed '10a\
4047 ... rest of stderr output deleted ...
4048 10q' conftest.err >conftest.er1
4049 cat conftest.er1 >&5
4051 rm -f conftest.er1 conftest.err
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }
4054 done
4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4060 main ()
4064 return 0;
4066 _ACEOF
4067 ac_clean_files_save=$ac_clean_files
4068 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4069 # Try to create an executable without -o first, disregard a.out.
4070 # It will help us diagnose broken compilers, and finding out an intuition
4071 # of exeext.
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4073 $as_echo_n "checking whether the C compiler works... " >&6; }
4074 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4076 # The possible output files:
4077 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4079 ac_rmfiles=
4080 for ac_file in $ac_files
4082 case $ac_file in
4083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4084 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4085 esac
4086 done
4087 rm -f $ac_rmfiles
4089 if { { ac_try="$ac_link_default"
4090 case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_link_default") 2>&5
4097 ac_status=$?
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }; then :
4100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4101 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4103 # so that the user can short-circuit this test for compilers unknown to
4104 # Autoconf.
4105 for ac_file in $ac_files ''
4107 test -f "$ac_file" || continue
4108 case $ac_file in
4109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4111 [ab].out )
4112 # We found the default executable, but exeext='' is most
4113 # certainly right.
4114 break;;
4115 *.* )
4116 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4117 then :; else
4118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4120 # We set ac_cv_exeext here because the later test for it is not
4121 # safe: cross compilers may not add the suffix if given an `-o'
4122 # argument, so we may need to know it at that point already.
4123 # Even if this section looks crufty: it has the advantage of
4124 # actually working.
4125 break;;
4127 break;;
4128 esac
4129 done
4130 test "$ac_cv_exeext" = no && ac_cv_exeext=
4132 else
4133 ac_file=''
4135 if test -z "$ac_file"; then :
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 $as_echo "no" >&6; }
4138 $as_echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.$ac_ext >&5
4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error 77 "C compiler cannot create executables
4144 See \`config.log' for more details" "$LINENO" 5; }
4145 else
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4147 $as_echo "yes" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4150 $as_echo_n "checking for C compiler default output file name... " >&6; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4152 $as_echo "$ac_file" >&6; }
4153 ac_exeext=$ac_cv_exeext
4155 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4156 ac_clean_files=$ac_clean_files_save
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4158 $as_echo_n "checking for suffix of executables... " >&6; }
4159 if { { ac_try="$ac_link"
4160 case "(($ac_try" in
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4163 esac
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_link") 2>&5
4167 ac_status=$?
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; }; then :
4170 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4171 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4172 # work properly (i.e., refer to `conftest.exe'), while it won't with
4173 # `rm'.
4174 for ac_file in conftest.exe conftest conftest.*; do
4175 test -f "$ac_file" || continue
4176 case $ac_file in
4177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4178 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4179 break;;
4180 * ) break;;
4181 esac
4182 done
4183 else
4184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4186 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4187 See \`config.log' for more details" "$LINENO" 5; }
4189 rm -f conftest conftest$ac_cv_exeext
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4191 $as_echo "$ac_cv_exeext" >&6; }
4193 rm -f conftest.$ac_ext
4194 EXEEXT=$ac_cv_exeext
4195 ac_exeext=$EXEEXT
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4198 #include <stdio.h>
4200 main ()
4202 FILE *f = fopen ("conftest.out", "w");
4203 return ferror (f) || fclose (f) != 0;
4206 return 0;
4208 _ACEOF
4209 ac_clean_files="$ac_clean_files conftest.out"
4210 # Check that the compiler produces executables we can run. If not, either
4211 # the compiler is broken, or we cross compile.
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4213 $as_echo_n "checking whether we are cross compiling... " >&6; }
4214 if test "$cross_compiling" != yes; then
4215 { { ac_try="$ac_link"
4216 case "(($ac_try" in
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4219 esac
4220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4221 $as_echo "$ac_try_echo"; } >&5
4222 (eval "$ac_link") 2>&5
4223 ac_status=$?
4224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4225 test $ac_status = 0; }
4226 if { ac_try='./conftest$ac_cv_exeext'
4227 { { case "(($ac_try" in
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4230 esac
4231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4232 $as_echo "$ac_try_echo"; } >&5
4233 (eval "$ac_try") 2>&5
4234 ac_status=$?
4235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236 test $ac_status = 0; }; }; then
4237 cross_compiling=no
4238 else
4239 if test "$cross_compiling" = maybe; then
4240 cross_compiling=yes
4241 else
4242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4244 as_fn_error $? "cannot run C compiled programs.
4245 If you meant to cross compile, use \`--host'.
4246 See \`config.log' for more details" "$LINENO" 5; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4251 $as_echo "$cross_compiling" >&6; }
4253 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4254 ac_clean_files=$ac_clean_files_save
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4256 $as_echo_n "checking for suffix of object files... " >&6; }
4257 if ${ac_cv_objext+:} false; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4264 main ()
4268 return 0;
4270 _ACEOF
4271 rm -f conftest.o conftest.obj
4272 if { { ac_try="$ac_compile"
4273 case "(($ac_try" in
4274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4275 *) ac_try_echo=$ac_try;;
4276 esac
4277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4278 $as_echo "$ac_try_echo"; } >&5
4279 (eval "$ac_compile") 2>&5
4280 ac_status=$?
4281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4282 test $ac_status = 0; }; then :
4283 for ac_file in conftest.o conftest.obj conftest.*; do
4284 test -f "$ac_file" || continue;
4285 case $ac_file in
4286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4287 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4288 break;;
4289 esac
4290 done
4291 else
4292 $as_echo "$as_me: failed program was:" >&5
4293 sed 's/^/| /' conftest.$ac_ext >&5
4295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4297 as_fn_error $? "cannot compute suffix of object files: cannot compile
4298 See \`config.log' for more details" "$LINENO" 5; }
4300 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4303 $as_echo "$ac_cv_objext" >&6; }
4304 OBJEXT=$ac_cv_objext
4305 ac_objext=$OBJEXT
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4307 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4308 if ${ac_cv_c_compiler_gnu+:} false; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4315 main ()
4317 #ifndef __GNUC__
4318 choke me
4319 #endif
4322 return 0;
4324 _ACEOF
4325 if ac_fn_c_try_compile "$LINENO"; then :
4326 ac_compiler_gnu=yes
4327 else
4328 ac_compiler_gnu=no
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4335 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4336 if test $ac_compiler_gnu = yes; then
4337 GCC=yes
4338 else
4339 GCC=
4341 ac_test_CFLAGS=${CFLAGS+set}
4342 ac_save_CFLAGS=$CFLAGS
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4344 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4345 if ${ac_cv_prog_cc_g+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 ac_save_c_werror_flag=$ac_c_werror_flag
4349 ac_c_werror_flag=yes
4350 ac_cv_prog_cc_g=no
4351 CFLAGS="-g"
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4356 main ()
4360 return 0;
4362 _ACEOF
4363 if ac_fn_c_try_compile "$LINENO"; then :
4364 ac_cv_prog_cc_g=yes
4365 else
4366 CFLAGS=""
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4371 main ()
4375 return 0;
4377 _ACEOF
4378 if ac_fn_c_try_compile "$LINENO"; then :
4380 else
4381 ac_c_werror_flag=$ac_save_c_werror_flag
4382 CFLAGS="-g"
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4387 main ()
4391 return 0;
4393 _ACEOF
4394 if ac_fn_c_try_compile "$LINENO"; then :
4395 ac_cv_prog_cc_g=yes
4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402 ac_c_werror_flag=$ac_save_c_werror_flag
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4405 $as_echo "$ac_cv_prog_cc_g" >&6; }
4406 if test "$ac_test_CFLAGS" = set; then
4407 CFLAGS=$ac_save_CFLAGS
4408 elif test $ac_cv_prog_cc_g = yes; then
4409 if test "$GCC" = yes; then
4410 CFLAGS="-g -O2"
4411 else
4412 CFLAGS="-g"
4414 else
4415 if test "$GCC" = yes; then
4416 CFLAGS="-O2"
4417 else
4418 CFLAGS=
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4422 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4423 if ${ac_cv_prog_cc_c89+:} false; then :
4424 $as_echo_n "(cached) " >&6
4425 else
4426 ac_cv_prog_cc_c89=no
4427 ac_save_CC=$CC
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4430 #include <stdarg.h>
4431 #include <stdio.h>
4432 struct stat;
4433 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4434 struct buf { int x; };
4435 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4436 static char *e (p, i)
4437 char **p;
4438 int i;
4440 return p[i];
4442 static char *f (char * (*g) (char **, int), char **p, ...)
4444 char *s;
4445 va_list v;
4446 va_start (v,p);
4447 s = g (p, va_arg (v,int));
4448 va_end (v);
4449 return s;
4452 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4453 function prototypes and stuff, but not '\xHH' hex character constants.
4454 These don't provoke an error unfortunately, instead are silently treated
4455 as 'x'. The following induces an error, until -std is added to get
4456 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4457 array size at least. It's necessary to write '\x00'==0 to get something
4458 that's true only with -std. */
4459 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4461 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4462 inside strings and character constants. */
4463 #define FOO(x) 'x'
4464 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4466 int test (int i, double x);
4467 struct s1 {int (*f) (int a);};
4468 struct s2 {int (*f) (double a);};
4469 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4470 int argc;
4471 char **argv;
4473 main ()
4475 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4477 return 0;
4479 _ACEOF
4480 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4481 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4483 CC="$ac_save_CC $ac_arg"
4484 if ac_fn_c_try_compile "$LINENO"; then :
4485 ac_cv_prog_cc_c89=$ac_arg
4487 rm -f core conftest.err conftest.$ac_objext
4488 test "x$ac_cv_prog_cc_c89" != "xno" && break
4489 done
4490 rm -f conftest.$ac_ext
4491 CC=$ac_save_CC
4494 # AC_CACHE_VAL
4495 case "x$ac_cv_prog_cc_c89" in
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4498 $as_echo "none needed" >&6; } ;;
4499 xno)
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4501 $as_echo "unsupported" >&6; } ;;
4503 CC="$CC $ac_cv_prog_cc_c89"
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4505 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4506 esac
4507 if test "x$ac_cv_prog_cc_c89" != xno; then :
4511 ac_ext=c
4512 ac_cpp='$CPP $CPPFLAGS'
4513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4517 ac_ext=cpp
4518 ac_cpp='$CXXCPP $CPPFLAGS'
4519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4522 if test -z "$CXX"; then
4523 if test -n "$CCC"; then
4524 CXX=$CCC
4525 else
4526 if test -n "$ac_tool_prefix"; then
4527 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 $as_echo_n "checking for $ac_word... " >&6; }
4533 if ${ac_cv_prog_CXX+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 if test -n "$CXX"; then
4537 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4538 else
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH
4542 IFS=$as_save_IFS
4543 test -z "$as_dir" && as_dir=.
4544 for ac_exec_ext in '' $ac_executable_extensions; do
4545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4546 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4548 break 2
4550 done
4551 done
4552 IFS=$as_save_IFS
4556 CXX=$ac_cv_prog_CXX
4557 if test -n "$CXX"; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4559 $as_echo "$CXX" >&6; }
4560 else
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4566 test -n "$CXX" && break
4567 done
4569 if test -z "$CXX"; then
4570 ac_ct_CXX=$CXX
4571 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4573 # Extract the first word of "$ac_prog", so it can be a program name with args.
4574 set dummy $ac_prog; ac_word=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4578 $as_echo_n "(cached) " >&6
4579 else
4580 if test -n "$ac_ct_CXX"; then
4581 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4582 else
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH
4586 IFS=$as_save_IFS
4587 test -z "$as_dir" && as_dir=.
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_ac_ct_CXX="$ac_prog"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 break 2
4594 done
4595 done
4596 IFS=$as_save_IFS
4600 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4601 if test -n "$ac_ct_CXX"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4603 $as_echo "$ac_ct_CXX" >&6; }
4604 else
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4610 test -n "$ac_ct_CXX" && break
4611 done
4613 if test "x$ac_ct_CXX" = x; then
4614 CXX="g++"
4615 else
4616 case $cross_compiling:$ac_tool_warned in
4617 yes:)
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4620 ac_tool_warned=yes ;;
4621 esac
4622 CXX=$ac_ct_CXX
4628 # Provide some information about the compiler.
4629 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4630 set X $ac_compile
4631 ac_compiler=$2
4632 for ac_option in --version -v -V -qversion; do
4633 { { ac_try="$ac_compiler $ac_option >&5"
4634 case "(($ac_try" in
4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4636 *) ac_try_echo=$ac_try;;
4637 esac
4638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4639 $as_echo "$ac_try_echo"; } >&5
4640 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4641 ac_status=$?
4642 if test -s conftest.err; then
4643 sed '10a\
4644 ... rest of stderr output deleted ...
4645 10q' conftest.err >conftest.er1
4646 cat conftest.er1 >&5
4648 rm -f conftest.er1 conftest.err
4649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4650 test $ac_status = 0; }
4651 done
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4654 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4655 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4656 $as_echo_n "(cached) " >&6
4657 else
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4662 main ()
4664 #ifndef __GNUC__
4665 choke me
4666 #endif
4669 return 0;
4671 _ACEOF
4672 if ac_fn_cxx_try_compile "$LINENO"; then :
4673 ac_compiler_gnu=yes
4674 else
4675 ac_compiler_gnu=no
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4682 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4683 if test $ac_compiler_gnu = yes; then
4684 GXX=yes
4685 else
4686 GXX=
4688 ac_test_CXXFLAGS=${CXXFLAGS+set}
4689 ac_save_CXXFLAGS=$CXXFLAGS
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4691 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4692 if ${ac_cv_prog_cxx_g+:} false; then :
4693 $as_echo_n "(cached) " >&6
4694 else
4695 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4696 ac_cxx_werror_flag=yes
4697 ac_cv_prog_cxx_g=no
4698 CXXFLAGS="-g"
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4703 main ()
4707 return 0;
4709 _ACEOF
4710 if ac_fn_cxx_try_compile "$LINENO"; then :
4711 ac_cv_prog_cxx_g=yes
4712 else
4713 CXXFLAGS=""
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4718 main ()
4722 return 0;
4724 _ACEOF
4725 if ac_fn_cxx_try_compile "$LINENO"; then :
4727 else
4728 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4729 CXXFLAGS="-g"
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4734 main ()
4738 return 0;
4740 _ACEOF
4741 if ac_fn_cxx_try_compile "$LINENO"; then :
4742 ac_cv_prog_cxx_g=yes
4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4752 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4753 if test "$ac_test_CXXFLAGS" = set; then
4754 CXXFLAGS=$ac_save_CXXFLAGS
4755 elif test $ac_cv_prog_cxx_g = yes; then
4756 if test "$GXX" = yes; then
4757 CXXFLAGS="-g -O2"
4758 else
4759 CXXFLAGS="-g"
4761 else
4762 if test "$GXX" = yes; then
4763 CXXFLAGS="-O2"
4764 else
4765 CXXFLAGS=
4768 ac_ext=c
4769 ac_cpp='$CPP $CPPFLAGS'
4770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4774 if test -n "$ac_tool_prefix"; then
4775 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4776 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if ${ac_cv_prog_CPPBIN+:} false; then :
4780 $as_echo_n "(cached) " >&6
4781 else
4782 if test -n "$CPPBIN"; then
4783 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4784 else
4785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786 for as_dir in $PATH
4788 IFS=$as_save_IFS
4789 test -z "$as_dir" && as_dir=.
4790 for ac_exec_ext in '' $ac_executable_extensions; do
4791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4792 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 break 2
4796 done
4797 done
4798 IFS=$as_save_IFS
4802 CPPBIN=$ac_cv_prog_CPPBIN
4803 if test -n "$CPPBIN"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4805 $as_echo "$CPPBIN" >&6; }
4806 else
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4813 if test -z "$ac_cv_prog_CPPBIN"; then
4814 ac_ct_CPPBIN=$CPPBIN
4815 # Extract the first word of "cpp", so it can be a program name with args.
4816 set dummy cpp; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -n "$ac_ct_CPPBIN"; then
4823 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_ac_ct_CPPBIN="cpp"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 break 2
4836 done
4837 done
4838 IFS=$as_save_IFS
4842 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4843 if test -n "$ac_ct_CPPBIN"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4845 $as_echo "$ac_ct_CPPBIN" >&6; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4851 if test "x$ac_ct_CPPBIN" = x; then
4852 CPPBIN="cpp"
4853 else
4854 case $cross_compiling:$ac_tool_warned in
4855 yes:)
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4858 ac_tool_warned=yes ;;
4859 esac
4860 CPPBIN=$ac_ct_CPPBIN
4862 else
4863 CPPBIN="$ac_cv_prog_CPPBIN"
4867 cat >>confdefs.h <<_ACEOF
4868 #define EXEEXT "$ac_exeext"
4869 _ACEOF
4871 if test -n "$ac_tool_prefix"; then
4872 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4873 set dummy ${ac_tool_prefix}ld; ac_word=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_LD+:} false; then :
4877 $as_echo_n "(cached) " >&6
4878 else
4879 if test -n "$LD"; then
4880 ac_cv_prog_LD="$LD" # Let the user override the test.
4881 else
4882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883 for as_dir in $PATH
4885 IFS=$as_save_IFS
4886 test -z "$as_dir" && as_dir=.
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_LD="${ac_tool_prefix}ld"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 LD=$ac_cv_prog_LD
4900 if test -n "$LD"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4902 $as_echo "$LD" >&6; }
4903 else
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4910 if test -z "$ac_cv_prog_LD"; then
4911 ac_ct_LD=$LD
4912 # Extract the first word of "ld", so it can be a program name with args.
4913 set dummy ld; ac_word=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4917 $as_echo_n "(cached) " >&6
4918 else
4919 if test -n "$ac_ct_LD"; then
4920 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4921 else
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH
4925 IFS=$as_save_IFS
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_ac_ct_LD="ld"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 break 2
4933 done
4934 done
4935 IFS=$as_save_IFS
4939 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4940 if test -n "$ac_ct_LD"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4942 $as_echo "$ac_ct_LD" >&6; }
4943 else
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4948 if test "x$ac_ct_LD" = x; then
4949 LD=""
4950 else
4951 case $cross_compiling:$ac_tool_warned in
4952 yes:)
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4955 ac_tool_warned=yes ;;
4956 esac
4957 LD=$ac_ct_LD
4959 else
4960 LD="$ac_cv_prog_LD"
4964 case $host in
4965 *-darwin*)
4966 if test "x$enable_win64" = "xyes"
4967 then
4968 CC="$CC -m64"
4969 CXX="$CXX -m64"
4970 host_cpu="x86_64"
4971 notice_platform="64-bit "
4972 TARGETFLAGS="-m64"
4974 else
4975 CC="$CC -m32"
4976 CXX="$CXX -m32"
4977 host_cpu="i386"
4978 notice_platform="32-bit "
4979 TARGETFLAGS="-m32"
4981 enable_win16=${enable_win16:-yes}
4983 with_fontconfig=${with_fontconfig:-no}
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 to build Wine as 64-bit." "$LINENO" 5
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 host_cpu="x86_64"
5046 TARGETFLAGS="-m64"
5050 arm*)
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5052 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5055 int ac_test(int i) { return i; }
5057 main ()
5059 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5061 return 0;
5063 _ACEOF
5064 if ac_fn_c_try_link "$LINENO"; then :
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5066 $as_echo "yes" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5070 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5072 rm -f core conftest.err conftest.$ac_objext \
5073 conftest$ac_exeext conftest.$ac_ext
5074 CFLAGS="$CFLAGS -marm"
5075 TARGETFLAGS="-marm"
5078 *-mingw32*|*-cygwin*)
5079 enable_win16=${enable_win16:-no}
5080 CFLAGS="$CFLAGS -D_WIN32"
5082 i[3456789]86*)
5083 enable_win16=${enable_win16:-yes}
5085 esac
5087 enable_win16=${enable_win16:-no}
5088 enable_win64=${enable_win64:-no}
5090 enable_winetest=${enable_winetest:-$enable_tests}
5092 if test -n "$with_wine64"
5093 then
5094 if test "x$enable_win64" = "xyes"
5095 then
5096 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5097 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5099 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5100 You should create a separate build directory and run configure from there." "$LINENO" 5
5101 enable_fonts=${enable_fonts:-no}
5102 enable_server=${enable_server:-no}
5103 elif test "x$enable_win64" = "xyes"
5104 then
5105 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5109 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5110 if ${wine_cv_toolsdir+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 wine_cv_toolsdir="$with_wine_tools"
5114 if test -z "$with_wine_tools"; then
5115 if test "$cross_compiling" = "yes"; then
5116 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5117 elif test -n "$with_wine64"; then
5118 wine_cv_toolsdir="$with_wine64"
5121 if test -z "$wine_cv_toolsdir"; then
5122 wine_makedep=tools/makedep
5123 wine_cv_toolsdir="\$(top_builddir)"
5124 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5125 wine_makedep=$wine_cv_toolsdir/tools/makedep
5126 case "$wine_cv_toolsdir" in
5127 /*) ;;
5128 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5129 esac
5130 enable_tools=${enable_tools:-no}
5131 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5132 else
5133 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5137 $as_echo "$wine_cv_toolsdir" >&6; }
5138 TOOLSDIR=$wine_cv_toolsdir
5140 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5141 then
5142 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5146 for ac_prog in flex
5148 # Extract the first word of "$ac_prog", so it can be a program name with args.
5149 set dummy $ac_prog; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_FLEX+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 if test -n "$FLEX"; then
5156 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_FLEX="$ac_prog"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5171 IFS=$as_save_IFS
5175 FLEX=$ac_cv_prog_FLEX
5176 if test -n "$FLEX"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5178 $as_echo "$FLEX" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5185 test -n "$FLEX" && break
5186 done
5187 test -n "$FLEX" || FLEX="none"
5189 if test "$FLEX" = "none"
5190 then
5191 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5194 $as_echo_n "checking whether flex is recent enough... " >&6; }
5195 cat >conftest.l <<EOF
5196 %top{
5197 #include "prediluvian.h"
5201 if $FLEX -t conftest.l >/dev/null 2>&5
5202 then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 $as_echo "yes" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5208 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5211 for ac_prog in bison
5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5214 set dummy $ac_prog; ac_word=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if ${ac_cv_prog_BISON+:} false; then :
5218 $as_echo_n "(cached) " >&6
5219 else
5220 if test -n "$BISON"; then
5221 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5222 else
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH
5226 IFS=$as_save_IFS
5227 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5230 ac_cv_prog_BISON="$ac_prog"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 break 2
5234 done
5235 done
5236 IFS=$as_save_IFS
5240 BISON=$ac_cv_prog_BISON
5241 if test -n "$BISON"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5243 $as_echo "$BISON" >&6; }
5244 else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5250 test -n "$BISON" && break
5251 done
5252 test -n "$BISON" || BISON="none"
5254 if test "$BISON" = "none"
5255 then
5256 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5259 if test -n "$ac_tool_prefix"; then
5260 for ac_prog in ar gar
5262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_AR+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$AR"; then
5270 ac_cv_prog_AR="$AR" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 AR=$ac_cv_prog_AR
5290 if test -n "$AR"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5292 $as_echo "$AR" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5299 test -n "$AR" && break
5300 done
5302 if test -z "$AR"; then
5303 ac_ct_AR=$AR
5304 for ac_prog in ar gar
5306 # Extract the first word of "$ac_prog", so it can be a program name with args.
5307 set dummy $ac_prog; ac_word=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 if test -n "$ac_ct_AR"; then
5314 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5315 else
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 for as_dir in $PATH
5319 IFS=$as_save_IFS
5320 test -z "$as_dir" && as_dir=.
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5323 ac_cv_prog_ac_ct_AR="$ac_prog"
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 break 2
5327 done
5328 done
5329 IFS=$as_save_IFS
5333 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5334 if test -n "$ac_ct_AR"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5336 $as_echo "$ac_ct_AR" >&6; }
5337 else
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5343 test -n "$ac_ct_AR" && break
5344 done
5346 if test "x$ac_ct_AR" = x; then
5347 AR="ar"
5348 else
5349 case $cross_compiling:$ac_tool_warned in
5350 yes:)
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5353 ac_tool_warned=yes ;;
5354 esac
5355 AR=$ac_ct_AR
5359 if test -n "$ac_tool_prefix"; then
5360 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5361 set dummy ${ac_tool_prefix}strip; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_STRIP+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 if test -n "$STRIP"; then
5368 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5381 done
5382 done
5383 IFS=$as_save_IFS
5387 STRIP=$ac_cv_prog_STRIP
5388 if test -n "$STRIP"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5390 $as_echo "$STRIP" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5398 if test -z "$ac_cv_prog_STRIP"; then
5399 ac_ct_STRIP=$STRIP
5400 # Extract the first word of "strip", so it can be a program name with args.
5401 set dummy strip; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$ac_ct_STRIP"; then
5408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_ac_ct_STRIP="strip"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5428 if test -n "$ac_ct_STRIP"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5430 $as_echo "$ac_ct_STRIP" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5436 if test "x$ac_ct_STRIP" = x; then
5437 STRIP="strip"
5438 else
5439 case $cross_compiling:$ac_tool_warned in
5440 yes:)
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5443 ac_tool_warned=yes ;;
5444 esac
5445 STRIP=$ac_ct_STRIP
5447 else
5448 STRIP="$ac_cv_prog_STRIP"
5451 ARFLAGS=rc
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_RANLIB+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$RANLIB"; then
5462 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 RANLIB=$ac_cv_prog_RANLIB
5482 if test -n "$RANLIB"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5484 $as_echo "$RANLIB" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5492 if test -z "$ac_cv_prog_RANLIB"; then
5493 ac_ct_RANLIB=$RANLIB
5494 # Extract the first word of "ranlib", so it can be a program name with args.
5495 set dummy ranlib; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 if test -n "$ac_ct_RANLIB"; then
5502 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_ac_ct_RANLIB="ranlib"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 break 2
5515 done
5516 done
5517 IFS=$as_save_IFS
5521 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5522 if test -n "$ac_ct_RANLIB"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5524 $as_echo "$ac_ct_RANLIB" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5530 if test "x$ac_ct_RANLIB" = x; then
5531 RANLIB=":"
5532 else
5533 case $cross_compiling:$ac_tool_warned in
5534 yes:)
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5537 ac_tool_warned=yes ;;
5538 esac
5539 RANLIB=$ac_ct_RANLIB
5541 else
5542 RANLIB="$ac_cv_prog_RANLIB"
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5546 $as_echo_n "checking whether ln -s works... " >&6; }
5547 LN_S=$as_ln_s
5548 if test "$LN_S" = "ln -s"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5550 $as_echo "yes" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5553 $as_echo "no, using $LN_S" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5557 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5558 if ${ac_cv_path_GREP+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 if test -z "$GREP"; then
5562 ac_path_GREP_found=false
5563 # Loop through the user's path and test for each of PROGNAME-LIST
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_prog in grep ggrep; do
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5572 as_fn_executable_p "$ac_path_GREP" || continue
5573 # Check for GNU ac_path_GREP and select it if it is found.
5574 # Check for GNU $ac_path_GREP
5575 case `"$ac_path_GREP" --version 2>&1` in
5576 *GNU*)
5577 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5579 ac_count=0
5580 $as_echo_n 0123456789 >"conftest.in"
5581 while :
5583 cat "conftest.in" "conftest.in" >"conftest.tmp"
5584 mv "conftest.tmp" "conftest.in"
5585 cp "conftest.in" "conftest.nl"
5586 $as_echo 'GREP' >> "conftest.nl"
5587 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5589 as_fn_arith $ac_count + 1 && ac_count=$as_val
5590 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5591 # Best one so far, save it but keep looking for a better one
5592 ac_cv_path_GREP="$ac_path_GREP"
5593 ac_path_GREP_max=$ac_count
5595 # 10*(2^10) chars as input seems more than enough
5596 test $ac_count -gt 10 && break
5597 done
5598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5599 esac
5601 $ac_path_GREP_found && break 3
5602 done
5603 done
5604 done
5605 IFS=$as_save_IFS
5606 if test -z "$ac_cv_path_GREP"; then
5607 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5609 else
5610 ac_cv_path_GREP=$GREP
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5615 $as_echo "$ac_cv_path_GREP" >&6; }
5616 GREP="$ac_cv_path_GREP"
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5620 $as_echo_n "checking for egrep... " >&6; }
5621 if ${ac_cv_path_EGREP+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5625 then ac_cv_path_EGREP="$GREP -E"
5626 else
5627 if test -z "$EGREP"; then
5628 ac_path_EGREP_found=false
5629 # Loop through the user's path and test for each of PROGNAME-LIST
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_prog in egrep; do
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5638 as_fn_executable_p "$ac_path_EGREP" || continue
5639 # Check for GNU ac_path_EGREP and select it if it is found.
5640 # Check for GNU $ac_path_EGREP
5641 case `"$ac_path_EGREP" --version 2>&1` in
5642 *GNU*)
5643 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5645 ac_count=0
5646 $as_echo_n 0123456789 >"conftest.in"
5647 while :
5649 cat "conftest.in" "conftest.in" >"conftest.tmp"
5650 mv "conftest.tmp" "conftest.in"
5651 cp "conftest.in" "conftest.nl"
5652 $as_echo 'EGREP' >> "conftest.nl"
5653 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5655 as_fn_arith $ac_count + 1 && ac_count=$as_val
5656 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5657 # Best one so far, save it but keep looking for a better one
5658 ac_cv_path_EGREP="$ac_path_EGREP"
5659 ac_path_EGREP_max=$ac_count
5661 # 10*(2^10) chars as input seems more than enough
5662 test $ac_count -gt 10 && break
5663 done
5664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5665 esac
5667 $ac_path_EGREP_found && break 3
5668 done
5669 done
5670 done
5671 IFS=$as_save_IFS
5672 if test -z "$ac_cv_path_EGREP"; then
5673 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675 else
5676 ac_cv_path_EGREP=$EGREP
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5682 $as_echo "$ac_cv_path_EGREP" >&6; }
5683 EGREP="$ac_cv_path_EGREP"
5686 # Extract the first word of "ldconfig", so it can be a program name with args.
5687 set dummy ldconfig; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_path_LDCONFIG+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 case $LDCONFIG in
5694 [\\/]* | ?:[\\/]*)
5695 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in /sbin /usr/sbin $PATH
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5713 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5715 esac
5717 LDCONFIG=$ac_cv_path_LDCONFIG
5718 if test -n "$LDCONFIG"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5720 $as_echo "$LDCONFIG" >&6; }
5721 else
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5727 for ac_prog in msgfmt
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_MSGFMT+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$MSGFMT"; then
5737 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_MSGFMT="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 MSGFMT=$ac_cv_prog_MSGFMT
5757 if test -n "$MSGFMT"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5759 $as_echo "$MSGFMT" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$MSGFMT" && break
5767 done
5768 test -n "$MSGFMT" || MSGFMT="false"
5770 if ${ac_tool_prefix+:} false; then :
5771 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5772 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if test -n "$PKG_CONFIG"; then
5779 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5798 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5799 if test -n "$PKG_CONFIG"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5801 $as_echo "$PKG_CONFIG" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5810 if test "x$cross_compiling" = xyes; then :
5812 else
5813 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5814 # Extract the first word of "pkg-config", so it can be a program name with args.
5815 set dummy pkg-config; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 if test -n "$PKG_CONFIG"; then
5822 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_PKG_CONFIG="pkg-config"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5841 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5842 if test -n "$PKG_CONFIG"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5844 $as_echo "$PKG_CONFIG" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5852 else
5853 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5856 if test "x$enable_maintainer_mode" != "xyes"
5857 then
5858 FONTFORGE=""
5859 RSVG=""
5860 CONVERT=""
5861 ICOTOOL=""
5862 else
5863 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5864 for ac_prog in fontforge
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_FONTFORGE+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$FONTFORGE"; then
5874 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_FONTFORGE="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 FONTFORGE=$ac_cv_prog_FONTFORGE
5894 if test -n "$FONTFORGE"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5896 $as_echo "$FONTFORGE" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$FONTFORGE" && break
5904 done
5905 test -n "$FONTFORGE" || FONTFORGE="false"
5907 for ac_prog in rsvg-convert rsvg
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_RSVG+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$RSVG"; then
5917 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_RSVG="$ac_prog"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 RSVG=$ac_cv_prog_RSVG
5937 if test -n "$RSVG"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5939 $as_echo "$RSVG" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5946 test -n "$RSVG" && break
5947 done
5948 test -n "$RSVG" || RSVG="false"
5950 for ac_prog in convert
5952 # Extract the first word of "$ac_prog", so it can be a program name with args.
5953 set dummy $ac_prog; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_CONVERT+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 if test -n "$CONVERT"; then
5960 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_CONVERT="$ac_prog"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 CONVERT=$ac_cv_prog_CONVERT
5980 if test -n "$CONVERT"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5982 $as_echo "$CONVERT" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5989 test -n "$CONVERT" && break
5990 done
5991 test -n "$CONVERT" || CONVERT="false"
5993 for ac_prog in icotool
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_ICOTOOL+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$ICOTOOL"; then
6003 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_ICOTOOL="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 ICOTOOL=$ac_cv_prog_ICOTOOL
6023 if test -n "$ICOTOOL"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6025 $as_echo "$ICOTOOL" >&6; }
6026 else
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$ICOTOOL" && break
6033 done
6034 test -n "$ICOTOOL" || ICOTOOL="false"
6036 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6037 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6039 if test "$CONVERT" = false
6040 then
6041 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6042 else
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6044 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6045 convert_version=`convert --version | head -n1`
6046 if test "x$convert_version" != "x"
6047 then
6048 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6049 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6050 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6051 then
6052 CONVERT=false
6055 if test "$CONVERT" = false
6056 then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6058 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6059 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6062 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6066 if test "$ICOTOOL" = false
6067 then
6068 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6071 $as_echo_n "checking for recent enough icotool... " >&6; }
6072 icotool_version=`icotool --version | head -n1`
6073 if test "x$icotool_version" != "x"
6074 then
6075 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6076 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6077 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6078 then
6079 ICOTOOL=false
6080 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6083 if test "$ICOTOOL" = false
6084 then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6086 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6087 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6090 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6094 with_gettext=yes
6095 with_gettextpo=yes
6096 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6099 test "x$with_gettext" != xno || MSGFMT=false
6100 if test "$MSGFMT" != "false"
6101 then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6103 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6104 cat >conftest.po <<EOF
6105 # comment
6106 msgctxt "ctxt"
6107 msgid "id"
6108 msgstr "str"
6110 if $MSGFMT -o /dev/null conftest.po 2>&5
6111 then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6113 $as_echo "yes" >&6; }
6114 else
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6117 MSGFMT=false
6120 if test "$MSGFMT" = false; then :
6121 case "x$with_gettext" in
6122 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6123 xno) ;;
6124 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6125 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6126 esac
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 stat file-mode macros are broken" >&5
6841 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6842 if ${ac_cv_header_stat_broken+:} 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>
6848 #include <sys/stat.h>
6850 #if defined S_ISBLK && defined S_IFDIR
6851 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6852 #endif
6854 #if defined S_ISBLK && defined S_IFCHR
6855 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6856 #endif
6858 #if defined S_ISLNK && defined S_IFREG
6859 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6860 #endif
6862 #if defined S_ISSOCK && defined S_IFREG
6863 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6864 #endif
6866 _ACEOF
6867 if ac_fn_c_try_compile "$LINENO"; then :
6868 ac_cv_header_stat_broken=no
6869 else
6870 ac_cv_header_stat_broken=yes
6872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6875 $as_echo "$ac_cv_header_stat_broken" >&6; }
6876 if test $ac_cv_header_stat_broken = yes; then
6878 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6884 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6885 do :
6886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6888 #ifdef HAVE_SYS_PARAM_H
6889 # include <sys/param.h>
6890 #endif
6892 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6893 cat >>confdefs.h <<_ACEOF
6894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6895 _ACEOF
6899 done
6902 for ac_header in \
6903 netinet/ip.h \
6904 net/if.h \
6905 net/if_arp.h \
6906 net/if_dl.h \
6907 net/if_types.h \
6908 net/route.h \
6909 netinet/if_ether.h \
6910 netinet/if_inarp.h \
6911 netinet/in_pcb.h \
6912 netinet/ip_icmp.h \
6913 netinet/ip_var.h \
6914 netinet/udp.h \
6915 netipx/ipx.h \
6916 sys/un.h \
6918 do :
6919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6920 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6921 #ifdef HAVE_SYS_SOCKET_H
6922 # include <sys/socket.h>
6923 #endif
6924 #ifdef HAVE_SYS_SOCKETVAR_H
6925 # include <sys/socketvar.h>
6926 #endif
6927 #ifdef HAVE_NET_ROUTE_H
6928 # include <net/route.h>
6929 #endif
6930 #ifdef HAVE_NETINET_IN_H
6931 # include <netinet/in.h>
6932 #endif
6933 #ifdef HAVE_NETINET_IN_SYSTM_H
6934 # include <netinet/in_systm.h>
6935 #endif
6936 #ifdef HAVE_NET_IF_H
6937 # include <net/if.h>
6938 #endif
6939 #ifdef HAVE_NETINET_IP_H
6940 # include <netinet/ip.h>
6941 #endif
6943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6944 cat >>confdefs.h <<_ACEOF
6945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6946 _ACEOF
6950 done
6953 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6954 do :
6955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6956 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6957 #ifdef HAVE_ALIAS_H
6958 # include <alias.h>
6959 #endif
6960 #ifdef HAVE_SYS_SOCKET_H
6961 # include <sys/socket.h>
6962 #endif
6963 #ifdef HAVE_SYS_SOCKETVAR_H
6964 # include <sys/socketvar.h>
6965 #endif
6966 #ifdef HAVE_SYS_TIMEOUT_H
6967 # include <sys/timeout.h>
6968 #endif
6969 #ifdef HAVE_NETINET_IN_H
6970 # include <netinet/in.h>
6971 #endif
6972 #ifdef HAVE_NETINET_IN_SYSTM_H
6973 # include <netinet/in_systm.h>
6974 #endif
6975 #ifdef HAVE_NETINET_IP_H
6976 # include <netinet/ip.h>
6977 #endif
6978 #ifdef HAVE_NETINET_IP_VAR_H
6979 # include <netinet/ip_var.h>
6980 #endif
6981 #ifdef HAVE_NETINET_IP_ICMP_H
6982 # include <netinet/ip_icmp.h>
6983 #endif
6984 #ifdef HAVE_NETINET_UDP_H
6985 # include <netinet/udp.h>
6986 #endif
6987 #ifdef HAVE_NETINET_TCP_H
6988 # include <netinet/tcp.h>
6989 #endif
6990 #ifdef HAVE_NETINET_TCP_TIMER_H
6991 #include <netinet/tcp_timer.h>
6992 #endif
6994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6995 cat >>confdefs.h <<_ACEOF
6996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6997 _ACEOF
7001 done
7004 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7005 do :
7006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7008 #ifdef HAVE_ASM_TYPES_H
7009 # include <asm/types.h>
7010 #endif
7011 #ifdef HAVE_SYS_SOCKET_H
7012 # include <sys/socket.h>
7013 #endif
7014 #ifdef HAVE_LINUX_TYPES_H
7015 # include <linux/types.h>
7016 #endif
7018 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7019 cat >>confdefs.h <<_ACEOF
7020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7021 _ACEOF
7025 done
7028 for ac_header in mach-o/dyld_images.h
7029 do :
7030 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7031 # include <stdbool.h>
7032 #endif
7033 #ifdef HAVE_STDINT_H
7034 # include <stdint.h>
7035 #endif
7037 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7038 cat >>confdefs.h <<_ACEOF
7039 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7040 _ACEOF
7044 done
7047 for ac_header in resolv.h
7048 do :
7049 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7050 #ifdef HAVE_SYS_SOCKET_H
7051 # include <sys/socket.h>
7052 #endif
7053 #ifdef HAVE_NETINET_IN_H
7054 # include <netinet/in.h>
7055 #endif
7056 #ifdef HAVE_ARPA_NAMESER_H
7057 # include <arpa/nameser.h>
7058 #endif
7060 if test "x$ac_cv_header_resolv_h" = xyes; then :
7061 cat >>confdefs.h <<_ACEOF
7062 #define HAVE_RESOLV_H 1
7063 _ACEOF
7067 done
7070 for ac_header in ifaddrs.h
7071 do :
7072 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7074 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7075 cat >>confdefs.h <<_ACEOF
7076 #define HAVE_IFADDRS_H 1
7077 _ACEOF
7081 done
7084 for ac_header in sys/ucontext.h
7085 do :
7086 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7088 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7089 cat >>confdefs.h <<_ACEOF
7090 #define HAVE_SYS_UCONTEXT_H 1
7091 _ACEOF
7095 done
7098 for ac_header in sys/thr.h
7099 do :
7100 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7101 #ifdef HAVE_SYS_UCONTEXT_H
7102 #include <sys/ucontext.h>
7103 #endif
7105 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7106 cat >>confdefs.h <<_ACEOF
7107 #define HAVE_SYS_THR_H 1
7108 _ACEOF
7112 done
7115 for ac_header in pthread_np.h
7116 do :
7117 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7118 #include <pthread.h>
7119 #endif
7121 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7122 cat >>confdefs.h <<_ACEOF
7123 #define HAVE_PTHREAD_NP_H 1
7124 _ACEOF
7128 done
7131 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7132 do :
7133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7134 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7135 #include <sys/time.h>
7136 #endif
7137 #include <sys/types.h>
7138 #ifdef HAVE_ASM_TYPES_H
7139 #include <asm/types.h>
7140 #endif
7142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7143 cat >>confdefs.h <<_ACEOF
7144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7145 _ACEOF
7149 done
7152 for ac_header in libprocstat.h
7153 do :
7154 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7155 #include <sys/param.h>
7156 #endif
7157 #ifdef HAVE_SYS_QUEUE_H
7158 #include <sys/queue.h>
7159 #endif
7160 #ifdef HAVE_SYS_SOCKET_H
7161 #include <sys/socket.h>
7162 #endif
7164 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7165 cat >>confdefs.h <<_ACEOF
7166 #define HAVE_LIBPROCSTAT_H 1
7167 _ACEOF
7171 done
7175 dlldir="\${libdir}/wine"
7177 DLLFLAGS="-D_REENTRANT"
7179 LDRPATH_INSTALL=""
7181 LDRPATH_LOCAL=""
7183 LDEXECFLAGS=""
7185 LIBEXT="so"
7186 DLLEXT=".so"
7187 IMPLIBEXT="def"
7188 STATIC_IMPLIBEXT="def.a"
7189 # Extract the first word of "ldd", so it can be a program name with args.
7190 set dummy ldd; ac_word=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192 $as_echo_n "checking for $ac_word... " >&6; }
7193 if ${ac_cv_path_LDD+:} false; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 case $LDD in
7197 [\\/]* | ?:[\\/]*)
7198 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 as_dummy="/sbin:/usr/sbin:$PATH"
7203 for as_dir in $as_dummy
7205 IFS=$as_save_IFS
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7211 break 2
7213 done
7214 done
7215 IFS=$as_save_IFS
7217 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7219 esac
7221 LDD=$ac_cv_path_LDD
7222 if test -n "$LDD"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7224 $as_echo "$LDD" >&6; }
7225 else
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7231 if test -n "$ac_tool_prefix"; then
7232 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}otool; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if ${ac_cv_prog_OTOOL+:} false; then :
7237 $as_echo_n "(cached) " >&6
7238 else
7239 if test -n "$OTOOL"; then
7240 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7245 IFS=$as_save_IFS
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7249 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 break 2
7253 done
7254 done
7255 IFS=$as_save_IFS
7259 OTOOL=$ac_cv_prog_OTOOL
7260 if test -n "$OTOOL"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7262 $as_echo "$OTOOL" >&6; }
7263 else
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7270 if test -z "$ac_cv_prog_OTOOL"; then
7271 ac_ct_OTOOL=$OTOOL
7272 # Extract the first word of "otool", so it can be a program name with args.
7273 set dummy otool; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7277 $as_echo_n "(cached) " >&6
7278 else
7279 if test -n "$ac_ct_OTOOL"; then
7280 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7285 IFS=$as_save_IFS
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289 ac_cv_prog_ac_ct_OTOOL="otool"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 break 2
7293 done
7294 done
7295 IFS=$as_save_IFS
7299 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7300 if test -n "$ac_ct_OTOOL"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7302 $as_echo "$ac_ct_OTOOL" >&6; }
7303 else
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7308 if test "x$ac_ct_OTOOL" = x; then
7309 OTOOL="otool"
7310 else
7311 case $cross_compiling:$ac_tool_warned in
7312 yes:)
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned=yes ;;
7316 esac
7317 OTOOL=$ac_ct_OTOOL
7319 else
7320 OTOOL="$ac_cv_prog_OTOOL"
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if ${ac_cv_prog_READELF+:} false; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 if test -n "$READELF"; then
7332 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7337 IFS=$as_save_IFS
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 break 2
7345 done
7346 done
7347 IFS=$as_save_IFS
7351 READELF=$ac_cv_prog_READELF
7352 if test -n "$READELF"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7354 $as_echo "$READELF" >&6; }
7355 else
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7362 if test -z "$ac_cv_prog_READELF"; then
7363 ac_ct_READELF=$READELF
7364 # Extract the first word of "readelf", so it can be a program name with args.
7365 set dummy readelf; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7369 $as_echo_n "(cached) " >&6
7370 else
7371 if test -n "$ac_ct_READELF"; then
7372 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7373 else
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 for as_dir in $PATH
7377 IFS=$as_save_IFS
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_ac_ct_READELF="readelf"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 break 2
7385 done
7386 done
7387 IFS=$as_save_IFS
7391 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7392 if test -n "$ac_ct_READELF"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7394 $as_echo "$ac_ct_READELF" >&6; }
7395 else
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7400 if test "x$ac_ct_READELF" = x; then
7401 READELF="true"
7402 else
7403 case $cross_compiling:$ac_tool_warned in
7404 yes:)
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7407 ac_tool_warned=yes ;;
7408 esac
7409 READELF=$ac_ct_READELF
7411 else
7412 READELF="$ac_cv_prog_READELF"
7415 wine_rules_file=conf$$rules.make
7416 rm -f $wine_rules_file
7417 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7418 SUBDIRS=""
7420 ALL_TEST_RESOURCES=""
7423 wine_fn_append_file ()
7425 as_fn_append $1 " \\$as_nl $2"
7428 wine_fn_ignore_file ()
7430 case "$1" in
7431 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7432 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7433 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7434 esac
7437 wine_fn_append_rule ()
7439 $as_echo "$1" >>$wine_rules_file
7442 wine_fn_has_flag ()
7444 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7447 wine_fn_depend_rules ()
7449 wine_fn_append_file SUBDIRS $ac_dir
7452 wine_fn_all_rules ()
7454 wine_fn_depend_rules
7455 wine_fn_append_rule \
7456 "all: $ac_dir
7457 .PHONY: $ac_dir
7458 $ac_dir: dummy
7459 @cd $ac_dir && \$(MAKE)"
7462 wine_fn_install_rules ()
7464 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7466 wine_fn_append_rule \
7467 ".PHONY: $ac_dir/install $ac_dir/uninstall
7468 $ac_dir/install:: $ac_dir
7469 @cd $ac_dir && \$(MAKE) install
7470 $ac_dir/uninstall::
7471 @cd $ac_dir && \$(MAKE) uninstall
7472 install:: $ac_dir/install
7473 __uninstall__: $ac_dir/uninstall"
7475 if wine_fn_has_flag install-lib
7476 then
7477 wine_fn_append_rule \
7478 ".PHONY: $ac_dir/install-lib
7479 $ac_dir/install-lib:: $ac_dir
7480 @cd $ac_dir && \$(MAKE) install-lib
7481 install-lib:: $ac_dir/install-lib"
7484 if wine_fn_has_flag install-dev
7485 then
7486 wine_fn_append_rule \
7487 ".PHONY: $ac_dir/install-dev
7488 $ac_dir/install-dev:: $ac_dir
7489 @cd $ac_dir && \$(MAKE) install-dev
7490 install-dev:: $ac_dir/install-dev"
7494 wine_fn_clean_rules ()
7496 ac_clean=$@
7498 if wine_fn_has_flag clean
7499 then
7500 wine_fn_append_rule \
7501 "$ac_dir/clean: dummy
7502 @cd $ac_dir && \$(MAKE) clean"
7503 else
7504 wine_fn_append_rule \
7505 "$ac_dir/clean: dummy
7506 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7508 wine_fn_append_rule \
7509 "__clean__: $ac_dir/clean
7510 .PHONY: $ac_dir/clean"
7513 wine_fn_disabled_rules ()
7515 ac_clean=$@
7517 wine_fn_append_rule \
7518 "__clean__: $ac_dir/clean
7519 .PHONY: $ac_dir/clean
7520 $ac_dir/clean: dummy
7521 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7524 wine_fn_config_makefile ()
7526 ac_dir=$1
7527 ac_enable=$2
7528 ac_flags=$3
7530 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7531 wine_fn_disabled_rules; return
7533 wine_fn_all_rules
7534 wine_fn_install_rules
7535 wine_fn_clean_rules
7538 wine_fn_config_lib ()
7540 ac_name=$1
7541 ac_flags=$2
7542 ac_dir=dlls/$ac_name
7543 ac_deps="include"
7545 if test "x$enable_tools" = xno; then :
7547 else
7548 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7550 wine_fn_all_rules
7551 wine_fn_clean_rules
7553 wine_fn_append_rule \
7554 ".PHONY: $ac_dir/install $ac_dir/uninstall
7555 $ac_dir/install:: $ac_dir
7556 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7557 $ac_dir/uninstall::
7558 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7559 install install-dev:: $ac_dir/install
7560 __uninstall__: $ac_dir/uninstall
7561 __builddeps__: $ac_dir
7562 $ac_dir: $ac_deps"
7565 wine_fn_config_dll ()
7567 ac_name=$1
7568 ac_dir=dlls/$ac_name
7569 ac_enable=$2
7570 ac_flags=$3
7571 ac_implib=${4:-$ac_name}
7572 ac_file=$ac_dir/lib$ac_implib
7573 ac_dll=$ac_name
7574 ac_deps="include"
7575 ac_implibflags=""
7577 if test "x$enable_tools" = xno; then :
7579 else
7580 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7582 case $ac_name in
7583 *16) ac_implibflags=" -m16" ;;
7584 *.*) ;;
7585 *) ac_dll=$ac_dll.dll ;;
7586 esac
7588 ac_clean=
7589 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7590 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7592 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7593 if test "$ac_enable" != enable_win16
7594 then
7595 wine_fn_depend_rules
7596 wine_fn_clean_rules $ac_clean
7597 else
7598 wine_fn_disabled_rules $ac_clean
7599 return
7601 else
7602 wine_fn_all_rules
7603 wine_fn_clean_rules $ac_clean
7604 wine_fn_append_rule \
7605 "$ac_dir: __builddeps__
7606 manpages htmlpages sgmlpages xmlpages::
7607 @cd $ac_dir && \$(MAKE) \$@
7608 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7609 install install-lib:: $ac_dir/install-lib
7610 __uninstall__: $ac_dir/uninstall"
7611 if test -n "$DLLEXT"
7612 then
7613 wine_fn_append_rule \
7614 "$ac_dir/install-lib:: $ac_dir
7615 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7616 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7617 $ac_dir/uninstall::
7618 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7619 else
7620 wine_fn_append_rule \
7621 "$ac_dir/install-lib:: $ac_dir
7622 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7623 $ac_dir/uninstall::
7624 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7628 if wine_fn_has_flag staticimplib
7629 then
7630 wine_fn_append_rule \
7631 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7632 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7633 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7634 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7635 $ac_file.$STATIC_IMPLIBEXT: dummy
7636 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7637 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7638 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7639 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7640 $ac_dir/uninstall::
7641 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7642 install install-dev:: $ac_dir/install-dev
7643 __uninstall__: $ac_dir/uninstall"
7645 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7646 then
7647 wine_fn_append_rule \
7648 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7649 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7650 $ac_dir/uninstall::
7651 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7654 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7655 then
7656 wine_fn_append_rule \
7657 "__builddeps__: $ac_file.cross.a
7658 $ac_file.cross.a: dummy
7659 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7662 elif wine_fn_has_flag implib
7663 then
7664 wine_fn_append_rule \
7665 "__builddeps__: $ac_file.$IMPLIBEXT
7666 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7667 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7668 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7669 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7670 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7671 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7672 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7673 $ac_dir/uninstall::
7674 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7675 install install-dev:: $ac_dir/install-dev
7676 __uninstall__: $ac_dir/uninstall"
7677 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7678 then
7679 wine_fn_append_rule \
7680 "__builddeps__: $ac_file.cross.a
7681 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7682 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7685 if test "$ac_name" != "$ac_implib"
7686 then
7687 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7688 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7689 then
7690 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7696 wine_fn_config_program ()
7698 ac_name=$1
7699 ac_dir=programs/$ac_name
7700 ac_enable=$2
7701 ac_flags=$3
7702 ac_program=$ac_name
7704 case $ac_name in
7705 *.*) ;;
7706 *) ac_program=$ac_program.exe ;;
7707 esac
7709 ac_clean=
7710 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7711 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7713 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7714 wine_fn_disabled_rules $ac_clean; return
7717 wine_fn_all_rules
7718 wine_fn_clean_rules $ac_clean
7719 wine_fn_append_rule "$ac_dir: __builddeps__"
7721 wine_fn_has_flag install || return
7722 wine_fn_append_rule \
7723 ".PHONY: $ac_dir/install $ac_dir/uninstall
7724 install install-lib:: $ac_dir/install
7725 __uninstall__: $ac_dir/uninstall"
7727 if test -n "$DLLEXT"
7728 then
7729 wine_fn_append_rule \
7730 "$ac_dir/install:: $ac_dir
7731 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7732 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7733 $ac_dir/uninstall::
7734 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7736 if test -z "$with_wine64" && wine_fn_has_flag installbin
7737 then
7738 wine_fn_append_rule \
7739 "$ac_dir/install:: __tooldeps__
7740 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7741 $ac_dir/uninstall::
7742 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7744 else
7745 wine_fn_append_rule \
7746 "$ac_dir/install:: $ac_dir
7747 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7748 $ac_dir/uninstall::
7749 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7752 if test -z "$with_wine64" && wine_fn_has_flag manpage
7753 then
7754 wine_fn_append_rule \
7755 "$ac_dir/install:: $ac_dir
7756 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7757 $ac_dir/uninstall::
7758 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7762 wine_fn_config_test ()
7764 ac_dir=$1
7765 ac_name=$2
7766 ac_flags=$3
7768 ac_clean=
7769 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7770 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7772 if test "x$enable_tests" = xno; then :
7773 wine_fn_disabled_rules $ac_clean; return
7776 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7777 wine_fn_all_rules
7778 wine_fn_clean_rules $ac_clean
7780 wine_fn_append_rule \
7781 "$ac_dir: __builddeps__
7782 programs/winetest: $ac_dir
7783 check test: $ac_dir/test
7784 .PHONY: $ac_dir/test
7785 $ac_dir/test: dummy
7786 @cd $ac_dir && \$(MAKE) test
7787 testclean::
7788 \$(RM) $ac_dir/*.ok"
7790 if test -n "$CROSSTARGET"
7791 then
7792 wine_fn_append_rule \
7793 "crosstest: $ac_dir/crosstest
7794 .PHONY: $ac_dir/crosstest
7795 $ac_dir/crosstest: __builddeps__ dummy
7796 @cd $ac_dir && \$(MAKE) crosstest"
7800 wine_fn_config_tool ()
7802 ac_dir=$1
7803 ac_flags=$2
7804 if test "x$enable_tools" = xno; then :
7805 return
7808 wine_fn_all_rules
7809 wine_fn_install_rules
7810 wine_fn_clean_rules
7812 wine_fn_append_rule "__tooldeps__: $ac_dir"
7813 wine_fn_append_rule "$ac_dir: libs/port"
7814 case $ac_dir in
7815 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7816 esac
7819 wine_fn_config_symlink ()
7821 ac_linkdir=
7822 if test "x$1" = "x-d"
7823 then
7824 ac_linkdir=$2
7825 shift; shift
7827 ac_links=$@
7828 wine_fn_append_rule \
7829 "$ac_links:
7830 @./config.status \$@
7831 distclean::
7832 \$(RM) $ac_links"
7833 for f in $ac_links; do wine_fn_ignore_file $f; done
7834 test -n "$ac_linkdir" || return
7835 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7838 wine_binary="wine"
7839 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7840 WINELOADER_PROGRAMS="$wine_binary"
7842 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7844 case $host_os in
7845 cygwin*|mingw32*)
7846 if test -n "$ac_tool_prefix"; then
7847 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7848 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_DLLTOOL+:} false; then :
7852 $as_echo_n "(cached) " >&6
7853 else
7854 if test -n "$DLLTOOL"; then
7855 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7856 else
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 for as_dir in $PATH
7860 IFS=$as_save_IFS
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 break 2
7868 done
7869 done
7870 IFS=$as_save_IFS
7874 DLLTOOL=$ac_cv_prog_DLLTOOL
7875 if test -n "$DLLTOOL"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7877 $as_echo "$DLLTOOL" >&6; }
7878 else
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7885 if test -z "$ac_cv_prog_DLLTOOL"; then
7886 ac_ct_DLLTOOL=$DLLTOOL
7887 # Extract the first word of "dlltool", so it can be a program name with args.
7888 set dummy dlltool; ac_word=$2
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7890 $as_echo_n "checking for $ac_word... " >&6; }
7891 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7892 $as_echo_n "(cached) " >&6
7893 else
7894 if test -n "$ac_ct_DLLTOOL"; then
7895 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7896 else
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898 for as_dir in $PATH
7900 IFS=$as_save_IFS
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7904 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7906 break 2
7908 done
7909 done
7910 IFS=$as_save_IFS
7914 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7915 if test -n "$ac_ct_DLLTOOL"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7917 $as_echo "$ac_ct_DLLTOOL" >&6; }
7918 else
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920 $as_echo "no" >&6; }
7923 if test "x$ac_ct_DLLTOOL" = x; then
7924 DLLTOOL="false"
7925 else
7926 case $cross_compiling:$ac_tool_warned in
7927 yes:)
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7930 ac_tool_warned=yes ;;
7931 esac
7932 DLLTOOL=$ac_ct_DLLTOOL
7934 else
7935 DLLTOOL="$ac_cv_prog_DLLTOOL"
7938 LIBEXT="dll"
7939 DLLEXT=""
7940 IMPLIBEXT="a"
7941 STATIC_IMPLIBEXT="a"
7942 enable_iphlpapi=${enable_iphlpapi:-no}
7943 enable_kernel32=${enable_kernel32:-no}
7944 enable_msvcrt=${enable_msvcrt:-no}
7945 enable_ntdll=${enable_ntdll:-no}
7946 enable_ws2_32=${enable_ws2_32:-no}
7947 enable_loader=${enable_loader:-no}
7948 enable_server=${enable_server:-no}
7949 with_x=${with_x:-no}
7950 with_pthread=${with_pthread:-no}
7952 crtlibs=""
7953 case $host_os in
7954 mingw32*)
7955 crtlibs="-lmsvcrt"
7956 SOCKET_LIBS="-lws2_32"
7958 esac
7960 LIBWINE_SHAREDLIB="libwine.dll"
7962 LIBWINE_IMPORTLIB="libwine.a"
7964 LIBWINE_INSTALL_LIB="libwine.dll"
7966 LIBWINE_INSTALL_DEV="libwine.a"
7968 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7970 LIBWINE_DEPENDS="wine.def"
7974 darwin*|macosx*)
7975 for ac_header in libunwind.h
7976 do :
7977 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7979 cat >>confdefs.h <<_ACEOF
7980 #define HAVE_LIBUNWIND_H 1
7981 _ACEOF
7985 done
7987 LIBEXT="dylib"
7988 DLLFLAGS="$DLLFLAGS -fPIC"
7989 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7990 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7991 COREFOUNDATION_LIBS="-framework CoreFoundation"
7993 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7995 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7997 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7999 CORESERVICES_LIBS="-framework CoreServices"
8001 APPKIT_LIBS="-framework AppKit"
8003 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8005 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8006 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8007 $as_echo_n "(cached) " >&6
8008 else
8009 ac_wine_try_cflags_saved=$CFLAGS
8010 CFLAGS="$CFLAGS -Wl,-no_pie"
8011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8012 /* end confdefs.h. */
8013 int main(int argc, char **argv) { return 0; }
8014 _ACEOF
8015 if ac_fn_c_try_link "$LINENO"; then :
8016 ac_cv_cflags__Wl__no_pie=yes
8017 else
8018 ac_cv_cflags__Wl__no_pie=no
8020 rm -f core conftest.err conftest.$ac_objext \
8021 conftest$ac_exeext conftest.$ac_ext
8022 CFLAGS=$ac_wine_try_cflags_saved
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8025 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8026 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8027 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8029 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8030 then
8031 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8034 if test "$ac_cv_header_Security_Security_h" = "yes"
8035 then
8036 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8038 ac_save_LIBS="$LIBS"
8039 LIBS="$LIBS $SECURITY_LIBS"
8040 for ac_func in SSLCopyPeerCertificates
8041 do :
8042 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8043 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8044 cat >>confdefs.h <<_ACEOF
8045 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8046 _ACEOF
8049 done
8051 LIBS="$ac_save_LIBS"
8052 with_gnutls=${with_gnutls:-no}
8054 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8055 then
8056 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8057 then
8058 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8060 else
8061 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8064 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8065 ac_save_LIBS="$LIBS"
8066 LIBS="$LIBS $COREAUDIO_LIBS"
8067 for ac_func in AUGraphAddNode
8068 do :
8069 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8070 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8071 cat >>confdefs.h <<_ACEOF
8072 #define HAVE_AUGRAPHADDNODE 1
8073 _ACEOF
8076 done
8078 LIBS="$ac_save_LIBS"
8080 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8081 then
8082 OPENAL_LIBS="-framework OpenAL"
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_OPENAL 1
8087 _ACEOF
8089 ac_cv_lib_openal=yes
8091 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8092 then
8093 OPENCL_LIBS="-framework OpenCL"
8095 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8097 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8098 then
8099 ac_save_LIBS="$LIBS"
8100 LIBS="$LIBS $IOKIT_LIBS"
8101 for ac_func in IOHIDManagerCreate
8102 do :
8103 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8104 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8105 cat >>confdefs.h <<_ACEOF
8106 #define HAVE_IOHIDMANAGERCREATE 1
8107 _ACEOF
8110 done
8112 LIBS="$ac_save_LIBS"
8114 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8115 then
8116 ac_save_LIBS="$LIBS"
8117 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8119 $as_echo_n "checking for the QuickTime framework... " >&6; }
8120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8121 /* end confdefs.h. */
8122 #include <QuickTime/ImageCompression.h>
8124 main ()
8126 CodecManagerVersion(NULL);
8128 return 0;
8130 _ACEOF
8131 if ac_fn_c_try_link "$LINENO"; then :
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8133 $as_echo "yes" >&6; }
8134 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8136 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8137 else
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8140 ac_cv_header_QuickTime_ImageCompression_h=no
8142 rm -f core conftest.err conftest.$ac_objext \
8143 conftest$ac_exeext conftest.$ac_ext
8144 LIBS="$ac_save_LIBS"
8146 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8147 then
8148 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8150 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8151 then
8152 CARBON_LIBS="-framework Carbon"
8156 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8157 then
8158 ac_save_LIBS="$LIBS"
8159 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8160 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8161 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8162 enable_winemac_drv=${enable_winemac_drv:-yes}
8165 LIBS="$ac_save_LIBS"
8168 if test "x$enable_win16" = "xyes"
8169 then
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8171 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8172 if test "$cross_compiling" = yes; then :
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8174 $as_echo "cross-compiling, assuming yes" >&6; }
8175 else
8176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8177 /* end confdefs.h. */
8178 asm(".text\n"
8179 "bad:\tnop;nop\n"
8180 "good:\tnop;nop\n\t"
8181 ".globl _testfunc\n"
8182 "_testfunc:\tcallw good");
8183 extern void testfunc();
8185 main ()
8187 unsigned short *p = (unsigned short *)testfunc;
8188 return p[0] != 0xe866 || p[1] != 0xfffa
8190 return 0;
8192 _ACEOF
8193 if ac_fn_c_try_run "$LINENO"; then :
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8195 $as_echo "yes" >&6; }
8196 else
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8198 $as_echo "no" >&6; }
8199 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
8201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8202 conftest.$ac_objext conftest.beam conftest.$ac_ext
8207 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8209 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8211 LIBWINE_INSTALL_DEV="libwine.dylib"
8213 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8215 WINELOADER_DEPENDS="wine_info.plist"
8219 linux-android*)
8220 DLLFLAGS="$DLLFLAGS -fPIC"
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8222 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8223 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8224 $as_echo_n "(cached) " >&6
8225 else
8226 ac_wine_try_cflags_saved=$CFLAGS
8227 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8230 int main(int argc, char **argv) { return 0; }
8231 _ACEOF
8232 if ac_fn_c_try_link "$LINENO"; then :
8233 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8234 else
8235 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8237 rm -f core conftest.err conftest.$ac_objext \
8238 conftest$ac_exeext conftest.$ac_ext
8239 CFLAGS=$ac_wine_try_cflags_saved
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8242 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8243 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8244 LDEXECFLAGS="-Wl,--export-dynamic"
8246 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8248 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8249 if eval \${$as_ac_var+:} false; then :
8250 $as_echo_n "(cached) " >&6
8251 else
8252 ac_wine_try_cflags_saved=$CFLAGS
8253 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8255 /* end confdefs.h. */
8256 int main(int argc, char **argv) { return 0; }
8257 _ACEOF
8258 if ac_fn_c_try_link "$LINENO"; then :
8259 eval "$as_ac_var=yes"
8260 else
8261 eval "$as_ac_var=no"
8263 rm -f core conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 CFLAGS=$ac_wine_try_cflags_saved
8267 eval ac_res=\$$as_ac_var
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8269 $as_echo "$ac_res" >&6; }
8270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8271 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8272 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8273 else
8274 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8276 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8277 if eval \${$as_ac_var+:} false; then :
8278 $as_echo_n "(cached) " >&6
8279 else
8280 ac_wine_try_cflags_saved=$CFLAGS
8281 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8284 int main(int argc, char **argv) { return 0; }
8285 _ACEOF
8286 if ac_fn_c_try_link "$LINENO"; then :
8287 eval "$as_ac_var=yes"
8288 else
8289 eval "$as_ac_var=no"
8291 rm -f core conftest.err conftest.$ac_objext \
8292 conftest$ac_exeext conftest.$ac_ext
8293 CFLAGS=$ac_wine_try_cflags_saved
8295 eval ac_res=\$$as_ac_var
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8297 $as_echo "$ac_res" >&6; }
8298 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8299 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8300 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8305 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8306 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 ac_wine_try_cflags_saved=$CFLAGS
8310 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 int main(int argc, char **argv) { return 0; }
8314 _ACEOF
8315 if ac_fn_c_try_link "$LINENO"; then :
8316 ac_cv_cflags__Wl___enable_new_dtags=yes
8317 else
8318 ac_cv_cflags__Wl___enable_new_dtags=no
8320 rm -f core conftest.err conftest.$ac_objext \
8321 conftest$ac_exeext conftest.$ac_ext
8322 CFLAGS=$ac_wine_try_cflags_saved
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8325 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8326 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8327 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8330 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8331 if ${ac_cv_cflags__Wl__pie+:} false; then :
8332 $as_echo_n "(cached) " >&6
8333 else
8334 ac_wine_try_cflags_saved=$CFLAGS
8335 CFLAGS="$CFLAGS -Wl,-pie"
8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 int main(int argc, char **argv) { return 0; }
8339 _ACEOF
8340 if ac_fn_c_try_link "$LINENO"; then :
8341 ac_cv_cflags__Wl__pie=yes
8342 else
8343 ac_cv_cflags__Wl__pie=no
8345 rm -f core conftest.err conftest.$ac_objext \
8346 conftest$ac_exeext conftest.$ac_ext
8347 CFLAGS=$ac_wine_try_cflags_saved
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8350 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8351 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8352 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8355 LIBWINE_SHAREDLIB="libwine.so"
8357 LIBWINE_INSTALL_LIB="libwine.so"
8359 LIBWINE_LDFLAGS="-shared"
8364 DLLFLAGS="$DLLFLAGS -fPIC"
8365 LDEXECFLAGS=""
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8367 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8368 if ${ac_cv_c_dll_gnuelf+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370 else
8371 ac_wine_try_cflags_saved=$CFLAGS
8372 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8375 void myfunc() {}
8376 _ACEOF
8377 if ac_fn_c_try_link "$LINENO"; then :
8378 ac_cv_c_dll_gnuelf="yes"
8379 else
8380 ac_cv_c_dll_gnuelf="no"
8382 rm -f core conftest.err conftest.$ac_objext \
8383 conftest$ac_exeext conftest.$ac_ext
8384 CFLAGS=$ac_wine_try_cflags_saved
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8387 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8388 if test "$ac_cv_c_dll_gnuelf" = "yes"
8389 then
8390 LIBWINE_LDFLAGS="-shared"
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8392 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8393 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 ac_wine_try_cflags_saved=$CFLAGS
8397 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 int main(int argc, char **argv) { return 0; }
8401 _ACEOF
8402 if ac_fn_c_try_link "$LINENO"; then :
8403 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8404 else
8405 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8407 rm -f core conftest.err conftest.$ac_objext \
8408 conftest$ac_exeext conftest.$ac_ext
8409 CFLAGS=$ac_wine_try_cflags_saved
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8412 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8413 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8414 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8415 else
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8417 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8418 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8426 _ACEOF
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8429 else
8430 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 CFLAGS=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8437 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8438 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8439 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8443 echo '{ global: *; };' >conftest.map
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8445 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8446 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 ac_wine_try_cflags_saved=$CFLAGS
8450 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8454 _ACEOF
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8457 else
8458 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8465 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8466 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8467 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8469 rm -f conftest.map
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8472 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8473 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 ac_wine_try_cflags_saved=$CFLAGS
8477 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 int main(int argc, char **argv) { return 0; }
8481 _ACEOF
8482 if ac_fn_c_try_link "$LINENO"; then :
8483 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8484 else
8485 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8487 rm -f core conftest.err conftest.$ac_objext \
8488 conftest$ac_exeext conftest.$ac_ext
8489 CFLAGS=$ac_wine_try_cflags_saved
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8492 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8493 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8494 LDEXECFLAGS="-Wl,--export-dynamic"
8497 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8499 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8500 if eval \${$as_ac_var+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 int main(int argc, char **argv) { return 0; }
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 eval "$as_ac_var=yes"
8511 else
8512 eval "$as_ac_var=no"
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 eval ac_res=\$$as_ac_var
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8520 $as_echo "$ac_res" >&6; }
8521 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8522 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8523 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8524 else
8525 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8528 if eval \${$as_ac_var+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 eval "$as_ac_var=yes"
8539 else
8540 eval "$as_ac_var=no"
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 eval ac_res=\$$as_ac_var
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8548 $as_echo "$ac_res" >&6; }
8549 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8550 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8551 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8556 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8557 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 ac_wine_try_cflags_saved=$CFLAGS
8561 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8564 int main(int argc, char **argv) { return 0; }
8565 _ACEOF
8566 if ac_fn_c_try_link "$LINENO"; then :
8567 ac_cv_cflags__Wl___enable_new_dtags=yes
8568 else
8569 ac_cv_cflags__Wl___enable_new_dtags=no
8571 rm -f core conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 CFLAGS=$ac_wine_try_cflags_saved
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8576 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8577 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8578 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8581 case $host_cpu in
8582 *i[3456789]86* | x86_64)
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8584 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8585 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8586 $as_echo_n "(cached) " >&6
8587 else
8588 ac_wine_try_cflags_saved=$CFLAGS
8589 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8593 _ACEOF
8594 if ac_fn_c_try_link "$LINENO"; then :
8595 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8596 else
8597 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8599 rm -f core conftest.err conftest.$ac_objext \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8604 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8605 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8606 case $host_os in
8607 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8608 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8609 esac
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8613 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8614 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8615 $as_echo_n "(cached) " >&6
8616 else
8617 ac_wine_try_cflags_saved=$CFLAGS
8618 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 int main(int argc, char **argv) { return 0; }
8622 _ACEOF
8623 if ac_fn_c_try_link "$LINENO"; then :
8624 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8625 else
8626 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8628 rm -f core conftest.err conftest.$ac_objext \
8629 conftest$ac_exeext conftest.$ac_ext
8630 CFLAGS=$ac_wine_try_cflags_saved
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8633 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8634 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8636 else
8637 # Extract the first word of "prelink", so it can be a program name with args.
8638 set dummy prelink; ac_word=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8640 $as_echo_n "checking for $ac_word... " >&6; }
8641 if ${ac_cv_path_PRELINK+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 case $PRELINK in
8645 [\\/]* | ?:[\\/]*)
8646 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8650 for as_dir in /sbin /usr/sbin $PATH
8652 IFS=$as_save_IFS
8653 test -z "$as_dir" && as_dir=.
8654 for ac_exec_ext in '' $ac_executable_extensions; do
8655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8656 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8658 break 2
8660 done
8661 done
8662 IFS=$as_save_IFS
8664 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8666 esac
8668 PRELINK=$ac_cv_path_PRELINK
8669 if test -n "$PRELINK"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8671 $as_echo "$PRELINK" >&6; }
8672 else
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8678 if test "x$PRELINK" = xfalse
8679 then
8680 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8684 esac
8686 else
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8688 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8689 if ${ac_cv_c_dll_unixware+:} false; then :
8690 $as_echo_n "(cached) " >&6
8691 else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 void myfunc() {}
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 ac_cv_c_dll_unixware="yes"
8700 else
8701 ac_cv_c_dll_unixware="no"
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 CFLAGS=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8708 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8709 if test "$ac_cv_c_dll_unixware" = "yes"
8710 then
8711 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8714 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8716 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8718 LIBWINE_INSTALL_DEV="libwine.so"
8720 LIBWINE_DEPENDS="wine.map"
8723 esac
8725 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8726 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8727 enable_winemac_drv=${enable_winemac_drv:-no}
8728 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8730 CROSSTARGET=""
8732 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8733 then
8734 case "$host_cpu" in
8735 arm*)
8736 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8737 i[3456789]86*)
8738 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
8739 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8740 mingw32-gcc" ;;
8741 x86_64)
8742 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
8743 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8745 ac_prefix_list="" ;;
8746 esac
8747 for ac_prog in $ac_prefix_list
8749 # Extract the first word of "$ac_prog", so it can be a program name with args.
8750 set dummy $ac_prog; ac_word=$2
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8752 $as_echo_n "checking for $ac_word... " >&6; }
8753 if ${ac_cv_prog_CROSSCC+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 if test -n "$CROSSCC"; then
8757 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8758 else
8759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8760 for as_dir in $PATH
8762 IFS=$as_save_IFS
8763 test -z "$as_dir" && as_dir=.
8764 for ac_exec_ext in '' $ac_executable_extensions; do
8765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8766 ac_cv_prog_CROSSCC="$ac_prog"
8767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8768 break 2
8770 done
8771 done
8772 IFS=$as_save_IFS
8776 CROSSCC=$ac_cv_prog_CROSSCC
8777 if test -n "$CROSSCC"; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8779 $as_echo "$CROSSCC" >&6; }
8780 else
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8782 $as_echo "no" >&6; }
8786 test -n "$CROSSCC" && break
8787 done
8788 test -n "$CROSSCC" || CROSSCC="false"
8790 if test "$CROSSCC" != "false"
8791 then
8792 ac_save_CC="$CC"
8793 CC="$CROSSCC"
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8795 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8800 main ()
8804 return 0;
8806 _ACEOF
8807 if ac_fn_c_try_compile "$LINENO"; then :
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8809 $as_echo "yes" >&6; }
8810 set x $CROSSCC
8811 shift
8812 while test $# -ge 1
8814 case "$1" in
8815 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8816 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8817 esac
8818 shift
8819 done
8820 else
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8822 $as_echo "no" >&6; }
8824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8825 CC="$ac_save_CC"
8830 if test "$ac_cv_header_pthread_h" = "yes"
8831 then
8832 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8833 if test "x$ac_cv_func_pthread_create" = xyes; then :
8835 else
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8837 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8838 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_check_lib_save_LIBS=$LIBS
8842 LIBS="-lpthread $LIBS"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8846 /* Override any GCC internal prototype to avoid an error.
8847 Use char because int might match the return type of a GCC
8848 builtin and then its argument prototype would still apply. */
8849 #ifdef __cplusplus
8850 extern "C"
8851 #endif
8852 char pthread_create ();
8854 main ()
8856 return pthread_create ();
8858 return 0;
8860 _ACEOF
8861 if ac_fn_c_try_link "$LINENO"; then :
8862 ac_cv_lib_pthread_pthread_create=yes
8863 else
8864 ac_cv_lib_pthread_pthread_create=no
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8868 LIBS=$ac_check_lib_save_LIBS
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8871 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8872 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8873 PTHREAD_LIBS="-lpthread"
8880 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8881 case "x$with_pthread" in
8882 xno) ;;
8883 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8884 Wine cannot support threads without libpthread.
8885 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8886 esac
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8891 $as_echo_n "checking for X... " >&6; }
8894 # Check whether --with-x was given.
8895 if test "${with_x+set}" = set; then :
8896 withval=$with_x;
8899 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8900 if test "x$with_x" = xno; then
8901 # The user explicitly disabled X.
8902 have_x=disabled
8903 else
8904 case $x_includes,$x_libraries in #(
8905 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8906 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8907 $as_echo_n "(cached) " >&6
8908 else
8909 # One or both of the vars are not set, and there is no cached value.
8910 ac_x_includes=no ac_x_libraries=no
8911 rm -f -r conftest.dir
8912 if mkdir conftest.dir; then
8913 cd conftest.dir
8914 cat >Imakefile <<'_ACEOF'
8915 incroot:
8916 @echo incroot='${INCROOT}'
8917 usrlibdir:
8918 @echo usrlibdir='${USRLIBDIR}'
8919 libdir:
8920 @echo libdir='${LIBDIR}'
8921 _ACEOF
8922 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8923 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8924 for ac_var in incroot usrlibdir libdir; do
8925 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8926 done
8927 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8928 for ac_extension in a so sl dylib la dll; do
8929 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8930 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8931 ac_im_usrlibdir=$ac_im_libdir; break
8933 done
8934 # Screen out bogus values from the imake configuration. They are
8935 # bogus both because they are the default anyway, and because
8936 # using them would break gcc on systems where it needs fixed includes.
8937 case $ac_im_incroot in
8938 /usr/include) ac_x_includes= ;;
8939 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8940 esac
8941 case $ac_im_usrlibdir in
8942 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8943 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8944 esac
8946 cd ..
8947 rm -f -r conftest.dir
8950 # Standard set of common directories for X headers.
8951 # Check X11 before X11Rn because it is often a symlink to the current release.
8952 ac_x_header_dirs='
8953 /usr/X11/include
8954 /usr/X11R7/include
8955 /usr/X11R6/include
8956 /usr/X11R5/include
8957 /usr/X11R4/include
8959 /usr/include/X11
8960 /usr/include/X11R7
8961 /usr/include/X11R6
8962 /usr/include/X11R5
8963 /usr/include/X11R4
8965 /usr/local/X11/include
8966 /usr/local/X11R7/include
8967 /usr/local/X11R6/include
8968 /usr/local/X11R5/include
8969 /usr/local/X11R4/include
8971 /usr/local/include/X11
8972 /usr/local/include/X11R7
8973 /usr/local/include/X11R6
8974 /usr/local/include/X11R5
8975 /usr/local/include/X11R4
8977 /usr/X386/include
8978 /usr/x386/include
8979 /usr/XFree86/include/X11
8981 /usr/include
8982 /usr/local/include
8983 /usr/unsupported/include
8984 /usr/athena/include
8985 /usr/local/x11r5/include
8986 /usr/lpp/Xamples/include
8988 /usr/openwin/include
8989 /usr/openwin/share/include'
8991 if test "$ac_x_includes" = no; then
8992 # Guess where to find include files, by looking for Xlib.h.
8993 # First, try using that file with no special directory specified.
8994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8995 /* end confdefs.h. */
8996 #include <X11/Xlib.h>
8997 _ACEOF
8998 if ac_fn_c_try_cpp "$LINENO"; then :
8999 # We can compile using X headers with no special include directory.
9000 ac_x_includes=
9001 else
9002 for ac_dir in $ac_x_header_dirs; do
9003 if test -r "$ac_dir/X11/Xlib.h"; then
9004 ac_x_includes=$ac_dir
9005 break
9007 done
9009 rm -f conftest.err conftest.i conftest.$ac_ext
9010 fi # $ac_x_includes = no
9012 if test "$ac_x_libraries" = no; then
9013 # Check for the libraries.
9014 # See if we find them without any special options.
9015 # Don't add to $LIBS permanently.
9016 ac_save_LIBS=$LIBS
9017 LIBS="-lX11 $LIBS"
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9020 #include <X11/Xlib.h>
9022 main ()
9024 XrmInitialize ()
9026 return 0;
9028 _ACEOF
9029 if ac_fn_c_try_link "$LINENO"; then :
9030 LIBS=$ac_save_LIBS
9031 # We can link X programs with no special library path.
9032 ac_x_libraries=
9033 else
9034 LIBS=$ac_save_LIBS
9035 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9037 # Don't even attempt the hair of trying to link an X program!
9038 for ac_extension in a so sl dylib la dll; do
9039 if test -r "$ac_dir/libX11.$ac_extension"; then
9040 ac_x_libraries=$ac_dir
9041 break 2
9043 done
9044 done
9046 rm -f core conftest.err conftest.$ac_objext \
9047 conftest$ac_exeext conftest.$ac_ext
9048 fi # $ac_x_libraries = no
9050 case $ac_x_includes,$ac_x_libraries in #(
9051 no,* | *,no | *\'*)
9052 # Didn't find X, or a directory has "'" in its name.
9053 ac_cv_have_x="have_x=no";; #(
9055 # Record where we found X for the cache.
9056 ac_cv_have_x="have_x=yes\
9057 ac_x_includes='$ac_x_includes'\
9058 ac_x_libraries='$ac_x_libraries'"
9059 esac
9061 ;; #(
9062 *) have_x=yes;;
9063 esac
9064 eval "$ac_cv_have_x"
9065 fi # $with_x != no
9067 if test "$have_x" != yes; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9069 $as_echo "$have_x" >&6; }
9070 no_x=yes
9071 else
9072 # If each of the values was on the command line, it overrides each guess.
9073 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9074 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9075 # Update the cache value to reflect the command line values.
9076 ac_cv_have_x="have_x=yes\
9077 ac_x_includes='$x_includes'\
9078 ac_x_libraries='$x_libraries'"
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9080 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9083 if test "$no_x" = yes; then
9084 # Not all programs may use this symbol, but it does not hurt to define it.
9086 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9088 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9089 else
9090 if test -n "$x_includes"; then
9091 X_CFLAGS="$X_CFLAGS -I$x_includes"
9094 # It would also be nice to do this for all -L options, not just this one.
9095 if test -n "$x_libraries"; then
9096 X_LIBS="$X_LIBS -L$x_libraries"
9097 # For Solaris; some versions of Sun CC require a space after -R and
9098 # others require no space. Words are not sufficient . . . .
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9100 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9101 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9102 ac_xsave_c_werror_flag=$ac_c_werror_flag
9103 ac_c_werror_flag=yes
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9108 main ()
9112 return 0;
9114 _ACEOF
9115 if ac_fn_c_try_link "$LINENO"; then :
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9118 X_LIBS="$X_LIBS -R$x_libraries"
9119 else
9120 LIBS="$ac_xsave_LIBS -R $x_libraries"
9121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9122 /* end confdefs.h. */
9125 main ()
9129 return 0;
9131 _ACEOF
9132 if ac_fn_c_try_link "$LINENO"; then :
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9134 $as_echo "yes" >&6; }
9135 X_LIBS="$X_LIBS -R $x_libraries"
9136 else
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9138 $as_echo "neither works" >&6; }
9140 rm -f core conftest.err conftest.$ac_objext \
9141 conftest$ac_exeext conftest.$ac_ext
9143 rm -f core conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 ac_c_werror_flag=$ac_xsave_c_werror_flag
9146 LIBS=$ac_xsave_LIBS
9149 # Check for system-dependent libraries X programs must link with.
9150 # Do this before checking for the system-independent R6 libraries
9151 # (-lICE), since we may need -lsocket or whatever for X linking.
9153 if test "$ISC" = yes; then
9154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9155 else
9156 # Martyn Johnson says this is needed for Ultrix, if the X
9157 # libraries were built with DECnet support. And Karl Berry says
9158 # the Alpha needs dnet_stub (dnet does not exist).
9159 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9163 /* Override any GCC internal prototype to avoid an error.
9164 Use char because int might match the return type of a GCC
9165 builtin and then its argument prototype would still apply. */
9166 #ifdef __cplusplus
9167 extern "C"
9168 #endif
9169 char XOpenDisplay ();
9171 main ()
9173 return XOpenDisplay ();
9175 return 0;
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9180 else
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9182 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9183 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9184 $as_echo_n "(cached) " >&6
9185 else
9186 ac_check_lib_save_LIBS=$LIBS
9187 LIBS="-ldnet $LIBS"
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char dnet_ntoa ();
9199 main ()
9201 return dnet_ntoa ();
9203 return 0;
9205 _ACEOF
9206 if ac_fn_c_try_link "$LINENO"; then :
9207 ac_cv_lib_dnet_dnet_ntoa=yes
9208 else
9209 ac_cv_lib_dnet_dnet_ntoa=no
9211 rm -f core conftest.err conftest.$ac_objext \
9212 conftest$ac_exeext conftest.$ac_ext
9213 LIBS=$ac_check_lib_save_LIBS
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9216 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9217 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9218 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9221 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9223 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9224 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9225 $as_echo_n "(cached) " >&6
9226 else
9227 ac_check_lib_save_LIBS=$LIBS
9228 LIBS="-ldnet_stub $LIBS"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9235 #ifdef __cplusplus
9236 extern "C"
9237 #endif
9238 char dnet_ntoa ();
9240 main ()
9242 return dnet_ntoa ();
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9249 else
9250 ac_cv_lib_dnet_stub_dnet_ntoa=no
9252 rm -f core conftest.err conftest.$ac_objext \
9253 conftest$ac_exeext conftest.$ac_ext
9254 LIBS=$ac_check_lib_save_LIBS
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9257 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9258 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9259 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS="$ac_xsave_LIBS"
9268 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9269 # to get the SysV transport functions.
9270 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9271 # needs -lnsl.
9272 # The nsl library prevents programs from opening the X display
9273 # on Irix 5.2, according to T.E. Dickey.
9274 # The functions gethostbyname, getservbyname, and inet_addr are
9275 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9276 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9277 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9281 if test $ac_cv_func_gethostbyname = no; then
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9283 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9284 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9285 $as_echo_n "(cached) " >&6
9286 else
9287 ac_check_lib_save_LIBS=$LIBS
9288 LIBS="-lnsl $LIBS"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9292 /* Override any GCC internal prototype to avoid an error.
9293 Use char because int might match the return type of a GCC
9294 builtin and then its argument prototype would still apply. */
9295 #ifdef __cplusplus
9296 extern "C"
9297 #endif
9298 char gethostbyname ();
9300 main ()
9302 return gethostbyname ();
9304 return 0;
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_lib_nsl_gethostbyname=yes
9309 else
9310 ac_cv_lib_nsl_gethostbyname=no
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 LIBS=$ac_check_lib_save_LIBS
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9317 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9318 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9319 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9322 if test $ac_cv_lib_nsl_gethostbyname = no; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9324 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9325 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 ac_check_lib_save_LIBS=$LIBS
9329 LIBS="-lbsd $LIBS"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9333 /* Override any GCC internal prototype to avoid an error.
9334 Use char because int might match the return type of a GCC
9335 builtin and then its argument prototype would still apply. */
9336 #ifdef __cplusplus
9337 extern "C"
9338 #endif
9339 char gethostbyname ();
9341 main ()
9343 return gethostbyname ();
9345 return 0;
9347 _ACEOF
9348 if ac_fn_c_try_link "$LINENO"; then :
9349 ac_cv_lib_bsd_gethostbyname=yes
9350 else
9351 ac_cv_lib_bsd_gethostbyname=no
9353 rm -f core conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9355 LIBS=$ac_check_lib_save_LIBS
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9358 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9359 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9360 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9366 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9367 # socket/setsockopt and other routines are undefined under SCO ODT
9368 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9369 # on later versions), says Simon Leinen: it contains gethostby*
9370 # variants that don't use the name server (or something). -lsocket
9371 # must be given before -lnsl if both are needed. We assume that
9372 # if connect needs -lnsl, so does gethostbyname.
9373 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9374 if test "x$ac_cv_func_connect" = xyes; then :
9378 if test $ac_cv_func_connect = no; then
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9380 $as_echo_n "checking for connect in -lsocket... " >&6; }
9381 if ${ac_cv_lib_socket_connect+:} false; then :
9382 $as_echo_n "(cached) " >&6
9383 else
9384 ac_check_lib_save_LIBS=$LIBS
9385 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9389 /* Override any GCC internal prototype to avoid an error.
9390 Use char because int might match the return type of a GCC
9391 builtin and then its argument prototype would still apply. */
9392 #ifdef __cplusplus
9393 extern "C"
9394 #endif
9395 char connect ();
9397 main ()
9399 return connect ();
9401 return 0;
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 ac_cv_lib_socket_connect=yes
9406 else
9407 ac_cv_lib_socket_connect=no
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 LIBS=$ac_check_lib_save_LIBS
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9414 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9415 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9416 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9421 # Guillermo Gomez says -lposix is necessary on A/UX.
9422 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9423 if test "x$ac_cv_func_remove" = xyes; then :
9427 if test $ac_cv_func_remove = no; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9429 $as_echo_n "checking for remove in -lposix... " >&6; }
9430 if ${ac_cv_lib_posix_remove+:} false; then :
9431 $as_echo_n "(cached) " >&6
9432 else
9433 ac_check_lib_save_LIBS=$LIBS
9434 LIBS="-lposix $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 remove ();
9446 main ()
9448 return remove ();
9450 return 0;
9452 _ACEOF
9453 if ac_fn_c_try_link "$LINENO"; then :
9454 ac_cv_lib_posix_remove=yes
9455 else
9456 ac_cv_lib_posix_remove=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_posix_remove" >&5
9463 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9464 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9465 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9470 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9471 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9472 if test "x$ac_cv_func_shmat" = xyes; then :
9476 if test $ac_cv_func_shmat = no; then
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9478 $as_echo_n "checking for shmat in -lipc... " >&6; }
9479 if ${ac_cv_lib_ipc_shmat+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_check_lib_save_LIBS=$LIBS
9483 LIBS="-lipc $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 shmat ();
9495 main ()
9497 return shmat ();
9499 return 0;
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 ac_cv_lib_ipc_shmat=yes
9504 else
9505 ac_cv_lib_ipc_shmat=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_ipc_shmat" >&5
9512 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9513 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9514 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9520 # Check for libraries that X11R6 Xt/Xaw programs need.
9521 ac_save_LDFLAGS=$LDFLAGS
9522 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9523 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9524 # check for ICE first), but we must link in the order -lSM -lICE or
9525 # we get undefined symbols. So assume we have SM if we have ICE.
9526 # These have to be linked with before -lX11, unlike the other
9527 # libraries we check for below, so use a different variable.
9528 # John Interrante, Karl Berry
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9530 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9531 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_check_lib_save_LIBS=$LIBS
9535 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9542 #ifdef __cplusplus
9543 extern "C"
9544 #endif
9545 char IceConnectionNumber ();
9547 main ()
9549 return IceConnectionNumber ();
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 ac_cv_lib_ICE_IceConnectionNumber=yes
9556 else
9557 ac_cv_lib_ICE_IceConnectionNumber=no
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_lib_save_LIBS
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9564 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9565 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9566 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9569 LDFLAGS=$ac_save_LDFLAGS
9574 if test "$have_x" = "yes"
9575 then
9576 ac_save_CPPFLAGS="$CPPFLAGS"
9577 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9580 $as_echo_n "checking for -lX11... " >&6; }
9581 if ${ac_cv_lib_soname_X11+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_check_soname_save_LIBS=$LIBS
9585 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9592 #ifdef __cplusplus
9593 extern "C"
9594 #endif
9595 char XCreateWindow ();
9597 main ()
9599 return XCreateWindow ();
9601 return 0;
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605 case "$LIBEXT" in
9606 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9607 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'` ;;
9608 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9609 if ${ac_cv_lib_soname_X11:+false} :; then :
9610 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9611 fi ;;
9612 esac
9614 rm -f core conftest.err conftest.$ac_objext \
9615 conftest$ac_exeext conftest.$ac_ext
9616 LIBS=$ac_check_soname_save_LIBS
9618 if ${ac_cv_lib_soname_X11:+false} :; then :
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9620 $as_echo "not found" >&6; }
9622 else
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9624 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9626 cat >>confdefs.h <<_ACEOF
9627 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9628 _ACEOF
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9633 $as_echo_n "checking for -lXext... " >&6; }
9634 if ${ac_cv_lib_soname_Xext+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 ac_check_soname_save_LIBS=$LIBS
9638 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9645 #ifdef __cplusplus
9646 extern "C"
9647 #endif
9648 char XextCreateExtension ();
9650 main ()
9652 return XextCreateExtension ();
9654 return 0;
9656 _ACEOF
9657 if ac_fn_c_try_link "$LINENO"; then :
9658 case "$LIBEXT" in
9659 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9660 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'` ;;
9661 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9662 if ${ac_cv_lib_soname_Xext:+false} :; then :
9663 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9664 fi ;;
9665 esac
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 LIBS=$ac_check_soname_save_LIBS
9671 if ${ac_cv_lib_soname_Xext:+false} :; then :
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9673 $as_echo "not found" >&6; }
9675 else
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9677 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9679 cat >>confdefs.h <<_ACEOF
9680 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9681 _ACEOF
9683 X_LIBS="$X_LIBS -lXext"
9685 X_LIBS="$X_LIBS -lX11"
9687 for ac_header in X11/Xlib.h \
9688 X11/XKBlib.h \
9689 X11/Xutil.h \
9690 X11/Xcursor/Xcursor.h \
9691 X11/extensions/shape.h \
9692 X11/extensions/XInput.h \
9693 X11/extensions/XInput2.h \
9694 X11/extensions/XShm.h \
9695 X11/extensions/Xcomposite.h \
9696 X11/extensions/Xinerama.h \
9697 X11/extensions/Xrandr.h \
9698 X11/extensions/Xrender.h \
9699 X11/extensions/xf86vmode.h \
9700 X11/extensions/xf86vmproto.h
9701 do :
9702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9703 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9704 # include <X11/Xlib.h>
9705 #endif
9706 #ifdef HAVE_X11_XUTIL_H
9707 # include <X11/Xutil.h>
9708 #endif
9710 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9711 cat >>confdefs.h <<_ACEOF
9712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9713 _ACEOF
9717 done
9720 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9721 then
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9723 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9724 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 ac_check_lib_save_LIBS=$LIBS
9728 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9735 #ifdef __cplusplus
9736 extern "C"
9737 #endif
9738 char XkbQueryExtension ();
9740 main ()
9742 return XkbQueryExtension ();
9744 return 0;
9746 _ACEOF
9747 if ac_fn_c_try_link "$LINENO"; then :
9748 ac_cv_lib_X11_XkbQueryExtension=yes
9749 else
9750 ac_cv_lib_X11_XkbQueryExtension=no
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 LIBS=$ac_check_lib_save_LIBS
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9757 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9758 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9760 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9766 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9767 then
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9769 $as_echo_n "checking for -lXcursor... " >&6; }
9770 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9771 $as_echo_n "(cached) " >&6
9772 else
9773 ac_check_soname_save_LIBS=$LIBS
9774 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9778 /* Override any GCC internal prototype to avoid an error.
9779 Use char because int might match the return type of a GCC
9780 builtin and then its argument prototype would still apply. */
9781 #ifdef __cplusplus
9782 extern "C"
9783 #endif
9784 char XcursorImageLoadCursor ();
9786 main ()
9788 return XcursorImageLoadCursor ();
9790 return 0;
9792 _ACEOF
9793 if ac_fn_c_try_link "$LINENO"; then :
9794 case "$LIBEXT" in
9795 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9796 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'` ;;
9797 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9798 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9799 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9800 fi ;;
9801 esac
9803 rm -f core conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9805 LIBS=$ac_check_soname_save_LIBS
9807 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9809 $as_echo "not found" >&6; }
9811 else
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9813 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9815 cat >>confdefs.h <<_ACEOF
9816 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9817 _ACEOF
9822 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9823 case "x$with_xcursor" in
9824 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9825 xno) ;;
9826 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9827 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9828 esac
9831 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9832 then
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9834 $as_echo_n "checking for -lXi... " >&6; }
9835 if ${ac_cv_lib_soname_Xi+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_check_soname_save_LIBS=$LIBS
9839 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9846 #ifdef __cplusplus
9847 extern "C"
9848 #endif
9849 char XOpenDevice ();
9851 main ()
9853 return XOpenDevice ();
9855 return 0;
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 case "$LIBEXT" in
9860 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9861 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'` ;;
9862 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9863 if ${ac_cv_lib_soname_Xi:+false} :; then :
9864 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9865 fi ;;
9866 esac
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 LIBS=$ac_check_soname_save_LIBS
9872 if ${ac_cv_lib_soname_Xi:+false} :; then :
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9874 $as_echo "not found" >&6; }
9876 else
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9878 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9880 cat >>confdefs.h <<_ACEOF
9881 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9882 _ACEOF
9887 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9888 case "x$with_xinput" in
9889 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9890 xno) ;;
9891 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9892 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9893 esac
9896 if test "x$ac_cv_lib_soname_Xi" != x
9897 then
9898 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9899 case "x$with_xinput2" in
9900 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9901 xno) ;;
9902 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9903 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9904 esac
9908 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9909 then
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9911 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9912 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9913 $as_echo_n "(cached) " >&6
9914 else
9915 ac_check_lib_save_LIBS=$LIBS
9916 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9920 /* Override any GCC internal prototype to avoid an error.
9921 Use char because int might match the return type of a GCC
9922 builtin and then its argument prototype would still apply. */
9923 #ifdef __cplusplus
9924 extern "C"
9925 #endif
9926 char XShmQueryExtension ();
9928 main ()
9930 return XShmQueryExtension ();
9932 return 0;
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"; then :
9936 ac_cv_lib_Xext_XShmQueryExtension=yes
9937 else
9938 ac_cv_lib_Xext_XShmQueryExtension=no
9940 rm -f core conftest.err conftest.$ac_objext \
9941 conftest$ac_exeext conftest.$ac_ext
9942 LIBS=$ac_check_lib_save_LIBS
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9945 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9946 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9948 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9953 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9954 case "x$with_xshm" in
9955 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9956 xno) ;;
9957 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9958 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9959 esac
9962 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9963 then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9965 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9966 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9967 $as_echo_n "(cached) " >&6
9968 else
9969 ac_check_lib_save_LIBS=$LIBS
9970 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9974 /* Override any GCC internal prototype to avoid an error.
9975 Use char because int might match the return type of a GCC
9976 builtin and then its argument prototype would still apply. */
9977 #ifdef __cplusplus
9978 extern "C"
9979 #endif
9980 char XShapeQueryExtension ();
9982 main ()
9984 return XShapeQueryExtension ();
9986 return 0;
9988 _ACEOF
9989 if ac_fn_c_try_link "$LINENO"; then :
9990 ac_cv_lib_Xext_XShapeQueryExtension=yes
9991 else
9992 ac_cv_lib_Xext_XShapeQueryExtension=no
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_lib_save_LIBS
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9999 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10000 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10002 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10007 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10008 case "x$with_xshape" in
10009 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10010 xno) ;;
10011 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10012 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10013 esac
10016 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10017 then
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10019 $as_echo_n "checking for -lXxf86vm... " >&6; }
10020 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_check_soname_save_LIBS=$LIBS
10024 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10026 /* end confdefs.h. */
10028 /* Override any GCC internal prototype to avoid an error.
10029 Use char because int might match the return type of a GCC
10030 builtin and then its argument prototype would still apply. */
10031 #ifdef __cplusplus
10032 extern "C"
10033 #endif
10034 char XF86VidModeQueryExtension ();
10036 main ()
10038 return XF86VidModeQueryExtension ();
10040 return 0;
10042 _ACEOF
10043 if ac_fn_c_try_link "$LINENO"; then :
10044 case "$LIBEXT" in
10045 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10046 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'` ;;
10047 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10048 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10049 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10050 fi ;;
10051 esac
10053 rm -f core conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10055 LIBS=$ac_check_soname_save_LIBS
10057 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10059 $as_echo "not found" >&6; }
10061 else
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10063 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10065 cat >>confdefs.h <<_ACEOF
10066 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10067 _ACEOF
10072 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10073 case "x$with_xxf86vm" in
10074 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10075 xno) ;;
10076 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10077 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10078 esac
10081 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10082 then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10084 $as_echo_n "checking for -lXrender... " >&6; }
10085 if ${ac_cv_lib_soname_Xrender+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_check_soname_save_LIBS=$LIBS
10089 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10096 #ifdef __cplusplus
10097 extern "C"
10098 #endif
10099 char XRenderQueryExtension ();
10101 main ()
10103 return XRenderQueryExtension ();
10105 return 0;
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109 case "$LIBEXT" in
10110 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10111 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'` ;;
10112 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10113 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10114 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10115 fi ;;
10116 esac
10118 rm -f core conftest.err conftest.$ac_objext \
10119 conftest$ac_exeext conftest.$ac_ext
10120 LIBS=$ac_check_soname_save_LIBS
10122 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10124 $as_echo "not found" >&6; }
10126 else
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10128 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10130 cat >>confdefs.h <<_ACEOF
10131 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10132 _ACEOF
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10135 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10136 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10137 $as_echo_n "(cached) " >&6
10138 else
10139 ac_check_lib_save_LIBS=$LIBS
10140 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10144 /* Override any GCC internal prototype to avoid an error.
10145 Use char because int might match the return type of a GCC
10146 builtin and then its argument prototype would still apply. */
10147 #ifdef __cplusplus
10148 extern "C"
10149 #endif
10150 char XRenderSetPictureTransform ();
10152 main ()
10154 return XRenderSetPictureTransform ();
10156 return 0;
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"; then :
10160 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10161 else
10162 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 LIBS=$ac_check_lib_save_LIBS
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10169 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10170 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10172 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10177 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10178 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10179 $as_echo_n "(cached) " >&6
10180 else
10181 ac_check_lib_save_LIBS=$LIBS
10182 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10186 /* Override any GCC internal prototype to avoid an error.
10187 Use char because int might match the return type of a GCC
10188 builtin and then its argument prototype would still apply. */
10189 #ifdef __cplusplus
10190 extern "C"
10191 #endif
10192 char XRenderCreateLinearGradient ();
10194 main ()
10196 return XRenderCreateLinearGradient ();
10198 return 0;
10200 _ACEOF
10201 if ac_fn_c_try_link "$LINENO"; then :
10202 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10203 else
10204 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 LIBS=$ac_check_lib_save_LIBS
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10211 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10212 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10214 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10221 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10222 case "x$with_xrender" in
10223 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10224 xno) ;;
10225 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10226 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10227 esac
10230 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10231 then
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10234 #include <X11/Xlib.h>
10235 #include <X11/extensions/Xrandr.h>
10237 main ()
10239 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10241 return 0;
10243 _ACEOF
10244 if ac_fn_c_try_compile "$LINENO"; then :
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10246 $as_echo_n "checking for -lXrandr... " >&6; }
10247 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10248 $as_echo_n "(cached) " >&6
10249 else
10250 ac_check_soname_save_LIBS=$LIBS
10251 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10255 /* Override any GCC internal prototype to avoid an error.
10256 Use char because int might match the return type of a GCC
10257 builtin and then its argument prototype would still apply. */
10258 #ifdef __cplusplus
10259 extern "C"
10260 #endif
10261 char XRRQueryExtension ();
10263 main ()
10265 return XRRQueryExtension ();
10267 return 0;
10269 _ACEOF
10270 if ac_fn_c_try_link "$LINENO"; then :
10271 case "$LIBEXT" in
10272 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10273 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'` ;;
10274 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10275 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10276 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10277 fi ;;
10278 esac
10280 rm -f core conftest.err conftest.$ac_objext \
10281 conftest$ac_exeext conftest.$ac_ext
10282 LIBS=$ac_check_soname_save_LIBS
10284 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10286 $as_echo "not found" >&6; }
10288 else
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10290 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10292 cat >>confdefs.h <<_ACEOF
10293 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10294 _ACEOF
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 #include <X11/Xlib.h>
10299 #include <X11/extensions/Xrandr.h>
10301 main ()
10303 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10305 return 0;
10307 _ACEOF
10308 if ac_fn_c_try_compile "$LINENO"; then :
10310 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10318 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10319 case "x$with_xrandr" in
10320 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10321 xno) ;;
10322 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10323 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10324 esac
10327 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10328 then
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 #include <X11/Xlib.h>
10332 #include <X11/extensions/Xinerama.h>
10334 main ()
10336 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10338 return 0;
10340 _ACEOF
10341 if ac_fn_c_try_compile "$LINENO"; then :
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10343 $as_echo_n "checking for -lXinerama... " >&6; }
10344 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10345 $as_echo_n "(cached) " >&6
10346 else
10347 ac_check_soname_save_LIBS=$LIBS
10348 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10352 /* Override any GCC internal prototype to avoid an error.
10353 Use char because int might match the return type of a GCC
10354 builtin and then its argument prototype would still apply. */
10355 #ifdef __cplusplus
10356 extern "C"
10357 #endif
10358 char XineramaQueryScreens ();
10360 main ()
10362 return XineramaQueryScreens ();
10364 return 0;
10366 _ACEOF
10367 if ac_fn_c_try_link "$LINENO"; then :
10368 case "$LIBEXT" in
10369 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10370 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'` ;;
10371 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10372 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10373 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10374 fi ;;
10375 esac
10377 rm -f core conftest.err conftest.$ac_objext \
10378 conftest$ac_exeext conftest.$ac_ext
10379 LIBS=$ac_check_soname_save_LIBS
10381 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10383 $as_echo "not found" >&6; }
10385 else
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10387 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10389 cat >>confdefs.h <<_ACEOF
10390 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10391 _ACEOF
10396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10398 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10399 case "x$with_xinerama" in
10400 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10401 xno) ;;
10402 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10403 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10404 esac
10407 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10408 then
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10410 $as_echo_n "checking for -lXcomposite... " >&6; }
10411 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10412 $as_echo_n "(cached) " >&6
10413 else
10414 ac_check_soname_save_LIBS=$LIBS
10415 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10419 /* Override any GCC internal prototype to avoid an error.
10420 Use char because int might match the return type of a GCC
10421 builtin and then its argument prototype would still apply. */
10422 #ifdef __cplusplus
10423 extern "C"
10424 #endif
10425 char XCompositeRedirectWindow ();
10427 main ()
10429 return XCompositeRedirectWindow ();
10431 return 0;
10433 _ACEOF
10434 if ac_fn_c_try_link "$LINENO"; then :
10435 case "$LIBEXT" in
10436 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10437 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'` ;;
10438 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10439 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10440 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10441 fi ;;
10442 esac
10444 rm -f core conftest.err conftest.$ac_objext \
10445 conftest$ac_exeext conftest.$ac_ext
10446 LIBS=$ac_check_soname_save_LIBS
10448 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10450 $as_echo "not found" >&6; }
10452 else
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10454 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10456 cat >>confdefs.h <<_ACEOF
10457 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10458 _ACEOF
10463 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10464 case "x$with_xcomposite" in
10465 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10466 xno) ;;
10467 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10468 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10469 esac
10472 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10473 #include <X11/Xlib.h>
10474 #endif
10476 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10478 cat >>confdefs.h <<_ACEOF
10479 #define HAVE_XICCALLBACK_CALLBACK 1
10480 _ACEOF
10484 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10485 #include <X11/Xlib.h>
10486 #endif
10488 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10490 cat >>confdefs.h <<_ACEOF
10491 #define HAVE_XEVENT_XCOOKIE 1
10492 _ACEOF
10499 opengl_msg=""
10500 if test "x$with_opengl" != "xno"
10501 then
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10503 $as_echo_n "checking for -lGL... " >&6; }
10504 if ${ac_cv_lib_soname_GL+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_check_soname_save_LIBS=$LIBS
10508 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10512 /* Override any GCC internal prototype to avoid an error.
10513 Use char because int might match the return type of a GCC
10514 builtin and then its argument prototype would still apply. */
10515 #ifdef __cplusplus
10516 extern "C"
10517 #endif
10518 char glXCreateContext ();
10520 main ()
10522 return glXCreateContext ();
10524 return 0;
10526 _ACEOF
10527 if ac_fn_c_try_link "$LINENO"; then :
10528 case "$LIBEXT" in
10529 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10530 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'` ;;
10531 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10532 if ${ac_cv_lib_soname_GL:+false} :; then :
10533 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10534 fi ;;
10535 esac
10537 rm -f core conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_soname_save_LIBS
10541 if ${ac_cv_lib_soname_GL:+false} :; then :
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10543 $as_echo "not found" >&6; }
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10545 $as_echo_n "checking for -lGL... " >&6; }
10546 if ${ac_cv_lib_soname_GL+:} false; then :
10547 $as_echo_n "(cached) " >&6
10548 else
10549 ac_check_soname_save_LIBS=$LIBS
10550 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"
10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10554 /* Override any GCC internal prototype to avoid an error.
10555 Use char because int might match the return type of a GCC
10556 builtin and then its argument prototype would still apply. */
10557 #ifdef __cplusplus
10558 extern "C"
10559 #endif
10560 char glXCreateContext ();
10562 main ()
10564 return glXCreateContext ();
10566 return 0;
10568 _ACEOF
10569 if ac_fn_c_try_link "$LINENO"; then :
10570 case "$LIBEXT" in
10571 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10572 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'` ;;
10573 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10574 if ${ac_cv_lib_soname_GL:+false} :; then :
10575 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10576 fi ;;
10577 esac
10579 rm -f core conftest.err conftest.$ac_objext \
10580 conftest$ac_exeext conftest.$ac_ext
10581 LIBS=$ac_check_soname_save_LIBS
10583 if ${ac_cv_lib_soname_GL:+false} :; then :
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10585 $as_echo "not found" >&6; }
10586 if test -f /usr/X11R6/lib/libGL.a
10587 then
10588 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10589 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10590 else
10591 opengl_msg="No OpenGL library found on this system."
10593 else
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10595 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10597 cat >>confdefs.h <<_ACEOF
10598 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10599 _ACEOF
10601 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"
10603 else
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10605 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10607 cat >>confdefs.h <<_ACEOF
10608 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10609 _ACEOF
10611 OPENGL_LIBS="-lGL"
10613 if test "x$with_glu" != "xno"
10614 then
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10616 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10617 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10618 $as_echo_n "(cached) " >&6
10619 else
10620 ac_check_lib_save_LIBS=$LIBS
10621 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10625 /* Override any GCC internal prototype to avoid an error.
10626 Use char because int might match the return type of a GCC
10627 builtin and then its argument prototype would still apply. */
10628 #ifdef __cplusplus
10629 extern "C"
10630 #endif
10631 char gluLookAt ();
10633 main ()
10635 return gluLookAt ();
10637 return 0;
10639 _ACEOF
10640 if ac_fn_c_try_link "$LINENO"; then :
10641 ac_cv_lib_GLU_gluLookAt=yes
10642 else
10643 ac_cv_lib_GLU_gluLookAt=no
10645 rm -f core conftest.err conftest.$ac_objext \
10646 conftest$ac_exeext conftest.$ac_ext
10647 LIBS=$ac_check_lib_save_LIBS
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10650 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10651 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10655 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10656 case "x$with_glu" in
10657 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10658 xno) ;;
10659 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10660 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10661 esac
10665 if test "x$with_osmesa" != "xno"
10666 then
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10668 $as_echo_n "checking for -lOSMesa... " >&6; }
10669 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10670 $as_echo_n "(cached) " >&6
10671 else
10672 ac_check_soname_save_LIBS=$LIBS
10673 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10680 #ifdef __cplusplus
10681 extern "C"
10682 #endif
10683 char glAccum ();
10685 main ()
10687 return glAccum ();
10689 return 0;
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"; then :
10693 case "$LIBEXT" in
10694 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10695 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'` ;;
10696 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10697 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10698 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10699 fi ;;
10700 esac
10702 rm -f core conftest.err conftest.$ac_objext \
10703 conftest$ac_exeext conftest.$ac_ext
10704 LIBS=$ac_check_soname_save_LIBS
10706 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10708 $as_echo "not found" >&6; }
10710 else
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10712 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10714 cat >>confdefs.h <<_ACEOF
10715 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10716 _ACEOF
10720 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10721 case "x$with_osmesa" in
10722 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10723 xno) ;;
10724 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10725 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10726 esac
10730 if test -n "$opengl_msg"; then :
10731 case "x$with_opengl" in
10732 x) as_fn_append wine_warnings "|$opengl_msg
10733 OpenGL and Direct3D won't be supported." ;;
10734 xno) ;;
10735 *) as_fn_error $? "$opengl_msg
10736 OpenGL and Direct3D won't be supported.
10737 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10738 esac
10741 CPPFLAGS="$ac_save_CPPFLAGS"
10742 else
10743 X_CFLAGS=""
10744 X_LIBS=""
10745 enable_winex11_drv=${enable_winex11_drv:-no}
10747 if test "x$X_LIBS" = "x"; then :
10748 case "x$with_x" in
10749 xno) ;;
10750 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10751 without X support, which probably isn't what you want. You will need
10752 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10753 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10754 esac
10757 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10759 if test "$ac_cv_header_CL_cl_h" = "yes"
10760 then
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10762 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10763 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10764 $as_echo_n "(cached) " >&6
10765 else
10766 ac_check_lib_save_LIBS=$LIBS
10767 LIBS="-lOpenCL $LIBS"
10768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10769 /* end confdefs.h. */
10771 /* Override any GCC internal prototype to avoid an error.
10772 Use char because int might match the return type of a GCC
10773 builtin and then its argument prototype would still apply. */
10774 #ifdef __cplusplus
10775 extern "C"
10776 #endif
10777 char clGetPlatformInfo ();
10779 main ()
10781 return clGetPlatformInfo ();
10783 return 0;
10785 _ACEOF
10786 if ac_fn_c_try_link "$LINENO"; then :
10787 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10788 else
10789 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10791 rm -f core conftest.err conftest.$ac_objext \
10792 conftest$ac_exeext conftest.$ac_ext
10793 LIBS=$ac_check_lib_save_LIBS
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10796 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10797 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10798 OPENCL_LIBS="-lOpenCL"
10803 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10804 case "x$with_opencl" in
10805 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10806 xno) ;;
10807 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10808 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10809 esac
10811 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10813 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10814 then
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10816 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10817 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10818 $as_echo_n "(cached) " >&6
10819 else
10820 ac_check_lib_save_LIBS=$LIBS
10821 LIBS="-lpcap $LIBS"
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10825 /* Override any GCC internal prototype to avoid an error.
10826 Use char because int might match the return type of a GCC
10827 builtin and then its argument prototype would still apply. */
10828 #ifdef __cplusplus
10829 extern "C"
10830 #endif
10831 char pcap_create ();
10833 main ()
10835 return pcap_create ();
10837 return 0;
10839 _ACEOF
10840 if ac_fn_c_try_link "$LINENO"; then :
10841 ac_cv_lib_pcap_pcap_create=yes
10842 else
10843 ac_cv_lib_pcap_pcap_create=no
10845 rm -f core conftest.err conftest.$ac_objext \
10846 conftest$ac_exeext conftest.$ac_ext
10847 LIBS=$ac_check_lib_save_LIBS
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10850 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10851 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10852 PCAP_LIBS="-lpcap"
10857 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10858 case "x$with_pcap" in
10859 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10860 xno) ;;
10861 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10862 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10863 esac
10865 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10868 if test "x$with_xml" != "xno"
10869 then
10870 if ${XML2_CFLAGS:+false} :; then :
10871 if ${PKG_CONFIG+:} false; then :
10872 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10875 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10876 if ${XML2_LIBS:+false} :; then :
10877 if ${PKG_CONFIG+:} false; then :
10878 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10881 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10882 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10883 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10884 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10885 ac_save_CPPFLAGS=$CPPFLAGS
10886 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10887 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10888 do :
10889 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10890 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10891 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10892 cat >>confdefs.h <<_ACEOF
10893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10894 _ACEOF
10898 done
10900 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"
10901 then
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10903 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10904 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10905 $as_echo_n "(cached) " >&6
10906 else
10907 ac_check_lib_save_LIBS=$LIBS
10908 LIBS="-lxml2 $XML2_LIBS $LIBS"
10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10912 /* Override any GCC internal prototype to avoid an error.
10913 Use char because int might match the return type of a GCC
10914 builtin and then its argument prototype would still apply. */
10915 #ifdef __cplusplus
10916 extern "C"
10917 #endif
10918 char xmlParseMemory ();
10920 main ()
10922 return xmlParseMemory ();
10924 return 0;
10926 _ACEOF
10927 if ac_fn_c_try_link "$LINENO"; then :
10928 ac_cv_lib_xml2_xmlParseMemory=yes
10929 else
10930 ac_cv_lib_xml2_xmlParseMemory=no
10932 rm -f core conftest.err conftest.$ac_objext \
10933 conftest$ac_exeext conftest.$ac_ext
10934 LIBS=$ac_check_lib_save_LIBS
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10937 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10938 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10940 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10942 else
10943 XML2_LIBS=""
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10947 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10948 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10949 $as_echo_n "(cached) " >&6
10950 else
10951 ac_check_lib_save_LIBS=$LIBS
10952 LIBS="-lxml2 $XML2_LIBS $LIBS"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10959 #ifdef __cplusplus
10960 extern "C"
10961 #endif
10962 char xmlReadMemory ();
10964 main ()
10966 return xmlReadMemory ();
10968 return 0;
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 ac_cv_lib_xml2_xmlReadMemory=yes
10973 else
10974 ac_cv_lib_xml2_xmlReadMemory=no
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10981 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10982 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10984 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10989 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10990 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10991 $as_echo_n "(cached) " >&6
10992 else
10993 ac_check_lib_save_LIBS=$LIBS
10994 LIBS="-lxml2 $XML2_LIBS $LIBS"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11001 #ifdef __cplusplus
11002 extern "C"
11003 #endif
11004 char xmlNewDocPI ();
11006 main ()
11008 return xmlNewDocPI ();
11010 return 0;
11012 _ACEOF
11013 if ac_fn_c_try_link "$LINENO"; then :
11014 ac_cv_lib_xml2_xmlNewDocPI=yes
11015 else
11016 ac_cv_lib_xml2_xmlNewDocPI=no
11018 rm -f core conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_lib_save_LIBS
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11023 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11024 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11026 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11031 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11032 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11033 $as_echo_n "(cached) " >&6
11034 else
11035 ac_check_lib_save_LIBS=$LIBS
11036 LIBS="-lxml2 $XML2_LIBS $LIBS"
11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11040 /* Override any GCC internal prototype to avoid an error.
11041 Use char because int might match the return type of a GCC
11042 builtin and then its argument prototype would still apply. */
11043 #ifdef __cplusplus
11044 extern "C"
11045 #endif
11046 char xmlSchemaSetParserStructuredErrors ();
11048 main ()
11050 return xmlSchemaSetParserStructuredErrors ();
11052 return 0;
11054 _ACEOF
11055 if ac_fn_c_try_link "$LINENO"; then :
11056 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11057 else
11058 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11060 rm -f core conftest.err conftest.$ac_objext \
11061 conftest$ac_exeext conftest.$ac_ext
11062 LIBS=$ac_check_lib_save_LIBS
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11065 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11066 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11068 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11073 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11074 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11075 $as_echo_n "(cached) " >&6
11076 else
11077 ac_check_lib_save_LIBS=$LIBS
11078 LIBS="-lxml2 $XML2_LIBS $LIBS"
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11085 #ifdef __cplusplus
11086 extern "C"
11087 #endif
11088 char xmlSchemaSetValidStructuredErrors ();
11090 main ()
11092 return xmlSchemaSetValidStructuredErrors ();
11094 return 0;
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"; then :
11098 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11099 else
11100 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_lib_save_LIBS
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11107 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11108 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11110 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11115 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11116 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11117 $as_echo_n "(cached) " >&6
11118 else
11119 ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-lxml2 $XML2_LIBS $LIBS"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11127 #ifdef __cplusplus
11128 extern "C"
11129 #endif
11130 char xmlFirstElementChild ();
11132 main ()
11134 return xmlFirstElementChild ();
11136 return 0;
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11140 ac_cv_lib_xml2_xmlFirstElementChild=yes
11141 else
11142 ac_cv_lib_xml2_xmlFirstElementChild=no
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_lib_save_LIBS
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11149 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11150 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11152 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11156 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11158 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11160 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11164 else
11165 XML2_CFLAGS=""
11166 XML2_LIBS=""
11168 CPPFLAGS=$ac_save_CPPFLAGS
11169 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11170 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11173 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11174 case "x$with_xml" in
11175 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11176 xno) ;;
11177 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11178 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11179 esac
11182 if test "x$with_xslt" != "xno"
11183 then
11184 if ${XSLT_CFLAGS:+false} :; then :
11185 if ${PKG_CONFIG+:} false; then :
11186 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11189 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11190 if ${XSLT_LIBS:+false} :; then :
11191 if ${PKG_CONFIG+:} false; then :
11192 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11195 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11196 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11197 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11198 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11199 ac_save_CPPFLAGS=$CPPFLAGS
11200 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11201 for ac_header in libxslt/pattern.h libxslt/transform.h
11202 do :
11203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11204 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11205 # include <libxslt/pattern.h>
11206 #endif
11208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11209 cat >>confdefs.h <<_ACEOF
11210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11211 _ACEOF
11215 done
11217 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11218 then
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11220 $as_echo_n "checking for -lxslt... " >&6; }
11221 if ${ac_cv_lib_soname_xslt+:} false; then :
11222 $as_echo_n "(cached) " >&6
11223 else
11224 ac_check_soname_save_LIBS=$LIBS
11225 LIBS="-lxslt $XSLT_LIBS $LIBS"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char xsltCompilePattern ();
11237 main ()
11239 return xsltCompilePattern ();
11241 return 0;
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 case "$LIBEXT" in
11246 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11247 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'` ;;
11248 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11249 if ${ac_cv_lib_soname_xslt:+false} :; then :
11250 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11251 fi ;;
11252 esac
11254 rm -f core conftest.err conftest.$ac_objext \
11255 conftest$ac_exeext conftest.$ac_ext
11256 LIBS=$ac_check_soname_save_LIBS
11258 if ${ac_cv_lib_soname_xslt:+false} :; then :
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11260 $as_echo "not found" >&6; }
11262 else
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11264 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11266 cat >>confdefs.h <<_ACEOF
11267 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11268 _ACEOF
11272 else
11273 XSLT_CFLAGS=""
11275 CPPFLAGS=$ac_save_CPPFLAGS
11276 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11277 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11280 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11281 case "x$with_xslt" in
11282 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11283 xno) ;;
11284 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11285 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11286 esac
11289 if test "x$with_dbus" != "xno"
11290 then
11291 if ${DBUS_CFLAGS:+false} :; then :
11292 if ${PKG_CONFIG+:} false; then :
11293 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11297 if ${DBUS_LIBS:+false} :; then :
11298 if ${PKG_CONFIG+:} false; then :
11299 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11304 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11305 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11306 ac_save_CPPFLAGS=$CPPFLAGS
11307 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11308 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11309 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11311 $as_echo_n "checking for -ldbus-1... " >&6; }
11312 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_soname_save_LIBS=$LIBS
11316 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11318 /* end confdefs.h. */
11320 /* Override any GCC internal prototype to avoid an error.
11321 Use char because int might match the return type of a GCC
11322 builtin and then its argument prototype would still apply. */
11323 #ifdef __cplusplus
11324 extern "C"
11325 #endif
11326 char dbus_connection_close ();
11328 main ()
11330 return dbus_connection_close ();
11332 return 0;
11334 _ACEOF
11335 if ac_fn_c_try_link "$LINENO"; then :
11336 case "$LIBEXT" in
11337 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11338 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'` ;;
11339 *) 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'`
11340 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11341 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11342 fi ;;
11343 esac
11345 rm -f core conftest.err conftest.$ac_objext \
11346 conftest$ac_exeext conftest.$ac_ext
11347 LIBS=$ac_check_soname_save_LIBS
11349 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11351 $as_echo "not found" >&6; }
11352 DBUS_CFLAGS=""
11353 else
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11355 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11357 cat >>confdefs.h <<_ACEOF
11358 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11359 _ACEOF
11363 else
11364 DBUS_CFLAGS=""
11368 CPPFLAGS=$ac_save_CPPFLAGS
11369 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11370 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11373 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11374 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11375 case "x$with_dbus" in
11376 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11377 xno) ;;
11378 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11379 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11380 esac
11383 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11384 then
11385 if ${HAL_CFLAGS:+false} :; then :
11386 if ${PKG_CONFIG+:} false; then :
11387 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11391 if ${HAL_LIBS:+false} :; then :
11392 if ${PKG_CONFIG+:} false; then :
11393 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11397 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11398 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11399 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11400 ac_save_CPPFLAGS=$CPPFLAGS
11401 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11402 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11403 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11405 $as_echo_n "checking for -lhal... " >&6; }
11406 if ${ac_cv_lib_soname_hal+:} false; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_soname_save_LIBS=$LIBS
11410 LIBS="-lhal $HAL_LIBS $LIBS"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char libhal_ctx_new ();
11422 main ()
11424 return libhal_ctx_new ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 case "$LIBEXT" in
11431 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11432 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'` ;;
11433 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11434 if ${ac_cv_lib_soname_hal:+false} :; then :
11435 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11436 fi ;;
11437 esac
11439 rm -f core conftest.err conftest.$ac_objext \
11440 conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_soname_save_LIBS
11443 if ${ac_cv_lib_soname_hal:+false} :; then :
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11445 $as_echo "not found" >&6; }
11446 HAL_CFLAGS=""
11447 else
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11449 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11451 cat >>confdefs.h <<_ACEOF
11452 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11453 _ACEOF
11457 else
11458 HAL_CFLAGS=""
11462 CPPFLAGS=$ac_save_CPPFLAGS
11463 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11464 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11466 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11467 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11468 case "x$with_hal" in
11469 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11470 xno) ;;
11471 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11472 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11473 esac
11477 if test "x$with_gnutls" != "xno"
11478 then
11479 if ${GNUTLS_CFLAGS:+false} :; then :
11480 if ${PKG_CONFIG+:} false; then :
11481 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11485 if ${GNUTLS_LIBS:+false} :; then :
11486 if ${PKG_CONFIG+:} false; then :
11487 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11492 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11493 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11494 ac_save_CPPFLAGS=$CPPFLAGS
11495 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11496 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11497 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11500 #include <gnutls/gnutls.h>
11501 #include <gnutls/crypto.h>
11503 main ()
11505 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_compile "$LINENO"; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11512 $as_echo_n "checking for -lgnutls... " >&6; }
11513 if ${ac_cv_lib_soname_gnutls+:} false; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_soname_save_LIBS=$LIBS
11517 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char gnutls_global_init ();
11529 main ()
11531 return gnutls_global_init ();
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 case "$LIBEXT" in
11538 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11539 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'` ;;
11540 *) 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'`
11541 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11542 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'`
11543 fi ;;
11544 esac
11546 rm -f core conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548 LIBS=$ac_check_soname_save_LIBS
11550 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11552 $as_echo "not found" >&6; }
11553 GNUTLS_CFLAGS=""
11554 else
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11556 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11558 cat >>confdefs.h <<_ACEOF
11559 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11560 _ACEOF
11564 ac_wine_check_funcs_save_LIBS="$LIBS"
11565 LIBS="$LIBS $GNUTLS_LIBS"
11566 for ac_func in gnutls_hash
11567 do :
11568 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11569 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11570 cat >>confdefs.h <<_ACEOF
11571 #define HAVE_GNUTLS_HASH 1
11572 _ACEOF
11574 else
11575 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11577 done
11579 LIBS="$ac_wine_check_funcs_save_LIBS"
11581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11582 else
11583 GNUTLS_CFLAGS=""
11587 CPPFLAGS=$ac_save_CPPFLAGS
11588 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11589 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11592 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11593 case "x$with_gnutls" in
11594 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11595 xno) ;;
11596 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11597 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11598 esac
11601 CURSES_LIBS=""
11602 if test "$ac_cv_header_ncurses_h" = "yes"
11603 then
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11605 $as_echo_n "checking for -lncurses... " >&6; }
11606 if ${ac_cv_lib_soname_ncurses+:} false; then :
11607 $as_echo_n "(cached) " >&6
11608 else
11609 ac_check_soname_save_LIBS=$LIBS
11610 LIBS="-lncurses $LIBS"
11611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11617 #ifdef __cplusplus
11618 extern "C"
11619 #endif
11620 char waddch ();
11622 main ()
11624 return waddch ();
11626 return 0;
11628 _ACEOF
11629 if ac_fn_c_try_link "$LINENO"; then :
11630 case "$LIBEXT" in
11631 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11632 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'` ;;
11633 *) 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'`
11634 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11635 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11636 fi ;;
11637 esac
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_soname_save_LIBS
11643 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11645 $as_echo "not found" >&6; }
11647 else
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11649 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11651 cat >>confdefs.h <<_ACEOF
11652 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11653 _ACEOF
11655 CURSES_LIBS="-lncurses"
11657 elif test "$ac_cv_header_curses_h" = "yes"
11658 then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11660 $as_echo_n "checking for -lcurses... " >&6; }
11661 if ${ac_cv_lib_soname_curses+:} false; then :
11662 $as_echo_n "(cached) " >&6
11663 else
11664 ac_check_soname_save_LIBS=$LIBS
11665 LIBS="-lcurses $LIBS"
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672 #ifdef __cplusplus
11673 extern "C"
11674 #endif
11675 char waddch ();
11677 main ()
11679 return waddch ();
11681 return 0;
11683 _ACEOF
11684 if ac_fn_c_try_link "$LINENO"; then :
11685 case "$LIBEXT" in
11686 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11687 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'` ;;
11688 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11689 if ${ac_cv_lib_soname_curses:+false} :; then :
11690 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11691 fi ;;
11692 esac
11694 rm -f core conftest.err conftest.$ac_objext \
11695 conftest$ac_exeext conftest.$ac_ext
11696 LIBS=$ac_check_soname_save_LIBS
11698 if ${ac_cv_lib_soname_curses:+false} :; then :
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11700 $as_echo "not found" >&6; }
11702 else
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11704 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11706 cat >>confdefs.h <<_ACEOF
11707 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11708 _ACEOF
11710 CURSES_LIBS="-lcurses"
11713 ac_save_LIBS="$LIBS"
11714 LIBS="$LIBS $CURSES_LIBS"
11715 for ac_func in mousemask
11716 do :
11717 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11718 if test "x$ac_cv_func_mousemask" = xyes; then :
11719 cat >>confdefs.h <<_ACEOF
11720 #define HAVE_MOUSEMASK 1
11721 _ACEOF
11724 done
11726 LIBS="$ac_save_LIBS"
11727 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11728 case "x$with_curses" in
11729 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11730 xno) ;;
11731 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11732 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11733 esac
11736 if test "x$with_sane" != "xno"
11737 then
11738 if ${SANE_CFLAGS:+false} :; then :
11739 if ${PKG_CONFIG+:} false; then :
11740 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11743 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11744 if ${SANE_LIBS:+false} :; then :
11745 if ${PKG_CONFIG+:} false; then :
11746 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11749 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11751 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11752 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11753 ac_save_CPPFLAGS=$CPPFLAGS
11754 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11755 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11756 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11758 $as_echo_n "checking for -lsane... " >&6; }
11759 if ${ac_cv_lib_soname_sane+:} false; then :
11760 $as_echo_n "(cached) " >&6
11761 else
11762 ac_check_soname_save_LIBS=$LIBS
11763 LIBS="-lsane $SANE_LIBS $LIBS"
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 /* Override any GCC internal prototype to avoid an error.
11768 Use char because int might match the return type of a GCC
11769 builtin and then its argument prototype would still apply. */
11770 #ifdef __cplusplus
11771 extern "C"
11772 #endif
11773 char sane_init ();
11775 main ()
11777 return sane_init ();
11779 return 0;
11781 _ACEOF
11782 if ac_fn_c_try_link "$LINENO"; then :
11783 case "$LIBEXT" in
11784 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11785 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'` ;;
11786 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11787 if ${ac_cv_lib_soname_sane:+false} :; then :
11788 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11789 fi ;;
11790 esac
11792 rm -f core conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_soname_save_LIBS
11796 if ${ac_cv_lib_soname_sane:+false} :; then :
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11798 $as_echo "not found" >&6; }
11799 SANE_CFLAGS=""
11800 else
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11802 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11804 cat >>confdefs.h <<_ACEOF
11805 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11806 _ACEOF
11810 else
11811 SANE_CFLAGS=""
11815 CPPFLAGS=$ac_save_CPPFLAGS
11816 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11817 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11820 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11821 case "x$with_sane" in
11822 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11823 xno) ;;
11824 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11825 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11826 esac
11829 if test "x$with_v4l" != "xno"
11830 then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11832 $as_echo_n "checking for -lv4l1... " >&6; }
11833 if ${ac_cv_lib_soname_v4l1+:} false; then :
11834 $as_echo_n "(cached) " >&6
11835 else
11836 ac_check_soname_save_LIBS=$LIBS
11837 LIBS="-lv4l1 $LIBS"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11844 #ifdef __cplusplus
11845 extern "C"
11846 #endif
11847 char v4l1_open ();
11849 main ()
11851 return v4l1_open ();
11853 return 0;
11855 _ACEOF
11856 if ac_fn_c_try_link "$LINENO"; then :
11857 case "$LIBEXT" in
11858 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11859 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'` ;;
11860 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11861 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11862 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11863 fi ;;
11864 esac
11866 rm -f core conftest.err conftest.$ac_objext \
11867 conftest$ac_exeext conftest.$ac_ext
11868 LIBS=$ac_check_soname_save_LIBS
11870 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11872 $as_echo "not found" >&6; }
11874 else
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11876 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11878 cat >>confdefs.h <<_ACEOF
11879 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11880 _ACEOF
11885 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11886 case "x$with_v4l" in
11887 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11888 xno) ;;
11889 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11890 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11891 esac
11894 if test "x$with_gphoto" != "xno"
11895 then
11896 if ${GPHOTO2_CFLAGS:+false} :; then :
11897 if ${PKG_CONFIG+:} false; then :
11898 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11901 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11902 if ${GPHOTO2_LIBS:+false} :; then :
11903 if ${PKG_CONFIG+:} false; then :
11904 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11907 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11908 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11909 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11910 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11911 ac_save_CPPFLAGS=$CPPFLAGS
11912 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11913 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11914 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11916 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11917 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11918 $as_echo_n "(cached) " >&6
11919 else
11920 ac_check_lib_save_LIBS=$LIBS
11921 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h. */
11925 /* Override any GCC internal prototype to avoid an error.
11926 Use char because int might match the return type of a GCC
11927 builtin and then its argument prototype would still apply. */
11928 #ifdef __cplusplus
11929 extern "C"
11930 #endif
11931 char gp_camera_new ();
11933 main ()
11935 return gp_camera_new ();
11937 return 0;
11939 _ACEOF
11940 if ac_fn_c_try_link "$LINENO"; then :
11941 ac_cv_lib_gphoto2_gp_camera_new=yes
11942 else
11943 ac_cv_lib_gphoto2_gp_camera_new=no
11945 rm -f core conftest.err conftest.$ac_objext \
11946 conftest$ac_exeext conftest.$ac_ext
11947 LIBS=$ac_check_lib_save_LIBS
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11950 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11951 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11953 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11955 else
11956 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11959 else
11960 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11964 CPPFLAGS=$ac_save_CPPFLAGS
11965 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11966 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11968 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11969 if ${PKG_CONFIG+:} false; then :
11970 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11973 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11974 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11975 if ${PKG_CONFIG+:} false; then :
11976 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11979 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11980 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11981 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11982 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11983 ac_save_CPPFLAGS=$CPPFLAGS
11984 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11985 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11986 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11988 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11989 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11990 $as_echo_n "(cached) " >&6
11991 else
11992 ac_check_lib_save_LIBS=$LIBS
11993 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12000 #ifdef __cplusplus
12001 extern "C"
12002 #endif
12003 char gp_port_info_list_new ();
12005 main ()
12007 return gp_port_info_list_new ();
12009 return 0;
12011 _ACEOF
12012 if ac_fn_c_try_link "$LINENO"; then :
12013 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12014 else
12015 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_lib_save_LIBS
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12022 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12023 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12025 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12027 else
12028 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12031 else
12032 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12036 CPPFLAGS=$ac_save_CPPFLAGS
12037 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12038 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12041 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12042 case "x$with_gphoto" in
12043 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12044 xno) ;;
12045 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12046 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12047 esac
12049 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12050 case "x$with_gphoto" in
12051 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12052 xno) ;;
12053 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12054 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12055 esac
12059 if test "$ac_cv_header_resolv_h" = "yes"
12060 then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12062 $as_echo_n "checking for resolver library... " >&6; }
12063 if ${ac_cv_have_resolv+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 ac_save_LIBS="$LIBS"
12067 for lib in '' -lresolv
12069 LIBS="$lib $ac_save_LIBS"
12070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12072 #ifdef HAVE_NETINET_IN_H
12073 #include <netinet/in.h>
12074 #endif
12075 #include <resolv.h>
12077 main ()
12079 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12081 return 0;
12083 _ACEOF
12084 if ac_fn_c_try_link "$LINENO"; then :
12085 ac_cv_have_resolv=${lib:-"none required"}
12086 else
12087 ac_cv_have_resolv="not found"
12089 rm -f core conftest.err conftest.$ac_objext \
12090 conftest$ac_exeext conftest.$ac_ext
12091 test "x$ac_cv_have_resolv" = "xnot found" || break
12092 done
12093 LIBS="$ac_save_LIBS"
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12096 $as_echo "$ac_cv_have_resolv" >&6; }
12098 case "$ac_cv_have_resolv" in
12099 "not found") ;;
12100 "none required")
12102 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12105 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12107 RESOLV_LIBS=$ac_cv_have_resolv
12109 esac
12112 if test "x$with_cms" != "xno"
12113 then
12114 if ${LCMS2_CFLAGS:+false} :; then :
12115 if ${PKG_CONFIG+:} false; then :
12116 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12120 if ${LCMS2_LIBS:+false} :; then :
12121 if ${PKG_CONFIG+:} false; then :
12122 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12126 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12127 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12128 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12129 ac_save_CPPFLAGS=$CPPFLAGS
12130 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12131 for ac_header in lcms2.h
12132 do :
12133 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12134 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12135 cat >>confdefs.h <<_ACEOF
12136 #define HAVE_LCMS2_H 1
12137 _ACEOF
12141 done
12143 if test "$ac_cv_header_lcms2_h" = "yes"
12144 then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12146 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12147 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12148 $as_echo_n "(cached) " >&6
12149 else
12150 ac_check_lib_save_LIBS=$LIBS
12151 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 /* Override any GCC internal prototype to avoid an error.
12156 Use char because int might match the return type of a GCC
12157 builtin and then its argument prototype would still apply. */
12158 #ifdef __cplusplus
12159 extern "C"
12160 #endif
12161 char cmsOpenProfileFromFile ();
12163 main ()
12165 return cmsOpenProfileFromFile ();
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"; then :
12171 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12172 else
12173 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12175 rm -f core conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_lib_save_LIBS
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12180 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12181 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12183 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12185 else
12186 LCMS2_LIBS=""
12189 else
12190 LCMS2_CFLAGS=""
12191 LCMS2_LIBS=""
12193 CPPFLAGS=$ac_save_CPPFLAGS
12194 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12195 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12198 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12199 case "x$with_cms" in
12200 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12201 xno) ;;
12202 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12203 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12204 esac
12207 if test "x$with_freetype" != "xno"
12208 then
12209 if ${FREETYPE_CFLAGS:+false} :; then :
12210 if ${PKG_CONFIG+:} false; then :
12211 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12214 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12215 if ${FREETYPE_LIBS:+false} :; then :
12216 if ${PKG_CONFIG+:} false; then :
12217 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12220 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12221 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12222 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12223 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12224 ac_save_CPPFLAGS=$CPPFLAGS
12225 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12226 for ac_header in ft2build.h
12227 do :
12228 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12229 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12230 cat >>confdefs.h <<_ACEOF
12231 #define HAVE_FT2BUILD_H 1
12232 _ACEOF
12236 done
12238 if test "$ac_cv_header_ft2build_h" = "yes"
12239 then
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12241 $as_echo_n "checking for -lfreetype... " >&6; }
12242 if ${ac_cv_lib_soname_freetype+:} false; then :
12243 $as_echo_n "(cached) " >&6
12244 else
12245 ac_check_soname_save_LIBS=$LIBS
12246 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12248 /* end confdefs.h. */
12250 /* Override any GCC internal prototype to avoid an error.
12251 Use char because int might match the return type of a GCC
12252 builtin and then its argument prototype would still apply. */
12253 #ifdef __cplusplus
12254 extern "C"
12255 #endif
12256 char FT_Init_FreeType ();
12258 main ()
12260 return FT_Init_FreeType ();
12262 return 0;
12264 _ACEOF
12265 if ac_fn_c_try_link "$LINENO"; then :
12266 case "$LIBEXT" in
12267 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12268 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'` ;;
12269 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12270 if ${ac_cv_lib_soname_freetype:+false} :; then :
12271 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12272 fi ;;
12273 esac
12275 rm -f core conftest.err conftest.$ac_objext \
12276 conftest$ac_exeext conftest.$ac_ext
12277 LIBS=$ac_check_soname_save_LIBS
12279 if ${ac_cv_lib_soname_freetype:+false} :; then :
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12281 $as_echo "not found" >&6; }
12282 FREETYPE_LIBS=""
12283 else
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12285 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12287 cat >>confdefs.h <<_ACEOF
12288 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12289 _ACEOF
12292 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12294 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12295 #include FT_MODULE_H
12297 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12299 cat >>confdefs.h <<_ACEOF
12300 #define HAVE_FT_TRUETYPEENGINETYPE 1
12301 _ACEOF
12307 else
12308 FREETYPE_CFLAGS=""
12309 FREETYPE_LIBS=""
12311 CPPFLAGS=$ac_save_CPPFLAGS
12312 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12313 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12316 if test "x$ac_cv_lib_soname_freetype" = x; then :
12317 case "x$with_freetype" in
12318 xno) ;;
12319 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12320 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12321 esac
12323 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12326 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12327 if ${ac_cv_c_ppdev+:} false; then :
12328 $as_echo_n "(cached) " >&6
12329 else
12330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12332 #ifdef HAVE_SYS_IOCTL_H
12333 # include <sys/ioctl.h>
12334 #endif
12335 #include <linux/ppdev.h>
12337 main ()
12339 ioctl (1,PPCLAIM,0)
12341 return 0;
12343 _ACEOF
12344 if ac_fn_c_try_compile "$LINENO"; then :
12345 ac_cv_c_ppdev="yes"
12346 else
12347 ac_cv_c_ppdev="no"
12349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12352 $as_echo "$ac_cv_c_ppdev" >&6; }
12353 if test "$ac_cv_c_ppdev" = "yes"
12354 then
12356 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12360 ac_wine_check_funcs_save_LIBS="$LIBS"
12361 LIBS="$LIBS $PTHREAD_LIBS"
12362 for ac_func in \
12363 pthread_attr_get_np \
12364 pthread_getattr_np \
12365 pthread_getthreadid_np \
12366 pthread_get_stackaddr_np \
12367 pthread_get_stacksize_np
12368 do :
12369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12371 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12372 cat >>confdefs.h <<_ACEOF
12373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12374 _ACEOF
12377 done
12379 LIBS="$ac_wine_check_funcs_save_LIBS"
12381 if test "$ac_cv_header_zlib_h" = "yes"
12382 then
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12384 $as_echo_n "checking for inflate in -lz... " >&6; }
12385 if ${ac_cv_lib_z_inflate+:} false; then :
12386 $as_echo_n "(cached) " >&6
12387 else
12388 ac_check_lib_save_LIBS=$LIBS
12389 LIBS="-lz $LIBS"
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12393 /* Override any GCC internal prototype to avoid an error.
12394 Use char because int might match the return type of a GCC
12395 builtin and then its argument prototype would still apply. */
12396 #ifdef __cplusplus
12397 extern "C"
12398 #endif
12399 char inflate ();
12401 main ()
12403 return inflate ();
12405 return 0;
12407 _ACEOF
12408 if ac_fn_c_try_link "$LINENO"; then :
12409 ac_cv_lib_z_inflate=yes
12410 else
12411 ac_cv_lib_z_inflate=no
12413 rm -f core conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 LIBS=$ac_check_lib_save_LIBS
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12418 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12419 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12421 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12423 Z_LIBS="-lz"
12428 if test "x$Z_LIBS" = "x"; then :
12429 case "x$with_zlib" in
12430 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12431 xno) ;;
12432 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12433 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12434 esac
12437 if test "x$enable_tools" != xno
12438 then
12439 if test "$ac_cv_header_gettext_po_h" = "yes"
12440 then
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12442 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12443 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12444 $as_echo_n "(cached) " >&6
12445 else
12446 ac_check_lib_save_LIBS=$LIBS
12447 LIBS="-lgettextpo $LIBS"
12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12451 /* Override any GCC internal prototype to avoid an error.
12452 Use char because int might match the return type of a GCC
12453 builtin and then its argument prototype would still apply. */
12454 #ifdef __cplusplus
12455 extern "C"
12456 #endif
12457 char po_message_msgctxt ();
12459 main ()
12461 return po_message_msgctxt ();
12463 return 0;
12465 _ACEOF
12466 if ac_fn_c_try_link "$LINENO"; then :
12467 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12468 else
12469 ac_cv_lib_gettextpo_po_message_msgctxt=no
12471 rm -f core conftest.err conftest.$ac_objext \
12472 conftest$ac_exeext conftest.$ac_ext
12473 LIBS=$ac_check_lib_save_LIBS
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12476 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12477 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12479 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12481 GETTEXTPO_LIBS="-lgettextpo"
12486 if test "x$with_gettextpo" = xyes
12487 then
12488 if test "x$GETTEXTPO_LIBS" = "x"; then :
12489 case "x$with_gettextpo" in
12490 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12491 xno) ;;
12492 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12493 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12494 esac
12496 if test "$srcdir" != .; then :
12497 case "x$with_gettextpo" in
12498 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12499 xno) ;;
12500 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12501 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12502 esac
12507 if test "x$with_pulse" != "xno";
12508 then
12509 if ${PULSE_CFLAGS:+false} :; then :
12510 if ${PKG_CONFIG+:} false; then :
12511 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12515 if ${PULSE_LIBS:+false} :; then :
12516 if ${PKG_CONFIG+:} false; then :
12517 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12522 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12523 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12524 ac_save_CPPFLAGS=$CPPFLAGS
12525 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12526 for ac_header in pulse/pulseaudio.h
12527 do :
12528 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12529 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12530 cat >>confdefs.h <<_ACEOF
12531 #define HAVE_PULSE_PULSEAUDIO_H 1
12532 _ACEOF
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12534 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12535 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12536 $as_echo_n "(cached) " >&6
12537 else
12538 ac_check_lib_save_LIBS=$LIBS
12539 LIBS="-lpulse $PULSE_LIBS $LIBS"
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12543 /* Override any GCC internal prototype to avoid an error.
12544 Use char because int might match the return type of a GCC
12545 builtin and then its argument prototype would still apply. */
12546 #ifdef __cplusplus
12547 extern "C"
12548 #endif
12549 char pa_stream_is_corked ();
12551 main ()
12553 return pa_stream_is_corked ();
12555 return 0;
12557 _ACEOF
12558 if ac_fn_c_try_link "$LINENO"; then :
12559 ac_cv_lib_pulse_pa_stream_is_corked=yes
12560 else
12561 ac_cv_lib_pulse_pa_stream_is_corked=no
12563 rm -f core conftest.err conftest.$ac_objext \
12564 conftest$ac_exeext conftest.$ac_ext
12565 LIBS=$ac_check_lib_save_LIBS
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12568 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12569 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12571 else
12572 PULSE_LIBS=""
12575 else
12576 PULSE_LIBS=""
12579 done
12581 CPPFLAGS=$ac_save_CPPFLAGS
12582 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12583 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12586 if test -z "$PULSE_LIBS"; then :
12587 case "x$with_pulse" in
12588 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12589 xno) ;;
12590 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12591 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12592 esac
12594 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12596 if test "x$with_gstreamer" != "xno"
12597 then
12598 if ${GSTREAMER_CFLAGS:+false} :; then :
12599 if ${PKG_CONFIG+:} false; then :
12600 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12604 if ${GSTREAMER_LIBS:+false} :; then :
12605 if ${PKG_CONFIG+:} false; then :
12606 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12611 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12612 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12613 ac_save_CPPFLAGS=$CPPFLAGS
12614 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12615 ac_gst_incl=""
12616 for i in $GSTREAMER_CFLAGS
12618 case "$i" in
12619 -I*) ac_gst_incl="$ac_gst_incl $i";;
12620 esac
12621 done
12622 GSTREAMER_CFLAGS=$ac_gst_incl
12623 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12624 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12625 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12627 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12630 #include <gst/gst.h>
12632 main ()
12634 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12636 return 0;
12638 _ACEOF
12639 if ac_fn_c_try_compile "$LINENO"; then :
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12641 $as_echo "yes" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12643 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12644 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12645 $as_echo_n "(cached) " >&6
12646 else
12647 ac_check_lib_save_LIBS=$LIBS
12648 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 #ifdef __cplusplus
12656 extern "C"
12657 #endif
12658 char gst_pad_new ();
12660 main ()
12662 return gst_pad_new ();
12664 return 0;
12666 _ACEOF
12667 if ac_fn_c_try_link "$LINENO"; then :
12668 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12669 else
12670 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12672 rm -f core conftest.err conftest.$ac_objext \
12673 conftest$ac_exeext conftest.$ac_ext
12674 LIBS=$ac_check_lib_save_LIBS
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12677 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12678 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12682 else
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12684 $as_echo "no" >&6; }
12685 ac_glib2_broken=yes
12686 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12692 CPPFLAGS=$ac_save_CPPFLAGS
12693 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12694 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12697 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 :
12698 case "x$with_gstreamer" in
12699 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12700 xno) ;;
12701 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12702 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12703 esac
12705 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12707 ALSA_LIBS=""
12709 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12710 then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12712 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12713 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12714 $as_echo_n "(cached) " >&6
12715 else
12716 ac_check_lib_save_LIBS=$LIBS
12717 LIBS="-lasound $LIBS"
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 /* Override any GCC internal prototype to avoid an error.
12722 Use char because int might match the return type of a GCC
12723 builtin and then its argument prototype would still apply. */
12724 #ifdef __cplusplus
12725 extern "C"
12726 #endif
12727 char snd_pcm_hw_params_get_access_mask ();
12729 main ()
12731 return snd_pcm_hw_params_get_access_mask ();
12733 return 0;
12735 _ACEOF
12736 if ac_fn_c_try_link "$LINENO"; then :
12737 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12738 else
12739 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12741 rm -f core conftest.err conftest.$ac_objext \
12742 conftest$ac_exeext conftest.$ac_ext
12743 LIBS=$ac_check_lib_save_LIBS
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12746 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12747 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12750 #ifdef HAVE_ALSA_ASOUNDLIB_H
12751 #include <alsa/asoundlib.h>
12752 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12753 #include <sys/asoundlib.h>
12754 #endif
12756 main ()
12758 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12760 return 0;
12762 _ACEOF
12763 if ac_fn_c_try_compile "$LINENO"; then :
12764 ALSA_LIBS="-lasound"
12766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12770 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12772 if test "x$with_oss" != xno
12773 then
12774 ac_save_CPPFLAGS="$CPPFLAGS"
12775 if test -f /etc/oss.conf
12776 then
12777 . /etc/oss.conf
12779 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12780 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12781 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12782 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12783 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12785 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12787 cat >>confdefs.h <<_ACEOF
12788 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12789 _ACEOF
12791 OSS4_CFLAGS="$ac_oss_incl"
12798 CPPFLAGS="$ac_save_CPPFLAGS"
12799 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12800 then
12801 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12804 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12806 if test "x$with_capi" != "xno"
12807 then
12808 if ${CAPI20_CFLAGS:+false} :; then :
12809 if ${PKG_CONFIG+:} false; then :
12810 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12814 if ${CAPI20_LIBS:+false} :; then :
12815 if ${PKG_CONFIG+:} false; then :
12816 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12821 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12822 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12823 ac_save_CPPFLAGS=$CPPFLAGS
12824 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12825 for ac_header in capi20.h linux/capi.h
12826 do :
12827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12828 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12831 cat >>confdefs.h <<_ACEOF
12832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12833 _ACEOF
12837 done
12839 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12840 then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12842 $as_echo_n "checking for -lcapi20... " >&6; }
12843 if ${ac_cv_lib_soname_capi20+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_soname_save_LIBS=$LIBS
12847 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char capi20_register ();
12859 main ()
12861 return capi20_register ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 case "$LIBEXT" in
12868 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12869 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'` ;;
12870 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12871 if ${ac_cv_lib_soname_capi20:+false} :; then :
12872 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12873 fi ;;
12874 esac
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_soname_save_LIBS
12880 if ${ac_cv_lib_soname_capi20:+false} :; then :
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12882 $as_echo "not found" >&6; }
12884 else
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12886 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12888 cat >>confdefs.h <<_ACEOF
12889 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12890 _ACEOF
12895 CPPFLAGS=$ac_save_CPPFLAGS
12896 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12897 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12900 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12901 case "x$with_capi" in
12902 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12903 xno) ;;
12904 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12905 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12906 esac
12909 CUPS_CFLAGS=""
12911 if test "x$with_cups" != "xno"
12912 then
12913 ac_save_CPPFLAGS="$CPPFLAGS"
12914 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12915 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12916 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12917 for ac_header in cups/cups.h
12918 do :
12919 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12920 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12921 cat >>confdefs.h <<_ACEOF
12922 #define HAVE_CUPS_CUPS_H 1
12923 _ACEOF
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12925 $as_echo_n "checking for -lcups... " >&6; }
12926 if ${ac_cv_lib_soname_cups+:} false; then :
12927 $as_echo_n "(cached) " >&6
12928 else
12929 ac_check_soname_save_LIBS=$LIBS
12930 LIBS="-lcups $ac_cups_libs $LIBS"
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12934 /* Override any GCC internal prototype to avoid an error.
12935 Use char because int might match the return type of a GCC
12936 builtin and then its argument prototype would still apply. */
12937 #ifdef __cplusplus
12938 extern "C"
12939 #endif
12940 char cupsGetDefault ();
12942 main ()
12944 return cupsGetDefault ();
12946 return 0;
12948 _ACEOF
12949 if ac_fn_c_try_link "$LINENO"; then :
12950 case "$LIBEXT" in
12951 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12952 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'` ;;
12953 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12954 if ${ac_cv_lib_soname_cups:+false} :; then :
12955 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12956 fi ;;
12957 esac
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_soname_save_LIBS
12963 if ${ac_cv_lib_soname_cups:+false} :; then :
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12965 $as_echo "not found" >&6; }
12967 else
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12969 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12971 cat >>confdefs.h <<_ACEOF
12972 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12973 _ACEOF
12975 CUPS_CFLAGS="$ac_cups_cflags"
12979 done
12981 CPPFLAGS="$ac_save_CPPFLAGS"
12983 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12984 case "x$with_cups" in
12985 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12986 xno) ;;
12987 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12988 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12989 esac
12992 if test "x$with_fontconfig" != "xno"
12993 then
12994 if ${FONTCONFIG_CFLAGS:+false} :; then :
12995 if ${PKG_CONFIG+:} false; then :
12996 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12999 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13000 if ${FONTCONFIG_LIBS:+false} :; then :
13001 if ${PKG_CONFIG+:} false; then :
13002 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13005 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13007 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13008 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13009 ac_save_CPPFLAGS=$CPPFLAGS
13010 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13011 for ac_header in fontconfig/fontconfig.h
13012 do :
13013 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13014 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13015 cat >>confdefs.h <<_ACEOF
13016 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13017 _ACEOF
13021 done
13023 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13024 then
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13026 $as_echo_n "checking for -lfontconfig... " >&6; }
13027 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13028 $as_echo_n "(cached) " >&6
13029 else
13030 ac_check_soname_save_LIBS=$LIBS
13031 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13035 /* Override any GCC internal prototype to avoid an error.
13036 Use char because int might match the return type of a GCC
13037 builtin and then its argument prototype would still apply. */
13038 #ifdef __cplusplus
13039 extern "C"
13040 #endif
13041 char FcInit ();
13043 main ()
13045 return FcInit ();
13047 return 0;
13049 _ACEOF
13050 if ac_fn_c_try_link "$LINENO"; then :
13051 case "$LIBEXT" in
13052 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13053 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'` ;;
13054 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13055 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13056 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13057 fi ;;
13058 esac
13060 rm -f core conftest.err conftest.$ac_objext \
13061 conftest$ac_exeext conftest.$ac_ext
13062 LIBS=$ac_check_soname_save_LIBS
13064 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13066 $as_echo "not found" >&6; }
13067 FONTCONFIG_CFLAGS=""
13068 else
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13070 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13072 cat >>confdefs.h <<_ACEOF
13073 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13074 _ACEOF
13078 else
13079 FONTCONFIG_CFLAGS=""
13081 CPPFLAGS=$ac_save_CPPFLAGS
13082 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13083 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13086 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13087 case "x$with_fontconfig" in
13088 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13089 xno) ;;
13090 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13091 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13092 esac
13095 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13096 then
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13098 $as_echo_n "checking for -lgsm... " >&6; }
13099 if ${ac_cv_lib_soname_gsm+:} false; then :
13100 $as_echo_n "(cached) " >&6
13101 else
13102 ac_check_soname_save_LIBS=$LIBS
13103 LIBS="-lgsm $LIBS"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13110 #ifdef __cplusplus
13111 extern "C"
13112 #endif
13113 char gsm_create ();
13115 main ()
13117 return gsm_create ();
13119 return 0;
13121 _ACEOF
13122 if ac_fn_c_try_link "$LINENO"; then :
13123 case "$LIBEXT" in
13124 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13125 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'` ;;
13126 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13127 if ${ac_cv_lib_soname_gsm:+false} :; then :
13128 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13129 fi ;;
13130 esac
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_soname_save_LIBS
13136 if ${ac_cv_lib_soname_gsm:+false} :; then :
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13138 $as_echo "not found" >&6; }
13140 else
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13142 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13144 cat >>confdefs.h <<_ACEOF
13145 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13146 _ACEOF
13151 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13152 case "x$with_gsm" in
13153 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13154 xno) ;;
13155 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13156 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13157 esac
13160 if test "x$with_jpeg" != "xno"
13161 then
13162 if ${JPEG_CFLAGS:+false} :; then :
13163 if ${PKG_CONFIG+:} false; then :
13164 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13168 if ${JPEG_LIBS:+false} :; then :
13169 if ${PKG_CONFIG+:} false; then :
13170 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13175 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13176 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13177 ac_save_CPPFLAGS=$CPPFLAGS
13178 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13179 for ac_header in jpeglib.h
13180 do :
13181 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13182 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13183 cat >>confdefs.h <<_ACEOF
13184 #define HAVE_JPEGLIB_H 1
13185 _ACEOF
13189 done
13191 if test "$ac_cv_header_jpeglib_h" = "yes"
13192 then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13194 $as_echo_n "checking for -ljpeg... " >&6; }
13195 if ${ac_cv_lib_soname_jpeg+:} false; then :
13196 $as_echo_n "(cached) " >&6
13197 else
13198 ac_check_soname_save_LIBS=$LIBS
13199 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13203 /* Override any GCC internal prototype to avoid an error.
13204 Use char because int might match the return type of a GCC
13205 builtin and then its argument prototype would still apply. */
13206 #ifdef __cplusplus
13207 extern "C"
13208 #endif
13209 char jpeg_start_decompress ();
13211 main ()
13213 return jpeg_start_decompress ();
13215 return 0;
13217 _ACEOF
13218 if ac_fn_c_try_link "$LINENO"; then :
13219 case "$LIBEXT" in
13220 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13221 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'` ;;
13222 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13223 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13224 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13225 fi ;;
13226 esac
13228 rm -f core conftest.err conftest.$ac_objext \
13229 conftest$ac_exeext conftest.$ac_ext
13230 LIBS=$ac_check_soname_save_LIBS
13232 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13234 $as_echo "not found" >&6; }
13235 JPEG_CFLAGS=""
13236 else
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13238 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13240 cat >>confdefs.h <<_ACEOF
13241 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13242 _ACEOF
13246 else
13247 JPEG_CFLAGS=""
13249 CPPFLAGS=$ac_save_CPPFLAGS
13250 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13251 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13254 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13255 case "x$with_jpeg" in
13256 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13257 xno) ;;
13258 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13259 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13260 esac
13263 if test "x$with_png" != "xno"
13264 then
13265 if ${PNG_CFLAGS:+false} :; then :
13266 if ${PKG_CONFIG+:} false; then :
13267 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13270 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13271 if ${PNG_LIBS:+false} :; then :
13272 if ${PKG_CONFIG+:} false; then :
13273 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13276 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13278 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13279 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13280 ac_save_CPPFLAGS=$CPPFLAGS
13281 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13282 for ac_header in png.h
13283 do :
13284 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13285 if test "x$ac_cv_header_png_h" = xyes; then :
13286 cat >>confdefs.h <<_ACEOF
13287 #define HAVE_PNG_H 1
13288 _ACEOF
13292 done
13294 if test "$ac_cv_header_png_h" = "yes"
13295 then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13297 $as_echo_n "checking for -lpng... " >&6; }
13298 if ${ac_cv_lib_soname_png+:} false; then :
13299 $as_echo_n "(cached) " >&6
13300 else
13301 ac_check_soname_save_LIBS=$LIBS
13302 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13304 /* end confdefs.h. */
13306 /* Override any GCC internal prototype to avoid an error.
13307 Use char because int might match the return type of a GCC
13308 builtin and then its argument prototype would still apply. */
13309 #ifdef __cplusplus
13310 extern "C"
13311 #endif
13312 char png_create_read_struct ();
13314 main ()
13316 return png_create_read_struct ();
13318 return 0;
13320 _ACEOF
13321 if ac_fn_c_try_link "$LINENO"; then :
13322 case "$LIBEXT" in
13323 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13324 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'` ;;
13325 *) 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'`
13326 if ${ac_cv_lib_soname_png:+false} :; then :
13327 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13328 fi ;;
13329 esac
13331 rm -f core conftest.err conftest.$ac_objext \
13332 conftest$ac_exeext conftest.$ac_ext
13333 LIBS=$ac_check_soname_save_LIBS
13335 if ${ac_cv_lib_soname_png:+false} :; then :
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13337 $as_echo "not found" >&6; }
13338 PNG_CFLAGS=""
13339 else
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13341 $as_echo "$ac_cv_lib_soname_png" >&6; }
13343 cat >>confdefs.h <<_ACEOF
13344 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13345 _ACEOF
13347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13349 #include <png.h>
13351 main ()
13353 typeof(png_set_expand_gray_1_2_4_to_8) *p
13355 return 0;
13357 _ACEOF
13358 if ac_fn_c_try_compile "$LINENO"; then :
13360 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13365 else
13366 PNG_CFLAGS=""
13368 CPPFLAGS=$ac_save_CPPFLAGS
13369 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13370 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13373 if test "x$ac_cv_lib_soname_png" = "x"; then :
13374 case "x$with_png" in
13375 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13376 xno) ;;
13377 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13378 This is an error since --with-png was requested." "$LINENO" 5 ;;
13379 esac
13382 if test "x$with_tiff" != "xno"
13383 then
13384 if ${TIFF_CFLAGS:+false} :; then :
13385 if ${PKG_CONFIG+:} false; then :
13386 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13390 if ${TIFF_LIBS:+false} :; then :
13391 if ${PKG_CONFIG+:} false; then :
13392 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13397 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13398 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13399 ac_save_CPPFLAGS=$CPPFLAGS
13400 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13401 for ac_header in tiffio.h
13402 do :
13403 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13404 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13405 cat >>confdefs.h <<_ACEOF
13406 #define HAVE_TIFFIO_H 1
13407 _ACEOF
13411 done
13413 if test "$ac_cv_header_tiffio_h" = "yes"
13414 then
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13416 $as_echo_n "checking for -ltiff... " >&6; }
13417 if ${ac_cv_lib_soname_tiff+:} false; then :
13418 $as_echo_n "(cached) " >&6
13419 else
13420 ac_check_soname_save_LIBS=$LIBS
13421 LIBS="-ltiff $TIFF_LIBS $LIBS"
13422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13423 /* end confdefs.h. */
13425 /* Override any GCC internal prototype to avoid an error.
13426 Use char because int might match the return type of a GCC
13427 builtin and then its argument prototype would still apply. */
13428 #ifdef __cplusplus
13429 extern "C"
13430 #endif
13431 char TIFFClientOpen ();
13433 main ()
13435 return TIFFClientOpen ();
13437 return 0;
13439 _ACEOF
13440 if ac_fn_c_try_link "$LINENO"; then :
13441 case "$LIBEXT" in
13442 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13443 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'` ;;
13444 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13445 if ${ac_cv_lib_soname_tiff:+false} :; then :
13446 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13447 fi ;;
13448 esac
13450 rm -f core conftest.err conftest.$ac_objext \
13451 conftest$ac_exeext conftest.$ac_ext
13452 LIBS=$ac_check_soname_save_LIBS
13454 if ${ac_cv_lib_soname_tiff:+false} :; then :
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13456 $as_echo "not found" >&6; }
13458 else
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13460 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13462 cat >>confdefs.h <<_ACEOF
13463 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13464 _ACEOF
13469 CPPFLAGS=$ac_save_CPPFLAGS
13470 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13471 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13474 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13475 case "x$with_tiff" in
13476 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13477 xno) ;;
13478 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13479 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13480 esac
13483 if test "x$with_mpg123" != "xno"
13484 then
13485 if ${MPG123_CFLAGS:+false} :; then :
13486 if ${PKG_CONFIG+:} false; then :
13487 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13491 if ${MPG123_LIBS:+false} :; then :
13492 if ${PKG_CONFIG+:} false; then :
13493 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13497 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13498 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13499 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13500 ac_save_CPPFLAGS=$CPPFLAGS
13501 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13502 for ac_header in mpg123.h
13503 do :
13504 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13505 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13506 cat >>confdefs.h <<_ACEOF
13507 #define HAVE_MPG123_H 1
13508 _ACEOF
13512 done
13514 if test "$ac_cv_header_mpg123_h" = "yes"
13515 then
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13517 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13518 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13519 $as_echo_n "(cached) " >&6
13520 else
13521 ac_check_lib_save_LIBS=$LIBS
13522 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13529 #ifdef __cplusplus
13530 extern "C"
13531 #endif
13532 char mpg123_feed ();
13534 main ()
13536 return mpg123_feed ();
13538 return 0;
13540 _ACEOF
13541 if ac_fn_c_try_link "$LINENO"; then :
13542 ac_cv_lib_mpg123_mpg123_feed=yes
13543 else
13544 ac_cv_lib_mpg123_mpg123_feed=no
13546 rm -f core conftest.err conftest.$ac_objext \
13547 conftest$ac_exeext conftest.$ac_ext
13548 LIBS=$ac_check_lib_save_LIBS
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13551 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13552 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13554 else
13555 MPG123_LIBS=""
13558 else
13559 MPG123_CFLAGS=""
13560 MPG123_LIBS=""
13562 CPPFLAGS=$ac_save_CPPFLAGS
13563 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13564 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13567 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13568 case "x$with_mpg123" in
13569 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13570 xno) ;;
13571 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13572 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13573 esac
13575 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13577 if test "$ac_cv_header_AL_al_h" = "yes"
13578 then
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13580 $as_echo_n "checking for -lopenal... " >&6; }
13581 if ${ac_cv_lib_soname_openal+:} false; then :
13582 $as_echo_n "(cached) " >&6
13583 else
13584 ac_check_soname_save_LIBS=$LIBS
13585 LIBS="-lopenal $LIBS"
13586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587 /* end confdefs.h. */
13589 /* Override any GCC internal prototype to avoid an error.
13590 Use char because int might match the return type of a GCC
13591 builtin and then its argument prototype would still apply. */
13592 #ifdef __cplusplus
13593 extern "C"
13594 #endif
13595 char alGetSource3i ();
13597 main ()
13599 return alGetSource3i ();
13601 return 0;
13603 _ACEOF
13604 if ac_fn_c_try_link "$LINENO"; then :
13605 case "$LIBEXT" in
13606 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13607 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'` ;;
13608 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13609 if ${ac_cv_lib_soname_openal:+false} :; then :
13610 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13611 fi ;;
13612 esac
13614 rm -f core conftest.err conftest.$ac_objext \
13615 conftest$ac_exeext conftest.$ac_ext
13616 LIBS=$ac_check_soname_save_LIBS
13618 if ${ac_cv_lib_soname_openal:+false} :; then :
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13620 $as_echo "not found" >&6; }
13622 else
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13624 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13626 cat >>confdefs.h <<_ACEOF
13627 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13628 _ACEOF
13630 OPENAL_LIBS="-lopenal"
13632 ac_cv_lib_openal=yes
13634 cat >>confdefs.h <<_ACEOF
13635 #define HAVE_OPENAL 1
13636 _ACEOF
13640 if test "x$ac_cv_lib_openal" != xyes; then :
13641 case "x$with_openal" in
13642 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13643 xno) ;;
13644 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13645 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13646 esac
13648 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13650 if test "x$ac_cv_lib_openal" = xyes
13651 then
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13653 $as_echo_n "checking for openal-soft... " >&6; }
13654 if ${ac_cv_have_openalsoft+:} false; then :
13655 $as_echo_n "(cached) " >&6
13656 else
13657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 #include <AL/al.h>
13660 #include <AL/alc.h>
13661 #include <AL/alext.h>
13662 LPALCRENDERSAMPLESSOFT x;
13664 main ()
13668 return 0;
13670 _ACEOF
13671 if ac_fn_c_try_compile "$LINENO"; then :
13672 ac_cv_have_openalsoft=yes
13673 else
13674 ac_cv_have_openalsoft=no
13676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13679 $as_echo "$ac_cv_have_openalsoft" >&6; }
13681 if test "x$ac_cv_have_openalsoft" != xyes
13682 then
13683 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13684 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13685 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13686 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13687 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13688 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13689 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13690 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13691 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13692 enable_xapofx1_1=${enable_xapofx1_1:-no}
13693 enable_xapofx1_2=${enable_xapofx1_2:-no}
13694 enable_xapofx1_3=${enable_xapofx1_3:-no}
13695 enable_xapofx1_4=${enable_xapofx1_4:-no}
13696 enable_xapofx1_5=${enable_xapofx1_5:-no}
13697 enable_xaudio2_0=${enable_xaudio2_0:-no}
13698 enable_xaudio2_1=${enable_xaudio2_1:-no}
13699 enable_xaudio2_2=${enable_xaudio2_2:-no}
13700 enable_xaudio2_3=${enable_xaudio2_3:-no}
13701 enable_xaudio2_4=${enable_xaudio2_4:-no}
13702 enable_xaudio2_5=${enable_xaudio2_5:-no}
13703 enable_xaudio2_6=${enable_xaudio2_6:-no}
13704 enable_xaudio2_7=${enable_xaudio2_7:-no}
13705 enable_xaudio2_8=${enable_xaudio2_8:-no}
13706 enable_xaudio2_9=${enable_xaudio2_9:-no}
13709 if test "$ac_cv_header_kstat_h" = "yes"
13710 then
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13712 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13713 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13714 $as_echo_n "(cached) " >&6
13715 else
13716 ac_check_lib_save_LIBS=$LIBS
13717 LIBS="-lkstat $LIBS"
13718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13721 /* Override any GCC internal prototype to avoid an error.
13722 Use char because int might match the return type of a GCC
13723 builtin and then its argument prototype would still apply. */
13724 #ifdef __cplusplus
13725 extern "C"
13726 #endif
13727 char kstat_open ();
13729 main ()
13731 return kstat_open ();
13733 return 0;
13735 _ACEOF
13736 if ac_fn_c_try_link "$LINENO"; then :
13737 ac_cv_lib_kstat_kstat_open=yes
13738 else
13739 ac_cv_lib_kstat_kstat_open=no
13741 rm -f core conftest.err conftest.$ac_objext \
13742 conftest$ac_exeext conftest.$ac_ext
13743 LIBS=$ac_check_lib_save_LIBS
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13746 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13747 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13749 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13751 KSTAT_LIBS="-lkstat"
13757 if test "$ac_cv_header_libprocstat_h" = "yes"
13758 then
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13760 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13761 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13762 $as_echo_n "(cached) " >&6
13763 else
13764 ac_check_lib_save_LIBS=$LIBS
13765 LIBS="-lprocstat $LIBS"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13769 /* Override any GCC internal prototype to avoid an error.
13770 Use char because int might match the return type of a GCC
13771 builtin and then its argument prototype would still apply. */
13772 #ifdef __cplusplus
13773 extern "C"
13774 #endif
13775 char procstat_open_sysctl ();
13777 main ()
13779 return procstat_open_sysctl ();
13781 return 0;
13783 _ACEOF
13784 if ac_fn_c_try_link "$LINENO"; then :
13785 ac_cv_lib_procstat_procstat_open_sysctl=yes
13786 else
13787 ac_cv_lib_procstat_procstat_open_sysctl=no
13789 rm -f core conftest.err conftest.$ac_objext \
13790 conftest$ac_exeext conftest.$ac_ext
13791 LIBS=$ac_check_lib_save_LIBS
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13794 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13795 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13797 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13799 PROCSTAT_LIBS="-lprocstat"
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13806 $as_echo_n "checking for -lodbc... " >&6; }
13807 if ${ac_cv_lib_soname_odbc+:} false; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 ac_check_soname_save_LIBS=$LIBS
13811 LIBS="-lodbc $LIBS"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13815 /* Override any GCC internal prototype to avoid an error.
13816 Use char because int might match the return type of a GCC
13817 builtin and then its argument prototype would still apply. */
13818 #ifdef __cplusplus
13819 extern "C"
13820 #endif
13821 char SQLConnect ();
13823 main ()
13825 return SQLConnect ();
13827 return 0;
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"; then :
13831 case "$LIBEXT" in
13832 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13833 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'` ;;
13834 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13835 if ${ac_cv_lib_soname_odbc:+false} :; then :
13836 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13837 fi ;;
13838 esac
13840 rm -f core conftest.err conftest.$ac_objext \
13841 conftest$ac_exeext conftest.$ac_ext
13842 LIBS=$ac_check_soname_save_LIBS
13844 if ${ac_cv_lib_soname_odbc:+false} :; then :
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13846 $as_echo "not found" >&6; }
13847 cat >>confdefs.h <<_ACEOF
13848 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13849 _ACEOF
13851 else
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13853 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13855 cat >>confdefs.h <<_ACEOF
13856 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13857 _ACEOF
13862 if test "x$with_netapi" != "xno"
13863 then
13864 if ${NETAPI_CFLAGS:+false} :; then :
13865 if ${PKG_CONFIG+:} false; then :
13866 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13870 if ${NETAPI_LIBS:+false} :; then :
13871 if ${PKG_CONFIG+:} false; then :
13872 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13877 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13878 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13879 ac_save_CPPFLAGS=$CPPFLAGS
13880 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13882 $as_echo_n "checking for -lnetapi... " >&6; }
13883 if ${ac_cv_lib_soname_netapi+:} false; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 ac_check_soname_save_LIBS=$LIBS
13887 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13891 /* Override any GCC internal prototype to avoid an error.
13892 Use char because int might match the return type of a GCC
13893 builtin and then its argument prototype would still apply. */
13894 #ifdef __cplusplus
13895 extern "C"
13896 #endif
13897 char libnetapi_init ();
13899 main ()
13901 return libnetapi_init ();
13903 return 0;
13905 _ACEOF
13906 if ac_fn_c_try_link "$LINENO"; then :
13907 case "$LIBEXT" in
13908 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13909 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'` ;;
13910 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13911 if ${ac_cv_lib_soname_netapi:+false} :; then :
13912 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13913 fi ;;
13914 esac
13916 rm -f core conftest.err conftest.$ac_objext \
13917 conftest$ac_exeext conftest.$ac_ext
13918 LIBS=$ac_check_soname_save_LIBS
13920 if ${ac_cv_lib_soname_netapi:+false} :; then :
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13922 $as_echo "not found" >&6; }
13923 cat >>confdefs.h <<_ACEOF
13924 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13925 _ACEOF
13927 else
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13929 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13931 cat >>confdefs.h <<_ACEOF
13932 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13933 _ACEOF
13937 CPPFLAGS=$ac_save_CPPFLAGS
13938 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13939 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13943 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13944 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13945 then
13946 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13950 EXTRACFLAGS=""
13952 if test "x${GCC}" = "xyes"
13953 then
13954 EXTRACFLAGS="-Wall -pipe"
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13957 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13958 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13959 $as_echo_n "(cached) " >&6
13960 else
13961 if test "$cross_compiling" = yes; then :
13962 ac_cv_c_gcc_strength_bug="no"
13963 else
13964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13966 int L[4] = {0,1,2,3};
13968 main ()
13970 static int Array[3];
13971 unsigned int B = 3;
13972 int i;
13973 for(i=0; i<B; i++) Array[i] = i - 3;
13974 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13975 L[i] = 4;
13976 return (Array[1] != -2 || L[2] != 3)
13978 return 0;
13980 _ACEOF
13981 if ac_fn_c_try_run "$LINENO"; then :
13982 ac_cv_c_gcc_strength_bug="no"
13983 else
13984 ac_cv_c_gcc_strength_bug="yes"
13986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13987 conftest.$ac_objext conftest.beam conftest.$ac_ext
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13992 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13993 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13994 then
13995 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13999 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14000 if ${ac_cv_cflags__fno_builtin+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_wine_try_cflags_saved=$CFLAGS
14004 CFLAGS="$CFLAGS -fno-builtin"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_cflags__fno_builtin=yes
14011 else
14012 ac_cv_cflags__fno_builtin=no
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 CFLAGS=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14019 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14020 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14021 BUILTINFLAG="-fno-builtin"
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14025 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14026 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14027 $as_echo_n "(cached) " >&6
14028 else
14029 ac_wine_try_cflags_saved=$CFLAGS
14030 CFLAGS="$CFLAGS -fno-strict-aliasing"
14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 int main(int argc, char **argv) { return 0; }
14034 _ACEOF
14035 if ac_fn_c_try_link "$LINENO"; then :
14036 ac_cv_cflags__fno_strict_aliasing=yes
14037 else
14038 ac_cv_cflags__fno_strict_aliasing=no
14040 rm -f core conftest.err conftest.$ac_objext \
14041 conftest$ac_exeext conftest.$ac_ext
14042 CFLAGS=$ac_wine_try_cflags_saved
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14045 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14046 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14047 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14050 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14051 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 ac_wine_try_cflags_saved=$CFLAGS
14055 CFLAGS="$CFLAGS -fexcess-precision=standard"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14058 int main(int argc, char **argv) { return 0; }
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"; then :
14061 ac_cv_cflags__fexcess_precision_standard=yes
14062 else
14063 ac_cv_cflags__fexcess_precision_standard=no
14065 rm -f core conftest.err conftest.$ac_objext \
14066 conftest$ac_exeext conftest.$ac_ext
14067 CFLAGS=$ac_wine_try_cflags_saved
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14070 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14071 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14072 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14075 saved_CFLAGS=$CFLAGS
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14077 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14078 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14079 $as_echo_n "(cached) " >&6
14080 else
14081 ac_wine_try_cflags_saved=$CFLAGS
14082 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 int main(int argc, char **argv) { return 0; }
14086 _ACEOF
14087 if ac_fn_c_try_link "$LINENO"; then :
14088 ac_cv_cflags__Werror_unknown_warning_option=yes
14089 else
14090 ac_cv_cflags__Werror_unknown_warning_option=no
14092 rm -f core conftest.err conftest.$ac_objext \
14093 conftest$ac_exeext conftest.$ac_ext
14094 CFLAGS=$ac_wine_try_cflags_saved
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14097 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14098 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14099 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14102 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14103 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14104 $as_echo_n "(cached) " >&6
14105 else
14106 ac_wine_try_cflags_saved=$CFLAGS
14107 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 int main(int argc, char **argv) { return 0; }
14111 _ACEOF
14112 if ac_fn_c_try_link "$LINENO"; then :
14113 ac_cv_cflags__Wdeclaration_after_statement=yes
14114 else
14115 ac_cv_cflags__Wdeclaration_after_statement=no
14117 rm -f core conftest.err conftest.$ac_objext \
14118 conftest$ac_exeext conftest.$ac_ext
14119 CFLAGS=$ac_wine_try_cflags_saved
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14122 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14123 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14124 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14127 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14128 if ${ac_cv_cflags__Wempty_body+:} false; then :
14129 $as_echo_n "(cached) " >&6
14130 else
14131 ac_wine_try_cflags_saved=$CFLAGS
14132 CFLAGS="$CFLAGS -Wempty-body"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135 int main(int argc, char **argv) { return 0; }
14136 _ACEOF
14137 if ac_fn_c_try_link "$LINENO"; then :
14138 ac_cv_cflags__Wempty_body=yes
14139 else
14140 ac_cv_cflags__Wempty_body=no
14142 rm -f core conftest.err conftest.$ac_objext \
14143 conftest$ac_exeext conftest.$ac_ext
14144 CFLAGS=$ac_wine_try_cflags_saved
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14147 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14148 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14149 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14152 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14153 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 ac_wine_try_cflags_saved=$CFLAGS
14157 CFLAGS="$CFLAGS -Wignored-qualifiers"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 ac_cv_cflags__Wignored_qualifiers=yes
14164 else
14165 ac_cv_cflags__Wignored_qualifiers=no
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 CFLAGS=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14172 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14173 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14174 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14177 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14178 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 ac_wine_try_cflags_saved=$CFLAGS
14182 CFLAGS="$CFLAGS -Wshift-overflow=2"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 int main(int argc, char **argv) { return 0; }
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"; then :
14188 ac_cv_cflags__Wshift_overflow_2=yes
14189 else
14190 ac_cv_cflags__Wshift_overflow_2=no
14192 rm -f core conftest.err conftest.$ac_objext \
14193 conftest$ac_exeext conftest.$ac_ext
14194 CFLAGS=$ac_wine_try_cflags_saved
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14197 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14198 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14199 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14202 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14203 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14204 $as_echo_n "(cached) " >&6
14205 else
14206 ac_wine_try_cflags_saved=$CFLAGS
14207 CFLAGS="$CFLAGS -Wstrict-prototypes"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 int main(int argc, char **argv) { return 0; }
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_cflags__Wstrict_prototypes=yes
14214 else
14215 ac_cv_cflags__Wstrict_prototypes=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 CFLAGS=$ac_wine_try_cflags_saved
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14222 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14223 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14224 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14227 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14228 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14229 $as_echo_n "(cached) " >&6
14230 else
14231 ac_wine_try_cflags_saved=$CFLAGS
14232 CFLAGS="$CFLAGS -Wtype-limits"
14233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14235 int main(int argc, char **argv) { return 0; }
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 ac_cv_cflags__Wtype_limits=yes
14239 else
14240 ac_cv_cflags__Wtype_limits=no
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14244 CFLAGS=$ac_wine_try_cflags_saved
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14247 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14248 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14249 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14252 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14253 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_wine_try_cflags_saved=$CFLAGS
14257 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 int main(int argc, char **argv) { return 0; }
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"; then :
14263 ac_cv_cflags__Wunused_but_set_parameter=yes
14264 else
14265 ac_cv_cflags__Wunused_but_set_parameter=no
14267 rm -f core conftest.err conftest.$ac_objext \
14268 conftest$ac_exeext conftest.$ac_ext
14269 CFLAGS=$ac_wine_try_cflags_saved
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14272 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14273 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14274 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14277 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14278 if ${ac_cv_cflags__Wvla+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 ac_wine_try_cflags_saved=$CFLAGS
14282 CFLAGS="$CFLAGS -Wvla"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 int main(int argc, char **argv) { return 0; }
14286 _ACEOF
14287 if ac_fn_c_try_link "$LINENO"; then :
14288 ac_cv_cflags__Wvla=yes
14289 else
14290 ac_cv_cflags__Wvla=no
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14294 CFLAGS=$ac_wine_try_cflags_saved
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14297 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14298 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14299 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14302 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14303 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 ac_wine_try_cflags_saved=$CFLAGS
14307 CFLAGS="$CFLAGS -Wwrite-strings"
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 int main(int argc, char **argv) { return 0; }
14311 _ACEOF
14312 if ac_fn_c_try_link "$LINENO"; then :
14313 ac_cv_cflags__Wwrite_strings=yes
14314 else
14315 ac_cv_cflags__Wwrite_strings=no
14317 rm -f core conftest.err conftest.$ac_objext \
14318 conftest$ac_exeext conftest.$ac_ext
14319 CFLAGS=$ac_wine_try_cflags_saved
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14322 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14323 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14324 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14328 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14329 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14330 $as_echo_n "(cached) " >&6
14331 else
14332 ac_wine_try_cflags_saved=$CFLAGS
14333 CFLAGS="$CFLAGS -Wpointer-arith"
14334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14336 int main(int argc, char **argv) { return 0; }
14337 _ACEOF
14338 if ac_fn_c_try_link "$LINENO"; then :
14339 ac_cv_cflags__Wpointer_arith=yes
14340 else
14341 ac_cv_cflags__Wpointer_arith=no
14343 rm -f core conftest.err conftest.$ac_objext \
14344 conftest$ac_exeext conftest.$ac_ext
14345 CFLAGS=$ac_wine_try_cflags_saved
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14348 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14349 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14350 saved_string_h_CFLAGS=$CFLAGS
14351 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14353 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14354 if ${ac_cv_c_string_h_warnings+:} false; then :
14355 $as_echo_n "(cached) " >&6
14356 else
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 #include <string.h>
14361 main ()
14365 return 0;
14367 _ACEOF
14368 if ac_fn_c_try_compile "$LINENO"; then :
14369 ac_cv_c_string_h_warnings=no
14370 else
14371 ac_cv_c_string_h_warnings=yes
14373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14376 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14377 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14378 CFLAGS=$saved_string_h_CFLAGS
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14382 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14383 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 ac_wine_try_cflags_saved=$CFLAGS
14387 CFLAGS="$CFLAGS -Wlogical-op"
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 int main(int argc, char **argv) { return 0; }
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_cflags__Wlogical_op=yes
14394 else
14395 ac_cv_cflags__Wlogical_op=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 CFLAGS=$ac_wine_try_cflags_saved
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14402 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14403 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14404 saved_string_h_CFLAGS=$CFLAGS
14405 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14407 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14408 if ${ac_cv_c_logicalop_noisy+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14413 #include <string.h>
14414 char*f(const char *h,char n) {return strchr(h,n);}
14416 main ()
14420 return 0;
14422 _ACEOF
14423 if ac_fn_c_try_compile "$LINENO"; then :
14424 ac_cv_c_logicalop_noisy=no
14425 else
14426 ac_cv_c_logicalop_noisy=yes
14428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14431 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14432 CFLAGS=$saved_string_h_CFLAGS
14433 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14436 CFLAGS=$saved_CFLAGS
14438 for ac_flag in $CFLAGS; do
14439 case $ac_flag in
14440 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14441 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14442 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14443 $as_echo_n "(cached) " >&6
14444 else
14445 ac_wine_try_cflags_saved=$CFLAGS
14446 CFLAGS="$CFLAGS -gdwarf-2"
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 int main(int argc, char **argv) { return 0; }
14450 _ACEOF
14451 if ac_fn_c_try_link "$LINENO"; then :
14452 ac_cv_cflags__gdwarf_2=yes
14453 else
14454 ac_cv_cflags__gdwarf_2=no
14456 rm -f core conftest.err conftest.$ac_objext \
14457 conftest$ac_exeext conftest.$ac_ext
14458 CFLAGS=$ac_wine_try_cflags_saved
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14461 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14462 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14463 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14466 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14467 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 ac_wine_try_cflags_saved=$CFLAGS
14471 CFLAGS="$CFLAGS -gstrict-dwarf"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14474 int main(int argc, char **argv) { return 0; }
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"; then :
14477 ac_cv_cflags__gstrict_dwarf=yes
14478 else
14479 ac_cv_cflags__gstrict_dwarf=no
14481 rm -f core conftest.err conftest.$ac_objext \
14482 conftest$ac_exeext conftest.$ac_ext
14483 CFLAGS=$ac_wine_try_cflags_saved
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14486 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14487 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14488 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14489 fi ;;
14490 esac
14491 done
14493 case $host_cpu in
14494 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14495 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14496 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14497 $as_echo_n "(cached) " >&6
14498 else
14499 ac_wine_try_cflags_saved=$CFLAGS
14500 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14503 int main(int argc, char **argv) { return 0; }
14504 _ACEOF
14505 if ac_fn_c_try_link "$LINENO"; then :
14506 ac_cv_cflags__fno_omit_frame_pointer=yes
14507 else
14508 ac_cv_cflags__fno_omit_frame_pointer=no
14510 rm -f core conftest.err conftest.$ac_objext \
14511 conftest$ac_exeext conftest.$ac_ext
14512 CFLAGS=$ac_wine_try_cflags_saved
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14515 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14516 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14517 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14518 fi ;;
14519 esac
14521 case $host in
14522 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14523 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14524 if ${ac_cv_cflags__Wno_format+:} false; then :
14525 $as_echo_n "(cached) " >&6
14526 else
14527 ac_wine_try_cflags_saved=$CFLAGS
14528 CFLAGS="$CFLAGS -Wno-format"
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14531 int main(int argc, char **argv) { return 0; }
14532 _ACEOF
14533 if ac_fn_c_try_link "$LINENO"; then :
14534 ac_cv_cflags__Wno_format=yes
14535 else
14536 ac_cv_cflags__Wno_format=no
14538 rm -f core conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540 CFLAGS=$ac_wine_try_cflags_saved
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14543 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14544 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14545 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14546 fi ;;
14547 esac
14549 if test "x$enable_maintainer_mode" = "xyes"
14550 then
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14552 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14553 if ${ac_cv_cflags__Werror+:} false; then :
14554 $as_echo_n "(cached) " >&6
14555 else
14556 ac_wine_try_cflags_saved=$CFLAGS
14557 CFLAGS="$CFLAGS -Werror"
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 int main(int argc, char **argv) { return 0; }
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_cflags__Werror=yes
14564 else
14565 ac_cv_cflags__Werror=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 CFLAGS=$ac_wine_try_cflags_saved
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14572 $as_echo "$ac_cv_cflags__Werror" >&6; }
14573 if test "x$ac_cv_cflags__Werror" = xyes; then :
14574 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14578 saved_CFLAGS="$CFLAGS"
14579 CFLAGS="$CFLAGS -Werror"
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14581 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14582 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14589 main ()
14593 return 0;
14595 _ACEOF
14596 if ac_fn_c_try_compile "$LINENO"; then :
14597 ac_cv_have_ms_hook_prologue="yes"
14598 else
14599 ac_cv_have_ms_hook_prologue="no"
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14604 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14605 CFLAGS="$saved_CFLAGS"
14606 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14607 then
14609 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14611 else
14612 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14619 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14620 if ${ac_cv_c_fortify_enabled+:} false; then :
14621 $as_echo_n "(cached) " >&6
14622 else
14623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14625 #include <string.h>
14627 main ()
14629 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14630 #error Fortify enabled
14631 #endif
14633 return 0;
14635 _ACEOF
14636 if ac_fn_c_try_compile "$LINENO"; then :
14637 ac_cv_c_fortify_enabled=no
14638 else
14639 ac_cv_c_fortify_enabled=yes
14641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14644 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14645 if test "$ac_cv_c_fortify_enabled" = yes
14646 then
14647 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14652 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14653 if ${ac_cv_c_extern_prefix+:} false; then :
14654 $as_echo_n "(cached) " >&6
14655 else
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14658 extern int ac_test;
14660 main ()
14662 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14664 return 0;
14666 _ACEOF
14667 if ac_fn_c_try_link "$LINENO"; then :
14668 ac_cv_c_extern_prefix="yes"
14669 else
14670 ac_cv_c_extern_prefix="no"
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14676 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14678 case $host_cpu in
14679 *i[3456789]86*)
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14681 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14682 if ${ac_cv_c_stdcall_suffix+:} false; then :
14683 $as_echo_n "(cached) " >&6
14684 else
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14687 #ifndef _MSC_VER
14688 #define __stdcall __attribute__((__stdcall__))
14689 #endif
14690 int __stdcall ac_test(int i) { return i; }
14692 main ()
14694 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14696 return 0;
14698 _ACEOF
14699 if ac_fn_c_try_link "$LINENO"; then :
14700 ac_cv_c_stdcall_suffix="yes"
14701 else
14702 ac_cv_c_stdcall_suffix="no"
14704 rm -f core conftest.err conftest.$ac_objext \
14705 conftest$ac_exeext conftest.$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14708 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14709 *) ac_cv_c_stdcall_suffix="no" ;;
14710 esac
14713 if test "$ac_cv_c_extern_prefix" = "yes"
14714 then
14715 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14717 asm_name_prefix="_"
14718 else
14719 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14721 asm_name_prefix=""
14725 if test "$ac_cv_c_stdcall_suffix" = "yes"
14726 then
14727 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14729 else
14730 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14736 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14737 if ${ac_cv_asm_func_def+:} false; then :
14738 $as_echo_n "(cached) " >&6
14739 else
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14744 main ()
14746 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14748 return 0;
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"; then :
14752 ac_cv_asm_func_def=".def"
14753 else
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14758 main ()
14760 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_asm_func_def=".type @function"
14767 else
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14772 main ()
14774 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14776 return 0;
14778 _ACEOF
14779 if ac_fn_c_try_link "$LINENO"; then :
14780 ac_cv_asm_func_def=".type 2"
14781 else
14782 ac_cv_asm_func_def="unknown"
14784 rm -f core conftest.err conftest.$ac_objext \
14785 conftest$ac_exeext conftest.$ac_ext
14787 rm -f core conftest.err conftest.$ac_objext \
14788 conftest$ac_exeext conftest.$ac_ext
14790 rm -f core conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14794 $as_echo "$ac_cv_asm_func_def" >&6; }
14797 case "$ac_cv_asm_func_def" in
14798 ".def")
14799 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14801 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14802 ".type @function")
14803 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14805 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14806 ".type 2")
14807 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14809 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14811 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14813 asm_func_header="" ;;
14814 esac
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14817 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14818 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14819 $as_echo_n "(cached) " >&6
14820 else
14821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14823 asm(".text\n\t.long 0");
14825 main ()
14829 return 0;
14831 _ACEOF
14832 if ac_fn_c_try_compile "$LINENO"; then :
14833 ac_cv_c_asm_outside_funcs="yes"
14834 else
14835 ac_cv_c_asm_outside_funcs="no"
14837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14840 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14843 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14844 if ${ac_cv_c_dot_previous+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14851 main ()
14853 asm(".text\nac_test:\t.long 0\n\t.previous");
14855 return 0;
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"; then :
14859 ac_cv_c_dot_previous="yes"
14860 else
14861 ac_cv_c_dot_previous="no"
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14867 $as_echo "$ac_cv_c_dot_previous" >&6; }
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14870 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14871 if ${ac_cv_c_cfi_support+:} false; then :
14872 $as_echo_n "(cached) " >&6
14873 else
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14876 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14878 main ()
14882 return 0;
14884 _ACEOF
14885 if ac_fn_c_try_compile "$LINENO"; then :
14886 ac_cv_c_cfi_support="yes"
14887 else
14888 ac_cv_c_cfi_support="no"
14890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14893 $as_echo "$ac_cv_c_cfi_support" >&6; }
14895 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14896 asm_func_trailer=""
14897 if test "$ac_cv_c_dot_previous" = "yes"
14898 then
14899 asm_func_trailer="\\n\\t.previous"
14901 if test "$ac_cv_c_cfi_support" = "yes"
14902 then
14903 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14904 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14906 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14908 UNWINDFLAGS=-fasynchronous-unwind-tables
14910 else
14911 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14913 if test "x$enable_win64" = "xyes"
14914 then
14915 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14919 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14922 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14923 then
14924 cat >>confdefs.h <<_ACEOF
14925 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14926 _ACEOF
14928 else
14929 cat >>confdefs.h <<_ACEOF
14930 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14931 _ACEOF
14935 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14938 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14942 case $build_os in
14943 cygwin*|mingw32*) TOOLSEXT=".exe"
14945 esac
14947 case $host_os in
14948 linux-android*) ;;
14949 linux*)
14950 case $host_cpu in
14951 *i[3456789]86*|x86_64*)
14952 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14953 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14955 esac
14957 esac
14960 ac_save_CFLAGS="$CFLAGS"
14961 CFLAGS="$CFLAGS $BUILTINFLAG"
14962 for ac_func in \
14963 __res_get_state \
14964 __res_getservers \
14965 _finite \
14966 _isnan \
14967 _pclose \
14968 _popen \
14969 _snprintf \
14970 _spawnvp \
14971 _strdup \
14972 _stricmp \
14973 _strnicmp \
14974 _strtoi64 \
14975 _strtoui64 \
14976 _vsnprintf \
14977 asctime_r \
14978 chsize \
14979 dlopen \
14980 epoll_create \
14981 ffs \
14982 finitef \
14983 fnmatch \
14984 fork \
14985 fpclass \
14986 fstatfs \
14987 fstatvfs \
14988 ftruncate \
14989 futimens \
14990 futimes \
14991 futimesat \
14992 getattrlist \
14993 getdirentries \
14994 getopt_long_only \
14995 getpwuid \
14996 gettimeofday \
14997 getuid \
14998 if_nameindex \
14999 isnanf \
15000 kqueue \
15001 lstat \
15002 memmove \
15003 mmap \
15004 pclose \
15005 pipe2 \
15006 poll \
15007 popen \
15008 port_create \
15009 prctl \
15010 pread \
15011 proc_pidinfo \
15012 pwrite \
15013 readdir \
15014 readlink \
15015 sched_yield \
15016 select \
15017 setproctitle \
15018 setprogname \
15019 setrlimit \
15020 settimeofday \
15021 sigaltstack \
15022 sigprocmask \
15023 snprintf \
15024 statfs \
15025 statvfs \
15026 strcasecmp \
15027 strdup \
15028 strerror \
15029 strncasecmp \
15030 strtold \
15031 strtoll \
15032 strtoull \
15033 symlink \
15034 tcdrain \
15035 thr_kill2 \
15036 timegm \
15037 usleep \
15038 vsnprintf
15040 do :
15041 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15042 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15043 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15044 cat >>confdefs.h <<_ACEOF
15045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15046 _ACEOF
15049 done
15051 CFLAGS="$ac_save_CFLAGS"
15053 if test "$ac_cv_func_dlopen" = no
15054 then
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15056 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15057 if ${ac_cv_lib_dl_dlopen+:} false; then :
15058 $as_echo_n "(cached) " >&6
15059 else
15060 ac_check_lib_save_LIBS=$LIBS
15061 LIBS="-ldl $LIBS"
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15065 /* Override any GCC internal prototype to avoid an error.
15066 Use char because int might match the return type of a GCC
15067 builtin and then its argument prototype would still apply. */
15068 #ifdef __cplusplus
15069 extern "C"
15070 #endif
15071 char dlopen ();
15073 main ()
15075 return dlopen ();
15077 return 0;
15079 _ACEOF
15080 if ac_fn_c_try_link "$LINENO"; then :
15081 ac_cv_lib_dl_dlopen=yes
15082 else
15083 ac_cv_lib_dl_dlopen=no
15085 rm -f core conftest.err conftest.$ac_objext \
15086 conftest$ac_exeext conftest.$ac_ext
15087 LIBS=$ac_check_lib_save_LIBS
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15090 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15091 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15092 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15093 DL_LIBS="-ldl"
15098 ac_wine_check_funcs_save_LIBS="$LIBS"
15099 LIBS="$LIBS $DL_LIBS"
15100 for ac_func in dladdr
15101 do :
15102 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15103 if test "x$ac_cv_func_dladdr" = xyes; then :
15104 cat >>confdefs.h <<_ACEOF
15105 #define HAVE_DLADDR 1
15106 _ACEOF
15109 done
15111 LIBS="$ac_wine_check_funcs_save_LIBS"
15113 if test "$ac_cv_func_poll" = no
15114 then
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15116 $as_echo_n "checking for poll in -lpoll... " >&6; }
15117 if ${ac_cv_lib_poll_poll+:} false; then :
15118 $as_echo_n "(cached) " >&6
15119 else
15120 ac_check_lib_save_LIBS=$LIBS
15121 LIBS="-lpoll $LIBS"
15122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15125 /* Override any GCC internal prototype to avoid an error.
15126 Use char because int might match the return type of a GCC
15127 builtin and then its argument prototype would still apply. */
15128 #ifdef __cplusplus
15129 extern "C"
15130 #endif
15131 char poll ();
15133 main ()
15135 return poll ();
15137 return 0;
15139 _ACEOF
15140 if ac_fn_c_try_link "$LINENO"; then :
15141 ac_cv_lib_poll_poll=yes
15142 else
15143 ac_cv_lib_poll_poll=no
15145 rm -f core conftest.err conftest.$ac_objext \
15146 conftest$ac_exeext conftest.$ac_ext
15147 LIBS=$ac_check_lib_save_LIBS
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15150 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15151 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15152 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15153 POLL_LIBS="-lpoll"
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15160 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15161 if ${ac_cv_search_gethostbyname+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 ac_func_search_save_LIBS=$LIBS
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15168 /* Override any GCC internal prototype to avoid an error.
15169 Use char because int might match the return type of a GCC
15170 builtin and then its argument prototype would still apply. */
15171 #ifdef __cplusplus
15172 extern "C"
15173 #endif
15174 char gethostbyname ();
15176 main ()
15178 return gethostbyname ();
15180 return 0;
15182 _ACEOF
15183 for ac_lib in '' nsl; do
15184 if test -z "$ac_lib"; then
15185 ac_res="none required"
15186 else
15187 ac_res=-l$ac_lib
15188 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15190 if ac_fn_c_try_link "$LINENO"; then :
15191 ac_cv_search_gethostbyname=$ac_res
15193 rm -f core conftest.err conftest.$ac_objext \
15194 conftest$ac_exeext
15195 if ${ac_cv_search_gethostbyname+:} false; then :
15196 break
15198 done
15199 if ${ac_cv_search_gethostbyname+:} false; then :
15201 else
15202 ac_cv_search_gethostbyname=no
15204 rm conftest.$ac_ext
15205 LIBS=$ac_func_search_save_LIBS
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15208 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15209 ac_res=$ac_cv_search_gethostbyname
15210 if test "$ac_res" != no; then :
15211 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15217 $as_echo_n "checking for library containing connect... " >&6; }
15218 if ${ac_cv_search_connect+:} false; then :
15219 $as_echo_n "(cached) " >&6
15220 else
15221 ac_func_search_save_LIBS=$LIBS
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15225 /* Override any GCC internal prototype to avoid an error.
15226 Use char because int might match the return type of a GCC
15227 builtin and then its argument prototype would still apply. */
15228 #ifdef __cplusplus
15229 extern "C"
15230 #endif
15231 char connect ();
15233 main ()
15235 return connect ();
15237 return 0;
15239 _ACEOF
15240 for ac_lib in '' socket; do
15241 if test -z "$ac_lib"; then
15242 ac_res="none required"
15243 else
15244 ac_res=-l$ac_lib
15245 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15247 if ac_fn_c_try_link "$LINENO"; then :
15248 ac_cv_search_connect=$ac_res
15250 rm -f core conftest.err conftest.$ac_objext \
15251 conftest$ac_exeext
15252 if ${ac_cv_search_connect+:} false; then :
15253 break
15255 done
15256 if ${ac_cv_search_connect+:} false; then :
15258 else
15259 ac_cv_search_connect=no
15261 rm conftest.$ac_ext
15262 LIBS=$ac_func_search_save_LIBS
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15265 $as_echo "$ac_cv_search_connect" >&6; }
15266 ac_res=$ac_cv_search_connect
15267 if test "$ac_res" != no; then :
15268 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15274 $as_echo_n "checking for library containing inet_aton... " >&6; }
15275 if ${ac_cv_search_inet_aton+:} false; then :
15276 $as_echo_n "(cached) " >&6
15277 else
15278 ac_func_search_save_LIBS=$LIBS
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15282 /* Override any GCC internal prototype to avoid an error.
15283 Use char because int might match the return type of a GCC
15284 builtin and then its argument prototype would still apply. */
15285 #ifdef __cplusplus
15286 extern "C"
15287 #endif
15288 char inet_aton ();
15290 main ()
15292 return inet_aton ();
15294 return 0;
15296 _ACEOF
15297 for ac_lib in '' resolv; do
15298 if test -z "$ac_lib"; then
15299 ac_res="none required"
15300 else
15301 ac_res=-l$ac_lib
15302 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15304 if ac_fn_c_try_link "$LINENO"; then :
15305 ac_cv_search_inet_aton=$ac_res
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext
15309 if ${ac_cv_search_inet_aton+:} false; then :
15310 break
15312 done
15313 if ${ac_cv_search_inet_aton+:} false; then :
15315 else
15316 ac_cv_search_inet_aton=no
15318 rm conftest.$ac_ext
15319 LIBS=$ac_func_search_save_LIBS
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15322 $as_echo "$ac_cv_search_inet_aton" >&6; }
15323 ac_res=$ac_cv_search_inet_aton
15324 if test "$ac_res" != no; then :
15325 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15330 for ac_func in \
15331 getaddrinfo \
15332 getnameinfo \
15333 getnetbyname \
15334 getprotobyname \
15335 getprotobynumber \
15336 getservbyport \
15337 inet_addr \
15338 inet_network \
15339 inet_ntop \
15340 inet_pton \
15341 sendmsg \
15342 socketpair \
15344 do :
15345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15347 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15348 cat >>confdefs.h <<_ACEOF
15349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15350 _ACEOF
15353 done
15356 ac_save_LIBS=$LIBS
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15358 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15359 if ${ac_cv_search_clock_gettime+:} false; then :
15360 $as_echo_n "(cached) " >&6
15361 else
15362 ac_func_search_save_LIBS=$LIBS
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15366 /* Override any GCC internal prototype to avoid an error.
15367 Use char because int might match the return type of a GCC
15368 builtin and then its argument prototype would still apply. */
15369 #ifdef __cplusplus
15370 extern "C"
15371 #endif
15372 char clock_gettime ();
15374 main ()
15376 return clock_gettime ();
15378 return 0;
15380 _ACEOF
15381 for ac_lib in '' rt; do
15382 if test -z "$ac_lib"; then
15383 ac_res="none required"
15384 else
15385 ac_res=-l$ac_lib
15386 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15388 if ac_fn_c_try_link "$LINENO"; then :
15389 ac_cv_search_clock_gettime=$ac_res
15391 rm -f core conftest.err conftest.$ac_objext \
15392 conftest$ac_exeext
15393 if ${ac_cv_search_clock_gettime+:} false; then :
15394 break
15396 done
15397 if ${ac_cv_search_clock_gettime+:} false; then :
15399 else
15400 ac_cv_search_clock_gettime=no
15402 rm conftest.$ac_ext
15403 LIBS=$ac_func_search_save_LIBS
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15406 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15407 ac_res=$ac_cv_search_clock_gettime
15408 if test "$ac_res" != no; then :
15409 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15411 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15413 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15417 LIBS=$ac_save_LIBS
15419 LDAP_LIBS=""
15421 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15422 then
15423 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15425 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15427 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15428 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15429 $as_echo_n "(cached) " >&6
15430 else
15431 ac_check_lib_save_LIBS=$LIBS
15432 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 #ifdef __cplusplus
15440 extern "C"
15441 #endif
15442 char ldap_initialize ();
15444 main ()
15446 return ldap_initialize ();
15448 return 0;
15450 _ACEOF
15451 if ac_fn_c_try_link "$LINENO"; then :
15452 ac_cv_lib_ldap_r_ldap_initialize=yes
15453 else
15454 ac_cv_lib_ldap_r_ldap_initialize=no
15456 rm -f core conftest.err conftest.$ac_objext \
15457 conftest$ac_exeext conftest.$ac_ext
15458 LIBS=$ac_check_lib_save_LIBS
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15461 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15462 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15464 $as_echo_n "checking for ber_init in -llber... " >&6; }
15465 if ${ac_cv_lib_lber_ber_init+:} false; then :
15466 $as_echo_n "(cached) " >&6
15467 else
15468 ac_check_lib_save_LIBS=$LIBS
15469 LIBS="-llber $PTHREAD_LIBS $LIBS"
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15471 /* end confdefs.h. */
15473 /* Override any GCC internal prototype to avoid an error.
15474 Use char because int might match the return type of a GCC
15475 builtin and then its argument prototype would still apply. */
15476 #ifdef __cplusplus
15477 extern "C"
15478 #endif
15479 char ber_init ();
15481 main ()
15483 return ber_init ();
15485 return 0;
15487 _ACEOF
15488 if ac_fn_c_try_link "$LINENO"; then :
15489 ac_cv_lib_lber_ber_init=yes
15490 else
15491 ac_cv_lib_lber_ber_init=no
15493 rm -f core conftest.err conftest.$ac_objext \
15494 conftest$ac_exeext conftest.$ac_ext
15495 LIBS=$ac_check_lib_save_LIBS
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15498 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15499 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15501 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15503 LDAP_LIBS="-lldap_r -llber"
15510 ac_wine_check_funcs_save_LIBS="$LIBS"
15511 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15512 for ac_func in \
15513 ldap_count_references \
15514 ldap_first_reference \
15515 ldap_next_reference \
15516 ldap_parse_reference \
15517 ldap_parse_sort_control \
15518 ldap_parse_sortresponse_control \
15519 ldap_parse_vlv_control \
15520 ldap_parse_vlvresponse_control
15521 do :
15522 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15523 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15524 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15525 cat >>confdefs.h <<_ACEOF
15526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15527 _ACEOF
15530 done
15532 LIBS="$ac_wine_check_funcs_save_LIBS"
15534 if test "x$LDAP_LIBS" = "x"; then :
15535 case "x$with_ldap" in
15536 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15537 xno) ;;
15538 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15539 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15540 esac
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15544 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15545 if ${wine_cv_one_arg_mkdir+:} false; then :
15546 $as_echo_n "(cached) " >&6
15547 else
15548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15549 /* end confdefs.h. */
15550 #include <sys/stat.h>
15552 main ()
15554 mkdir("foo");
15556 return 0;
15558 _ACEOF
15559 if ac_fn_c_try_compile "$LINENO"; then :
15560 wine_cv_one_arg_mkdir=yes
15561 else
15562 wine_cv_one_arg_mkdir=no
15564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15567 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15568 if test "$wine_cv_one_arg_mkdir" = "yes"
15569 then
15571 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15576 $as_echo_n "checking for sched_setaffinity... " >&6; }
15577 if ${wine_cv_have_sched_setaffinity+:} false; then :
15578 $as_echo_n "(cached) " >&6
15579 else
15580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15582 #define _GNU_SOURCE
15583 #include <sched.h>
15585 main ()
15587 sched_setaffinity(0, 0, 0);
15589 return 0;
15591 _ACEOF
15592 if ac_fn_c_try_link "$LINENO"; then :
15593 wine_cv_have_sched_setaffinity=yes
15594 else
15595 wine_cv_have_sched_setaffinity=no
15597 rm -f core conftest.err conftest.$ac_objext \
15598 conftest$ac_exeext conftest.$ac_ext
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15601 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15602 if test "$wine_cv_have_sched_setaffinity" = "yes"
15603 then
15605 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15610 $as_echo_n "checking for fallocate... " >&6; }
15611 if ${wine_cv_have_fallocate+:} false; then :
15612 $as_echo_n "(cached) " >&6
15613 else
15614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15615 /* end confdefs.h. */
15616 #define _GNU_SOURCE
15617 #include <fcntl.h>
15619 main ()
15621 fallocate(-1, 0, 0, 0);
15623 return 0;
15625 _ACEOF
15626 if ac_fn_c_try_link "$LINENO"; then :
15627 wine_cv_have_fallocate=yes
15628 else
15629 wine_cv_have_fallocate=no
15631 rm -f core conftest.err conftest.$ac_objext \
15632 conftest$ac_exeext conftest.$ac_ext
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15635 $as_echo "$wine_cv_have_fallocate" >&6; }
15636 if test "$wine_cv_have_fallocate" = "yes"
15637 then
15639 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15645 $as_echo_n "checking for inline... " >&6; }
15646 if ${ac_cv_c_inline+:} false; then :
15647 $as_echo_n "(cached) " >&6
15648 else
15649 ac_cv_c_inline=no
15650 for ac_kw in inline __inline__ __inline; do
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15653 #ifndef __cplusplus
15654 typedef int foo_t;
15655 static $ac_kw foo_t static_foo () {return 0; }
15656 $ac_kw foo_t foo () {return 0; }
15657 #endif
15659 _ACEOF
15660 if ac_fn_c_try_compile "$LINENO"; then :
15661 ac_cv_c_inline=$ac_kw
15663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664 test "$ac_cv_c_inline" != no && break
15665 done
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15669 $as_echo "$ac_cv_c_inline" >&6; }
15671 case $ac_cv_c_inline in
15672 inline | yes) ;;
15674 case $ac_cv_c_inline in
15675 no) ac_val=;;
15676 *) ac_val=$ac_cv_c_inline;;
15677 esac
15678 cat >>confdefs.h <<_ACEOF
15679 #ifndef __cplusplus
15680 #define inline $ac_val
15681 #endif
15682 _ACEOF
15684 esac
15686 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15687 if test "x$ac_cv_type_mode_t" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_MODE_T 1
15691 _ACEOF
15695 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15696 if test "x$ac_cv_type_off_t" = xyes; then :
15698 cat >>confdefs.h <<_ACEOF
15699 #define HAVE_OFF_T 1
15700 _ACEOF
15704 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15705 if test "x$ac_cv_type_pid_t" = xyes; then :
15707 cat >>confdefs.h <<_ACEOF
15708 #define HAVE_PID_T 1
15709 _ACEOF
15713 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15714 if test "x$ac_cv_type_size_t" = xyes; then :
15716 cat >>confdefs.h <<_ACEOF
15717 #define HAVE_SIZE_T 1
15718 _ACEOF
15722 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15723 if test "x$ac_cv_type_ssize_t" = xyes; then :
15725 cat >>confdefs.h <<_ACEOF
15726 #define HAVE_SSIZE_T 1
15727 _ACEOF
15731 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15732 if test "x$ac_cv_type_long_long" = xyes; then :
15734 cat >>confdefs.h <<_ACEOF
15735 #define HAVE_LONG_LONG 1
15736 _ACEOF
15740 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15741 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15743 cat >>confdefs.h <<_ACEOF
15744 #define HAVE_FSBLKCNT_T 1
15745 _ACEOF
15749 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15750 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15752 cat >>confdefs.h <<_ACEOF
15753 #define HAVE_FSFILCNT_T 1
15754 _ACEOF
15759 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15760 #include <signal.h>
15762 if test "x$ac_cv_type_sigset_t" = xyes; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define HAVE_SIGSET_T 1
15766 _ACEOF
15771 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15773 if test "x$ac_cv_type_request_sense" = xyes; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define HAVE_REQUEST_SENSE 1
15777 _ACEOF
15783 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15784 #ifdef HAVE_SYS_SOCKET_H
15785 #include <sys/socket.h>
15786 #endif
15787 #ifdef HAVE_SYS_SOCKETVAR_H
15788 #include <sys/socketvar.h>
15789 #endif
15790 #ifdef HAVE_NET_ROUTE_H
15791 #include <net/route.h>
15792 #endif
15793 #ifdef HAVE_NETINET_IN_H
15794 #include <netinet/in.h>
15795 #endif
15796 #ifdef HAVE_NETINET_IN_SYSTM_H
15797 #include <netinet/in_systm.h>
15798 #endif
15799 #ifdef HAVE_NETINET_IP_H
15800 #include <netinet/ip.h>
15801 #endif
15802 #ifdef HAVE_NETINET_IN_PCB_H
15803 #include <netinet/in_pcb.h>
15804 #endif
15806 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15808 cat >>confdefs.h <<_ACEOF
15809 #define HAVE_STRUCT_XINPGEN 1
15810 _ACEOF
15816 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15817 #include <link.h>
15818 #endif
15819 #ifdef HAVE_SYS_LINK_H
15820 #include <sys/link.h>
15821 #endif
15823 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15825 cat >>confdefs.h <<_ACEOF
15826 #define HAVE_STRUCT_R_DEBUG 1
15827 _ACEOF
15831 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15832 #include <link.h>
15833 #endif
15834 #ifdef HAVE_SYS_LINK_H
15835 #include <sys/link.h>
15836 #endif
15838 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15840 cat >>confdefs.h <<_ACEOF
15841 #define HAVE_STRUCT_LINK_MAP 1
15842 _ACEOF
15848 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15849 #include <linux/input.h>
15850 #endif
15852 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15856 _ACEOF
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15863 $as_echo_n "checking for sigaddset... " >&6; }
15864 if ${wine_cv_have_sigaddset+:} false; then :
15865 $as_echo_n "(cached) " >&6
15866 else
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 #include <signal.h>
15871 main ()
15873 sigset_t set; sigaddset(&set,SIGTERM);
15875 return 0;
15877 _ACEOF
15878 if ac_fn_c_try_link "$LINENO"; then :
15879 wine_cv_have_sigaddset=yes
15880 else
15881 wine_cv_have_sigaddset=no
15883 rm -f core conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15887 $as_echo "$wine_cv_have_sigaddset" >&6; }
15888 if test "$wine_cv_have_sigaddset" = "yes"
15889 then
15891 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15897 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15898 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15899 $as_echo_n "(cached) " >&6
15900 else
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #include <netdb.h>
15905 main ()
15908 char *name=0;
15909 struct hostent he;
15910 struct hostent *result;
15911 char *buf=0;
15912 int bufsize=0;
15913 int errnr;
15914 char *addr=0;
15915 int addrlen=0;
15916 int addrtype=0;
15917 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15918 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_link "$LINENO"; then :
15925 wine_cv_linux_gethostbyname_r_6=yes
15926 else
15927 wine_cv_linux_gethostbyname_r_6=no
15930 rm -f core conftest.err conftest.$ac_objext \
15931 conftest$ac_exeext conftest.$ac_ext
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15935 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15936 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15937 then
15939 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15943 if test "$ac_cv_header_linux_joystick_h" = "yes"
15944 then
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15946 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15947 if ${wine_cv_linux_joystick_22_api+:} false; then :
15948 $as_echo_n "(cached) " >&6
15949 else
15950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15951 /* end confdefs.h. */
15953 #include <sys/ioctl.h>
15954 #include <sys/types.h>
15955 #include <linux/joystick.h>
15957 struct js_event blub;
15958 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15959 #error "no 2.2 header"
15960 #endif
15963 main ()
15965 /*empty*/
15967 return 0;
15969 _ACEOF
15970 if ac_fn_c_try_compile "$LINENO"; then :
15971 wine_cv_linux_joystick_22_api=yes
15972 else
15973 wine_cv_linux_joystick_22_api=no
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15979 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15980 if test "$wine_cv_linux_joystick_22_api" = "yes"
15981 then
15983 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15989 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15990 #ifdef HAVE_SYS_PARAM_H
15991 # include <sys/param.h>
15992 #endif
15993 #ifdef HAVE_SYS_MOUNT_H
15994 # include <sys/mount.h>
15995 #endif
15996 #ifdef HAVE_SYS_VFS_H
15997 # include <sys/vfs.h>
15998 #endif
15999 #ifdef HAVE_SYS_STATFS_H
16000 # include <sys/statfs.h>
16001 #endif
16003 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_STRUCT_STATFS_F_BFREE 1
16007 _ACEOF
16011 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16012 #ifdef HAVE_SYS_PARAM_H
16013 # include <sys/param.h>
16014 #endif
16015 #ifdef HAVE_SYS_MOUNT_H
16016 # include <sys/mount.h>
16017 #endif
16018 #ifdef HAVE_SYS_VFS_H
16019 # include <sys/vfs.h>
16020 #endif
16021 #ifdef HAVE_SYS_STATFS_H
16022 # include <sys/statfs.h>
16023 #endif
16025 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16029 _ACEOF
16033 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16034 #ifdef HAVE_SYS_PARAM_H
16035 # include <sys/param.h>
16036 #endif
16037 #ifdef HAVE_SYS_MOUNT_H
16038 # include <sys/mount.h>
16039 #endif
16040 #ifdef HAVE_SYS_VFS_H
16041 # include <sys/vfs.h>
16042 #endif
16043 #ifdef HAVE_SYS_STATFS_H
16044 # include <sys/statfs.h>
16045 #endif
16047 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16051 _ACEOF
16055 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16056 #ifdef HAVE_SYS_PARAM_H
16057 # include <sys/param.h>
16058 #endif
16059 #ifdef HAVE_SYS_MOUNT_H
16060 # include <sys/mount.h>
16061 #endif
16062 #ifdef HAVE_SYS_VFS_H
16063 # include <sys/vfs.h>
16064 #endif
16065 #ifdef HAVE_SYS_STATFS_H
16066 # include <sys/statfs.h>
16067 #endif
16069 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16071 cat >>confdefs.h <<_ACEOF
16072 #define HAVE_STRUCT_STATFS_F_FFREE 1
16073 _ACEOF
16077 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16078 #ifdef HAVE_SYS_PARAM_H
16079 # include <sys/param.h>
16080 #endif
16081 #ifdef HAVE_SYS_MOUNT_H
16082 # include <sys/mount.h>
16083 #endif
16084 #ifdef HAVE_SYS_VFS_H
16085 # include <sys/vfs.h>
16086 #endif
16087 #ifdef HAVE_SYS_STATFS_H
16088 # include <sys/statfs.h>
16089 #endif
16091 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16095 _ACEOF
16099 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16100 #ifdef HAVE_SYS_PARAM_H
16101 # include <sys/param.h>
16102 #endif
16103 #ifdef HAVE_SYS_MOUNT_H
16104 # include <sys/mount.h>
16105 #endif
16106 #ifdef HAVE_SYS_VFS_H
16107 # include <sys/vfs.h>
16108 #endif
16109 #ifdef HAVE_SYS_STATFS_H
16110 # include <sys/statfs.h>
16111 #endif
16113 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16117 _ACEOF
16123 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16124 #include <sys/statvfs.h>
16125 #endif
16127 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16131 _ACEOF
16137 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16138 #include <dirent.h>
16139 #endif
16141 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16145 _ACEOF
16151 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16152 #ifdef HAVE_SYS_SOCKET_H
16153 # include <sys/socket.h>
16154 #endif
16155 #ifdef HAVE_SYS_UN_H
16156 # include <sys/un.h>
16157 #endif
16159 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16163 _ACEOF
16167 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16168 #ifdef HAVE_SYS_SOCKET_H
16169 # include <sys/socket.h>
16170 #endif
16171 #ifdef HAVE_SYS_UN_H
16172 # include <sys/un.h>
16173 #endif
16175 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16177 cat >>confdefs.h <<_ACEOF
16178 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16179 _ACEOF
16183 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16184 #ifdef HAVE_SYS_SOCKET_H
16185 # include <sys/socket.h>
16186 #endif
16187 #ifdef HAVE_SYS_UN_H
16188 # include <sys/un.h>
16189 #endif
16191 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16193 cat >>confdefs.h <<_ACEOF
16194 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16195 _ACEOF
16201 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16202 #ifdef HAVE_SCSI_SG_H
16203 #include <scsi/sg.h>
16204 #endif
16206 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_SCSIREQ_T_CMD 1
16210 _ACEOF
16214 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>
16215 #ifdef HAVE_SCSI_SG_H
16216 #include <scsi/sg.h>
16217 #endif
16219 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16223 _ACEOF
16229 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16231 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16233 cat >>confdefs.h <<_ACEOF
16234 #define HAVE_SIGINFO_T_SI_FD 1
16235 _ACEOF
16241 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16242 #ifdef HAVE_SYS_MTIO_H
16243 #include <sys/mtio.h>
16244 #endif
16246 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16248 cat >>confdefs.h <<_ACEOF
16249 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16250 _ACEOF
16254 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16255 #ifdef HAVE_SYS_MTIO_H
16256 #include <sys/mtio.h>
16257 #endif
16259 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16263 _ACEOF
16267 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16268 #ifdef HAVE_SYS_MTIO_H
16269 #include <sys/mtio.h>
16270 #endif
16272 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16274 cat >>confdefs.h <<_ACEOF
16275 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16276 _ACEOF
16282 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16283 #include <getopt.h>
16284 #endif
16286 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_STRUCT_OPTION_NAME 1
16290 _ACEOF
16296 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16297 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16301 _ACEOF
16305 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16306 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_STRUCT_STAT_ST_MTIM 1
16310 _ACEOF
16314 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16315 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16319 _ACEOF
16323 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16324 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_STRUCT_STAT_ST_CTIM 1
16328 _ACEOF
16332 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16333 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16335 cat >>confdefs.h <<_ACEOF
16336 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16337 _ACEOF
16341 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16342 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16344 cat >>confdefs.h <<_ACEOF
16345 #define HAVE_STRUCT_STAT_ST_ATIM 1
16346 _ACEOF
16350 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16351 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16353 cat >>confdefs.h <<_ACEOF
16354 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16355 _ACEOF
16359 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16360 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16364 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16369 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16373 _ACEOF
16377 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16378 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16382 _ACEOF
16386 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16387 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16391 _ACEOF
16395 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16396 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16400 _ACEOF
16406 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
16407 #include <sys/types.h>
16408 #endif
16409 #ifdef HAVE_NETINET_IN_H
16410 #include <netinet/in.h>
16411 #endif
16413 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16417 _ACEOF
16423 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16424 #include <resolv.h>
16425 #endif
16427 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_STRUCT___RES_STATE 1
16431 _ACEOF
16437 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
16438 #include <resolv.h>
16439 #endif
16441 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16445 _ACEOF
16451 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16452 #include <sys/types.h>
16453 #endif
16454 #ifdef HAVE_NETINET_IN_H
16455 # include <netinet/in.h>
16456 #endif
16457 #ifdef HAVE_ARPA_NAMESER_H
16458 # include <arpa/nameser.h>
16459 #endif
16461 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16463 cat >>confdefs.h <<_ACEOF
16464 #define HAVE_NS_MSG__MSG_PTR 1
16465 _ACEOF
16471 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16472 #include <sys/types.h>
16473 #endif
16474 #ifdef HAVE_NETINET_IP_H
16475 #include <netinet/ip.h>
16476 #endif
16477 #ifdef HAVE_NETINET_IP_ICMP_H
16478 #include <netinet/ip_icmp.h>
16479 #endif
16480 #ifdef HAVE_NETINET_ICMP_VAR_H
16481 #include <netinet/icmp_var.h>
16482 #endif
16484 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16488 _ACEOF
16494 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16495 #include <sys/types.h>
16496 #endif
16497 #ifdef HAVE_ALIAS_H
16498 #include <alias.h>
16499 #endif
16500 #ifdef HAVE_SYS_SOCKET_H
16501 #include <sys/socket.h>
16502 #endif
16503 #ifdef HAVE_SYS_SOCKETVAR_H
16504 #include <sys/socketvar.h>
16505 #endif
16506 #ifdef HAVE_SYS_TIMEOUT_H
16507 #include <sys/timeout.h>
16508 #endif
16509 #ifdef HAVE_NETINET_IN_H
16510 #include <netinet/in.h>
16511 #endif
16512 #ifdef HAVE_NETINET_IN_SYSTM_H
16513 #include <netinet/in_systm.h>
16514 #endif
16515 #ifdef HAVE_NETINET_IP_H
16516 #include <netinet/ip.h>
16517 #endif
16518 #ifdef HAVE_NETINET_IP_VAR_H
16519 #include <netinet/ip_var.h>
16520 #endif
16521 #ifdef HAVE_NETINET_IP_ICMP_H
16522 #include <netinet/ip_icmp.h>
16523 #endif
16524 #ifdef HAVE_NETINET_ICMP_VAR_H
16525 #include <netinet/icmp_var.h>
16526 #endif
16528 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16530 cat >>confdefs.h <<_ACEOF
16531 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16532 _ACEOF
16538 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16539 #include <sys/types.h>
16540 #endif
16541 #ifdef HAVE_SYS_SOCKETVAR_H
16542 #include <sys/socketvar.h>
16543 #endif
16544 #ifdef HAVE_NETINET_IN_H
16545 #include <netinet/in.h>
16546 #endif
16547 #ifdef HAVE_NETINET_IP_VAR_H
16548 #include <netinet/ip_var.h>
16549 #endif
16551 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16553 cat >>confdefs.h <<_ACEOF
16554 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16555 _ACEOF
16561 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
16562 #include <netinet/ip_var.h>
16563 #endif
16565 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16567 cat >>confdefs.h <<_ACEOF
16568 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16569 _ACEOF
16575 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16576 #include <sys/types.h>
16577 #endif
16578 #ifdef HAVE_SYS_SOCKETVAR_H
16579 #include <sys/socketvar.h>
16580 #endif
16581 #ifdef HAVE_NETINET_IN_H
16582 #include <netinet/in.h>
16583 #endif
16584 #ifdef HAVE_NETINET_TCP_H
16585 #include <netinet/tcp.h>
16586 #endif
16587 #ifdef HAVE_NETINET_TCP_VAR_H
16588 #include <netinet/tcp_var.h>
16589 #endif
16591 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16593 cat >>confdefs.h <<_ACEOF
16594 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16595 _ACEOF
16601 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
16602 #include <netinet/tcp_var.h>
16603 #endif
16605 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16607 cat >>confdefs.h <<_ACEOF
16608 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16609 _ACEOF
16615 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16616 #include <sys/types.h>
16617 #endif
16618 #ifdef HAVE_NETINET_IN_H
16619 #include <netinet/in.h>
16620 #endif
16621 #ifdef HAVE_NETINET_IP_VAR_H
16622 #include <netinet/ip_var.h>
16623 #endif
16624 #ifdef HAVE_NETINET_UDP_H
16625 #include <netinet/udp.h>
16626 #endif
16627 #ifdef HAVE_NETINET_UDP_VAR_H
16628 #include <netinet/udp_var.h>
16629 #endif
16631 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16635 _ACEOF
16641 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16642 #include <sys/types.h>
16643 #endif
16644 #ifdef HAVE_NET_IF_H
16645 # include <net/if.h>
16646 #endif
16648 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16650 cat >>confdefs.h <<_ACEOF
16651 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16652 _ACEOF
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16659 $as_echo_n "checking for timezone variable... " >&6; }
16660 if ${ac_cv_have_timezone+:} false; then :
16661 $as_echo_n "(cached) " >&6
16662 else
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 #include <time.h>
16667 main ()
16669 timezone = 1
16671 return 0;
16673 _ACEOF
16674 if ac_fn_c_try_link "$LINENO"; then :
16675 ac_cv_have_timezone="yes"
16676 else
16677 ac_cv_have_timezone="no"
16679 rm -f core conftest.err conftest.$ac_objext \
16680 conftest$ac_exeext conftest.$ac_ext
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16683 $as_echo "$ac_cv_have_timezone" >&6; }
16684 if test "$ac_cv_have_timezone" = "yes"
16685 then
16687 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16691 $as_echo_n "checking for daylight variable... " >&6; }
16692 if ${ac_cv_have_daylight+:} false; then :
16693 $as_echo_n "(cached) " >&6
16694 else
16695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16696 /* end confdefs.h. */
16697 #include <time.h>
16699 main ()
16701 daylight = 1
16703 return 0;
16705 _ACEOF
16706 if ac_fn_c_try_link "$LINENO"; then :
16707 ac_cv_have_daylight="yes"
16708 else
16709 ac_cv_have_daylight="no"
16711 rm -f core conftest.err conftest.$ac_objext \
16712 conftest$ac_exeext conftest.$ac_ext
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16715 $as_echo "$ac_cv_have_daylight" >&6; }
16716 if test "$ac_cv_have_daylight" = "yes"
16717 then
16719 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16723 ac_save_LIBS="$LIBS"
16724 LIBS="$LIBS -lm"
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16726 $as_echo_n "checking for isfinite... " >&6; }
16727 if ${ac_cv_have_isfinite+:} false; then :
16728 $as_echo_n "(cached) " >&6
16729 else
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16732 #define _GNU_SOURCE
16733 #include <math.h>
16735 main ()
16737 float f = 0.0; return isfinite(f)
16739 return 0;
16741 _ACEOF
16742 if ac_fn_c_try_link "$LINENO"; then :
16743 ac_cv_have_isfinite="yes"
16744 else
16745 ac_cv_have_isfinite="no"
16747 rm -f core conftest.err conftest.$ac_objext \
16748 conftest$ac_exeext conftest.$ac_ext
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16751 $as_echo "$ac_cv_have_isfinite" >&6; }
16752 if test "$ac_cv_have_isfinite" = "yes"
16753 then
16755 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16760 $as_echo_n "checking for isinf... " >&6; }
16761 if ${ac_cv_have_isinf+:} false; then :
16762 $as_echo_n "(cached) " >&6
16763 else
16764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16765 /* end confdefs.h. */
16766 #include <math.h>
16768 main ()
16770 float f = 0.0; return isinf(f)
16772 return 0;
16774 _ACEOF
16775 if ac_fn_c_try_link "$LINENO"; then :
16776 ac_cv_have_isinf="yes"
16777 else
16778 ac_cv_have_isinf="no"
16780 rm -f core conftest.err conftest.$ac_objext \
16781 conftest$ac_exeext conftest.$ac_ext
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16784 $as_echo "$ac_cv_have_isinf" >&6; }
16785 if test "$ac_cv_have_isinf" = "yes"
16786 then
16788 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16793 $as_echo_n "checking for isnan... " >&6; }
16794 if ${ac_cv_have_isnan+:} false; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h. */
16799 #include <math.h>
16801 main ()
16803 float f = 0.0; return isnan(f)
16805 return 0;
16807 _ACEOF
16808 if ac_fn_c_try_link "$LINENO"; then :
16809 ac_cv_have_isnan="yes"
16810 else
16811 ac_cv_have_isnan="no"
16813 rm -f core conftest.err conftest.$ac_objext \
16814 conftest$ac_exeext conftest.$ac_ext
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16817 $as_echo "$ac_cv_have_isnan" >&6; }
16818 if test "$ac_cv_have_isnan" = "yes"
16819 then
16821 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16825 for ac_func in \
16826 cbrt \
16827 cbrtf \
16828 erf \
16829 erff \
16830 exp2 \
16831 exp2f \
16832 llrint \
16833 llrintf \
16834 llround \
16835 llroundf \
16836 log2 \
16837 log2f \
16838 lrint \
16839 lrintf \
16840 lround \
16841 lroundf \
16842 rint \
16843 rintf \
16844 round \
16845 roundf \
16846 trunc \
16847 truncf
16849 do :
16850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16851 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16852 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16853 cat >>confdefs.h <<_ACEOF
16854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16855 _ACEOF
16858 done
16860 LIBS="$ac_save_LIBS"
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16863 $as_echo_n "checking for __builtin_clz... " >&6; }
16864 if ${ac_cv_have___builtin_clz+:} false; then :
16865 $as_echo_n "(cached) " >&6
16866 else
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16871 main ()
16873 return __builtin_clz(1)
16875 return 0;
16877 _ACEOF
16878 if ac_fn_c_try_link "$LINENO"; then :
16879 ac_cv_have___builtin_clz="yes"
16880 else
16881 ac_cv_have___builtin_clz="no"
16883 rm -f core conftest.err conftest.$ac_objext \
16884 conftest$ac_exeext conftest.$ac_ext
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16887 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16888 if test "$ac_cv_have___builtin_clz" = "yes"
16889 then
16891 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16896 $as_echo_n "checking for __builtin_popcount... " >&6; }
16897 if ${ac_cv_have___builtin_popcount+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16904 main ()
16906 return __builtin_popcount(1)
16908 return 0;
16910 _ACEOF
16911 if ac_fn_c_try_link "$LINENO"; then :
16912 ac_cv_have___builtin_popcount="yes"
16913 else
16914 ac_cv_have___builtin_popcount="no"
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext conftest.$ac_ext
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16920 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16921 if test "$ac_cv_have___builtin_popcount" = "yes"
16922 then
16924 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16929 case $host_cpu in
16930 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16931 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16932 if ${ac_cv_cpp_def___i386__+:} false; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16937 #ifndef __i386__
16939 #endif
16940 _ACEOF
16941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16942 $EGREP "yes" >/dev/null 2>&1; then :
16943 ac_cv_cpp_def___i386__=yes
16944 else
16945 ac_cv_cpp_def___i386__=no
16947 rm -f conftest*
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16951 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16952 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16953 CFLAGS="$CFLAGS -D__i386__"
16954 LINTFLAGS="$LINTFLAGS -D__i386__"
16955 fi ;;
16956 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16957 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16958 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16959 $as_echo_n "(cached) " >&6
16960 else
16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16963 #ifndef __x86_64__
16965 #endif
16966 _ACEOF
16967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16968 $EGREP "yes" >/dev/null 2>&1; then :
16969 ac_cv_cpp_def___x86_64__=yes
16970 else
16971 ac_cv_cpp_def___x86_64__=no
16973 rm -f conftest*
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16977 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16978 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16979 CFLAGS="$CFLAGS -D__x86_64__"
16980 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16981 fi ;;
16982 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16983 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16984 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16985 $as_echo_n "(cached) " >&6
16986 else
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 #ifndef __sparc64__
16991 #endif
16992 _ACEOF
16993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16994 $EGREP "yes" >/dev/null 2>&1; then :
16995 ac_cv_cpp_def___sparc64__=yes
16996 else
16997 ac_cv_cpp_def___sparc64__=no
16999 rm -f conftest*
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17003 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17004 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17005 CFLAGS="$CFLAGS -D__sparc64__"
17006 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17007 fi ;;
17008 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17009 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17010 if ${ac_cv_cpp_def___sparc__+:} false; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 #ifndef __sparc__
17017 #endif
17018 _ACEOF
17019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17020 $EGREP "yes" >/dev/null 2>&1; then :
17021 ac_cv_cpp_def___sparc__=yes
17022 else
17023 ac_cv_cpp_def___sparc__=no
17025 rm -f conftest*
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17029 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17030 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17031 CFLAGS="$CFLAGS -D__sparc__"
17032 LINTFLAGS="$LINTFLAGS -D__sparc__"
17033 fi ;;
17034 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17035 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17036 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17037 $as_echo_n "(cached) " >&6
17038 else
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 #ifndef __powerpc64__
17043 #endif
17044 _ACEOF
17045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17046 $EGREP "yes" >/dev/null 2>&1; then :
17047 ac_cv_cpp_def___powerpc64__=yes
17048 else
17049 ac_cv_cpp_def___powerpc64__=no
17051 rm -f conftest*
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17055 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17056 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17057 CFLAGS="$CFLAGS -D__powerpc64__"
17058 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17059 fi ;;
17060 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17061 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17062 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17063 $as_echo_n "(cached) " >&6
17064 else
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17067 #ifndef __powerpc__
17069 #endif
17070 _ACEOF
17071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17072 $EGREP "yes" >/dev/null 2>&1; then :
17073 ac_cv_cpp_def___powerpc__=yes
17074 else
17075 ac_cv_cpp_def___powerpc__=no
17077 rm -f conftest*
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17081 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17082 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17083 CFLAGS="$CFLAGS -D__powerpc__"
17084 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17085 fi ;;
17086 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17087 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17088 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17089 $as_echo_n "(cached) " >&6
17090 else
17091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h. */
17093 #ifndef __aarch64__
17095 #endif
17096 _ACEOF
17097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17098 $EGREP "yes" >/dev/null 2>&1; then :
17099 ac_cv_cpp_def___aarch64__=yes
17100 else
17101 ac_cv_cpp_def___aarch64__=no
17103 rm -f conftest*
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17107 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17108 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17109 CFLAGS="$CFLAGS -D__aarch64__"
17110 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17111 fi ;;
17112 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17113 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17114 if ${ac_cv_cpp_def___arm__+:} false; then :
17115 $as_echo_n "(cached) " >&6
17116 else
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #ifndef __arm__
17121 #endif
17122 _ACEOF
17123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17124 $EGREP "yes" >/dev/null 2>&1; then :
17125 ac_cv_cpp_def___arm__=yes
17126 else
17127 ac_cv_cpp_def___arm__=no
17129 rm -f conftest*
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17133 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17134 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17135 CFLAGS="$CFLAGS -D__arm__"
17136 LINTFLAGS="$LINTFLAGS -D__arm__"
17137 fi ;;
17138 esac
17140 case $host_vendor in
17141 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17142 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17143 if ${ac_cv_cpp_def___sun__+:} false; then :
17144 $as_echo_n "(cached) " >&6
17145 else
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17148 #ifndef __sun__
17150 #endif
17151 _ACEOF
17152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17153 $EGREP "yes" >/dev/null 2>&1; then :
17154 ac_cv_cpp_def___sun__=yes
17155 else
17156 ac_cv_cpp_def___sun__=no
17158 rm -f conftest*
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17162 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17163 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17164 CFLAGS="$CFLAGS -D__sun__"
17165 LINTFLAGS="$LINTFLAGS -D__sun__"
17166 fi ;;
17167 esac
17173 ac_config_commands="$ac_config_commands include/stamp-h"
17175 $as_echo_n "creating Makefile rules..." >&6
17177 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17178 SOCKET_LIBS = $SOCKET_LIBS
17179 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17180 IOKIT_LIBS = $IOKIT_LIBS
17181 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17182 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17183 CORESERVICES_LIBS = $CORESERVICES_LIBS
17184 APPKIT_LIBS = $APPKIT_LIBS
17185 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17186 SECURITY_LIBS = $SECURITY_LIBS
17187 COREAUDIO_LIBS = $COREAUDIO_LIBS
17188 OPENAL_LIBS = $OPENAL_LIBS
17189 OPENCL_LIBS = $OPENCL_LIBS
17190 QUICKTIME_LIBS = $QUICKTIME_LIBS
17191 CARBON_LIBS = $CARBON_LIBS
17192 PTHREAD_LIBS = $PTHREAD_LIBS
17193 X_CFLAGS = $X_CFLAGS
17194 X_PRE_LIBS = $X_PRE_LIBS
17195 X_LIBS = $X_LIBS
17196 X_EXTRA_LIBS = $X_EXTRA_LIBS
17197 PCAP_LIBS = $PCAP_LIBS
17198 XML2_CFLAGS = $XML2_CFLAGS
17199 XML2_LIBS = $XML2_LIBS
17200 XSLT_CFLAGS = $XSLT_CFLAGS
17201 XSLT_LIBS = $XSLT_LIBS
17202 DBUS_CFLAGS = $DBUS_CFLAGS
17203 DBUS_LIBS = $DBUS_LIBS
17204 HAL_CFLAGS = $HAL_CFLAGS
17205 HAL_LIBS = $HAL_LIBS
17206 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17207 GNUTLS_LIBS = $GNUTLS_LIBS
17208 SANE_CFLAGS = $SANE_CFLAGS
17209 SANE_LIBS = $SANE_LIBS
17210 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17211 GPHOTO2_LIBS = $GPHOTO2_LIBS
17212 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17213 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17214 RESOLV_LIBS = $RESOLV_LIBS
17215 LCMS2_CFLAGS = $LCMS2_CFLAGS
17216 LCMS2_LIBS = $LCMS2_LIBS
17217 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17218 FREETYPE_LIBS = $FREETYPE_LIBS
17219 Z_LIBS = $Z_LIBS
17220 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17221 PULSE_CFLAGS = $PULSE_CFLAGS
17222 PULSE_LIBS = $PULSE_LIBS
17223 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17224 GSTREAMER_LIBS = $GSTREAMER_LIBS
17225 ALSA_LIBS = $ALSA_LIBS
17226 OSS4_CFLAGS = $OSS4_CFLAGS
17227 CAPI20_CFLAGS = $CAPI20_CFLAGS
17228 CAPI20_LIBS = $CAPI20_LIBS
17229 CUPS_CFLAGS = $CUPS_CFLAGS
17230 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17231 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17232 JPEG_CFLAGS = $JPEG_CFLAGS
17233 JPEG_LIBS = $JPEG_LIBS
17234 PNG_CFLAGS = $PNG_CFLAGS
17235 PNG_LIBS = $PNG_LIBS
17236 TIFF_CFLAGS = $TIFF_CFLAGS
17237 TIFF_LIBS = $TIFF_LIBS
17238 MPG123_CFLAGS = $MPG123_CFLAGS
17239 MPG123_LIBS = $MPG123_LIBS
17240 KSTAT_LIBS = $KSTAT_LIBS
17241 PROCSTAT_LIBS = $PROCSTAT_LIBS
17242 NETAPI_CFLAGS = $NETAPI_CFLAGS
17243 NETAPI_LIBS = $NETAPI_LIBS
17244 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17245 DL_LIBS = $DL_LIBS
17246 POLL_LIBS = $POLL_LIBS
17247 RT_LIBS = $RT_LIBS
17248 LDAP_LIBS = $LDAP_LIBS
17253 wine_fn_append_rule "
17254 # Rules automatically generated by configure
17256 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17258 .INIT: Makefile
17259 .MAKEFILEDEPS:
17260 all: Makefile
17261 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17262 @./config.status Make.tmp Makefile
17263 depend: \$(MAKEDEP) dummy
17264 \$(MAKEDEP)"
17266 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17267 .gitignore: config.status
17268 @./config.status .gitignore"
17270 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17271 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17273 if test "x$enable_fonts" != xno; then
17274 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17275 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17276 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17277 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17278 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17279 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17281 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17282 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17283 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17284 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17285 ac_config_links="$ac_config_links wine:tools/winewrapper"
17286 wine_fn_config_symlink wine
17287 if test "x$enable_win64" != xno; then
17288 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17289 wine_fn_config_symlink wine64
17292 wine_fn_config_dll acledit enable_acledit
17293 wine_fn_config_dll aclui enable_aclui implib
17294 wine_fn_config_dll activeds enable_activeds implib
17295 wine_fn_config_dll actxprxy enable_actxprxy clean
17296 wine_fn_config_lib adsiid
17297 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17298 wine_fn_config_test dlls/advapi32/tests advapi32_test
17299 wine_fn_config_dll advpack enable_advpack implib
17300 wine_fn_config_test dlls/advpack/tests advpack_test
17301 wine_fn_config_dll amstream enable_amstream clean
17302 wine_fn_config_test dlls/amstream/tests amstream_test
17303 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17304 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17305 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17307 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17308 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17310 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17311 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17313 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17314 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17316 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17317 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17318 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17319 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17320 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17322 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17323 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17325 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17326 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17327 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17328 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17329 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17331 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17332 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17334 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17335 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17337 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17338 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17339 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17341 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17342 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17343 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17344 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17345 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17347 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17348 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17349 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17350 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17351 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17353 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17354 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17356 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17357 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17358 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17359 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17360 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17361 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17362 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17363 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17364 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17365 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17366 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17367 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17369 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17370 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17371 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17372 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17373 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17374 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17375 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17376 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17377 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17378 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17379 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17380 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17381 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17382 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17383 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17384 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17385 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17386 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17387 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17388 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17389 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17390 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17391 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17392 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17393 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17394 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17395 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17396 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17397 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17398 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17399 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17400 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17401 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17402 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17403 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17404 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17405 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17406 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17407 wine_fn_config_dll apphelp enable_apphelp
17408 wine_fn_config_test dlls/apphelp/tests apphelp_test
17409 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17410 wine_fn_config_dll atl enable_atl clean,implib
17411 wine_fn_config_test dlls/atl/tests atl_test
17412 wine_fn_config_dll atl100 enable_atl100 clean,implib
17413 wine_fn_config_test dlls/atl100/tests atl100_test
17414 wine_fn_config_dll atl110 enable_atl110 clean
17415 wine_fn_config_dll atl80 enable_atl80 clean,implib
17416 wine_fn_config_test dlls/atl80/tests atl80_test
17417 wine_fn_config_dll atl90 enable_atl90 clean
17418 wine_fn_config_dll authz enable_authz
17419 wine_fn_config_dll avicap32 enable_avicap32 implib
17420 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17421 wine_fn_config_test dlls/avifil32/tests avifil32_test
17422 wine_fn_config_dll avifile.dll16 enable_win16
17423 wine_fn_config_dll avrt enable_avrt implib
17424 wine_fn_config_dll bcrypt enable_bcrypt implib
17425 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17426 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17427 wine_fn_config_dll browseui enable_browseui clean
17428 wine_fn_config_test dlls/browseui/tests browseui_test
17429 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17430 wine_fn_config_dll cabinet enable_cabinet implib
17431 wine_fn_config_test dlls/cabinet/tests cabinet_test
17432 wine_fn_config_dll capi2032 enable_capi2032 implib
17433 wine_fn_config_dll cards enable_cards implib
17434 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17435 wine_fn_config_dll clusapi enable_clusapi implib
17436 wine_fn_config_dll combase enable_combase
17437 wine_fn_config_test dlls/combase/tests combase_test
17438 wine_fn_config_dll comcat enable_comcat
17439 wine_fn_config_test dlls/comcat/tests comcat_test
17440 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17441 wine_fn_config_test dlls/comctl32/tests comctl32_test
17442 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17443 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17444 wine_fn_config_dll comm.drv16 enable_win16
17445 wine_fn_config_dll commdlg.dll16 enable_win16
17446 wine_fn_config_dll compobj.dll16 enable_win16
17447 wine_fn_config_dll compstui enable_compstui implib
17448 wine_fn_config_dll comsvcs enable_comsvcs implib
17449 wine_fn_config_dll connect enable_connect
17450 wine_fn_config_dll credui enable_credui clean,implib
17451 wine_fn_config_test dlls/credui/tests credui_test
17452 wine_fn_config_dll crtdll enable_crtdll implib
17453 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17454 wine_fn_config_test dlls/crypt32/tests crypt32_test
17455 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17456 wine_fn_config_dll cryptdll enable_cryptdll implib
17457 wine_fn_config_dll cryptext enable_cryptext
17458 wine_fn_config_dll cryptnet enable_cryptnet implib
17459 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17460 wine_fn_config_dll cryptui enable_cryptui clean,implib
17461 wine_fn_config_test dlls/cryptui/tests cryptui_test
17462 wine_fn_config_dll ctapi32 enable_ctapi32
17463 wine_fn_config_dll ctl3d.dll16 enable_win16
17464 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17465 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17466 wine_fn_config_dll d2d1 enable_d2d1 implib
17467 wine_fn_config_test dlls/d2d1/tests d2d1_test
17468 wine_fn_config_dll d3d10 enable_d3d10 implib
17469 wine_fn_config_test dlls/d3d10/tests d3d10_test
17470 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17471 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17472 wine_fn_config_dll d3d10core enable_d3d10core implib
17473 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17474 wine_fn_config_dll d3d11 enable_d3d11 implib
17475 wine_fn_config_test dlls/d3d11/tests d3d11_test
17476 wine_fn_config_dll d3d8 enable_d3d8 implib
17477 wine_fn_config_test dlls/d3d8/tests d3d8_test
17478 wine_fn_config_dll d3d9 enable_d3d9 implib
17479 wine_fn_config_test dlls/d3d9/tests d3d9_test
17480 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17481 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17482 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17483 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17484 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17485 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17486 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17487 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17488 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17489 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17490 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17491 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17492 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17493 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17494 wine_fn_config_dll d3dim enable_d3dim implib
17495 wine_fn_config_dll d3drm enable_d3drm implib
17496 wine_fn_config_test dlls/d3drm/tests d3drm_test
17497 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17498 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17499 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17500 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17501 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17502 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17503 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17504 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17505 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17506 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17507 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17508 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17509 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17510 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17511 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17512 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17513 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17514 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17515 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17516 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17517 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17518 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17519 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17520 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17521 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17522 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17523 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17524 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17525 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17526 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17527 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17528 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17529 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17530 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17531 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17532 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17533 wine_fn_config_dll davclnt enable_davclnt
17534 wine_fn_config_dll dbgeng enable_dbgeng implib
17535 wine_fn_config_dll dbghelp enable_dbghelp implib
17536 wine_fn_config_dll dciman32 enable_dciman32 implib
17537 wine_fn_config_dll ddeml.dll16 enable_win16
17538 wine_fn_config_dll ddraw enable_ddraw clean,implib
17539 wine_fn_config_test dlls/ddraw/tests ddraw_test
17540 wine_fn_config_dll ddrawex enable_ddrawex clean
17541 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17542 wine_fn_config_dll devenum enable_devenum clean
17543 wine_fn_config_test dlls/devenum/tests devenum_test
17544 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17545 wine_fn_config_dll difxapi enable_difxapi
17546 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17547 wine_fn_config_test dlls/dinput/tests dinput_test
17548 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17549 wine_fn_config_test dlls/dinput8/tests dinput8_test
17550 wine_fn_config_dll dispdib.dll16 enable_win16
17551 wine_fn_config_dll dispex enable_dispex clean
17552 wine_fn_config_test dlls/dispex/tests dispex_test
17553 wine_fn_config_dll display.drv16 enable_win16
17554 wine_fn_config_dll dmband enable_dmband clean
17555 wine_fn_config_test dlls/dmband/tests dmband_test
17556 wine_fn_config_dll dmcompos enable_dmcompos clean
17557 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17558 wine_fn_config_dll dmime enable_dmime clean
17559 wine_fn_config_test dlls/dmime/tests dmime_test
17560 wine_fn_config_dll dmloader enable_dmloader clean
17561 wine_fn_config_test dlls/dmloader/tests dmloader_test
17562 wine_fn_config_dll dmscript enable_dmscript clean
17563 wine_fn_config_test dlls/dmscript/tests dmscript_test
17564 wine_fn_config_dll dmstyle enable_dmstyle clean
17565 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17566 wine_fn_config_dll dmsynth enable_dmsynth clean
17567 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17568 wine_fn_config_dll dmusic enable_dmusic clean
17569 wine_fn_config_test dlls/dmusic/tests dmusic_test
17570 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17571 wine_fn_config_dll dnsapi enable_dnsapi implib
17572 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17573 wine_fn_config_dll dplay enable_dplay implib
17574 wine_fn_config_dll dplayx enable_dplayx clean,implib
17575 wine_fn_config_test dlls/dplayx/tests dplayx_test
17576 wine_fn_config_dll dpnaddr enable_dpnaddr
17577 wine_fn_config_dll dpnet enable_dpnet clean,implib
17578 wine_fn_config_test dlls/dpnet/tests dpnet_test
17579 wine_fn_config_dll dpnhpast enable_dpnhpast
17580 wine_fn_config_dll dpnlobby enable_dpnlobby
17581 wine_fn_config_dll dpvoice enable_dpvoice clean
17582 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17583 wine_fn_config_dll dpwsockx enable_dpwsockx
17584 wine_fn_config_dll drmclien enable_drmclien
17585 wine_fn_config_dll dsound enable_dsound clean,implib
17586 wine_fn_config_test dlls/dsound/tests dsound_test
17587 wine_fn_config_dll dssenh enable_dssenh
17588 wine_fn_config_test dlls/dssenh/tests dssenh_test
17589 wine_fn_config_dll dswave enable_dswave clean
17590 wine_fn_config_test dlls/dswave/tests dswave_test
17591 wine_fn_config_dll dwmapi enable_dwmapi implib
17592 wine_fn_config_dll dwrite enable_dwrite implib
17593 wine_fn_config_test dlls/dwrite/tests dwrite_test
17594 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17595 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17596 wine_fn_config_lib dxerr8
17597 wine_fn_config_lib dxerr9
17598 wine_fn_config_dll dxgi enable_dxgi implib
17599 wine_fn_config_test dlls/dxgi/tests dxgi_test
17600 wine_fn_config_lib dxguid
17601 wine_fn_config_dll dxva2 enable_dxva2
17602 wine_fn_config_dll esent enable_esent
17603 wine_fn_config_dll evr enable_evr
17604 wine_fn_config_dll explorerframe enable_explorerframe clean
17605 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17606 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17607 wine_fn_config_dll faultrep enable_faultrep implib
17608 wine_fn_config_test dlls/faultrep/tests faultrep_test
17609 wine_fn_config_dll fltlib enable_fltlib
17610 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17611 wine_fn_config_dll fntcache enable_fntcache
17612 wine_fn_config_dll fontsub enable_fontsub
17613 wine_fn_config_dll fusion enable_fusion
17614 wine_fn_config_test dlls/fusion/tests fusion_test
17615 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17616 wine_fn_config_dll gameux enable_gameux clean
17617 wine_fn_config_test dlls/gameux/tests gameux_test
17618 wine_fn_config_dll gdi.exe16 enable_win16
17619 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17620 wine_fn_config_test dlls/gdi32/tests gdi32_test
17621 wine_fn_config_dll gdiplus enable_gdiplus implib
17622 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17623 wine_fn_config_dll glu32 enable_glu32 implib
17624 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17625 wine_fn_config_dll gpkcsp enable_gpkcsp
17626 wine_fn_config_dll hal enable_hal
17627 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17628 wine_fn_config_dll hid enable_hid implib
17629 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17630 wine_fn_config_dll hlink enable_hlink clean,implib
17631 wine_fn_config_test dlls/hlink/tests hlink_test
17632 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17633 wine_fn_config_dll httpapi enable_httpapi
17634 wine_fn_config_dll iccvid enable_iccvid clean
17635 wine_fn_config_dll icmp enable_icmp
17636 wine_fn_config_dll ieframe enable_ieframe clean,implib
17637 wine_fn_config_test dlls/ieframe/tests ieframe_test
17638 wine_fn_config_dll ifsmgr.vxd enable_win16
17639 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17640 wine_fn_config_dll imagehlp enable_imagehlp implib
17641 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17642 wine_fn_config_dll imm.dll16 enable_win16
17643 wine_fn_config_dll imm32 enable_imm32 implib
17644 wine_fn_config_test dlls/imm32/tests imm32_test
17645 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17646 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17647 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17648 wine_fn_config_dll inetmib1 enable_inetmib1
17649 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17650 wine_fn_config_dll infosoft enable_infosoft clean
17651 wine_fn_config_test dlls/infosoft/tests infosoft_test
17652 wine_fn_config_dll initpki enable_initpki
17653 wine_fn_config_dll inkobj enable_inkobj
17654 wine_fn_config_dll inseng enable_inseng clean
17655 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17656 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17657 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17658 wine_fn_config_dll itircl enable_itircl
17659 wine_fn_config_dll itss enable_itss clean
17660 wine_fn_config_test dlls/itss/tests itss_test
17661 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17662 wine_fn_config_dll jscript enable_jscript clean
17663 wine_fn_config_test dlls/jscript/tests jscript_test
17664 wine_fn_config_dll jsproxy enable_jsproxy implib
17665 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17666 wine_fn_config_test dlls/kernel32/tests kernel32_test
17667 wine_fn_config_dll keyboard.drv16 enable_win16
17668 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17669 wine_fn_config_dll ksuser enable_ksuser
17670 wine_fn_config_dll ktmw32 enable_ktmw32
17671 wine_fn_config_dll loadperf enable_loadperf implib
17672 wine_fn_config_dll localspl enable_localspl clean
17673 wine_fn_config_test dlls/localspl/tests localspl_test
17674 wine_fn_config_dll localui enable_localui clean
17675 wine_fn_config_test dlls/localui/tests localui_test
17676 wine_fn_config_dll lz32 enable_lz32 implib
17677 wine_fn_config_test dlls/lz32/tests lz32_test
17678 wine_fn_config_dll lzexpand.dll16 enable_win16
17679 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17680 wine_fn_config_test dlls/mapi32/tests mapi32_test
17681 wine_fn_config_dll mapistub enable_mapistub
17682 wine_fn_config_dll mciavi32 enable_mciavi32
17683 wine_fn_config_dll mcicda enable_mcicda
17684 wine_fn_config_dll mciqtz32 enable_mciqtz32
17685 wine_fn_config_dll mciseq enable_mciseq
17686 wine_fn_config_dll mciwave enable_mciwave
17687 wine_fn_config_dll mf enable_mf
17688 wine_fn_config_dll mfplat enable_mfplat
17689 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17690 wine_fn_config_dll mgmtapi enable_mgmtapi
17691 wine_fn_config_dll midimap enable_midimap
17692 wine_fn_config_dll mlang enable_mlang clean,implib
17693 wine_fn_config_test dlls/mlang/tests mlang_test
17694 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17695 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17696 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17697 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17698 wine_fn_config_dll mmdevldr.vxd enable_win16
17699 wine_fn_config_dll mmsystem.dll16 enable_win16
17700 wine_fn_config_dll monodebg.vxd enable_win16
17701 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17702 wine_fn_config_dll mouse.drv16 enable_win16
17703 wine_fn_config_dll mpr enable_mpr clean,implib
17704 wine_fn_config_test dlls/mpr/tests mpr_test
17705 wine_fn_config_dll mprapi enable_mprapi implib
17706 wine_fn_config_dll msacm.dll16 enable_win16
17707 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17708 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17709 wine_fn_config_test dlls/msacm32/tests msacm32_test
17710 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17711 wine_fn_config_dll msasn1 enable_msasn1 implib
17712 wine_fn_config_dll mscat32 enable_mscat32
17713 wine_fn_config_dll mscms enable_mscms implib
17714 wine_fn_config_test dlls/mscms/tests mscms_test
17715 wine_fn_config_dll mscoree enable_mscoree clean
17716 wine_fn_config_test dlls/mscoree/tests mscoree_test
17717 wine_fn_config_dll msctf enable_msctf clean
17718 wine_fn_config_test dlls/msctf/tests msctf_test
17719 wine_fn_config_dll msctfp enable_msctfp clean
17720 wine_fn_config_dll msdaps enable_msdaps clean
17721 wine_fn_config_dll msdelta enable_msdelta
17722 wine_fn_config_dll msdmo enable_msdmo implib
17723 wine_fn_config_test dlls/msdmo/tests msdmo_test
17724 wine_fn_config_dll msdrm enable_msdrm
17725 wine_fn_config_dll msftedit enable_msftedit
17726 wine_fn_config_dll msg711.acm enable_msg711_acm
17727 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17728 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17729 wine_fn_config_dll mshtml enable_mshtml clean,implib
17730 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17731 wine_fn_config_dll msi enable_msi clean,implib
17732 wine_fn_config_test dlls/msi/tests msi_test
17733 wine_fn_config_dll msident enable_msident clean
17734 wine_fn_config_dll msimg32 enable_msimg32 implib
17735 wine_fn_config_dll msimsg enable_msimsg
17736 wine_fn_config_dll msimtf enable_msimtf clean
17737 wine_fn_config_dll msisip enable_msisip
17738 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17739 wine_fn_config_dll msls31 enable_msls31
17740 wine_fn_config_dll msnet32 enable_msnet32
17741 wine_fn_config_dll mspatcha enable_mspatcha implib
17742 wine_fn_config_dll msrle32 enable_msrle32 clean
17743 wine_fn_config_test dlls/msrle32/tests msrle32_test
17744 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17745 wine_fn_config_dll mssign32 enable_mssign32
17746 wine_fn_config_dll mssip32 enable_mssip32
17747 wine_fn_config_dll mstask enable_mstask clean
17748 wine_fn_config_test dlls/mstask/tests mstask_test
17749 wine_fn_config_dll msvcirt enable_msvcirt
17750 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17751 wine_fn_config_dll msvcm80 enable_msvcm80
17752 wine_fn_config_dll msvcm90 enable_msvcm90
17753 wine_fn_config_dll msvcp100 enable_msvcp100
17754 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17755 wine_fn_config_dll msvcp110 enable_msvcp110
17756 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17757 wine_fn_config_dll msvcp120 enable_msvcp120
17758 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17759 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17760 wine_fn_config_dll msvcp60 enable_msvcp60
17761 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17762 wine_fn_config_dll msvcp70 enable_msvcp70
17763 wine_fn_config_dll msvcp71 enable_msvcp71
17764 wine_fn_config_dll msvcp80 enable_msvcp80
17765 wine_fn_config_dll msvcp90 enable_msvcp90
17766 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17767 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17768 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17769 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17770 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17771 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17772 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17773 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17774 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17775 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17776 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17777 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17778 wine_fn_config_dll msvcrt enable_msvcrt implib
17779 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17780 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17781 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17782 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17783 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17784 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17785 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17786 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17787 wine_fn_config_dll msvideo.dll16 enable_win16
17788 wine_fn_config_dll mswsock enable_mswsock implib
17789 wine_fn_config_dll msxml enable_msxml clean
17790 wine_fn_config_dll msxml2 enable_msxml2 clean
17791 wine_fn_config_dll msxml3 enable_msxml3 clean
17792 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17793 wine_fn_config_dll msxml4 enable_msxml4 clean
17794 wine_fn_config_dll msxml6 enable_msxml6 clean
17795 wine_fn_config_dll nddeapi enable_nddeapi implib
17796 wine_fn_config_dll ndis.sys enable_ndis_sys
17797 wine_fn_config_dll netapi32 enable_netapi32 implib
17798 wine_fn_config_test dlls/netapi32/tests netapi32_test
17799 wine_fn_config_dll netcfgx enable_netcfgx clean
17800 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17801 wine_fn_config_dll netprofm enable_netprofm clean
17802 wine_fn_config_test dlls/netprofm/tests netprofm_test
17803 wine_fn_config_dll newdev enable_newdev implib
17804 wine_fn_config_dll normaliz enable_normaliz implib
17805 wine_fn_config_dll npmshtml enable_npmshtml
17806 wine_fn_config_dll npptools enable_npptools
17807 wine_fn_config_dll ntdll enable_ntdll implib
17808 wine_fn_config_test dlls/ntdll/tests ntdll_test
17809 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17810 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17811 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17812 wine_fn_config_dll ntprint enable_ntprint
17813 wine_fn_config_test dlls/ntprint/tests ntprint_test
17814 wine_fn_config_dll objsel enable_objsel clean
17815 wine_fn_config_dll odbc32 enable_odbc32 implib
17816 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17817 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17818 wine_fn_config_dll odbccu32 enable_odbccu32
17819 wine_fn_config_dll ole2.dll16 enable_win16
17820 wine_fn_config_dll ole2conv.dll16 enable_win16
17821 wine_fn_config_dll ole2disp.dll16 enable_win16
17822 wine_fn_config_dll ole2nls.dll16 enable_win16
17823 wine_fn_config_dll ole2prox.dll16 enable_win16
17824 wine_fn_config_dll ole2thk.dll16 enable_win16
17825 wine_fn_config_dll ole32 enable_ole32 clean,implib
17826 wine_fn_config_test dlls/ole32/tests ole32_test
17827 wine_fn_config_dll oleacc enable_oleacc clean,implib
17828 wine_fn_config_test dlls/oleacc/tests oleacc_test
17829 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17830 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17831 wine_fn_config_dll olecli.dll16 enable_win16
17832 wine_fn_config_dll olecli32 enable_olecli32 implib
17833 wine_fn_config_dll oledb32 enable_oledb32 clean
17834 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17835 wine_fn_config_dll oledlg enable_oledlg clean,implib
17836 wine_fn_config_test dlls/oledlg/tests oledlg_test
17837 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17838 wine_fn_config_dll olesvr.dll16 enable_win16
17839 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17840 wine_fn_config_dll olethk32 enable_olethk32
17841 wine_fn_config_dll openal32 enable_openal32
17842 wine_fn_config_dll opencl enable_opencl
17843 wine_fn_config_dll opengl32 enable_opengl32 implib
17844 wine_fn_config_test dlls/opengl32/tests opengl32_test
17845 wine_fn_config_dll packager enable_packager clean
17846 wine_fn_config_test dlls/packager/tests packager_test
17847 wine_fn_config_dll pdh enable_pdh implib
17848 wine_fn_config_test dlls/pdh/tests pdh_test
17849 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17850 wine_fn_config_dll pidgen enable_pidgen
17851 wine_fn_config_dll powrprof enable_powrprof implib
17852 wine_fn_config_dll printui enable_printui
17853 wine_fn_config_dll prntvpt enable_prntvpt
17854 wine_fn_config_dll propsys enable_propsys clean,implib
17855 wine_fn_config_test dlls/propsys/tests propsys_test
17856 wine_fn_config_dll psapi enable_psapi implib
17857 wine_fn_config_test dlls/psapi/tests psapi_test
17858 wine_fn_config_dll pstorec enable_pstorec clean
17859 wine_fn_config_dll qcap enable_qcap
17860 wine_fn_config_test dlls/qcap/tests qcap_test
17861 wine_fn_config_dll qedit enable_qedit clean
17862 wine_fn_config_test dlls/qedit/tests qedit_test
17863 wine_fn_config_dll qmgr enable_qmgr clean
17864 wine_fn_config_test dlls/qmgr/tests qmgr_test
17865 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17866 wine_fn_config_dll quartz enable_quartz clean,implib
17867 wine_fn_config_test dlls/quartz/tests quartz_test clean
17868 wine_fn_config_dll query enable_query
17869 wine_fn_config_dll rasapi16.dll16 enable_win16
17870 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17871 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17872 wine_fn_config_dll rasdlg enable_rasdlg implib
17873 wine_fn_config_dll regapi enable_regapi
17874 wine_fn_config_dll resutils enable_resutils implib
17875 wine_fn_config_dll riched20 enable_riched20 clean,implib
17876 wine_fn_config_test dlls/riched20/tests riched20_test
17877 wine_fn_config_dll riched32 enable_riched32
17878 wine_fn_config_test dlls/riched32/tests riched32_test
17879 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17880 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17881 wine_fn_config_dll rsabase enable_rsabase
17882 wine_fn_config_dll rsaenh enable_rsaenh implib
17883 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17884 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17885 wine_fn_config_dll rtutils enable_rtutils implib
17886 wine_fn_config_dll samlib enable_samlib
17887 wine_fn_config_dll sane.ds enable_sane_ds clean
17888 wine_fn_config_dll scarddlg enable_scarddlg
17889 wine_fn_config_dll sccbase enable_sccbase
17890 wine_fn_config_dll schannel enable_schannel
17891 wine_fn_config_test dlls/schannel/tests schannel_test
17892 wine_fn_config_dll schedsvc enable_schedsvc clean
17893 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17894 wine_fn_config_dll scrrun enable_scrrun clean
17895 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17896 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17897 wine_fn_config_dll secur32 enable_secur32 implib
17898 wine_fn_config_test dlls/secur32/tests secur32_test
17899 wine_fn_config_dll security enable_security
17900 wine_fn_config_dll sensapi enable_sensapi implib
17901 wine_fn_config_dll serialui enable_serialui clean,implib
17902 wine_fn_config_test dlls/serialui/tests serialui_test
17903 wine_fn_config_dll setupapi enable_setupapi clean,implib
17904 wine_fn_config_test dlls/setupapi/tests setupapi_test
17905 wine_fn_config_dll setupx.dll16 enable_win16
17906 wine_fn_config_dll sfc enable_sfc implib
17907 wine_fn_config_dll sfc_os enable_sfc_os implib
17908 wine_fn_config_dll shdoclc enable_shdoclc clean
17909 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17910 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17911 wine_fn_config_dll shell.dll16 enable_win16
17912 wine_fn_config_dll shell32 enable_shell32 clean,implib
17913 wine_fn_config_test dlls/shell32/tests shell32_test
17914 wine_fn_config_dll shfolder enable_shfolder implib
17915 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17916 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17917 wine_fn_config_dll slbcsp enable_slbcsp
17918 wine_fn_config_dll slc enable_slc implib
17919 wine_fn_config_test dlls/slc/tests slc_test
17920 wine_fn_config_dll snmpapi enable_snmpapi implib
17921 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17922 wine_fn_config_dll softpub enable_softpub
17923 wine_fn_config_dll sound.drv16 enable_win16
17924 wine_fn_config_dll spoolss enable_spoolss implib
17925 wine_fn_config_test dlls/spoolss/tests spoolss_test
17926 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17927 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17928 wine_fn_config_dll sti enable_sti clean,implib
17929 wine_fn_config_test dlls/sti/tests sti_test
17930 wine_fn_config_dll storage.dll16 enable_win16
17931 wine_fn_config_dll stress.dll16 enable_win16
17932 wine_fn_config_lib strmbase
17933 wine_fn_config_lib strmiids
17934 wine_fn_config_dll svrapi enable_svrapi
17935 wine_fn_config_dll sxs enable_sxs implib
17936 wine_fn_config_test dlls/sxs/tests sxs_test
17937 wine_fn_config_dll system.drv16 enable_win16
17938 wine_fn_config_dll t2embed enable_t2embed
17939 wine_fn_config_dll tapi32 enable_tapi32 implib
17940 wine_fn_config_dll taskschd enable_taskschd clean
17941 wine_fn_config_test dlls/taskschd/tests taskschd_test
17942 wine_fn_config_dll tdi.sys enable_tdi_sys
17943 wine_fn_config_dll toolhelp.dll16 enable_win16
17944 wine_fn_config_dll traffic enable_traffic
17945 wine_fn_config_dll twain.dll16 enable_win16
17946 wine_fn_config_dll twain_32 enable_twain_32
17947 wine_fn_config_test dlls/twain_32/tests twain_32_test
17948 wine_fn_config_dll typelib.dll16 enable_win16
17949 wine_fn_config_dll ucrtbase enable_ucrtbase
17950 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17951 wine_fn_config_dll unicows enable_unicows implib
17952 wine_fn_config_dll updspapi enable_updspapi
17953 wine_fn_config_dll url enable_url implib
17954 wine_fn_config_dll urlmon enable_urlmon clean,implib
17955 wine_fn_config_test dlls/urlmon/tests urlmon_test
17956 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17957 wine_fn_config_dll user.exe16 enable_win16
17958 wine_fn_config_dll user32 enable_user32 clean,implib
17959 wine_fn_config_test dlls/user32/tests user32_test
17960 wine_fn_config_dll userenv enable_userenv implib
17961 wine_fn_config_test dlls/userenv/tests userenv_test
17962 wine_fn_config_dll usp10 enable_usp10 implib
17963 wine_fn_config_test dlls/usp10/tests usp10_test
17964 wine_fn_config_lib uuid
17965 wine_fn_config_dll uxtheme enable_uxtheme implib
17966 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17967 wine_fn_config_dll vbscript enable_vbscript clean
17968 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17969 wine_fn_config_dll vcomp enable_vcomp
17970 wine_fn_config_test dlls/vcomp/tests vcomp_test
17971 wine_fn_config_dll vcomp100 enable_vcomp100
17972 wine_fn_config_dll vcomp110 enable_vcomp110
17973 wine_fn_config_dll vcomp120 enable_vcomp120
17974 wine_fn_config_dll vcomp90 enable_vcomp90
17975 wine_fn_config_dll vcruntime140 enable_vcruntime140
17976 wine_fn_config_dll vdhcp.vxd enable_win16
17977 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17978 wine_fn_config_dll ver.dll16 enable_win16
17979 wine_fn_config_dll version enable_version implib
17980 wine_fn_config_test dlls/version/tests version_test
17981 wine_fn_config_dll vmm.vxd enable_win16
17982 wine_fn_config_dll vnbt.vxd enable_win16
17983 wine_fn_config_dll vnetbios.vxd enable_win16
17984 wine_fn_config_dll vssapi enable_vssapi
17985 wine_fn_config_dll vtdapi.vxd enable_win16
17986 wine_fn_config_dll vwin32.vxd enable_win16
17987 wine_fn_config_dll w32skrnl enable_win16
17988 wine_fn_config_dll w32sys.dll16 enable_win16
17989 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17990 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17991 wine_fn_config_dll wbemprox enable_wbemprox clean
17992 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17993 wine_fn_config_dll webservices enable_webservices implib
17994 wine_fn_config_test dlls/webservices/tests webservices_test
17995 wine_fn_config_dll wer enable_wer implib
17996 wine_fn_config_test dlls/wer/tests wer_test
17997 wine_fn_config_dll wevtapi enable_wevtapi
17998 wine_fn_config_dll wiaservc enable_wiaservc clean
17999 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18000 wine_fn_config_dll wimgapi enable_wimgapi
18001 wine_fn_config_dll win32s16.dll16 enable_win16
18002 wine_fn_config_dll win87em.dll16 enable_win16
18003 wine_fn_config_dll winaspi.dll16 enable_win16
18004 wine_fn_config_dll windebug.dll16 enable_win16
18005 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18006 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18007 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18008 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18009 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18010 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18011 wine_fn_config_lib winecrt0
18012 wine_fn_config_dll wined3d enable_wined3d implib
18013 wine_fn_config_dll winegstreamer enable_winegstreamer
18014 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18015 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18016 wine_fn_config_dll winemapi enable_winemapi
18017 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18018 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18019 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18020 wine_fn_config_dll wineps16.drv16 enable_win16
18021 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18022 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18023 wine_fn_config_dll winex11.drv enable_winex11_drv
18024 wine_fn_config_dll wing.dll16 enable_win16
18025 wine_fn_config_dll wing32 enable_wing32
18026 wine_fn_config_dll winhttp enable_winhttp clean,implib
18027 wine_fn_config_test dlls/winhttp/tests winhttp_test
18028 wine_fn_config_dll wininet enable_wininet clean,implib
18029 wine_fn_config_test dlls/wininet/tests wininet_test
18030 wine_fn_config_dll winmm enable_winmm clean,implib
18031 wine_fn_config_test dlls/winmm/tests winmm_test
18032 wine_fn_config_dll winnls.dll16 enable_win16
18033 wine_fn_config_dll winnls32 enable_winnls32 implib
18034 wine_fn_config_dll winscard enable_winscard implib
18035 wine_fn_config_dll winsock.dll16 enable_win16
18036 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18037 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18038 wine_fn_config_dll winsta enable_winsta
18039 wine_fn_config_dll wintab.dll16 enable_win16
18040 wine_fn_config_dll wintab32 enable_wintab32 implib
18041 wine_fn_config_test dlls/wintab32/tests wintab32_test
18042 wine_fn_config_dll wintrust enable_wintrust implib
18043 wine_fn_config_test dlls/wintrust/tests wintrust_test
18044 wine_fn_config_dll wlanapi enable_wlanapi
18045 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18046 wine_fn_config_test dlls/wldap32/tests wldap32_test
18047 wine_fn_config_dll wmi enable_wmi
18048 wine_fn_config_dll wmiutils enable_wmiutils clean
18049 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18050 wine_fn_config_dll wmp enable_wmp clean
18051 wine_fn_config_test dlls/wmp/tests wmp_test
18052 wine_fn_config_dll wmvcore enable_wmvcore
18053 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18054 wine_fn_config_dll wow32 enable_win16 implib
18055 wine_fn_config_dll wpcap enable_wpcap
18056 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18057 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18058 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18059 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18060 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18061 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18062 wine_fn_config_dll wsock32 enable_wsock32 implib
18063 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18064 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18065 wine_fn_config_dll wuapi enable_wuapi clean
18066 wine_fn_config_dll wuaueng enable_wuaueng
18067 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18068 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18069 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18070 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18071 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18072 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18073 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18074 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18075 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18076 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18077 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18078 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18079 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18080 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18081 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18082 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18083 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18084 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18085 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18086 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18087 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18088 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18089 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18090 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18091 wine_fn_config_dll xinput1_1 enable_xinput1_1
18092 wine_fn_config_dll xinput1_2 enable_xinput1_2
18093 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18094 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18095 wine_fn_config_dll xinput1_4 enable_xinput1_4
18096 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18097 wine_fn_config_dll xmllite enable_xmllite implib
18098 wine_fn_config_test dlls/xmllite/tests xmllite_test
18099 wine_fn_config_dll xolehlp enable_xolehlp
18100 wine_fn_config_dll xpsprint enable_xpsprint
18101 wine_fn_config_dll xpssvcs enable_xpssvcs
18102 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18103 wine_fn_config_makefile include enable_include clean,install-dev
18104 wine_fn_config_makefile libs/port enable_libs_port
18105 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18106 wine_fn_config_makefile libs/wpp enable_libs_wpp
18107 wine_fn_config_makefile loader enable_loader clean,install-lib
18108 wine_fn_config_program arp enable_arp install
18109 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18110 wine_fn_config_program attrib enable_attrib clean,install
18111 wine_fn_config_program cabarc enable_cabarc install
18112 wine_fn_config_program cacls enable_cacls install
18113 wine_fn_config_program clock enable_clock clean,install
18114 wine_fn_config_program cmd enable_cmd clean,install
18115 wine_fn_config_test programs/cmd/tests cmd.exe_test
18116 wine_fn_config_program conhost enable_conhost install
18117 wine_fn_config_program control enable_control install
18118 wine_fn_config_program cscript enable_cscript clean,install
18119 wine_fn_config_program dpnsvr enable_dpnsvr install
18120 wine_fn_config_program dxdiag enable_dxdiag clean,install
18121 wine_fn_config_program eject enable_eject install
18122 wine_fn_config_program expand enable_expand install
18123 wine_fn_config_program explorer enable_explorer clean,install
18124 wine_fn_config_program extrac32 enable_extrac32 install
18125 wine_fn_config_program findstr enable_findstr install
18126 wine_fn_config_program hh enable_hh install
18127 wine_fn_config_program hostname enable_hostname clean,install
18128 wine_fn_config_program icacls enable_icacls install
18129 wine_fn_config_program icinfo enable_icinfo install
18130 wine_fn_config_program iexplore enable_iexplore install
18131 wine_fn_config_program ipconfig enable_ipconfig clean,install
18132 wine_fn_config_program lodctr enable_lodctr install
18133 wine_fn_config_program mofcomp enable_mofcomp install
18134 wine_fn_config_program mshta enable_mshta install
18135 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18136 wine_fn_config_program net enable_net clean,install
18137 wine_fn_config_program netsh enable_netsh install
18138 wine_fn_config_program netstat enable_netstat clean,install
18139 wine_fn_config_program ngen enable_ngen install
18140 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18141 wine_fn_config_program oleview enable_oleview clean,install
18142 wine_fn_config_program ping enable_ping install
18143 wine_fn_config_program plugplay enable_plugplay install
18144 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18145 wine_fn_config_program progman enable_progman clean,install
18146 wine_fn_config_program reg enable_reg clean,install
18147 wine_fn_config_test programs/reg/tests reg.exe_test
18148 wine_fn_config_program regasm enable_regasm install
18149 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18150 wine_fn_config_test programs/regedit/tests regedit.exe_test
18151 wine_fn_config_program regsvcs enable_regsvcs install
18152 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18153 wine_fn_config_program rpcss enable_rpcss clean,install
18154 wine_fn_config_program rundll.exe16 enable_win16 install
18155 wine_fn_config_program rundll32 enable_rundll32 install
18156 wine_fn_config_program sc enable_sc install
18157 wine_fn_config_program schtasks enable_schtasks install
18158 wine_fn_config_program sdbinst enable_sdbinst install
18159 wine_fn_config_program secedit enable_secedit install
18160 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18161 wine_fn_config_program services enable_services clean,install
18162 wine_fn_config_test programs/services/tests services.exe_test
18163 wine_fn_config_program spoolsv enable_spoolsv install
18164 wine_fn_config_program start enable_start clean,install
18165 wine_fn_config_program svchost enable_svchost install
18166 wine_fn_config_program systeminfo enable_systeminfo install
18167 wine_fn_config_program taskkill enable_taskkill clean,install
18168 wine_fn_config_program tasklist enable_tasklist install
18169 wine_fn_config_program taskmgr enable_taskmgr clean,install
18170 wine_fn_config_program termsv enable_termsv install
18171 wine_fn_config_program uninstaller enable_uninstaller clean,install
18172 wine_fn_config_program unlodctr enable_unlodctr install
18173 wine_fn_config_program view enable_view clean,install
18174 wine_fn_config_program wevtutil enable_wevtutil install
18175 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18176 wine_fn_config_program winebrowser enable_winebrowser install
18177 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18178 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18179 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18180 wine_fn_config_program winedevice enable_winedevice install
18181 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18182 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18183 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18184 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18185 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18186 wine_fn_config_program winetest enable_winetest clean
18187 wine_fn_config_program winevdm enable_win16 install
18188 wine_fn_config_program winhelp.exe16 enable_win16 install
18189 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18190 wine_fn_config_program winoldap.mod16 enable_win16 install
18191 wine_fn_config_program winver enable_winver install
18192 wine_fn_config_program wmic enable_wmic clean,install
18193 wine_fn_config_program wmplayer enable_wmplayer install
18194 wine_fn_config_program wordpad enable_wordpad clean,install
18195 wine_fn_config_program write enable_write clean,install
18196 wine_fn_config_program wscript enable_wscript clean,install
18197 wine_fn_config_test programs/wscript/tests wscript.exe_test
18198 wine_fn_config_program wusa enable_wusa install
18199 wine_fn_config_program xcopy enable_xcopy clean,install
18200 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18201 wine_fn_config_makefile server enable_server clean,install-lib
18202 wine_fn_config_tool tools clean
18203 wine_fn_config_tool tools/sfnt2fon clean
18204 wine_fn_config_tool tools/widl clean,install-dev
18205 wine_fn_config_tool tools/winebuild clean,install-dev
18206 wine_fn_config_tool tools/winedump clean,install-dev
18207 wine_fn_config_tool tools/winegcc clean,install-dev
18208 wine_fn_config_tool tools/winemaker clean,install-dev
18209 wine_fn_config_tool tools/wmc clean,install-dev
18210 wine_fn_config_tool tools/wrc clean,install-dev
18212 LINGUAS="\
18213 ar \
18214 bg \
18215 ca \
18216 cs \
18217 da \
18218 de \
18219 el \
18220 en \
18221 en_US \
18222 eo \
18223 es \
18224 fa \
18225 fi \
18226 fr \
18227 he \
18228 hi \
18229 hr \
18230 hu \
18231 it \
18232 ja \
18233 ko \
18234 lt \
18235 ml \
18236 nb_NO \
18237 nl \
18238 or \
18239 pa \
18240 pl \
18241 pt_BR \
18242 pt_PT \
18243 rm \
18244 ro \
18245 ru \
18246 sk \
18247 sl \
18248 sr_RS@cyrillic \
18249 sr_RS@latin \
18250 sv \
18251 te \
18252 th \
18253 tr \
18254 uk \
18255 wa \
18256 zh_CN \
18257 zh_TW"
18262 wine_fn_ignore_file ".gitignore"
18263 wine_fn_ignore_file "Makefile"
18264 wine_fn_ignore_file "TAGS"
18265 wine_fn_ignore_file "tags"
18266 wine_fn_ignore_file "autom4te.cache"
18267 wine_fn_ignore_file "config.cache"
18268 wine_fn_ignore_file "config.log"
18269 wine_fn_ignore_file "config.status"
18270 wine_fn_ignore_file "configure.lineno"
18271 wine_fn_ignore_file "include/config.h"
18272 wine_fn_ignore_file "include/stamp-h"
18273 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18275 if test "x$enable_tools" != xno
18276 then
18277 wine_fn_ignore_file "tools/makedep$ac_exeext"
18278 ac_config_commands="$ac_config_commands tools/makedep"
18282 ac_config_commands="$ac_config_commands Makefile"
18285 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18289 if test "x$enable_maintainer_mode" = xyes
18290 then
18291 wine_fn_append_rule "configure: configure.ac aclocal.m4
18292 autoconf --warnings=all
18293 include/config.h.in: include/stamp-h.in
18294 include/stamp-h.in: configure.ac aclocal.m4
18295 autoheader --warnings=all
18296 @echo timestamp > \$@"
18299 test "$MSGFMT" != false || LINGUAS=
18301 for i in $LINGUAS
18303 wine_fn_ignore_file "po/$i.mo"
18304 done
18306 if test "x$enable_tools" != xno
18307 then
18308 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18309 @./config.status tools/makedep
18310 Makefile: tools/makedep$ac_exeext
18311 distclean:: clean
18312 \$(RM) tools/makedep$ac_exeext"
18313 else
18314 wine_fn_append_rule "\$(MAKEDEP):
18315 @echo \"You need to run make in $TOOLSDIR first\" && false"
18318 if test -n "$with_wine64"
18319 then
18320 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18321 fonts server tools:
18322 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18323 $with_wine64/loader/wine:
18324 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18325 $with_wine64/loader/wine-preloader:
18326 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18327 clean::
18328 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18329 else
18330 WINELOADER_INSTALL="wine.inf"
18332 wine_fn_append_rule "install install-lib::
18333 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18334 uninstall::
18335 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18336 case $host_os in
18337 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18338 *) wine_fn_append_rule "install install-lib::
18339 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18340 uninstall::
18341 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18342 esac
18345 if test "$srcdir" = .
18346 then
18347 ac_config_commands="$ac_config_commands .gitignore"
18351 $as_echo " done" >&6
18352 cat >confcache <<\_ACEOF
18353 # This file is a shell script that caches the results of configure
18354 # tests run on this system so they can be shared between configure
18355 # scripts and configure runs, see configure's option --config-cache.
18356 # It is not useful on other systems. If it contains results you don't
18357 # want to keep, you may remove or edit it.
18359 # config.status only pays attention to the cache file if you give it
18360 # the --recheck option to rerun configure.
18362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18364 # following values.
18366 _ACEOF
18368 # The following way of writing the cache mishandles newlines in values,
18369 # but we know of no workaround that is simple, portable, and efficient.
18370 # So, we kill variables containing newlines.
18371 # Ultrix sh set writes to stderr and can't be redirected directly,
18372 # and sets the high bit in the cache file unless we assign to the vars.
18374 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18375 eval ac_val=\$$ac_var
18376 case $ac_val in #(
18377 *${as_nl}*)
18378 case $ac_var in #(
18379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18381 esac
18382 case $ac_var in #(
18383 _ | IFS | as_nl) ;; #(
18384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18385 *) { eval $ac_var=; unset $ac_var;} ;;
18386 esac ;;
18387 esac
18388 done
18390 (set) 2>&1 |
18391 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18392 *${as_nl}ac_space=\ *)
18393 # `set' does not quote correctly, so add quotes: double-quote
18394 # substitution turns \\\\ into \\, and sed turns \\ into \.
18395 sed -n \
18396 "s/'/'\\\\''/g;
18397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18398 ;; #(
18400 # `set' quotes correctly as required by POSIX, so do not add quotes.
18401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18403 esac |
18404 sort
18406 sed '
18407 /^ac_cv_env_/b end
18408 t clear
18409 :clear
18410 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18411 t end
18412 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18413 :end' >>confcache
18414 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18415 if test -w "$cache_file"; then
18416 if test "x$cache_file" != "x/dev/null"; then
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18418 $as_echo "$as_me: updating cache $cache_file" >&6;}
18419 if test ! -f "$cache_file" || test -h "$cache_file"; then
18420 cat confcache >"$cache_file"
18421 else
18422 case $cache_file in #(
18423 */* | ?:*)
18424 mv -f confcache "$cache_file"$$ &&
18425 mv -f "$cache_file"$$ "$cache_file" ;; #(
18427 mv -f confcache "$cache_file" ;;
18428 esac
18431 else
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18433 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18436 rm -f confcache
18438 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18439 # Let make expand exec_prefix.
18440 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18442 DEFS=-DHAVE_CONFIG_H
18444 ac_libobjs=
18445 ac_ltlibobjs=
18447 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18448 # 1. Remove the extension, and $U if already installed.
18449 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18450 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18451 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18452 # will be set to the directory where LIBOBJS objects are built.
18453 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18454 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18455 done
18456 LIBOBJS=$ac_libobjs
18458 LTLIBOBJS=$ac_ltlibobjs
18462 : "${CONFIG_STATUS=./config.status}"
18463 ac_write_fail=0
18464 ac_clean_files_save=$ac_clean_files
18465 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18467 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18468 as_write_fail=0
18469 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18470 #! $SHELL
18471 # Generated by $as_me.
18472 # Run this file to recreate the current configuration.
18473 # Compiler output produced by configure, useful for debugging
18474 # configure, is in config.log if it exists.
18476 debug=false
18477 ac_cs_recheck=false
18478 ac_cs_silent=false
18480 SHELL=\${CONFIG_SHELL-$SHELL}
18481 export SHELL
18482 _ASEOF
18483 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18484 ## -------------------- ##
18485 ## M4sh Initialization. ##
18486 ## -------------------- ##
18488 # Be more Bourne compatible
18489 DUALCASE=1; export DUALCASE # for MKS sh
18490 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18491 emulate sh
18492 NULLCMD=:
18493 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18494 # is contrary to our usage. Disable this feature.
18495 alias -g '${1+"$@"}'='"$@"'
18496 setopt NO_GLOB_SUBST
18497 else
18498 case `(set -o) 2>/dev/null` in #(
18499 *posix*) :
18500 set -o posix ;; #(
18501 *) :
18503 esac
18507 as_nl='
18509 export as_nl
18510 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18511 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18512 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18513 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18514 # Prefer a ksh shell builtin over an external printf program on Solaris,
18515 # but without wasting forks for bash or zsh.
18516 if test -z "$BASH_VERSION$ZSH_VERSION" \
18517 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18518 as_echo='print -r --'
18519 as_echo_n='print -rn --'
18520 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18521 as_echo='printf %s\n'
18522 as_echo_n='printf %s'
18523 else
18524 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18525 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18526 as_echo_n='/usr/ucb/echo -n'
18527 else
18528 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18529 as_echo_n_body='eval
18530 arg=$1;
18531 case $arg in #(
18532 *"$as_nl"*)
18533 expr "X$arg" : "X\\(.*\\)$as_nl";
18534 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18535 esac;
18536 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18538 export as_echo_n_body
18539 as_echo_n='sh -c $as_echo_n_body as_echo'
18541 export as_echo_body
18542 as_echo='sh -c $as_echo_body as_echo'
18545 # The user is always right.
18546 if test "${PATH_SEPARATOR+set}" != set; then
18547 PATH_SEPARATOR=:
18548 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18549 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18550 PATH_SEPARATOR=';'
18555 # IFS
18556 # We need space, tab and new line, in precisely that order. Quoting is
18557 # there to prevent editors from complaining about space-tab.
18558 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18559 # splitting by setting IFS to empty value.)
18560 IFS=" "" $as_nl"
18562 # Find who we are. Look in the path if we contain no directory separator.
18563 as_myself=
18564 case $0 in #((
18565 *[\\/]* ) as_myself=$0 ;;
18566 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18567 for as_dir in $PATH
18569 IFS=$as_save_IFS
18570 test -z "$as_dir" && as_dir=.
18571 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18572 done
18573 IFS=$as_save_IFS
18576 esac
18577 # We did not find ourselves, most probably we were run as `sh COMMAND'
18578 # in which case we are not to be found in the path.
18579 if test "x$as_myself" = x; then
18580 as_myself=$0
18582 if test ! -f "$as_myself"; then
18583 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18584 exit 1
18587 # Unset variables that we do not need and which cause bugs (e.g. in
18588 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18589 # suppresses any "Segmentation fault" message there. '((' could
18590 # trigger a bug in pdksh 5.2.14.
18591 for as_var in BASH_ENV ENV MAIL MAILPATH
18592 do eval test x\${$as_var+set} = xset \
18593 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18594 done
18595 PS1='$ '
18596 PS2='> '
18597 PS4='+ '
18599 # NLS nuisances.
18600 LC_ALL=C
18601 export LC_ALL
18602 LANGUAGE=C
18603 export LANGUAGE
18605 # CDPATH.
18606 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18609 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18610 # ----------------------------------------
18611 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18612 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18613 # script with STATUS, using 1 if that was 0.
18614 as_fn_error ()
18616 as_status=$1; test $as_status -eq 0 && as_status=1
18617 if test "$4"; then
18618 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18619 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18621 $as_echo "$as_me: error: $2" >&2
18622 as_fn_exit $as_status
18623 } # as_fn_error
18626 # as_fn_set_status STATUS
18627 # -----------------------
18628 # Set $? to STATUS, without forking.
18629 as_fn_set_status ()
18631 return $1
18632 } # as_fn_set_status
18634 # as_fn_exit STATUS
18635 # -----------------
18636 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18637 as_fn_exit ()
18639 set +e
18640 as_fn_set_status $1
18641 exit $1
18642 } # as_fn_exit
18644 # as_fn_unset VAR
18645 # ---------------
18646 # Portably unset VAR.
18647 as_fn_unset ()
18649 { eval $1=; unset $1;}
18651 as_unset=as_fn_unset
18652 # as_fn_append VAR VALUE
18653 # ----------------------
18654 # Append the text in VALUE to the end of the definition contained in VAR. Take
18655 # advantage of any shell optimizations that allow amortized linear growth over
18656 # repeated appends, instead of the typical quadratic growth present in naive
18657 # implementations.
18658 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18659 eval 'as_fn_append ()
18661 eval $1+=\$2
18663 else
18664 as_fn_append ()
18666 eval $1=\$$1\$2
18668 fi # as_fn_append
18670 # as_fn_arith ARG...
18671 # ------------------
18672 # Perform arithmetic evaluation on the ARGs, and store the result in the
18673 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18674 # must be portable across $(()) and expr.
18675 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18676 eval 'as_fn_arith ()
18678 as_val=$(( $* ))
18680 else
18681 as_fn_arith ()
18683 as_val=`expr "$@" || test $? -eq 1`
18685 fi # as_fn_arith
18688 if expr a : '\(a\)' >/dev/null 2>&1 &&
18689 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18690 as_expr=expr
18691 else
18692 as_expr=false
18695 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18696 as_basename=basename
18697 else
18698 as_basename=false
18701 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18702 as_dirname=dirname
18703 else
18704 as_dirname=false
18707 as_me=`$as_basename -- "$0" ||
18708 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18709 X"$0" : 'X\(//\)$' \| \
18710 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18711 $as_echo X/"$0" |
18712 sed '/^.*\/\([^/][^/]*\)\/*$/{
18713 s//\1/
18716 /^X\/\(\/\/\)$/{
18717 s//\1/
18720 /^X\/\(\/\).*/{
18721 s//\1/
18724 s/.*/./; q'`
18726 # Avoid depending upon Character Ranges.
18727 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18728 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18729 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18730 as_cr_digits='0123456789'
18731 as_cr_alnum=$as_cr_Letters$as_cr_digits
18733 ECHO_C= ECHO_N= ECHO_T=
18734 case `echo -n x` in #(((((
18735 -n*)
18736 case `echo 'xy\c'` in
18737 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18738 xy) ECHO_C='\c';;
18739 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18740 ECHO_T=' ';;
18741 esac;;
18743 ECHO_N='-n';;
18744 esac
18746 rm -f conf$$ conf$$.exe conf$$.file
18747 if test -d conf$$.dir; then
18748 rm -f conf$$.dir/conf$$.file
18749 else
18750 rm -f conf$$.dir
18751 mkdir conf$$.dir 2>/dev/null
18753 if (echo >conf$$.file) 2>/dev/null; then
18754 if ln -s conf$$.file conf$$ 2>/dev/null; then
18755 as_ln_s='ln -s'
18756 # ... but there are two gotchas:
18757 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18758 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18759 # In both cases, we have to default to `cp -pR'.
18760 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18761 as_ln_s='cp -pR'
18762 elif ln conf$$.file conf$$ 2>/dev/null; then
18763 as_ln_s=ln
18764 else
18765 as_ln_s='cp -pR'
18767 else
18768 as_ln_s='cp -pR'
18770 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18771 rmdir conf$$.dir 2>/dev/null
18774 # as_fn_mkdir_p
18775 # -------------
18776 # Create "$as_dir" as a directory, including parents if necessary.
18777 as_fn_mkdir_p ()
18780 case $as_dir in #(
18781 -*) as_dir=./$as_dir;;
18782 esac
18783 test -d "$as_dir" || eval $as_mkdir_p || {
18784 as_dirs=
18785 while :; do
18786 case $as_dir in #(
18787 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18788 *) as_qdir=$as_dir;;
18789 esac
18790 as_dirs="'$as_qdir' $as_dirs"
18791 as_dir=`$as_dirname -- "$as_dir" ||
18792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18793 X"$as_dir" : 'X\(//\)[^/]' \| \
18794 X"$as_dir" : 'X\(//\)$' \| \
18795 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18796 $as_echo X"$as_dir" |
18797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18798 s//\1/
18801 /^X\(\/\/\)[^/].*/{
18802 s//\1/
18805 /^X\(\/\/\)$/{
18806 s//\1/
18809 /^X\(\/\).*/{
18810 s//\1/
18813 s/.*/./; q'`
18814 test -d "$as_dir" && break
18815 done
18816 test -z "$as_dirs" || eval "mkdir $as_dirs"
18817 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18820 } # as_fn_mkdir_p
18821 if mkdir -p . 2>/dev/null; then
18822 as_mkdir_p='mkdir -p "$as_dir"'
18823 else
18824 test -d ./-p && rmdir ./-p
18825 as_mkdir_p=false
18829 # as_fn_executable_p FILE
18830 # -----------------------
18831 # Test if FILE is an executable regular file.
18832 as_fn_executable_p ()
18834 test -f "$1" && test -x "$1"
18835 } # as_fn_executable_p
18836 as_test_x='test -x'
18837 as_executable_p=as_fn_executable_p
18839 # Sed expression to map a string onto a valid CPP name.
18840 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18842 # Sed expression to map a string onto a valid variable name.
18843 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18846 exec 6>&1
18847 ## ----------------------------------- ##
18848 ## Main body of $CONFIG_STATUS script. ##
18849 ## ----------------------------------- ##
18850 _ASEOF
18851 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18854 # Save the log message, to keep $0 and so on meaningful, and to
18855 # report actual input values of CONFIG_FILES etc. instead of their
18856 # values after options handling.
18857 ac_log="
18858 This file was extended by Wine $as_me 1.9.4, which was
18859 generated by GNU Autoconf 2.69. Invocation command line was
18861 CONFIG_FILES = $CONFIG_FILES
18862 CONFIG_HEADERS = $CONFIG_HEADERS
18863 CONFIG_LINKS = $CONFIG_LINKS
18864 CONFIG_COMMANDS = $CONFIG_COMMANDS
18865 $ $0 $@
18867 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18870 _ACEOF
18872 case $ac_config_files in *"
18873 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18874 esac
18876 case $ac_config_headers in *"
18877 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18878 esac
18881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18882 # Files that config.status was made for.
18883 config_files="$ac_config_files"
18884 config_headers="$ac_config_headers"
18885 config_links="$ac_config_links"
18886 config_commands="$ac_config_commands"
18888 _ACEOF
18890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18891 ac_cs_usage="\
18892 \`$as_me' instantiates files and other configuration actions
18893 from templates according to the current configuration. Unless the files
18894 and actions are specified as TAGs, all are instantiated by default.
18896 Usage: $0 [OPTION]... [TAG]...
18898 -h, --help print this help, then exit
18899 -V, --version print version number and configuration settings, then exit
18900 --config print configuration, then exit
18901 -q, --quiet, --silent
18902 do not print progress messages
18903 -d, --debug don't remove temporary files
18904 --recheck update $as_me by reconfiguring in the same conditions
18905 --file=FILE[:TEMPLATE]
18906 instantiate the configuration file FILE
18907 --header=FILE[:TEMPLATE]
18908 instantiate the configuration header FILE
18910 Configuration files:
18911 $config_files
18913 Configuration headers:
18914 $config_headers
18916 Configuration links:
18917 $config_links
18919 Configuration commands:
18920 $config_commands
18922 Report bugs to <wine-devel@winehq.org>.
18923 Wine home page: <http://www.winehq.org>."
18925 _ACEOF
18926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18927 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18928 ac_cs_version="\\
18929 Wine config.status 1.9.4
18930 configured by $0, generated by GNU Autoconf 2.69,
18931 with options \\"\$ac_cs_config\\"
18933 Copyright (C) 2012 Free Software Foundation, Inc.
18934 This config.status script is free software; the Free Software Foundation
18935 gives unlimited permission to copy, distribute and modify it."
18937 ac_pwd='$ac_pwd'
18938 srcdir='$srcdir'
18939 test -n "\$AWK" || AWK=awk
18940 _ACEOF
18942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18943 # The default lists apply if the user does not specify any file.
18944 ac_need_defaults=:
18945 while test $# != 0
18947 case $1 in
18948 --*=?*)
18949 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18950 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18951 ac_shift=:
18953 --*=)
18954 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18955 ac_optarg=
18956 ac_shift=:
18959 ac_option=$1
18960 ac_optarg=$2
18961 ac_shift=shift
18963 esac
18965 case $ac_option in
18966 # Handling of the options.
18967 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18968 ac_cs_recheck=: ;;
18969 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18970 $as_echo "$ac_cs_version"; exit ;;
18971 --config | --confi | --conf | --con | --co | --c )
18972 $as_echo "$ac_cs_config"; exit ;;
18973 --debug | --debu | --deb | --de | --d | -d )
18974 debug=: ;;
18975 --file | --fil | --fi | --f )
18976 $ac_shift
18977 case $ac_optarg in
18978 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18979 '') as_fn_error $? "missing file argument" ;;
18980 esac
18981 as_fn_append CONFIG_FILES " '$ac_optarg'"
18982 ac_need_defaults=false;;
18983 --header | --heade | --head | --hea )
18984 $ac_shift
18985 case $ac_optarg in
18986 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18987 esac
18988 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18989 ac_need_defaults=false;;
18990 --he | --h)
18991 # Conflict between --help and --header
18992 as_fn_error $? "ambiguous option: \`$1'
18993 Try \`$0 --help' for more information.";;
18994 --help | --hel | -h )
18995 $as_echo "$ac_cs_usage"; exit ;;
18996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18997 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18998 ac_cs_silent=: ;;
19000 # This is an error.
19001 -*) as_fn_error $? "unrecognized option: \`$1'
19002 Try \`$0 --help' for more information." ;;
19004 *) as_fn_append ac_config_targets " $1"
19005 ac_need_defaults=false ;;
19007 esac
19008 shift
19009 done
19011 ac_configure_extra_args=
19013 if $ac_cs_silent; then
19014 exec 6>/dev/null
19015 ac_configure_extra_args="$ac_configure_extra_args --silent"
19018 _ACEOF
19019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19020 if \$ac_cs_recheck; then
19021 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19022 shift
19023 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19024 CONFIG_SHELL='$SHELL'
19025 export CONFIG_SHELL
19026 exec "\$@"
19029 _ACEOF
19030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19031 exec 5>>config.log
19033 echo
19034 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19035 ## Running $as_me. ##
19036 _ASBOX
19037 $as_echo "$ac_log"
19038 } >&5
19040 _ACEOF
19041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19043 # INIT-COMMANDS
19045 wine_fn_output_makedep ()
19047 as_dir=tools; as_fn_mkdir_p
19048 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19050 wine_fn_output_makefile ()
19052 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19053 `cat $wine_rules_file`
19054 _WINE_EOF
19055 as_fn_error $? "could not create Makefile" "$LINENO" 5
19057 wine_fn_output_gitignore ()
19059 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19060 $GITIGNORE
19061 _WINE_EOF
19062 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19065 _ACEOF
19067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19069 # Handling of arguments.
19070 for ac_config_target in $ac_config_targets
19072 case $ac_config_target in
19073 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19074 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19075 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19076 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19077 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19078 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19079 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19080 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19081 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19082 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19083 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19084 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19085 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19086 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19087 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19089 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19090 esac
19091 done
19094 # If the user did not use the arguments to specify the items to instantiate,
19095 # then the envvar interface is used. Set only those that are not.
19096 # We use the long form for the default assignment because of an extremely
19097 # bizarre bug on SunOS 4.1.3.
19098 if $ac_need_defaults; then
19099 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19100 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19101 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19102 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19105 # Have a temporary directory for convenience. Make it in the build tree
19106 # simply because there is no reason against having it here, and in addition,
19107 # creating and moving files from /tmp can sometimes cause problems.
19108 # Hook for its removal unless debugging.
19109 # Note that there is a small window in which the directory will not be cleaned:
19110 # after its creation but before its name has been assigned to `$tmp'.
19111 $debug ||
19113 tmp= ac_tmp=
19114 trap 'exit_status=$?
19115 : "${ac_tmp:=$tmp}"
19116 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19118 trap 'as_fn_exit 1' 1 2 13 15
19120 # Create a (secure) tmp directory for tmp files.
19123 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19124 test -d "$tmp"
19125 } ||
19127 tmp=./conf$$-$RANDOM
19128 (umask 077 && mkdir "$tmp")
19129 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19130 ac_tmp=$tmp
19132 # Set up the scripts for CONFIG_FILES section.
19133 # No need to generate them if there are no CONFIG_FILES.
19134 # This happens for instance with `./config.status config.h'.
19135 if test -n "$CONFIG_FILES"; then
19138 ac_cr=`echo X | tr X '\015'`
19139 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19140 # But we know of no other shell where ac_cr would be empty at this
19141 # point, so we can use a bashism as a fallback.
19142 if test "x$ac_cr" = x; then
19143 eval ac_cr=\$\'\\r\'
19145 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19146 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19147 ac_cs_awk_cr='\\r'
19148 else
19149 ac_cs_awk_cr=$ac_cr
19152 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19153 _ACEOF
19157 echo "cat >conf$$subs.awk <<_ACEOF" &&
19158 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19159 echo "_ACEOF"
19160 } >conf$$subs.sh ||
19161 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19162 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19163 ac_delim='%!_!# '
19164 for ac_last_try in false false false false false :; do
19165 . ./conf$$subs.sh ||
19166 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19168 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19169 if test $ac_delim_n = $ac_delim_num; then
19170 break
19171 elif $ac_last_try; then
19172 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19173 else
19174 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19176 done
19177 rm -f conf$$subs.sh
19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19180 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19181 _ACEOF
19182 sed -n '
19184 s/^/S["/; s/!.*/"]=/
19187 s/^[^!]*!//
19188 :repl
19189 t repl
19190 s/'"$ac_delim"'$//
19191 t delim
19194 s/\(.\{148\}\)..*/\1/
19195 t more1
19196 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19199 b repl
19200 :more1
19201 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19204 s/.\{148\}//
19205 t nl
19206 :delim
19208 s/\(.\{148\}\)..*/\1/
19209 t more2
19210 s/["\\]/\\&/g; s/^/"/; s/$/"/
19213 :more2
19214 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19217 s/.\{148\}//
19218 t delim
19219 ' <conf$$subs.awk | sed '
19220 /^[^""]/{
19222 s/\n//
19224 ' >>$CONFIG_STATUS || ac_write_fail=1
19225 rm -f conf$$subs.awk
19226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19227 _ACAWK
19228 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19229 for (key in S) S_is_set[key] = 1
19230 FS = "\a"
19234 line = $ 0
19235 nfields = split(line, field, "@")
19236 substed = 0
19237 len = length(field[1])
19238 for (i = 2; i < nfields; i++) {
19239 key = field[i]
19240 keylen = length(key)
19241 if (S_is_set[key]) {
19242 value = S[key]
19243 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19244 len += length(value) + length(field[++i])
19245 substed = 1
19246 } else
19247 len += 1 + keylen
19250 print line
19253 _ACAWK
19254 _ACEOF
19255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19256 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19257 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19258 else
19260 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19261 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19262 _ACEOF
19264 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19265 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19266 # trailing colons and then remove the whole line if VPATH becomes empty
19267 # (actually we leave an empty line to preserve line numbers).
19268 if test "x$srcdir" = x.; then
19269 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19271 s///
19272 s/^/:/
19273 s/[ ]*$/:/
19274 s/:\$(srcdir):/:/g
19275 s/:\${srcdir}:/:/g
19276 s/:@srcdir@:/:/g
19277 s/^:*//
19278 s/:*$//
19280 s/\(=[ ]*\).*/\1/
19282 s/\n//
19283 s/^[^=]*=[ ]*$//
19287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19288 fi # test -n "$CONFIG_FILES"
19290 # Set up the scripts for CONFIG_HEADERS section.
19291 # No need to generate them if there are no CONFIG_HEADERS.
19292 # This happens for instance with `./config.status Makefile'.
19293 if test -n "$CONFIG_HEADERS"; then
19294 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19295 BEGIN {
19296 _ACEOF
19298 # Transform confdefs.h into an awk script `defines.awk', embedded as
19299 # here-document in config.status, that substitutes the proper values into
19300 # config.h.in to produce config.h.
19302 # Create a delimiter string that does not exist in confdefs.h, to ease
19303 # handling of long lines.
19304 ac_delim='%!_!# '
19305 for ac_last_try in false false :; do
19306 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19307 if test -z "$ac_tt"; then
19308 break
19309 elif $ac_last_try; then
19310 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19311 else
19312 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19314 done
19316 # For the awk script, D is an array of macro values keyed by name,
19317 # likewise P contains macro parameters if any. Preserve backslash
19318 # newline sequences.
19320 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19321 sed -n '
19322 s/.\{148\}/&'"$ac_delim"'/g
19323 t rset
19324 :rset
19325 s/^[ ]*#[ ]*define[ ][ ]*/ /
19326 t def
19328 :def
19329 s/\\$//
19330 t bsnl
19331 s/["\\]/\\&/g
19332 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19333 D["\1"]=" \3"/p
19334 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19336 :bsnl
19337 s/["\\]/\\&/g
19338 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19339 D["\1"]=" \3\\\\\\n"\\/p
19340 t cont
19341 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19342 t cont
19344 :cont
19346 s/.\{148\}/&'"$ac_delim"'/g
19347 t clear
19348 :clear
19349 s/\\$//
19350 t bsnlc
19351 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19353 :bsnlc
19354 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19355 b cont
19356 ' <confdefs.h | sed '
19357 s/'"$ac_delim"'/"\\\
19358 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19361 for (key in D) D_is_set[key] = 1
19362 FS = "\a"
19364 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19365 line = \$ 0
19366 split(line, arg, " ")
19367 if (arg[1] == "#") {
19368 defundef = arg[2]
19369 mac1 = arg[3]
19370 } else {
19371 defundef = substr(arg[1], 2)
19372 mac1 = arg[2]
19374 split(mac1, mac2, "(") #)
19375 macro = mac2[1]
19376 prefix = substr(line, 1, index(line, defundef) - 1)
19377 if (D_is_set[macro]) {
19378 # Preserve the white space surrounding the "#".
19379 print prefix "define", macro P[macro] D[macro]
19380 next
19381 } else {
19382 # Replace #undef with comments. This is necessary, for example,
19383 # in the case of _POSIX_SOURCE, which is predefined and required
19384 # on some systems where configure will not decide to define it.
19385 if (defundef == "undef") {
19386 print "/*", prefix defundef, macro, "*/"
19387 next
19391 { print }
19392 _ACAWK
19393 _ACEOF
19394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19395 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19396 fi # test -n "$CONFIG_HEADERS"
19399 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19400 shift
19401 for ac_tag
19403 case $ac_tag in
19404 :[FHLC]) ac_mode=$ac_tag; continue;;
19405 esac
19406 case $ac_mode$ac_tag in
19407 :[FHL]*:*);;
19408 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19409 :[FH]-) ac_tag=-:-;;
19410 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19411 esac
19412 ac_save_IFS=$IFS
19413 IFS=:
19414 set x $ac_tag
19415 IFS=$ac_save_IFS
19416 shift
19417 ac_file=$1
19418 shift
19420 case $ac_mode in
19421 :L) ac_source=$1;;
19422 :[FH])
19423 ac_file_inputs=
19424 for ac_f
19426 case $ac_f in
19427 -) ac_f="$ac_tmp/stdin";;
19428 *) # Look for the file first in the build tree, then in the source tree
19429 # (if the path is not absolute). The absolute path cannot be DOS-style,
19430 # because $ac_f cannot contain `:'.
19431 test -f "$ac_f" ||
19432 case $ac_f in
19433 [\\/$]*) false;;
19434 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19435 esac ||
19436 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19437 esac
19438 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19439 as_fn_append ac_file_inputs " '$ac_f'"
19440 done
19442 # Let's still pretend it is `configure' which instantiates (i.e., don't
19443 # use $as_me), people would be surprised to read:
19444 # /* config.h. Generated by config.status. */
19445 configure_input='Generated from '`
19446 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19447 `' by configure.'
19448 if test x"$ac_file" != x-; then
19449 configure_input="$ac_file. $configure_input"
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19451 $as_echo "$as_me: creating $ac_file" >&6;}
19453 # Neutralize special characters interpreted by sed in replacement strings.
19454 case $configure_input in #(
19455 *\&* | *\|* | *\\* )
19456 ac_sed_conf_input=`$as_echo "$configure_input" |
19457 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19458 *) ac_sed_conf_input=$configure_input;;
19459 esac
19461 case $ac_tag in
19462 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19464 esac
19466 esac
19468 ac_dir=`$as_dirname -- "$ac_file" ||
19469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19470 X"$ac_file" : 'X\(//\)[^/]' \| \
19471 X"$ac_file" : 'X\(//\)$' \| \
19472 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19473 $as_echo X"$ac_file" |
19474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19475 s//\1/
19478 /^X\(\/\/\)[^/].*/{
19479 s//\1/
19482 /^X\(\/\/\)$/{
19483 s//\1/
19486 /^X\(\/\).*/{
19487 s//\1/
19490 s/.*/./; q'`
19491 as_dir="$ac_dir"; as_fn_mkdir_p
19492 ac_builddir=.
19494 case "$ac_dir" in
19495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19497 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19498 # A ".." for each directory in $ac_dir_suffix.
19499 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19500 case $ac_top_builddir_sub in
19501 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19502 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19503 esac ;;
19504 esac
19505 ac_abs_top_builddir=$ac_pwd
19506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19507 # for backward compatibility:
19508 ac_top_builddir=$ac_top_build_prefix
19510 case $srcdir in
19511 .) # We are building in place.
19512 ac_srcdir=.
19513 ac_top_srcdir=$ac_top_builddir_sub
19514 ac_abs_top_srcdir=$ac_pwd ;;
19515 [\\/]* | ?:[\\/]* ) # Absolute name.
19516 ac_srcdir=$srcdir$ac_dir_suffix;
19517 ac_top_srcdir=$srcdir
19518 ac_abs_top_srcdir=$srcdir ;;
19519 *) # Relative name.
19520 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19521 ac_top_srcdir=$ac_top_build_prefix$srcdir
19522 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19523 esac
19524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19527 case $ac_mode in
19530 # CONFIG_FILE
19533 _ACEOF
19535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19536 # If the template does not know about datarootdir, expand it.
19537 # FIXME: This hack should be removed a few years after 2.60.
19538 ac_datarootdir_hack=; ac_datarootdir_seen=
19539 ac_sed_dataroot='
19540 /datarootdir/ {
19544 /@datadir@/p
19545 /@docdir@/p
19546 /@infodir@/p
19547 /@localedir@/p
19548 /@mandir@/p'
19549 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19550 *datarootdir*) ac_datarootdir_seen=yes;;
19551 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19553 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19554 _ACEOF
19555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19556 ac_datarootdir_hack='
19557 s&@datadir@&$datadir&g
19558 s&@docdir@&$docdir&g
19559 s&@infodir@&$infodir&g
19560 s&@localedir@&$localedir&g
19561 s&@mandir@&$mandir&g
19562 s&\\\${datarootdir}&$datarootdir&g' ;;
19563 esac
19564 _ACEOF
19566 # Neutralize VPATH when `$srcdir' = `.'.
19567 # Shell code in configure.ac might set extrasub.
19568 # FIXME: do we really want to maintain this feature?
19569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19570 ac_sed_extra="$ac_vpsub
19571 $extrasub
19572 _ACEOF
19573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19576 s|@configure_input@|$ac_sed_conf_input|;t t
19577 s&@top_builddir@&$ac_top_builddir_sub&;t t
19578 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19579 s&@srcdir@&$ac_srcdir&;t t
19580 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19581 s&@top_srcdir@&$ac_top_srcdir&;t t
19582 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19583 s&@builddir@&$ac_builddir&;t t
19584 s&@abs_builddir@&$ac_abs_builddir&;t t
19585 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19586 $ac_datarootdir_hack
19588 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19589 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19591 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19592 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19593 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19594 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19596 which seems to be undefined. Please make sure it is defined" >&5
19597 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19598 which seems to be undefined. Please make sure it is defined" >&2;}
19600 rm -f "$ac_tmp/stdin"
19601 case $ac_file in
19602 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19603 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19604 esac \
19605 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19609 # CONFIG_HEADER
19611 if test x"$ac_file" != x-; then
19613 $as_echo "/* $configure_input */" \
19614 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19615 } >"$ac_tmp/config.h" \
19616 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19617 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19619 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19620 else
19621 rm -f "$ac_file"
19622 mv "$ac_tmp/config.h" "$ac_file" \
19623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19625 else
19626 $as_echo "/* $configure_input */" \
19627 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19628 || as_fn_error $? "could not create -" "$LINENO" 5
19633 # CONFIG_LINK
19636 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19638 else
19639 # Prefer the file from the source tree if names are identical.
19640 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19641 ac_source=$srcdir/$ac_source
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19645 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19647 if test ! -r "$ac_source"; then
19648 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19650 rm -f "$ac_file"
19652 # Try a relative symlink, then a hard link, then a copy.
19653 case $ac_source in
19654 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19655 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19656 esac
19657 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19658 ln "$ac_source" "$ac_file" 2>/dev/null ||
19659 cp -p "$ac_source" "$ac_file" ||
19660 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19663 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19664 $as_echo "$as_me: executing $ac_file commands" >&6;}
19666 esac
19669 case $ac_file$ac_mode in
19670 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19671 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19672 "Makefile":C) wine_fn_output_makefile Makefile ;;
19673 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19675 esac
19676 done # for ac_tag
19679 as_fn_exit 0
19680 _ACEOF
19681 ac_clean_files=$ac_clean_files_save
19683 test $ac_write_fail = 0 ||
19684 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19687 # configure is writing to config.log, and then calls config.status.
19688 # config.status does its own redirection, appending to config.log.
19689 # Unfortunately, on DOS this fails, as config.log is still kept open
19690 # by configure, so config.status won't be able to write to it; its
19691 # output is simply discarded. So we exec the FD to /dev/null,
19692 # effectively closing config.log, so it can be properly (re)opened and
19693 # appended to by config.status. When coming back to configure, we
19694 # need to make the FD available again.
19695 if test "$no_create" != yes; then
19696 ac_cs_success=:
19697 ac_config_status_args=
19698 test "$silent" = yes &&
19699 ac_config_status_args="$ac_config_status_args --quiet"
19700 exec 5>/dev/null
19701 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19702 exec 5>>config.log
19703 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19704 # would make configure fail if this is the last instruction.
19705 $ac_cs_success || as_fn_exit 1
19707 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19709 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19713 if test "$no_create" = "yes"
19714 then
19715 exit 0
19718 ac_save_IFS="$IFS"
19719 if test "x$wine_notices" != x; then
19720 echo >&6
19721 IFS="|"
19722 for msg in $wine_notices; do
19723 IFS="$ac_save_IFS"
19724 if ${msg:+false} :; then :
19726 else
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19728 $as_echo "$as_me: $msg" >&6;}
19730 done
19732 IFS="|"
19733 for msg in $wine_warnings; do
19734 IFS="$ac_save_IFS"
19735 if ${msg:+false} :; then :
19737 else
19738 echo >&2
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19740 $as_echo "$as_me: WARNING: $msg" >&2;}
19742 done
19743 IFS="$ac_save_IFS"
19745 $as_echo "
19746 $as_me: Finished. Do '${ac_make}' to compile Wine.
19747 " >&6