rbtree.h: Pass compare function instead of wine_rb_functions to wine_rb_init.
[wine.git] / configure
blob5b92af9f62f680a7532d957f5e19f861b59d7cab
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.17.
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.17'
584 PACKAGE_STRING='Wine 1.9.17'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_console_l2_1_0
878 enable_api_ms_win_core_datetime_l1_1_0
879 enable_api_ms_win_core_datetime_l1_1_1
880 enable_api_ms_win_core_debug_l1_1_0
881 enable_api_ms_win_core_debug_l1_1_1
882 enable_api_ms_win_core_delayload_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_0
884 enable_api_ms_win_core_errorhandling_l1_1_1
885 enable_api_ms_win_core_errorhandling_l1_1_2
886 enable_api_ms_win_core_fibers_l1_1_0
887 enable_api_ms_win_core_fibers_l1_1_1
888 enable_api_ms_win_core_file_l1_1_0
889 enable_api_ms_win_core_file_l1_2_0
890 enable_api_ms_win_core_file_l1_2_1
891 enable_api_ms_win_core_file_l2_1_0
892 enable_api_ms_win_core_file_l2_1_1
893 enable_api_ms_win_core_handle_l1_1_0
894 enable_api_ms_win_core_heap_l1_1_0
895 enable_api_ms_win_core_heap_l1_2_0
896 enable_api_ms_win_core_heap_obsolete_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_1_0
898 enable_api_ms_win_core_interlocked_l1_2_0
899 enable_api_ms_win_core_io_l1_1_1
900 enable_api_ms_win_core_job_l1_1_0
901 enable_api_ms_win_core_job_l2_1_0
902 enable_api_ms_win_core_kernel32_legacy_l1_1_0
903 enable_api_ms_win_core_kernel32_legacy_l1_1_1
904 enable_api_ms_win_core_libraryloader_l1_1_0
905 enable_api_ms_win_core_libraryloader_l1_1_1
906 enable_api_ms_win_core_libraryloader_l1_2_0
907 enable_api_ms_win_core_localization_l1_1_0
908 enable_api_ms_win_core_localization_l1_2_0
909 enable_api_ms_win_core_localization_l1_2_1
910 enable_api_ms_win_core_localization_obsolete_l1_1_0
911 enable_api_ms_win_core_localregistry_l1_1_0
912 enable_api_ms_win_core_memory_l1_1_0
913 enable_api_ms_win_core_memory_l1_1_1
914 enable_api_ms_win_core_memory_l1_1_2
915 enable_api_ms_win_core_misc_l1_1_0
916 enable_api_ms_win_core_namedpipe_l1_1_0
917 enable_api_ms_win_core_namedpipe_l1_2_0
918 enable_api_ms_win_core_namespace_l1_1_0
919 enable_api_ms_win_core_normalization_l1_1_0
920 enable_api_ms_win_core_path_l1_1_0
921 enable_api_ms_win_core_processenvironment_l1_1_0
922 enable_api_ms_win_core_processenvironment_l1_2_0
923 enable_api_ms_win_core_processthreads_l1_1_0
924 enable_api_ms_win_core_processthreads_l1_1_1
925 enable_api_ms_win_core_processthreads_l1_1_2
926 enable_api_ms_win_core_profile_l1_1_0
927 enable_api_ms_win_core_psapi_l1_1_0
928 enable_api_ms_win_core_registry_l1_1_0
929 enable_api_ms_win_core_rtlsupport_l1_1_0
930 enable_api_ms_win_core_rtlsupport_l1_2_0
931 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
932 enable_api_ms_win_core_string_l1_1_0
933 enable_api_ms_win_core_string_l2_1_0
934 enable_api_ms_win_core_string_obsolete_l1_1_0
935 enable_api_ms_win_core_synch_l1_1_0
936 enable_api_ms_win_core_synch_l1_2_0
937 enable_api_ms_win_core_sysinfo_l1_1_0
938 enable_api_ms_win_core_sysinfo_l1_2_0
939 enable_api_ms_win_core_sysinfo_l1_2_1
940 enable_api_ms_win_core_threadpool_l1_2_0
941 enable_api_ms_win_core_threadpool_legacy_l1_1_0
942 enable_api_ms_win_core_timezone_l1_1_0
943 enable_api_ms_win_core_toolhelp_l1_1_0
944 enable_api_ms_win_core_url_l1_1_0
945 enable_api_ms_win_core_util_l1_1_0
946 enable_api_ms_win_core_version_l1_1_0
947 enable_api_ms_win_core_winrt_error_l1_1_0
948 enable_api_ms_win_core_winrt_error_l1_1_1
949 enable_api_ms_win_core_winrt_l1_1_0
950 enable_api_ms_win_core_winrt_registration_l1_1_0
951 enable_api_ms_win_core_winrt_string_l1_1_0
952 enable_api_ms_win_core_wow64_l1_1_0
953 enable_api_ms_win_core_xstate_l2_1_0
954 enable_api_ms_win_crt_conio_l1_1_0
955 enable_api_ms_win_crt_convert_l1_1_0
956 enable_api_ms_win_crt_environment_l1_1_0
957 enable_api_ms_win_crt_filesystem_l1_1_0
958 enable_api_ms_win_crt_heap_l1_1_0
959 enable_api_ms_win_crt_locale_l1_1_0
960 enable_api_ms_win_crt_math_l1_1_0
961 enable_api_ms_win_crt_multibyte_l1_1_0
962 enable_api_ms_win_crt_private_l1_1_0
963 enable_api_ms_win_crt_process_l1_1_0
964 enable_api_ms_win_crt_runtime_l1_1_0
965 enable_api_ms_win_crt_stdio_l1_1_0
966 enable_api_ms_win_crt_string_l1_1_0
967 enable_api_ms_win_crt_time_l1_1_0
968 enable_api_ms_win_crt_utility_l1_1_0
969 enable_api_ms_win_downlevel_advapi32_l1_1_0
970 enable_api_ms_win_downlevel_advapi32_l2_1_0
971 enable_api_ms_win_downlevel_normaliz_l1_1_0
972 enable_api_ms_win_downlevel_ole32_l1_1_0
973 enable_api_ms_win_downlevel_shell32_l1_1_0
974 enable_api_ms_win_downlevel_shlwapi_l1_1_0
975 enable_api_ms_win_downlevel_shlwapi_l2_1_0
976 enable_api_ms_win_downlevel_user32_l1_1_0
977 enable_api_ms_win_downlevel_version_l1_1_0
978 enable_api_ms_win_eventing_classicprovider_l1_1_0
979 enable_api_ms_win_eventing_provider_l1_1_0
980 enable_api_ms_win_eventlog_legacy_l1_1_0
981 enable_api_ms_win_ntuser_dc_access_l1_1_0
982 enable_api_ms_win_security_base_l1_1_0
983 enable_api_ms_win_security_base_l1_2_0
984 enable_api_ms_win_security_lsalookup_l1_1_0
985 enable_api_ms_win_security_lsalookup_l1_1_1
986 enable_api_ms_win_security_sddl_l1_1_0
987 enable_api_ms_win_service_core_l1_1_1
988 enable_api_ms_win_service_management_l1_1_0
989 enable_api_ms_win_service_winsvc_l1_2_0
990 enable_api_ms_win_shell_shellfolders_l1_1_0
991 enable_apphelp
992 enable_appwiz_cpl
993 enable_atl
994 enable_atl100
995 enable_atl110
996 enable_atl80
997 enable_atl90
998 enable_authz
999 enable_avicap32
1000 enable_avifil32
1001 enable_avrt
1002 enable_bcrypt
1003 enable_bluetoothapis
1004 enable_browseui
1005 enable_bthprops_cpl
1006 enable_cabinet
1007 enable_capi2032
1008 enable_cards
1009 enable_cfgmgr32
1010 enable_clusapi
1011 enable_combase
1012 enable_comcat
1013 enable_comctl32
1014 enable_comdlg32
1015 enable_compstui
1016 enable_comsvcs
1017 enable_concrt140
1018 enable_connect
1019 enable_credui
1020 enable_crtdll
1021 enable_crypt32
1022 enable_cryptdlg
1023 enable_cryptdll
1024 enable_cryptext
1025 enable_cryptnet
1026 enable_cryptui
1027 enable_ctapi32
1028 enable_ctl3d32
1029 enable_d2d1
1030 enable_d3d10
1031 enable_d3d10_1
1032 enable_d3d10core
1033 enable_d3d11
1034 enable_d3d8
1035 enable_d3d9
1036 enable_d3dcompiler_33
1037 enable_d3dcompiler_34
1038 enable_d3dcompiler_35
1039 enable_d3dcompiler_36
1040 enable_d3dcompiler_37
1041 enable_d3dcompiler_38
1042 enable_d3dcompiler_39
1043 enable_d3dcompiler_40
1044 enable_d3dcompiler_41
1045 enable_d3dcompiler_42
1046 enable_d3dcompiler_43
1047 enable_d3dcompiler_46
1048 enable_d3dcompiler_47
1049 enable_d3dim
1050 enable_d3drm
1051 enable_d3dx10_33
1052 enable_d3dx10_34
1053 enable_d3dx10_35
1054 enable_d3dx10_36
1055 enable_d3dx10_37
1056 enable_d3dx10_38
1057 enable_d3dx10_39
1058 enable_d3dx10_40
1059 enable_d3dx10_41
1060 enable_d3dx10_42
1061 enable_d3dx10_43
1062 enable_d3dx11_42
1063 enable_d3dx11_43
1064 enable_d3dx9_24
1065 enable_d3dx9_25
1066 enable_d3dx9_26
1067 enable_d3dx9_27
1068 enable_d3dx9_28
1069 enable_d3dx9_29
1070 enable_d3dx9_30
1071 enable_d3dx9_31
1072 enable_d3dx9_32
1073 enable_d3dx9_33
1074 enable_d3dx9_34
1075 enable_d3dx9_35
1076 enable_d3dx9_36
1077 enable_d3dx9_37
1078 enable_d3dx9_38
1079 enable_d3dx9_39
1080 enable_d3dx9_40
1081 enable_d3dx9_41
1082 enable_d3dx9_42
1083 enable_d3dx9_43
1084 enable_d3dxof
1085 enable_davclnt
1086 enable_dbgeng
1087 enable_dbghelp
1088 enable_dciman32
1089 enable_ddraw
1090 enable_ddrawex
1091 enable_devenum
1092 enable_dhcpcsvc
1093 enable_difxapi
1094 enable_dinput
1095 enable_dinput8
1096 enable_dispex
1097 enable_dmband
1098 enable_dmcompos
1099 enable_dmime
1100 enable_dmloader
1101 enable_dmscript
1102 enable_dmstyle
1103 enable_dmsynth
1104 enable_dmusic
1105 enable_dmusic32
1106 enable_dnsapi
1107 enable_dplay
1108 enable_dplayx
1109 enable_dpnaddr
1110 enable_dpnet
1111 enable_dpnhpast
1112 enable_dpnlobby
1113 enable_dpvoice
1114 enable_dpwsockx
1115 enable_drmclien
1116 enable_dsound
1117 enable_dssenh
1118 enable_dswave
1119 enable_dwmapi
1120 enable_dwrite
1121 enable_dxdiagn
1122 enable_dxgi
1123 enable_dxva2
1124 enable_esent
1125 enable_evr
1126 enable_explorerframe
1127 enable_ext_ms_win_gdi_devcaps_l1_1_0
1128 enable_faultrep
1129 enable_fltlib
1130 enable_fltmgr_sys
1131 enable_fntcache
1132 enable_fontsub
1133 enable_fusion
1134 enable_fwpuclnt
1135 enable_gameux
1136 enable_gdi32
1137 enable_gdiplus
1138 enable_glu32
1139 enable_gphoto2_ds
1140 enable_gpkcsp
1141 enable_hal
1142 enable_hhctrl_ocx
1143 enable_hid
1144 enable_hidclass_sys
1145 enable_hlink
1146 enable_hnetcfg
1147 enable_httpapi
1148 enable_iccvid
1149 enable_icmp
1150 enable_ieframe
1151 enable_imaadp32_acm
1152 enable_imagehlp
1153 enable_imm32
1154 enable_inetcomm
1155 enable_inetcpl_cpl
1156 enable_inetmib1
1157 enable_infosoft
1158 enable_initpki
1159 enable_inkobj
1160 enable_inseng
1161 enable_iphlpapi
1162 enable_irprops_cpl
1163 enable_itircl
1164 enable_itss
1165 enable_joy_cpl
1166 enable_jscript
1167 enable_jsproxy
1168 enable_kernel32
1169 enable_kernelbase
1170 enable_ksuser
1171 enable_ktmw32
1172 enable_loadperf
1173 enable_localspl
1174 enable_localui
1175 enable_lz32
1176 enable_mapi32
1177 enable_mapistub
1178 enable_mciavi32
1179 enable_mcicda
1180 enable_mciqtz32
1181 enable_mciseq
1182 enable_mciwave
1183 enable_mf
1184 enable_mfplat
1185 enable_mfreadwrite
1186 enable_mgmtapi
1187 enable_midimap
1188 enable_mlang
1189 enable_mmcndmgr
1190 enable_mmdevapi
1191 enable_mountmgr_sys
1192 enable_mpr
1193 enable_mprapi
1194 enable_msacm32_drv
1195 enable_msacm32
1196 enable_msadp32_acm
1197 enable_msasn1
1198 enable_mscat32
1199 enable_mscms
1200 enable_mscoree
1201 enable_msctf
1202 enable_msctfp
1203 enable_msdaps
1204 enable_msdelta
1205 enable_msdmo
1206 enable_msdrm
1207 enable_msftedit
1208 enable_msg711_acm
1209 enable_msgsm32_acm
1210 enable_mshtml_tlb
1211 enable_mshtml
1212 enable_msi
1213 enable_msident
1214 enable_msimg32
1215 enable_msimsg
1216 enable_msimtf
1217 enable_msisip
1218 enable_msisys_ocx
1219 enable_msls31
1220 enable_msnet32
1221 enable_mspatcha
1222 enable_msports
1223 enable_msrle32
1224 enable_msscript_ocx
1225 enable_mssign32
1226 enable_mssip32
1227 enable_mstask
1228 enable_msvcirt
1229 enable_msvcm80
1230 enable_msvcm90
1231 enable_msvcp100
1232 enable_msvcp110
1233 enable_msvcp120
1234 enable_msvcp120_app
1235 enable_msvcp140
1236 enable_msvcp60
1237 enable_msvcp70
1238 enable_msvcp71
1239 enable_msvcp80
1240 enable_msvcp90
1241 enable_msvcr100
1242 enable_msvcr110
1243 enable_msvcr120
1244 enable_msvcr120_app
1245 enable_msvcr70
1246 enable_msvcr71
1247 enable_msvcr80
1248 enable_msvcr90
1249 enable_msvcrt
1250 enable_msvcrt20
1251 enable_msvcrt40
1252 enable_msvcrtd
1253 enable_msvfw32
1254 enable_msvidc32
1255 enable_mswsock
1256 enable_msxml
1257 enable_msxml2
1258 enable_msxml3
1259 enable_msxml4
1260 enable_msxml6
1261 enable_ncrypt
1262 enable_nddeapi
1263 enable_ndis_sys
1264 enable_netapi32
1265 enable_netcfgx
1266 enable_netprofm
1267 enable_newdev
1268 enable_normaliz
1269 enable_npmshtml
1270 enable_npptools
1271 enable_ntdll
1272 enable_ntdsapi
1273 enable_ntoskrnl_exe
1274 enable_ntprint
1275 enable_objsel
1276 enable_odbc32
1277 enable_odbccp32
1278 enable_odbccu32
1279 enable_ole32
1280 enable_oleacc
1281 enable_oleaut32
1282 enable_olecli32
1283 enable_oledb32
1284 enable_oledlg
1285 enable_olepro32
1286 enable_olesvr32
1287 enable_olethk32
1288 enable_openal32
1289 enable_opencl
1290 enable_opengl32
1291 enable_packager
1292 enable_pdh
1293 enable_photometadatahandler
1294 enable_pidgen
1295 enable_powrprof
1296 enable_printui
1297 enable_prntvpt
1298 enable_propsys
1299 enable_psapi
1300 enable_pstorec
1301 enable_qcap
1302 enable_qedit
1303 enable_qmgr
1304 enable_qmgrprxy
1305 enable_quartz
1306 enable_query
1307 enable_rasapi32
1308 enable_rasdlg
1309 enable_regapi
1310 enable_resutils
1311 enable_riched20
1312 enable_riched32
1313 enable_rpcrt4
1314 enable_rsabase
1315 enable_rsaenh
1316 enable_rstrtmgr
1317 enable_rtutils
1318 enable_samlib
1319 enable_sane_ds
1320 enable_scarddlg
1321 enable_sccbase
1322 enable_schannel
1323 enable_schedsvc
1324 enable_scrrun
1325 enable_scsiport_sys
1326 enable_secur32
1327 enable_security
1328 enable_sensapi
1329 enable_serialui
1330 enable_setupapi
1331 enable_sfc
1332 enable_sfc_os
1333 enable_shdoclc
1334 enable_shdocvw
1335 enable_shell32
1336 enable_shfolder
1337 enable_shlwapi
1338 enable_slbcsp
1339 enable_slc
1340 enable_snmpapi
1341 enable_softpub
1342 enable_spoolss
1343 enable_sspicli
1344 enable_stdole2_tlb
1345 enable_stdole32_tlb
1346 enable_sti
1347 enable_svrapi
1348 enable_sxs
1349 enable_t2embed
1350 enable_tapi32
1351 enable_taskschd
1352 enable_tdi_sys
1353 enable_traffic
1354 enable_twain_32
1355 enable_ucrtbase
1356 enable_unicows
1357 enable_updspapi
1358 enable_url
1359 enable_urlmon
1360 enable_usbd_sys
1361 enable_user32
1362 enable_userenv
1363 enable_usp10
1364 enable_uxtheme
1365 enable_vbscript
1366 enable_vcomp
1367 enable_vcomp100
1368 enable_vcomp110
1369 enable_vcomp120
1370 enable_vcomp140
1371 enable_vcomp90
1372 enable_vcruntime140
1373 enable_vdmdbg
1374 enable_version
1375 enable_vssapi
1376 enable_wbemdisp
1377 enable_wbemprox
1378 enable_webservices
1379 enable_wer
1380 enable_wevtapi
1381 enable_wiaservc
1382 enable_wimgapi
1383 enable_windowscodecs
1384 enable_windowscodecsext
1385 enable_winealsa_drv
1386 enable_winecoreaudio_drv
1387 enable_wined3d
1388 enable_winegstreamer
1389 enable_winejoystick_drv
1390 enable_winemac_drv
1391 enable_winemapi
1392 enable_winemp3_acm
1393 enable_wineoss_drv
1394 enable_wineps_drv
1395 enable_winepulse_drv
1396 enable_wineqtdecoder
1397 enable_winex11_drv
1398 enable_wing32
1399 enable_winhttp
1400 enable_wininet
1401 enable_winmm
1402 enable_winnls32
1403 enable_winscard
1404 enable_winspool_drv
1405 enable_winsta
1406 enable_wintab32
1407 enable_wintrust
1408 enable_wlanapi
1409 enable_wldap32
1410 enable_wmasf
1411 enable_wmi
1412 enable_wmiutils
1413 enable_wmp
1414 enable_wmvcore
1415 enable_wnaspi32
1416 enable_wpc
1417 enable_wpcap
1418 enable_ws2_32
1419 enable_wshom_ocx
1420 enable_wsnmp32
1421 enable_wsock32
1422 enable_wtsapi32
1423 enable_wuapi
1424 enable_wuaueng
1425 enable_x3daudio1_0
1426 enable_x3daudio1_1
1427 enable_x3daudio1_2
1428 enable_x3daudio1_3
1429 enable_x3daudio1_4
1430 enable_x3daudio1_5
1431 enable_x3daudio1_6
1432 enable_x3daudio1_7
1433 enable_xapofx1_1
1434 enable_xapofx1_2
1435 enable_xapofx1_3
1436 enable_xapofx1_4
1437 enable_xapofx1_5
1438 enable_xaudio2_0
1439 enable_xaudio2_1
1440 enable_xaudio2_2
1441 enable_xaudio2_3
1442 enable_xaudio2_4
1443 enable_xaudio2_5
1444 enable_xaudio2_6
1445 enable_xaudio2_7
1446 enable_xaudio2_8
1447 enable_xaudio2_9
1448 enable_xinput1_1
1449 enable_xinput1_2
1450 enable_xinput1_3
1451 enable_xinput1_4
1452 enable_xinput9_1_0
1453 enable_xmllite
1454 enable_xolehlp
1455 enable_xpsprint
1456 enable_xpssvcs
1457 enable_fonts
1458 enable_include
1459 enable_libs_port
1460 enable_libs_wine
1461 enable_libs_wpp
1462 enable_loader
1463 enable_po
1464 enable_arp
1465 enable_aspnet_regiis
1466 enable_attrib
1467 enable_cabarc
1468 enable_cacls
1469 enable_clock
1470 enable_cmd
1471 enable_conhost
1472 enable_control
1473 enable_cscript
1474 enable_dpnsvr
1475 enable_dxdiag
1476 enable_eject
1477 enable_expand
1478 enable_explorer
1479 enable_extrac32
1480 enable_findstr
1481 enable_fsutil
1482 enable_hh
1483 enable_hostname
1484 enable_icacls
1485 enable_icinfo
1486 enable_iexplore
1487 enable_ipconfig
1488 enable_lodctr
1489 enable_mofcomp
1490 enable_mshta
1491 enable_msiexec
1492 enable_net
1493 enable_netsh
1494 enable_netstat
1495 enable_ngen
1496 enable_notepad
1497 enable_oleview
1498 enable_ping
1499 enable_plugplay
1500 enable_presentationfontcache
1501 enable_progman
1502 enable_reg
1503 enable_regasm
1504 enable_regedit
1505 enable_regsvcs
1506 enable_regsvr32
1507 enable_rpcss
1508 enable_rundll32
1509 enable_sc
1510 enable_schtasks
1511 enable_sdbinst
1512 enable_secedit
1513 enable_servicemodelreg
1514 enable_services
1515 enable_shutdown
1516 enable_spoolsv
1517 enable_start
1518 enable_svchost
1519 enable_systeminfo
1520 enable_taskkill
1521 enable_tasklist
1522 enable_taskmgr
1523 enable_termsv
1524 enable_uninstaller
1525 enable_unlodctr
1526 enable_view
1527 enable_wevtutil
1528 enable_wineboot
1529 enable_winebrowser
1530 enable_winecfg
1531 enable_wineconsole
1532 enable_winedbg
1533 enable_winedevice
1534 enable_winefile
1535 enable_winemenubuilder
1536 enable_winemine
1537 enable_winemsibuilder
1538 enable_winepath
1539 enable_winetest
1540 enable_winhlp32
1541 enable_winver
1542 enable_wmic
1543 enable_wmplayer
1544 enable_wordpad
1545 enable_write
1546 enable_wscript
1547 enable_wusa
1548 enable_xcopy
1549 enable_server
1550 enable_tools
1552 ac_precious_vars='build_alias
1553 host_alias
1554 target_alias
1556 CFLAGS
1557 LDFLAGS
1558 LIBS
1559 CPPFLAGS
1561 CXXFLAGS
1564 XMKMF
1565 XML2_CFLAGS
1566 XML2_LIBS
1567 XSLT_CFLAGS
1568 XSLT_LIBS
1569 DBUS_CFLAGS
1570 DBUS_LIBS
1571 HAL_CFLAGS
1572 HAL_LIBS
1573 GNUTLS_CFLAGS
1574 GNUTLS_LIBS
1575 SANE_CFLAGS
1576 SANE_LIBS
1577 GPHOTO2_CFLAGS
1578 GPHOTO2_LIBS
1579 GPHOTO2_PORT_CFLAGS
1580 GPHOTO2_PORT_LIBS
1581 LCMS2_CFLAGS
1582 LCMS2_LIBS
1583 FREETYPE_CFLAGS
1584 FREETYPE_LIBS
1585 PULSE_CFLAGS
1586 PULSE_LIBS
1587 GSTREAMER_CFLAGS
1588 GSTREAMER_LIBS
1589 CAPI20_CFLAGS
1590 CAPI20_LIBS
1591 FONTCONFIG_CFLAGS
1592 FONTCONFIG_LIBS
1593 JPEG_CFLAGS
1594 JPEG_LIBS
1595 PNG_CFLAGS
1596 PNG_LIBS
1597 TIFF_CFLAGS
1598 TIFF_LIBS
1599 MPG123_CFLAGS
1600 MPG123_LIBS
1601 NETAPI_CFLAGS
1602 NETAPI_LIBS'
1605 # Initialize some variables set by options.
1606 ac_init_help=
1607 ac_init_version=false
1608 ac_unrecognized_opts=
1609 ac_unrecognized_sep=
1610 # The variables have the same names as the options, with
1611 # dashes changed to underlines.
1612 cache_file=/dev/null
1613 exec_prefix=NONE
1614 no_create=
1615 no_recursion=
1616 prefix=NONE
1617 program_prefix=NONE
1618 program_suffix=NONE
1619 program_transform_name=s,x,x,
1620 silent=
1621 site=
1622 srcdir=
1623 verbose=
1624 x_includes=NONE
1625 x_libraries=NONE
1627 # Installation directory options.
1628 # These are left unexpanded so users can "make install exec_prefix=/foo"
1629 # and all the variables that are supposed to be based on exec_prefix
1630 # by default will actually change.
1631 # Use braces instead of parens because sh, perl, etc. also accept them.
1632 # (The list follows the same order as the GNU Coding Standards.)
1633 bindir='${exec_prefix}/bin'
1634 sbindir='${exec_prefix}/sbin'
1635 libexecdir='${exec_prefix}/libexec'
1636 datarootdir='${prefix}/share'
1637 datadir='${datarootdir}'
1638 sysconfdir='${prefix}/etc'
1639 sharedstatedir='${prefix}/com'
1640 localstatedir='${prefix}/var'
1641 runstatedir='${localstatedir}/run'
1642 includedir='${prefix}/include'
1643 oldincludedir='/usr/include'
1644 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1645 infodir='${datarootdir}/info'
1646 htmldir='${docdir}'
1647 dvidir='${docdir}'
1648 pdfdir='${docdir}'
1649 psdir='${docdir}'
1650 libdir='${exec_prefix}/lib'
1651 localedir='${datarootdir}/locale'
1652 mandir='${datarootdir}/man'
1654 ac_prev=
1655 ac_dashdash=
1656 for ac_option
1658 # If the previous option needs an argument, assign it.
1659 if test -n "$ac_prev"; then
1660 eval $ac_prev=\$ac_option
1661 ac_prev=
1662 continue
1665 case $ac_option in
1666 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1667 *=) ac_optarg= ;;
1668 *) ac_optarg=yes ;;
1669 esac
1671 # Accept the important Cygnus configure options, so we can diagnose typos.
1673 case $ac_dashdash$ac_option in
1675 ac_dashdash=yes ;;
1677 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1678 ac_prev=bindir ;;
1679 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1680 bindir=$ac_optarg ;;
1682 -build | --build | --buil | --bui | --bu)
1683 ac_prev=build_alias ;;
1684 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1685 build_alias=$ac_optarg ;;
1687 -cache-file | --cache-file | --cache-fil | --cache-fi \
1688 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1689 ac_prev=cache_file ;;
1690 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1691 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1692 cache_file=$ac_optarg ;;
1694 --config-cache | -C)
1695 cache_file=config.cache ;;
1697 -datadir | --datadir | --datadi | --datad)
1698 ac_prev=datadir ;;
1699 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1700 datadir=$ac_optarg ;;
1702 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1703 | --dataroo | --dataro | --datar)
1704 ac_prev=datarootdir ;;
1705 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1706 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1707 datarootdir=$ac_optarg ;;
1709 -disable-* | --disable-*)
1710 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
1721 ac_unrecognized_sep=', ';;
1722 esac
1723 eval enable_$ac_useropt=no ;;
1725 -docdir | --docdir | --docdi | --doc | --do)
1726 ac_prev=docdir ;;
1727 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1728 docdir=$ac_optarg ;;
1730 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1731 ac_prev=dvidir ;;
1732 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1733 dvidir=$ac_optarg ;;
1735 -enable-* | --enable-*)
1736 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1737 # Reject names that are not valid shell variable names.
1738 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1739 as_fn_error $? "invalid feature name: $ac_useropt"
1740 ac_useropt_orig=$ac_useropt
1741 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1742 case $ac_user_opts in
1744 "enable_$ac_useropt"
1745 "*) ;;
1746 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1747 ac_unrecognized_sep=', ';;
1748 esac
1749 eval enable_$ac_useropt=\$ac_optarg ;;
1751 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1752 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1753 | --exec | --exe | --ex)
1754 ac_prev=exec_prefix ;;
1755 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1756 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1757 | --exec=* | --exe=* | --ex=*)
1758 exec_prefix=$ac_optarg ;;
1760 -gas | --gas | --ga | --g)
1761 # Obsolete; use --with-gas.
1762 with_gas=yes ;;
1764 -help | --help | --hel | --he | -h)
1765 ac_init_help=long ;;
1766 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1767 ac_init_help=recursive ;;
1768 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1769 ac_init_help=short ;;
1771 -host | --host | --hos | --ho)
1772 ac_prev=host_alias ;;
1773 -host=* | --host=* | --hos=* | --ho=*)
1774 host_alias=$ac_optarg ;;
1776 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1777 ac_prev=htmldir ;;
1778 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1779 | --ht=*)
1780 htmldir=$ac_optarg ;;
1782 -includedir | --includedir | --includedi | --included | --include \
1783 | --includ | --inclu | --incl | --inc)
1784 ac_prev=includedir ;;
1785 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1786 | --includ=* | --inclu=* | --incl=* | --inc=*)
1787 includedir=$ac_optarg ;;
1789 -infodir | --infodir | --infodi | --infod | --info | --inf)
1790 ac_prev=infodir ;;
1791 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1792 infodir=$ac_optarg ;;
1794 -libdir | --libdir | --libdi | --libd)
1795 ac_prev=libdir ;;
1796 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1797 libdir=$ac_optarg ;;
1799 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1800 | --libexe | --libex | --libe)
1801 ac_prev=libexecdir ;;
1802 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1803 | --libexe=* | --libex=* | --libe=*)
1804 libexecdir=$ac_optarg ;;
1806 -localedir | --localedir | --localedi | --localed | --locale)
1807 ac_prev=localedir ;;
1808 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1809 localedir=$ac_optarg ;;
1811 -localstatedir | --localstatedir | --localstatedi | --localstated \
1812 | --localstate | --localstat | --localsta | --localst | --locals)
1813 ac_prev=localstatedir ;;
1814 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1815 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1816 localstatedir=$ac_optarg ;;
1818 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1819 ac_prev=mandir ;;
1820 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1821 mandir=$ac_optarg ;;
1823 -nfp | --nfp | --nf)
1824 # Obsolete; use --without-fp.
1825 with_fp=no ;;
1827 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1828 | --no-cr | --no-c | -n)
1829 no_create=yes ;;
1831 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1832 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1833 no_recursion=yes ;;
1835 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1836 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1837 | --oldin | --oldi | --old | --ol | --o)
1838 ac_prev=oldincludedir ;;
1839 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1840 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1841 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1842 oldincludedir=$ac_optarg ;;
1844 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1845 ac_prev=prefix ;;
1846 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1847 prefix=$ac_optarg ;;
1849 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1850 | --program-pre | --program-pr | --program-p)
1851 ac_prev=program_prefix ;;
1852 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1853 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1854 program_prefix=$ac_optarg ;;
1856 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1857 | --program-suf | --program-su | --program-s)
1858 ac_prev=program_suffix ;;
1859 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1860 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1861 program_suffix=$ac_optarg ;;
1863 -program-transform-name | --program-transform-name \
1864 | --program-transform-nam | --program-transform-na \
1865 | --program-transform-n | --program-transform- \
1866 | --program-transform | --program-transfor \
1867 | --program-transfo | --program-transf \
1868 | --program-trans | --program-tran \
1869 | --progr-tra | --program-tr | --program-t)
1870 ac_prev=program_transform_name ;;
1871 -program-transform-name=* | --program-transform-name=* \
1872 | --program-transform-nam=* | --program-transform-na=* \
1873 | --program-transform-n=* | --program-transform-=* \
1874 | --program-transform=* | --program-transfor=* \
1875 | --program-transfo=* | --program-transf=* \
1876 | --program-trans=* | --program-tran=* \
1877 | --progr-tra=* | --program-tr=* | --program-t=*)
1878 program_transform_name=$ac_optarg ;;
1880 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1881 ac_prev=pdfdir ;;
1882 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1883 pdfdir=$ac_optarg ;;
1885 -psdir | --psdir | --psdi | --psd | --ps)
1886 ac_prev=psdir ;;
1887 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1888 psdir=$ac_optarg ;;
1890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1891 | -silent | --silent | --silen | --sile | --sil)
1892 silent=yes ;;
1894 -runstatedir | --runstatedir | --runstatedi | --runstated \
1895 | --runstate | --runstat | --runsta | --runst | --runs \
1896 | --run | --ru | --r)
1897 ac_prev=runstatedir ;;
1898 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1899 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1900 | --run=* | --ru=* | --r=*)
1901 runstatedir=$ac_optarg ;;
1903 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1904 ac_prev=sbindir ;;
1905 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1906 | --sbi=* | --sb=*)
1907 sbindir=$ac_optarg ;;
1909 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1910 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1911 | --sharedst | --shareds | --shared | --share | --shar \
1912 | --sha | --sh)
1913 ac_prev=sharedstatedir ;;
1914 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1915 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1916 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1917 | --sha=* | --sh=*)
1918 sharedstatedir=$ac_optarg ;;
1920 -site | --site | --sit)
1921 ac_prev=site ;;
1922 -site=* | --site=* | --sit=*)
1923 site=$ac_optarg ;;
1925 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1926 ac_prev=srcdir ;;
1927 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1928 srcdir=$ac_optarg ;;
1930 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1931 | --syscon | --sysco | --sysc | --sys | --sy)
1932 ac_prev=sysconfdir ;;
1933 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1934 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1935 sysconfdir=$ac_optarg ;;
1937 -target | --target | --targe | --targ | --tar | --ta | --t)
1938 ac_prev=target_alias ;;
1939 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1940 target_alias=$ac_optarg ;;
1942 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1943 verbose=yes ;;
1945 -version | --version | --versio | --versi | --vers | -V)
1946 ac_init_version=: ;;
1948 -with-* | --with-*)
1949 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1950 # Reject names that are not valid shell variable names.
1951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1952 as_fn_error $? "invalid package name: $ac_useropt"
1953 ac_useropt_orig=$ac_useropt
1954 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1955 case $ac_user_opts in
1957 "with_$ac_useropt"
1958 "*) ;;
1959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1960 ac_unrecognized_sep=', ';;
1961 esac
1962 eval with_$ac_useropt=\$ac_optarg ;;
1964 -without-* | --without-*)
1965 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1966 # Reject names that are not valid shell variable names.
1967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1968 as_fn_error $? "invalid package name: $ac_useropt"
1969 ac_useropt_orig=$ac_useropt
1970 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1971 case $ac_user_opts in
1973 "with_$ac_useropt"
1974 "*) ;;
1975 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1976 ac_unrecognized_sep=', ';;
1977 esac
1978 eval with_$ac_useropt=no ;;
1980 --x)
1981 # Obsolete; use --with-x.
1982 with_x=yes ;;
1984 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1985 | --x-incl | --x-inc | --x-in | --x-i)
1986 ac_prev=x_includes ;;
1987 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1988 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1989 x_includes=$ac_optarg ;;
1991 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1992 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1993 ac_prev=x_libraries ;;
1994 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1995 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1996 x_libraries=$ac_optarg ;;
1998 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1999 Try \`$0 --help' for more information"
2002 *=*)
2003 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2004 # Reject names that are not valid shell variable names.
2005 case $ac_envvar in #(
2006 '' | [0-9]* | *[!_$as_cr_alnum]* )
2007 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2008 esac
2009 eval $ac_envvar=\$ac_optarg
2010 export $ac_envvar ;;
2013 # FIXME: should be removed in autoconf 3.0.
2014 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2015 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2016 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2017 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2020 esac
2021 done
2023 if test -n "$ac_prev"; then
2024 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2025 as_fn_error $? "missing argument to $ac_option"
2028 if test -n "$ac_unrecognized_opts"; then
2029 case $enable_option_checking in
2030 no) ;;
2031 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2032 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2033 esac
2036 # Check all directory arguments for consistency.
2037 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2038 datadir sysconfdir sharedstatedir localstatedir includedir \
2039 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2040 libdir localedir mandir runstatedir
2042 eval ac_val=\$$ac_var
2043 # Remove trailing slashes.
2044 case $ac_val in
2045 */ )
2046 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2047 eval $ac_var=\$ac_val;;
2048 esac
2049 # Be sure to have absolute directory names.
2050 case $ac_val in
2051 [\\/$]* | ?:[\\/]* ) continue;;
2052 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2053 esac
2054 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2055 done
2057 # There might be people who depend on the old broken behavior: `$host'
2058 # used to hold the argument of --host etc.
2059 # FIXME: To remove some day.
2060 build=$build_alias
2061 host=$host_alias
2062 target=$target_alias
2064 # FIXME: To remove some day.
2065 if test "x$host_alias" != x; then
2066 if test "x$build_alias" = x; then
2067 cross_compiling=maybe
2068 elif test "x$build_alias" != "x$host_alias"; then
2069 cross_compiling=yes
2073 ac_tool_prefix=
2074 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2076 test "$silent" = yes && exec 6>/dev/null
2079 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2080 ac_ls_di=`ls -di .` &&
2081 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2082 as_fn_error $? "working directory cannot be determined"
2083 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2084 as_fn_error $? "pwd does not report name of working directory"
2087 # Find the source files, if location was not specified.
2088 if test -z "$srcdir"; then
2089 ac_srcdir_defaulted=yes
2090 # Try the directory containing this script, then the parent directory.
2091 ac_confdir=`$as_dirname -- "$as_myself" ||
2092 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2093 X"$as_myself" : 'X\(//\)[^/]' \| \
2094 X"$as_myself" : 'X\(//\)$' \| \
2095 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2096 $as_echo X"$as_myself" |
2097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2098 s//\1/
2101 /^X\(\/\/\)[^/].*/{
2102 s//\1/
2105 /^X\(\/\/\)$/{
2106 s//\1/
2109 /^X\(\/\).*/{
2110 s//\1/
2113 s/.*/./; q'`
2114 srcdir=$ac_confdir
2115 if test ! -r "$srcdir/$ac_unique_file"; then
2116 srcdir=..
2118 else
2119 ac_srcdir_defaulted=no
2121 if test ! -r "$srcdir/$ac_unique_file"; then
2122 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2123 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2125 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2126 ac_abs_confdir=`(
2127 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2128 pwd)`
2129 # When building in place, set srcdir=.
2130 if test "$ac_abs_confdir" = "$ac_pwd"; then
2131 srcdir=.
2133 # Remove unnecessary trailing slashes from srcdir.
2134 # Double slashes in file names in object file debugging info
2135 # mess up M-x gdb in Emacs.
2136 case $srcdir in
2137 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2138 esac
2139 for ac_var in $ac_precious_vars; do
2140 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2141 eval ac_env_${ac_var}_value=\$${ac_var}
2142 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2143 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2144 done
2147 # Report the --help message.
2149 if test "$ac_init_help" = "long"; then
2150 # Omit some internal or obsolete options to make the list less imposing.
2151 # This message is too long to be a string in the A/UX 3.1 sh.
2152 cat <<_ACEOF
2153 \`configure' configures Wine 1.9.17 to adapt to many kinds of systems.
2155 Usage: $0 [OPTION]... [VAR=VALUE]...
2157 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2158 VAR=VALUE. See below for descriptions of some of the useful variables.
2160 Defaults for the options are specified in brackets.
2162 Configuration:
2163 -h, --help display this help and exit
2164 --help=short display options specific to this package
2165 --help=recursive display the short help of all the included packages
2166 -V, --version display version information and exit
2167 -q, --quiet, --silent do not print \`checking ...' messages
2168 --cache-file=FILE cache test results in FILE [disabled]
2169 -C, --config-cache alias for \`--cache-file=config.cache'
2170 -n, --no-create do not create output files
2171 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2173 Installation directories:
2174 --prefix=PREFIX install architecture-independent files in PREFIX
2175 [$ac_default_prefix]
2176 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2177 [PREFIX]
2179 By default, \`make install' will install all the files in
2180 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2181 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2182 for instance \`--prefix=\$HOME'.
2184 For better control, use the options below.
2186 Fine tuning of the installation directories:
2187 --bindir=DIR user executables [EPREFIX/bin]
2188 --sbindir=DIR system admin executables [EPREFIX/sbin]
2189 --libexecdir=DIR program executables [EPREFIX/libexec]
2190 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2191 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2192 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2193 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2194 --libdir=DIR object code libraries [EPREFIX/lib]
2195 --includedir=DIR C header files [PREFIX/include]
2196 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2197 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2198 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2199 --infodir=DIR info documentation [DATAROOTDIR/info]
2200 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2201 --mandir=DIR man documentation [DATAROOTDIR/man]
2202 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2203 --htmldir=DIR html documentation [DOCDIR]
2204 --dvidir=DIR dvi documentation [DOCDIR]
2205 --pdfdir=DIR pdf documentation [DOCDIR]
2206 --psdir=DIR ps documentation [DOCDIR]
2207 _ACEOF
2209 cat <<\_ACEOF
2211 X features:
2212 --x-includes=DIR X include files are in DIR
2213 --x-libraries=DIR X library files are in DIR
2215 System types:
2216 --build=BUILD configure for building on BUILD [guessed]
2217 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2218 _ACEOF
2221 if test -n "$ac_init_help"; then
2222 case $ac_init_help in
2223 short | recursive ) echo "Configuration of Wine 1.9.17:";;
2224 esac
2225 cat <<\_ACEOF
2227 Optional Features:
2228 --disable-option-checking ignore unrecognized --enable/--with options
2229 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2230 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2231 --disable-win16 do not include Win16 support
2232 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2233 binaries)
2234 --disable-tests do not build the regression tests
2235 --enable-maintainer-mode
2236 enable maintainer-specific build rules
2237 --disable-largefile omit support for large files
2239 Optional Packages:
2240 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2241 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2242 --without-alsa do not use the Alsa sound support
2243 --without-capi do not use CAPI (ISDN support)
2244 --without-cms do not use CMS (color management support)
2245 --without-coreaudio do not use the CoreAudio sound support
2246 --without-cups do not use CUPS
2247 --without-curses do not use (n)curses
2248 --without-dbus do not use DBus (dynamic device support)
2249 --without-fontconfig do not use fontconfig
2250 --without-freetype do not use the FreeType library
2251 --without-gettext do not use gettext
2252 --with-gettextpo use the GetTextPO library to rebuild po files
2253 --without-gphoto do not use gphoto (Digital Camera support)
2254 --without-glu do not use the GLU library
2255 --without-gnutls do not use GnuTLS (schannel support)
2256 --without-gsm do not use libgsm (GSM 06.10 codec support)
2257 --without-gstreamer do not use GStreamer (codecs support)
2258 --without-hal do not use HAL (dynamic device support)
2259 --without-jpeg do not use JPEG
2260 --without-ldap do not use LDAP
2261 --without-mpg123 do not use the mpg123 library
2262 --without-netapi do not use the Samba NetAPI library
2263 --without-openal do not use OpenAL
2264 --without-opencl do not use OpenCL
2265 --without-opengl do not use OpenGL
2266 --without-osmesa do not use the OSMesa library
2267 --without-oss do not use the OSS sound support
2268 --without-pcap do not use the Packet Capture library
2269 --without-png do not use PNG
2270 --without-pthread do not use the pthread library
2271 --without-pulse do not use PulseAudio sound support
2272 --without-sane do not use SANE (scanner support)
2273 --without-tiff do not use TIFF
2274 --without-v4l do not use v4l1 (v4l support)
2275 --without-xcomposite do not use the Xcomposite extension
2276 --without-xcursor do not use the Xcursor extension
2277 --without-xinerama do not use Xinerama (multi-monitor support)
2278 --without-xinput do not use the Xinput extension
2279 --without-xinput2 do not use the Xinput 2 extension
2280 --without-xml do not use XML
2281 --without-xrandr do not use Xrandr (resolution changes)
2282 --without-xrender do not use the Xrender extension
2283 --without-xshape do not use the Xshape extension
2284 --without-xshm do not use XShm (shared memory extension)
2285 --without-xslt do not use XSLT
2286 --without-xxf86vm do not use XFree video mode extension
2287 --without-zlib do not use Zlib (data compression)
2288 --with-wine-tools=DIR use Wine tools from directory DIR
2289 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2290 --with-x use the X Window System
2292 Some influential environment variables:
2293 CC C compiler command
2294 CFLAGS C compiler flags
2295 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2296 nonstandard directory <lib dir>
2297 LIBS libraries to pass to the linker, e.g. -l<library>
2298 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2299 you have headers in a nonstandard directory <include dir>
2300 CXX C++ compiler command
2301 CXXFLAGS C++ compiler flags
2302 CPP C preprocessor
2303 XMKMF Path to xmkmf, Makefile generator for X Window System
2304 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2305 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2306 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2307 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2308 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2309 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2310 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2311 HAL_LIBS Linker flags for hal, overriding pkg-config
2312 GNUTLS_CFLAGS
2313 C compiler flags for gnutls, overriding pkg-config
2314 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2315 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2316 SANE_LIBS Linker flags for libsane, overriding pkg-config
2317 GPHOTO2_CFLAGS
2318 C compiler flags for libgphoto2, overriding pkg-config
2319 GPHOTO2_LIBS
2320 Linker flags for libgphoto2, overriding pkg-config
2321 GPHOTO2_PORT_CFLAGS
2322 C compiler flags for libgphoto2_port, overriding pkg-config
2323 GPHOTO2_PORT_LIBS
2324 Linker flags for libgphoto2_port, overriding pkg-config
2325 LCMS2_CFLAGS
2326 C compiler flags for lcms2, overriding pkg-config
2327 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2328 FREETYPE_CFLAGS
2329 C compiler flags for freetype2, overriding pkg-config
2330 FREETYPE_LIBS
2331 Linker flags for freetype2, overriding pkg-config
2332 PULSE_CFLAGS
2333 C compiler flags for libpulse, overriding pkg-config
2334 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2335 GSTREAMER_CFLAGS
2336 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2337 gstreamer-audio-1.0, overriding pkg-config
2338 GSTREAMER_LIBS
2339 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2340 gstreamer-audio-1.0, overriding pkg-config
2341 CAPI20_CFLAGS
2342 C compiler flags for capi20, overriding pkg-config
2343 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2344 FONTCONFIG_CFLAGS
2345 C compiler flags for fontconfig, overriding pkg-config
2346 FONTCONFIG_LIBS
2347 Linker flags for fontconfig, overriding pkg-config
2348 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2349 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2350 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2351 PNG_LIBS Linker flags for libpng, overriding pkg-config
2352 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2353 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2354 MPG123_CFLAGS
2355 C compiler flags for libmpg123, overriding pkg-config
2356 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2357 NETAPI_CFLAGS
2358 C compiler flags for netapi, overriding pkg-config
2359 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2361 Use these variables to override the choices made by `configure' or to help
2362 it to find libraries and programs with nonstandard names/locations.
2364 Report bugs to <wine-devel@winehq.org>.
2365 Wine home page: <http://www.winehq.org>.
2366 _ACEOF
2367 ac_status=$?
2370 if test "$ac_init_help" = "recursive"; then
2371 # If there are subdirs, report their specific --help.
2372 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2373 test -d "$ac_dir" ||
2374 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2375 continue
2376 ac_builddir=.
2378 case "$ac_dir" in
2379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2381 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2382 # A ".." for each directory in $ac_dir_suffix.
2383 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2384 case $ac_top_builddir_sub in
2385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2387 esac ;;
2388 esac
2389 ac_abs_top_builddir=$ac_pwd
2390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2391 # for backward compatibility:
2392 ac_top_builddir=$ac_top_build_prefix
2394 case $srcdir in
2395 .) # We are building in place.
2396 ac_srcdir=.
2397 ac_top_srcdir=$ac_top_builddir_sub
2398 ac_abs_top_srcdir=$ac_pwd ;;
2399 [\\/]* | ?:[\\/]* ) # Absolute name.
2400 ac_srcdir=$srcdir$ac_dir_suffix;
2401 ac_top_srcdir=$srcdir
2402 ac_abs_top_srcdir=$srcdir ;;
2403 *) # Relative name.
2404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2405 ac_top_srcdir=$ac_top_build_prefix$srcdir
2406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2407 esac
2408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2410 cd "$ac_dir" || { ac_status=$?; continue; }
2411 # Check for guested configure.
2412 if test -f "$ac_srcdir/configure.gnu"; then
2413 echo &&
2414 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2415 elif test -f "$ac_srcdir/configure"; then
2416 echo &&
2417 $SHELL "$ac_srcdir/configure" --help=recursive
2418 else
2419 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2420 fi || ac_status=$?
2421 cd "$ac_pwd" || { ac_status=$?; break; }
2422 done
2425 test -n "$ac_init_help" && exit $ac_status
2426 if $ac_init_version; then
2427 cat <<\_ACEOF
2428 Wine configure 1.9.17
2429 generated by GNU Autoconf 2.69
2431 Copyright (C) 2012 Free Software Foundation, Inc.
2432 This configure script is free software; the Free Software Foundation
2433 gives unlimited permission to copy, distribute and modify it.
2434 _ACEOF
2435 exit
2438 ## ------------------------ ##
2439 ## Autoconf initialization. ##
2440 ## ------------------------ ##
2442 # ac_fn_c_try_compile LINENO
2443 # --------------------------
2444 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2445 ac_fn_c_try_compile ()
2447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2448 rm -f conftest.$ac_objext
2449 if { { ac_try="$ac_compile"
2450 case "(($ac_try" in
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2453 esac
2454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 $as_echo "$ac_try_echo"; } >&5
2456 (eval "$ac_compile") 2>conftest.err
2457 ac_status=$?
2458 if test -s conftest.err; then
2459 grep -v '^ *+' conftest.err >conftest.er1
2460 cat conftest.er1 >&5
2461 mv -f conftest.er1 conftest.err
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; } && {
2465 test -z "$ac_c_werror_flag" ||
2466 test ! -s conftest.err
2467 } && test -s conftest.$ac_objext; then :
2468 ac_retval=0
2469 else
2470 $as_echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.$ac_ext >&5
2473 ac_retval=1
2475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2476 as_fn_set_status $ac_retval
2478 } # ac_fn_c_try_compile
2480 # ac_fn_cxx_try_compile LINENO
2481 # ----------------------------
2482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2483 ac_fn_cxx_try_compile ()
2485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2486 rm -f conftest.$ac_objext
2487 if { { ac_try="$ac_compile"
2488 case "(($ac_try" in
2489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2490 *) ac_try_echo=$ac_try;;
2491 esac
2492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2493 $as_echo "$ac_try_echo"; } >&5
2494 (eval "$ac_compile") 2>conftest.err
2495 ac_status=$?
2496 if test -s conftest.err; then
2497 grep -v '^ *+' conftest.err >conftest.er1
2498 cat conftest.er1 >&5
2499 mv -f conftest.er1 conftest.err
2501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2502 test $ac_status = 0; } && {
2503 test -z "$ac_cxx_werror_flag" ||
2504 test ! -s conftest.err
2505 } && test -s conftest.$ac_objext; then :
2506 ac_retval=0
2507 else
2508 $as_echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.$ac_ext >&5
2511 ac_retval=1
2513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2514 as_fn_set_status $ac_retval
2516 } # ac_fn_cxx_try_compile
2518 # ac_fn_c_try_link LINENO
2519 # -----------------------
2520 # Try to link conftest.$ac_ext, and return whether this succeeded.
2521 ac_fn_c_try_link ()
2523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2524 rm -f conftest.$ac_objext conftest$ac_exeext
2525 if { { ac_try="$ac_link"
2526 case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529 esac
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_link") 2>conftest.err
2533 ac_status=$?
2534 if test -s conftest.err; then
2535 grep -v '^ *+' conftest.err >conftest.er1
2536 cat conftest.er1 >&5
2537 mv -f conftest.er1 conftest.err
2539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540 test $ac_status = 0; } && {
2541 test -z "$ac_c_werror_flag" ||
2542 test ! -s conftest.err
2543 } && test -s conftest$ac_exeext && {
2544 test "$cross_compiling" = yes ||
2545 test -x conftest$ac_exeext
2546 }; then :
2547 ac_retval=0
2548 else
2549 $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2552 ac_retval=1
2554 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2555 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2556 # interfere with the next link command; also delete a directory that is
2557 # left behind by Apple's compiler. We do this before executing the actions.
2558 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2560 as_fn_set_status $ac_retval
2562 } # ac_fn_c_try_link
2564 # ac_fn_c_try_cpp LINENO
2565 # ----------------------
2566 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2567 ac_fn_c_try_cpp ()
2569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2570 if { { ac_try="$ac_cpp conftest.$ac_ext"
2571 case "(($ac_try" in
2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2574 esac
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2578 ac_status=$?
2579 if test -s conftest.err; then
2580 grep -v '^ *+' conftest.err >conftest.er1
2581 cat conftest.er1 >&5
2582 mv -f conftest.er1 conftest.err
2584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2585 test $ac_status = 0; } > conftest.i && {
2586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2587 test ! -s conftest.err
2588 }; then :
2589 ac_retval=0
2590 else
2591 $as_echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2594 ac_retval=1
2596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2597 as_fn_set_status $ac_retval
2599 } # ac_fn_c_try_cpp
2601 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2602 # -------------------------------------------------------
2603 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2604 # the include files in INCLUDES and setting the cache variable VAR
2605 # accordingly.
2606 ac_fn_c_check_header_mongrel ()
2608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2609 if eval \${$3+:} false; then :
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2611 $as_echo_n "checking for $2... " >&6; }
2612 if eval \${$3+:} false; then :
2613 $as_echo_n "(cached) " >&6
2615 eval ac_res=\$$3
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2617 $as_echo "$ac_res" >&6; }
2618 else
2619 # Is the header compilable?
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2621 $as_echo_n "checking $2 usability... " >&6; }
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2625 #include <$2>
2626 _ACEOF
2627 if ac_fn_c_try_compile "$LINENO"; then :
2628 ac_header_compiler=yes
2629 else
2630 ac_header_compiler=no
2632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2634 $as_echo "$ac_header_compiler" >&6; }
2636 # Is the header present?
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2638 $as_echo_n "checking $2 presence... " >&6; }
2639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2640 /* end confdefs.h. */
2641 #include <$2>
2642 _ACEOF
2643 if ac_fn_c_try_cpp "$LINENO"; then :
2644 ac_header_preproc=yes
2645 else
2646 ac_header_preproc=no
2648 rm -f conftest.err conftest.i conftest.$ac_ext
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2650 $as_echo "$ac_header_preproc" >&6; }
2652 # So? What about this header?
2653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2654 yes:no: )
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2656 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2658 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2660 no:yes:* )
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2662 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2664 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2666 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2668 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2670 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2671 ( $as_echo "## ------------------------------------ ##
2672 ## Report this to wine-devel@winehq.org ##
2673 ## ------------------------------------ ##"
2674 ) | sed "s/^/$as_me: WARNING: /" >&2
2676 esac
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2678 $as_echo_n "checking for $2... " >&6; }
2679 if eval \${$3+:} false; then :
2680 $as_echo_n "(cached) " >&6
2681 else
2682 eval "$3=\$ac_header_compiler"
2684 eval ac_res=\$$3
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2686 $as_echo "$ac_res" >&6; }
2688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2690 } # ac_fn_c_check_header_mongrel
2692 # ac_fn_c_try_run LINENO
2693 # ----------------------
2694 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2695 # that executables *can* be run.
2696 ac_fn_c_try_run ()
2698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2699 if { { ac_try="$ac_link"
2700 case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2703 esac
2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705 $as_echo "$ac_try_echo"; } >&5
2706 (eval "$ac_link") 2>&5
2707 ac_status=$?
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2710 { { case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_try") 2>&5
2717 ac_status=$?
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; }; }; then :
2720 ac_retval=0
2721 else
2722 $as_echo "$as_me: program exited with status $ac_status" >&5
2723 $as_echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.$ac_ext >&5
2726 ac_retval=$ac_status
2728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2730 as_fn_set_status $ac_retval
2732 } # ac_fn_c_try_run
2734 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2735 # -------------------------------------------------------
2736 # Tests whether HEADER exists and can be compiled using the include files in
2737 # INCLUDES, setting the cache variable VAR accordingly.
2738 ac_fn_c_check_header_compile ()
2740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2742 $as_echo_n "checking for $2... " >&6; }
2743 if eval \${$3+:} false; then :
2744 $as_echo_n "(cached) " >&6
2745 else
2746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2747 /* end confdefs.h. */
2749 #include <$2>
2750 _ACEOF
2751 if ac_fn_c_try_compile "$LINENO"; then :
2752 eval "$3=yes"
2753 else
2754 eval "$3=no"
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 eval ac_res=\$$3
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2760 $as_echo "$ac_res" >&6; }
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 } # ac_fn_c_check_header_compile
2765 # ac_fn_c_check_func LINENO FUNC VAR
2766 # ----------------------------------
2767 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2768 ac_fn_c_check_func ()
2770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2772 $as_echo_n "checking for $2... " >&6; }
2773 if eval \${$3+:} false; then :
2774 $as_echo_n "(cached) " >&6
2775 else
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2778 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2780 #define $2 innocuous_$2
2782 /* System header to define __stub macros and hopefully few prototypes,
2783 which can conflict with char $2 (); below.
2784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2785 <limits.h> exists even on freestanding compilers. */
2787 #ifdef __STDC__
2788 # include <limits.h>
2789 #else
2790 # include <assert.h>
2791 #endif
2793 #undef $2
2795 /* Override any GCC internal prototype to avoid an error.
2796 Use char because int might match the return type of a GCC
2797 builtin and then its argument prototype would still apply. */
2798 #ifdef __cplusplus
2799 extern "C"
2800 #endif
2801 char $2 ();
2802 /* The GNU C library defines this for functions which it implements
2803 to always fail with ENOSYS. Some functions are actually named
2804 something starting with __ and the normal name is an alias. */
2805 #if defined __stub_$2 || defined __stub___$2
2806 choke me
2807 #endif
2810 main ()
2812 return $2 ();
2814 return 0;
2816 _ACEOF
2817 if ac_fn_c_try_link "$LINENO"; then :
2818 eval "$3=yes"
2819 else
2820 eval "$3=no"
2822 rm -f core conftest.err conftest.$ac_objext \
2823 conftest$ac_exeext conftest.$ac_ext
2825 eval ac_res=\$$3
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2827 $as_echo "$ac_res" >&6; }
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 } # ac_fn_c_check_func
2832 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2833 # ----------------------------------------------------
2834 # Tries to find if the field MEMBER exists in type AGGR, after including
2835 # INCLUDES, setting cache variable VAR accordingly.
2836 ac_fn_c_check_member ()
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2840 $as_echo_n "checking for $2.$3... " >&6; }
2841 if eval \${$4+:} false; then :
2842 $as_echo_n "(cached) " >&6
2843 else
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2848 main ()
2850 static $2 ac_aggr;
2851 if (ac_aggr.$3)
2852 return 0;
2854 return 0;
2856 _ACEOF
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 eval "$4=yes"
2859 else
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2864 main ()
2866 static $2 ac_aggr;
2867 if (sizeof ac_aggr.$3)
2868 return 0;
2870 return 0;
2872 _ACEOF
2873 if ac_fn_c_try_compile "$LINENO"; then :
2874 eval "$4=yes"
2875 else
2876 eval "$4=no"
2878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882 eval ac_res=\$$4
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2884 $as_echo "$ac_res" >&6; }
2885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2887 } # ac_fn_c_check_member
2889 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2890 # -------------------------------------------
2891 # Tests whether TYPE exists after having included INCLUDES, setting cache
2892 # variable VAR accordingly.
2893 ac_fn_c_check_type ()
2895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2897 $as_echo_n "checking for $2... " >&6; }
2898 if eval \${$3+:} false; then :
2899 $as_echo_n "(cached) " >&6
2900 else
2901 eval "$3=no"
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2906 main ()
2908 if (sizeof ($2))
2909 return 0;
2911 return 0;
2913 _ACEOF
2914 if ac_fn_c_try_compile "$LINENO"; then :
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2919 main ()
2921 if (sizeof (($2)))
2922 return 0;
2924 return 0;
2926 _ACEOF
2927 if ac_fn_c_try_compile "$LINENO"; then :
2929 else
2930 eval "$3=yes"
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2936 eval ac_res=\$$3
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2938 $as_echo "$ac_res" >&6; }
2939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2941 } # ac_fn_c_check_type
2942 cat >config.log <<_ACEOF
2943 This file contains any messages produced by compilers while
2944 running configure, to aid debugging if configure makes a mistake.
2946 It was created by Wine $as_me 1.9.17, which was
2947 generated by GNU Autoconf 2.69. Invocation command line was
2949 $ $0 $@
2951 _ACEOF
2952 exec 5>>config.log
2954 cat <<_ASUNAME
2955 ## --------- ##
2956 ## Platform. ##
2957 ## --------- ##
2959 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2960 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2961 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2962 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2963 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2965 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2966 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2968 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2969 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2970 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2971 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2972 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2973 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2974 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2976 _ASUNAME
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 for as_dir in $PATH
2981 IFS=$as_save_IFS
2982 test -z "$as_dir" && as_dir=.
2983 $as_echo "PATH: $as_dir"
2984 done
2985 IFS=$as_save_IFS
2987 } >&5
2989 cat >&5 <<_ACEOF
2992 ## ----------- ##
2993 ## Core tests. ##
2994 ## ----------- ##
2996 _ACEOF
2999 # Keep a trace of the command line.
3000 # Strip out --no-create and --no-recursion so they do not pile up.
3001 # Strip out --silent because we don't want to record it for future runs.
3002 # Also quote any args containing shell meta-characters.
3003 # Make two passes to allow for proper duplicate-argument suppression.
3004 ac_configure_args=
3005 ac_configure_args0=
3006 ac_configure_args1=
3007 ac_must_keep_next=false
3008 for ac_pass in 1 2
3010 for ac_arg
3012 case $ac_arg in
3013 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3015 | -silent | --silent | --silen | --sile | --sil)
3016 continue ;;
3017 *\'*)
3018 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3019 esac
3020 case $ac_pass in
3021 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3023 as_fn_append ac_configure_args1 " '$ac_arg'"
3024 if test $ac_must_keep_next = true; then
3025 ac_must_keep_next=false # Got value, back to normal.
3026 else
3027 case $ac_arg in
3028 *=* | --config-cache | -C | -disable-* | --disable-* \
3029 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3030 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3031 | -with-* | --with-* | -without-* | --without-* | --x)
3032 case "$ac_configure_args0 " in
3033 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3034 esac
3036 -* ) ac_must_keep_next=true ;;
3037 esac
3039 as_fn_append ac_configure_args " '$ac_arg'"
3041 esac
3042 done
3043 done
3044 { ac_configure_args0=; unset ac_configure_args0;}
3045 { ac_configure_args1=; unset ac_configure_args1;}
3047 # When interrupted or exit'd, cleanup temporary files, and complete
3048 # config.log. We remove comments because anyway the quotes in there
3049 # would cause problems or look ugly.
3050 # WARNING: Use '\'' to represent an apostrophe within the trap.
3051 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3052 trap 'exit_status=$?
3053 # Save into config.log some information that might help in debugging.
3055 echo
3057 $as_echo "## ---------------- ##
3058 ## Cache variables. ##
3059 ## ---------------- ##"
3060 echo
3061 # The following way of writing the cache mishandles newlines in values,
3063 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3064 eval ac_val=\$$ac_var
3065 case $ac_val in #(
3066 *${as_nl}*)
3067 case $ac_var in #(
3068 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3069 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3070 esac
3071 case $ac_var in #(
3072 _ | IFS | as_nl) ;; #(
3073 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3074 *) { eval $ac_var=; unset $ac_var;} ;;
3075 esac ;;
3076 esac
3077 done
3078 (set) 2>&1 |
3079 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3080 *${as_nl}ac_space=\ *)
3081 sed -n \
3082 "s/'\''/'\''\\\\'\'''\''/g;
3083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3084 ;; #(
3086 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3088 esac |
3089 sort
3091 echo
3093 $as_echo "## ----------------- ##
3094 ## Output variables. ##
3095 ## ----------------- ##"
3096 echo
3097 for ac_var in $ac_subst_vars
3099 eval ac_val=\$$ac_var
3100 case $ac_val in
3101 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3102 esac
3103 $as_echo "$ac_var='\''$ac_val'\''"
3104 done | sort
3105 echo
3107 if test -n "$ac_subst_files"; then
3108 $as_echo "## ------------------- ##
3109 ## File substitutions. ##
3110 ## ------------------- ##"
3111 echo
3112 for ac_var in $ac_subst_files
3114 eval ac_val=\$$ac_var
3115 case $ac_val in
3116 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3117 esac
3118 $as_echo "$ac_var='\''$ac_val'\''"
3119 done | sort
3120 echo
3123 if test -s confdefs.h; then
3124 $as_echo "## ----------- ##
3125 ## confdefs.h. ##
3126 ## ----------- ##"
3127 echo
3128 cat confdefs.h
3129 echo
3131 test "$ac_signal" != 0 &&
3132 $as_echo "$as_me: caught signal $ac_signal"
3133 $as_echo "$as_me: exit $exit_status"
3134 } >&5
3135 rm -f core *.core core.conftest.* &&
3136 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3137 exit $exit_status
3139 for ac_signal in 1 2 13 15; do
3140 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3141 done
3142 ac_signal=0
3144 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3145 rm -f -r conftest* confdefs.h
3147 $as_echo "/* confdefs.h */" > confdefs.h
3149 # Predefined preprocessor variables.
3151 cat >>confdefs.h <<_ACEOF
3152 #define PACKAGE_NAME "$PACKAGE_NAME"
3153 _ACEOF
3155 cat >>confdefs.h <<_ACEOF
3156 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3157 _ACEOF
3159 cat >>confdefs.h <<_ACEOF
3160 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3161 _ACEOF
3163 cat >>confdefs.h <<_ACEOF
3164 #define PACKAGE_STRING "$PACKAGE_STRING"
3165 _ACEOF
3167 cat >>confdefs.h <<_ACEOF
3168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3169 _ACEOF
3171 cat >>confdefs.h <<_ACEOF
3172 #define PACKAGE_URL "$PACKAGE_URL"
3173 _ACEOF
3176 # Let the site file select an alternate cache file if it wants to.
3177 # Prefer an explicitly selected file to automatically selected ones.
3178 ac_site_file1=NONE
3179 ac_site_file2=NONE
3180 if test -n "$CONFIG_SITE"; then
3181 # We do not want a PATH search for config.site.
3182 case $CONFIG_SITE in #((
3183 -*) ac_site_file1=./$CONFIG_SITE;;
3184 */*) ac_site_file1=$CONFIG_SITE;;
3185 *) ac_site_file1=./$CONFIG_SITE;;
3186 esac
3187 elif test "x$prefix" != xNONE; then
3188 ac_site_file1=$prefix/share/config.site
3189 ac_site_file2=$prefix/etc/config.site
3190 else
3191 ac_site_file1=$ac_default_prefix/share/config.site
3192 ac_site_file2=$ac_default_prefix/etc/config.site
3194 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3196 test "x$ac_site_file" = xNONE && continue
3197 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3199 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3200 sed 's/^/| /' "$ac_site_file" >&5
3201 . "$ac_site_file" \
3202 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3204 as_fn_error $? "failed to load site script $ac_site_file
3205 See \`config.log' for more details" "$LINENO" 5; }
3207 done
3209 if test -r "$cache_file"; then
3210 # Some versions of bash will fail to source /dev/null (special files
3211 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3212 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3214 $as_echo "$as_me: loading cache $cache_file" >&6;}
3215 case $cache_file in
3216 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3217 *) . "./$cache_file";;
3218 esac
3220 else
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3222 $as_echo "$as_me: creating cache $cache_file" >&6;}
3223 >$cache_file
3226 # Check that the precious variables saved in the cache have kept the same
3227 # value.
3228 ac_cache_corrupted=false
3229 for ac_var in $ac_precious_vars; do
3230 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3231 eval ac_new_set=\$ac_env_${ac_var}_set
3232 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3233 eval ac_new_val=\$ac_env_${ac_var}_value
3234 case $ac_old_set,$ac_new_set in
3235 set,)
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3237 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3238 ac_cache_corrupted=: ;;
3239 ,set)
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3241 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3242 ac_cache_corrupted=: ;;
3243 ,);;
3245 if test "x$ac_old_val" != "x$ac_new_val"; then
3246 # differences in whitespace do not lead to failure.
3247 ac_old_val_w=`echo x $ac_old_val`
3248 ac_new_val_w=`echo x $ac_new_val`
3249 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3251 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3252 ac_cache_corrupted=:
3253 else
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3255 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3256 eval $ac_var=\$ac_old_val
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3259 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3261 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3262 fi;;
3263 esac
3264 # Pass precious variables to config.status.
3265 if test "$ac_new_set" = set; then
3266 case $ac_new_val in
3267 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3268 *) ac_arg=$ac_var=$ac_new_val ;;
3269 esac
3270 case " $ac_configure_args " in
3271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3272 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3273 esac
3275 done
3276 if $ac_cache_corrupted; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3280 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3281 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3283 ## -------------------- ##
3284 ## Main body of script. ##
3285 ## -------------------- ##
3287 ac_ext=c
3288 ac_cpp='$CPP $CPPFLAGS'
3289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3295 ac_config_headers="$ac_config_headers include/config.h"
3297 ac_aux_dir=
3298 for ac_dir in tools "$srcdir"/tools; do
3299 if test -f "$ac_dir/install-sh"; then
3300 ac_aux_dir=$ac_dir
3301 ac_install_sh="$ac_aux_dir/install-sh -c"
3302 break
3303 elif test -f "$ac_dir/install.sh"; then
3304 ac_aux_dir=$ac_dir
3305 ac_install_sh="$ac_aux_dir/install.sh -c"
3306 break
3307 elif test -f "$ac_dir/shtool"; then
3308 ac_aux_dir=$ac_dir
3309 ac_install_sh="$ac_aux_dir/shtool install -c"
3310 break
3312 done
3313 if test -z "$ac_aux_dir"; then
3314 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3317 # These three variables are undocumented and unsupported,
3318 # and are intended to be withdrawn in a future Autoconf release.
3319 # They can cause serious problems if a builder's source tree is in a directory
3320 # whose full name contains unusual characters.
3321 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3322 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3323 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3327 libwine_version="1.0"
3331 # Check whether --enable-win16 was given.
3332 if test "${enable_win16+set}" = set; then :
3333 enableval=$enable_win16;
3336 # Check whether --enable-win64 was given.
3337 if test "${enable_win64+set}" = set; then :
3338 enableval=$enable_win64;
3341 # Check whether --enable-tests was given.
3342 if test "${enable_tests+set}" = set; then :
3343 enableval=$enable_tests;
3346 # Check whether --enable-maintainer-mode was given.
3347 if test "${enable_maintainer_mode+set}" = set; then :
3348 enableval=$enable_maintainer_mode;
3353 # Check whether --with-alsa was given.
3354 if test "${with_alsa+set}" = set; then :
3355 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3359 # Check whether --with-capi was given.
3360 if test "${with_capi+set}" = set; then :
3361 withval=$with_capi;
3365 # Check whether --with-cms was given.
3366 if test "${with_cms+set}" = set; then :
3367 withval=$with_cms;
3371 # Check whether --with-coreaudio was given.
3372 if test "${with_coreaudio+set}" = set; then :
3373 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3377 # Check whether --with-cups was given.
3378 if test "${with_cups+set}" = set; then :
3379 withval=$with_cups;
3383 # Check whether --with-curses was given.
3384 if test "${with_curses+set}" = set; then :
3385 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3389 # Check whether --with-dbus was given.
3390 if test "${with_dbus+set}" = set; then :
3391 withval=$with_dbus;
3395 # Check whether --with-fontconfig was given.
3396 if test "${with_fontconfig+set}" = set; then :
3397 withval=$with_fontconfig;
3401 # Check whether --with-freetype was given.
3402 if test "${with_freetype+set}" = set; then :
3403 withval=$with_freetype;
3407 # Check whether --with-gettext was given.
3408 if test "${with_gettext+set}" = set; then :
3409 withval=$with_gettext;
3413 # Check whether --with-gettextpo was given.
3414 if test "${with_gettextpo+set}" = set; then :
3415 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3419 # Check whether --with-gphoto was given.
3420 if test "${with_gphoto+set}" = set; then :
3421 withval=$with_gphoto;
3425 # Check whether --with-glu was given.
3426 if test "${with_glu+set}" = set; then :
3427 withval=$with_glu;
3431 # Check whether --with-gnutls was given.
3432 if test "${with_gnutls+set}" = set; then :
3433 withval=$with_gnutls;
3437 # Check whether --with-gsm was given.
3438 if test "${with_gsm+set}" = set; then :
3439 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3443 # Check whether --with-gstreamer was given.
3444 if test "${with_gstreamer+set}" = set; then :
3445 withval=$with_gstreamer;
3449 # Check whether --with-hal was given.
3450 if test "${with_hal+set}" = set; then :
3451 withval=$with_hal;
3455 # Check whether --with-jpeg was given.
3456 if test "${with_jpeg+set}" = set; then :
3457 withval=$with_jpeg;
3461 # Check whether --with-ldap was given.
3462 if test "${with_ldap+set}" = set; then :
3463 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3467 # Check whether --with-mpg123 was given.
3468 if test "${with_mpg123+set}" = set; then :
3469 withval=$with_mpg123;
3473 # Check whether --with-netapi was given.
3474 if test "${with_netapi+set}" = set; then :
3475 withval=$with_netapi;
3479 # Check whether --with-openal was given.
3480 if test "${with_openal+set}" = set; then :
3481 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3485 # Check whether --with-opencl was given.
3486 if test "${with_opencl+set}" = set; then :
3487 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3491 # Check whether --with-opengl was given.
3492 if test "${with_opengl+set}" = set; then :
3493 withval=$with_opengl;
3497 # Check whether --with-osmesa was given.
3498 if test "${with_osmesa+set}" = set; then :
3499 withval=$with_osmesa;
3503 # Check whether --with-oss was given.
3504 if test "${with_oss+set}" = set; then :
3505 withval=$with_oss;
3509 # Check whether --with-pcap was given.
3510 if test "${with_pcap+set}" = set; then :
3511 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3515 # Check whether --with-png was given.
3516 if test "${with_png+set}" = set; then :
3517 withval=$with_png;
3521 # Check whether --with-pthread was given.
3522 if test "${with_pthread+set}" = set; then :
3523 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3527 # Check whether --with-pulse was given.
3528 if test "${with_pulse+set}" = set; then :
3529 withval=$with_pulse;
3533 # Check whether --with-sane was given.
3534 if test "${with_sane+set}" = set; then :
3535 withval=$with_sane;
3539 # Check whether --with-tiff was given.
3540 if test "${with_tiff+set}" = set; then :
3541 withval=$with_tiff;
3545 # Check whether --with-v4l was given.
3546 if test "${with_v4l+set}" = set; then :
3547 withval=$with_v4l;
3551 # Check whether --with-xcomposite was given.
3552 if test "${with_xcomposite+set}" = set; then :
3553 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3557 # Check whether --with-xcursor was given.
3558 if test "${with_xcursor+set}" = set; then :
3559 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3563 # Check whether --with-xinerama was given.
3564 if test "${with_xinerama+set}" = set; then :
3565 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3569 # Check whether --with-xinput was given.
3570 if test "${with_xinput+set}" = set; then :
3571 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3575 # Check whether --with-xinput2 was given.
3576 if test "${with_xinput2+set}" = set; then :
3577 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3581 # Check whether --with-xml was given.
3582 if test "${with_xml+set}" = set; then :
3583 withval=$with_xml;
3587 # Check whether --with-xrandr was given.
3588 if test "${with_xrandr+set}" = set; then :
3589 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3593 # Check whether --with-xrender was given.
3594 if test "${with_xrender+set}" = set; then :
3595 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3599 # Check whether --with-xshape was given.
3600 if test "${with_xshape+set}" = set; then :
3601 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3605 # Check whether --with-xshm was given.
3606 if test "${with_xshm+set}" = set; then :
3607 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3611 # Check whether --with-xslt was given.
3612 if test "${with_xslt+set}" = set; then :
3613 withval=$with_xslt;
3617 # Check whether --with-xxf86vm was given.
3618 if test "${with_xxf86vm+set}" = set; then :
3619 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
3623 # Check whether --with-zlib was given.
3624 if test "${with_zlib+set}" = set; then :
3625 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3630 # Check whether --with-wine-tools was given.
3631 if test "${with_wine_tools+set}" = set; then :
3632 withval=$with_wine_tools;
3636 # Check whether --with-wine64 was given.
3637 if test "${with_wine64+set}" = set; then :
3638 withval=$with_wine64;
3642 # Make sure we can run config.sub.
3643 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3644 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3647 $as_echo_n "checking build system type... " >&6; }
3648 if ${ac_cv_build+:} false; then :
3649 $as_echo_n "(cached) " >&6
3650 else
3651 ac_build_alias=$build_alias
3652 test "x$ac_build_alias" = x &&
3653 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3654 test "x$ac_build_alias" = x &&
3655 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3656 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3657 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3661 $as_echo "$ac_cv_build" >&6; }
3662 case $ac_cv_build in
3663 *-*-*) ;;
3664 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3665 esac
3666 build=$ac_cv_build
3667 ac_save_IFS=$IFS; IFS='-'
3668 set x $ac_cv_build
3669 shift
3670 build_cpu=$1
3671 build_vendor=$2
3672 shift; shift
3673 # Remember, the first character of IFS is used to create $*,
3674 # except with old shells:
3675 build_os=$*
3676 IFS=$ac_save_IFS
3677 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3681 $as_echo_n "checking host system type... " >&6; }
3682 if ${ac_cv_host+:} false; then :
3683 $as_echo_n "(cached) " >&6
3684 else
3685 if test "x$host_alias" = x; then
3686 ac_cv_host=$ac_cv_build
3687 else
3688 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3689 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3694 $as_echo "$ac_cv_host" >&6; }
3695 case $ac_cv_host in
3696 *-*-*) ;;
3697 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3698 esac
3699 host=$ac_cv_host
3700 ac_save_IFS=$IFS; IFS='-'
3701 set x $ac_cv_host
3702 shift
3703 host_cpu=$1
3704 host_vendor=$2
3705 shift; shift
3706 # Remember, the first character of IFS is used to create $*,
3707 # except with old shells:
3708 host_os=$*
3709 IFS=$ac_save_IFS
3710 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3714 case "$srcdir" in
3715 .) ;;
3716 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3717 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3718 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3719 fi ;;
3720 esac
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3724 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3725 set x ${MAKE-make}
3726 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3727 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3728 $as_echo_n "(cached) " >&6
3729 else
3730 cat >conftest.make <<\_ACEOF
3731 SHELL = /bin/sh
3732 all:
3733 @echo '@@@%%%=$(MAKE)=@@@%%%'
3734 _ACEOF
3735 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3736 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3737 *@@@%%%=?*=@@@%%%*)
3738 eval ac_cv_prog_make_${ac_make}_set=yes;;
3740 eval ac_cv_prog_make_${ac_make}_set=no;;
3741 esac
3742 rm -f conftest.make
3744 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3746 $as_echo "yes" >&6; }
3747 SET_MAKE=
3748 else
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750 $as_echo "no" >&6; }
3751 SET_MAKE="MAKE=${MAKE-make}"
3754 ac_ext=c
3755 ac_cpp='$CPP $CPPFLAGS'
3756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3759 if test -n "$ac_tool_prefix"; then
3760 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3761 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763 $as_echo_n "checking for $ac_word... " >&6; }
3764 if ${ac_cv_prog_CC+:} false; then :
3765 $as_echo_n "(cached) " >&6
3766 else
3767 if test -n "$CC"; then
3768 ac_cv_prog_CC="$CC" # Let the user override the test.
3769 else
3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 for as_dir in $PATH
3773 IFS=$as_save_IFS
3774 test -z "$as_dir" && as_dir=.
3775 for ac_exec_ext in '' $ac_executable_extensions; do
3776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3777 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 break 2
3781 done
3782 done
3783 IFS=$as_save_IFS
3787 CC=$ac_cv_prog_CC
3788 if test -n "$CC"; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3790 $as_echo "$CC" >&6; }
3791 else
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 $as_echo "no" >&6; }
3798 if test -z "$ac_cv_prog_CC"; then
3799 ac_ct_CC=$CC
3800 # Extract the first word of "gcc", so it can be a program name with args.
3801 set dummy gcc; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_ac_ct_CC="gcc"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3836 if test "x$ac_ct_CC" = x; then
3837 CC=""
3838 else
3839 case $cross_compiling:$ac_tool_warned in
3840 yes:)
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3843 ac_tool_warned=yes ;;
3844 esac
3845 CC=$ac_ct_CC
3847 else
3848 CC="$ac_cv_prog_CC"
3851 if test -z "$CC"; then
3852 if test -n "$ac_tool_prefix"; then
3853 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3854 set dummy ${ac_tool_prefix}cc; ac_word=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if ${ac_cv_prog_CC+:} false; then :
3858 $as_echo_n "(cached) " >&6
3859 else
3860 if test -n "$CC"; then
3861 ac_cv_prog_CC="$CC" # Let the user override the test.
3862 else
3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 for as_dir in $PATH
3866 IFS=$as_save_IFS
3867 test -z "$as_dir" && as_dir=.
3868 for ac_exec_ext in '' $ac_executable_extensions; do
3869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870 ac_cv_prog_CC="${ac_tool_prefix}cc"
3871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 break 2
3874 done
3875 done
3876 IFS=$as_save_IFS
3880 CC=$ac_cv_prog_CC
3881 if test -n "$CC"; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3883 $as_echo "$CC" >&6; }
3884 else
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3892 if test -z "$CC"; then
3893 # Extract the first word of "cc", so it can be a program name with args.
3894 set dummy cc; ac_word=$2
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3896 $as_echo_n "checking for $ac_word... " >&6; }
3897 if ${ac_cv_prog_CC+:} false; then :
3898 $as_echo_n "(cached) " >&6
3899 else
3900 if test -n "$CC"; then
3901 ac_cv_prog_CC="$CC" # Let the user override the test.
3902 else
3903 ac_prog_rejected=no
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 for as_dir in $PATH
3907 IFS=$as_save_IFS
3908 test -z "$as_dir" && as_dir=.
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3911 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3912 ac_prog_rejected=yes
3913 continue
3915 ac_cv_prog_CC="cc"
3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3917 break 2
3919 done
3920 done
3921 IFS=$as_save_IFS
3923 if test $ac_prog_rejected = yes; then
3924 # We found a bogon in the path, so make sure we never use it.
3925 set dummy $ac_cv_prog_CC
3926 shift
3927 if test $# != 0; then
3928 # We chose a different compiler from the bogus one.
3929 # However, it has the same basename, so the bogon will be chosen
3930 # first if we set CC to just the basename; use the full file name.
3931 shift
3932 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3937 CC=$ac_cv_prog_CC
3938 if test -n "$CC"; then
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3940 $as_echo "$CC" >&6; }
3941 else
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943 $as_echo "no" >&6; }
3948 if test -z "$CC"; then
3949 if test -n "$ac_tool_prefix"; then
3950 for ac_prog in cl.exe
3952 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3953 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if ${ac_cv_prog_CC+:} false; then :
3957 $as_echo_n "(cached) " >&6
3958 else
3959 if test -n "$CC"; then
3960 ac_cv_prog_CC="$CC" # Let the user override the test.
3961 else
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 for as_dir in $PATH
3965 IFS=$as_save_IFS
3966 test -z "$as_dir" && as_dir=.
3967 for ac_exec_ext in '' $ac_executable_extensions; do
3968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3969 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 break 2
3973 done
3974 done
3975 IFS=$as_save_IFS
3979 CC=$ac_cv_prog_CC
3980 if test -n "$CC"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3982 $as_echo "$CC" >&6; }
3983 else
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3989 test -n "$CC" && break
3990 done
3992 if test -z "$CC"; then
3993 ac_ct_CC=$CC
3994 for ac_prog in cl.exe
3996 # Extract the first word of "$ac_prog", so it can be a program name with args.
3997 set dummy $ac_prog; ac_word=$2
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3999 $as_echo_n "checking for $ac_word... " >&6; }
4000 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4001 $as_echo_n "(cached) " >&6
4002 else
4003 if test -n "$ac_ct_CC"; then
4004 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4005 else
4006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4007 for as_dir in $PATH
4009 IFS=$as_save_IFS
4010 test -z "$as_dir" && as_dir=.
4011 for ac_exec_ext in '' $ac_executable_extensions; do
4012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_prog_ac_ct_CC="$ac_prog"
4014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 break 2
4017 done
4018 done
4019 IFS=$as_save_IFS
4023 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4024 if test -n "$ac_ct_CC"; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4026 $as_echo "$ac_ct_CC" >&6; }
4027 else
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4029 $as_echo "no" >&6; }
4033 test -n "$ac_ct_CC" && break
4034 done
4036 if test "x$ac_ct_CC" = x; then
4037 CC=""
4038 else
4039 case $cross_compiling:$ac_tool_warned in
4040 yes:)
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4043 ac_tool_warned=yes ;;
4044 esac
4045 CC=$ac_ct_CC
4052 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error $? "no acceptable C compiler found in \$PATH
4055 See \`config.log' for more details" "$LINENO" 5; }
4057 # Provide some information about the compiler.
4058 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4059 set X $ac_compile
4060 ac_compiler=$2
4061 for ac_option in --version -v -V -qversion; do
4062 { { ac_try="$ac_compiler $ac_option >&5"
4063 case "(($ac_try" in
4064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4065 *) ac_try_echo=$ac_try;;
4066 esac
4067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4068 $as_echo "$ac_try_echo"; } >&5
4069 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4070 ac_status=$?
4071 if test -s conftest.err; then
4072 sed '10a\
4073 ... rest of stderr output deleted ...
4074 10q' conftest.err >conftest.er1
4075 cat conftest.er1 >&5
4077 rm -f conftest.er1 conftest.err
4078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4079 test $ac_status = 0; }
4080 done
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4086 main ()
4090 return 0;
4092 _ACEOF
4093 ac_clean_files_save=$ac_clean_files
4094 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4095 # Try to create an executable without -o first, disregard a.out.
4096 # It will help us diagnose broken compilers, and finding out an intuition
4097 # of exeext.
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4099 $as_echo_n "checking whether the C compiler works... " >&6; }
4100 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4102 # The possible output files:
4103 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4105 ac_rmfiles=
4106 for ac_file in $ac_files
4108 case $ac_file in
4109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4110 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4111 esac
4112 done
4113 rm -f $ac_rmfiles
4115 if { { ac_try="$ac_link_default"
4116 case "(($ac_try" in
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4119 esac
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_link_default") 2>&5
4123 ac_status=$?
4124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125 test $ac_status = 0; }; then :
4126 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4127 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4128 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4129 # so that the user can short-circuit this test for compilers unknown to
4130 # Autoconf.
4131 for ac_file in $ac_files ''
4133 test -f "$ac_file" || continue
4134 case $ac_file in
4135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4137 [ab].out )
4138 # We found the default executable, but exeext='' is most
4139 # certainly right.
4140 break;;
4141 *.* )
4142 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4143 then :; else
4144 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4146 # We set ac_cv_exeext here because the later test for it is not
4147 # safe: cross compilers may not add the suffix if given an `-o'
4148 # argument, so we may need to know it at that point already.
4149 # Even if this section looks crufty: it has the advantage of
4150 # actually working.
4151 break;;
4153 break;;
4154 esac
4155 done
4156 test "$ac_cv_exeext" = no && ac_cv_exeext=
4158 else
4159 ac_file=''
4161 if test -z "$ac_file"; then :
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163 $as_echo "no" >&6; }
4164 $as_echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.$ac_ext >&5
4167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4169 as_fn_error 77 "C compiler cannot create executables
4170 See \`config.log' for more details" "$LINENO" 5; }
4171 else
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4173 $as_echo "yes" >&6; }
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4176 $as_echo_n "checking for C compiler default output file name... " >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4178 $as_echo "$ac_file" >&6; }
4179 ac_exeext=$ac_cv_exeext
4181 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4182 ac_clean_files=$ac_clean_files_save
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4184 $as_echo_n "checking for suffix of executables... " >&6; }
4185 if { { ac_try="$ac_link"
4186 case "(($ac_try" in
4187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4188 *) ac_try_echo=$ac_try;;
4189 esac
4190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4191 $as_echo "$ac_try_echo"; } >&5
4192 (eval "$ac_link") 2>&5
4193 ac_status=$?
4194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4195 test $ac_status = 0; }; then :
4196 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4197 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4198 # work properly (i.e., refer to `conftest.exe'), while it won't with
4199 # `rm'.
4200 for ac_file in conftest.exe conftest conftest.*; do
4201 test -f "$ac_file" || continue
4202 case $ac_file in
4203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4204 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4205 break;;
4206 * ) break;;
4207 esac
4208 done
4209 else
4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4212 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4213 See \`config.log' for more details" "$LINENO" 5; }
4215 rm -f conftest conftest$ac_cv_exeext
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4217 $as_echo "$ac_cv_exeext" >&6; }
4219 rm -f conftest.$ac_ext
4220 EXEEXT=$ac_cv_exeext
4221 ac_exeext=$EXEEXT
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4224 #include <stdio.h>
4226 main ()
4228 FILE *f = fopen ("conftest.out", "w");
4229 return ferror (f) || fclose (f) != 0;
4232 return 0;
4234 _ACEOF
4235 ac_clean_files="$ac_clean_files conftest.out"
4236 # Check that the compiler produces executables we can run. If not, either
4237 # the compiler is broken, or we cross compile.
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4239 $as_echo_n "checking whether we are cross compiling... " >&6; }
4240 if test "$cross_compiling" != yes; then
4241 { { ac_try="$ac_link"
4242 case "(($ac_try" in
4243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4244 *) ac_try_echo=$ac_try;;
4245 esac
4246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4247 $as_echo "$ac_try_echo"; } >&5
4248 (eval "$ac_link") 2>&5
4249 ac_status=$?
4250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4251 test $ac_status = 0; }
4252 if { ac_try='./conftest$ac_cv_exeext'
4253 { { case "(($ac_try" in
4254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4255 *) ac_try_echo=$ac_try;;
4256 esac
4257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4258 $as_echo "$ac_try_echo"; } >&5
4259 (eval "$ac_try") 2>&5
4260 ac_status=$?
4261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4262 test $ac_status = 0; }; }; then
4263 cross_compiling=no
4264 else
4265 if test "$cross_compiling" = maybe; then
4266 cross_compiling=yes
4267 else
4268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4270 as_fn_error $? "cannot run C compiled programs.
4271 If you meant to cross compile, use \`--host'.
4272 See \`config.log' for more details" "$LINENO" 5; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4277 $as_echo "$cross_compiling" >&6; }
4279 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4280 ac_clean_files=$ac_clean_files_save
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4282 $as_echo_n "checking for suffix of object files... " >&6; }
4283 if ${ac_cv_objext+:} false; then :
4284 $as_echo_n "(cached) " >&6
4285 else
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4290 main ()
4294 return 0;
4296 _ACEOF
4297 rm -f conftest.o conftest.obj
4298 if { { ac_try="$ac_compile"
4299 case "(($ac_try" in
4300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4301 *) ac_try_echo=$ac_try;;
4302 esac
4303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4304 $as_echo "$ac_try_echo"; } >&5
4305 (eval "$ac_compile") 2>&5
4306 ac_status=$?
4307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4308 test $ac_status = 0; }; then :
4309 for ac_file in conftest.o conftest.obj conftest.*; do
4310 test -f "$ac_file" || continue;
4311 case $ac_file in
4312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4313 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4314 break;;
4315 esac
4316 done
4317 else
4318 $as_echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.$ac_ext >&5
4321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4323 as_fn_error $? "cannot compute suffix of object files: cannot compile
4324 See \`config.log' for more details" "$LINENO" 5; }
4326 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4329 $as_echo "$ac_cv_objext" >&6; }
4330 OBJEXT=$ac_cv_objext
4331 ac_objext=$OBJEXT
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4333 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4334 if ${ac_cv_c_compiler_gnu+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4341 main ()
4343 #ifndef __GNUC__
4344 choke me
4345 #endif
4348 return 0;
4350 _ACEOF
4351 if ac_fn_c_try_compile "$LINENO"; then :
4352 ac_compiler_gnu=yes
4353 else
4354 ac_compiler_gnu=no
4356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4357 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4361 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4362 if test $ac_compiler_gnu = yes; then
4363 GCC=yes
4364 else
4365 GCC=
4367 ac_test_CFLAGS=${CFLAGS+set}
4368 ac_save_CFLAGS=$CFLAGS
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4370 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4371 if ${ac_cv_prog_cc_g+:} false; then :
4372 $as_echo_n "(cached) " >&6
4373 else
4374 ac_save_c_werror_flag=$ac_c_werror_flag
4375 ac_c_werror_flag=yes
4376 ac_cv_prog_cc_g=no
4377 CFLAGS="-g"
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4382 main ()
4386 return 0;
4388 _ACEOF
4389 if ac_fn_c_try_compile "$LINENO"; then :
4390 ac_cv_prog_cc_g=yes
4391 else
4392 CFLAGS=""
4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4397 main ()
4401 return 0;
4403 _ACEOF
4404 if ac_fn_c_try_compile "$LINENO"; then :
4406 else
4407 ac_c_werror_flag=$ac_save_c_werror_flag
4408 CFLAGS="-g"
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4413 main ()
4417 return 0;
4419 _ACEOF
4420 if ac_fn_c_try_compile "$LINENO"; then :
4421 ac_cv_prog_cc_g=yes
4423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 ac_c_werror_flag=$ac_save_c_werror_flag
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4431 $as_echo "$ac_cv_prog_cc_g" >&6; }
4432 if test "$ac_test_CFLAGS" = set; then
4433 CFLAGS=$ac_save_CFLAGS
4434 elif test $ac_cv_prog_cc_g = yes; then
4435 if test "$GCC" = yes; then
4436 CFLAGS="-g -O2"
4437 else
4438 CFLAGS="-g"
4440 else
4441 if test "$GCC" = yes; then
4442 CFLAGS="-O2"
4443 else
4444 CFLAGS=
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4448 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4449 if ${ac_cv_prog_cc_c89+:} false; then :
4450 $as_echo_n "(cached) " >&6
4451 else
4452 ac_cv_prog_cc_c89=no
4453 ac_save_CC=$CC
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4456 #include <stdarg.h>
4457 #include <stdio.h>
4458 struct stat;
4459 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4460 struct buf { int x; };
4461 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4462 static char *e (p, i)
4463 char **p;
4464 int i;
4466 return p[i];
4468 static char *f (char * (*g) (char **, int), char **p, ...)
4470 char *s;
4471 va_list v;
4472 va_start (v,p);
4473 s = g (p, va_arg (v,int));
4474 va_end (v);
4475 return s;
4478 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4479 function prototypes and stuff, but not '\xHH' hex character constants.
4480 These don't provoke an error unfortunately, instead are silently treated
4481 as 'x'. The following induces an error, until -std is added to get
4482 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4483 array size at least. It's necessary to write '\x00'==0 to get something
4484 that's true only with -std. */
4485 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4487 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4488 inside strings and character constants. */
4489 #define FOO(x) 'x'
4490 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4492 int test (int i, double x);
4493 struct s1 {int (*f) (int a);};
4494 struct s2 {int (*f) (double a);};
4495 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4496 int argc;
4497 char **argv;
4499 main ()
4501 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4503 return 0;
4505 _ACEOF
4506 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4507 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4509 CC="$ac_save_CC $ac_arg"
4510 if ac_fn_c_try_compile "$LINENO"; then :
4511 ac_cv_prog_cc_c89=$ac_arg
4513 rm -f core conftest.err conftest.$ac_objext
4514 test "x$ac_cv_prog_cc_c89" != "xno" && break
4515 done
4516 rm -f conftest.$ac_ext
4517 CC=$ac_save_CC
4520 # AC_CACHE_VAL
4521 case "x$ac_cv_prog_cc_c89" in
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4524 $as_echo "none needed" >&6; } ;;
4525 xno)
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4527 $as_echo "unsupported" >&6; } ;;
4529 CC="$CC $ac_cv_prog_cc_c89"
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4531 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4532 esac
4533 if test "x$ac_cv_prog_cc_c89" != xno; then :
4537 ac_ext=c
4538 ac_cpp='$CPP $CPPFLAGS'
4539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4543 ac_ext=cpp
4544 ac_cpp='$CXXCPP $CPPFLAGS'
4545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4548 if test -z "$CXX"; then
4549 if test -n "$CCC"; then
4550 CXX=$CCC
4551 else
4552 if test -n "$ac_tool_prefix"; then
4553 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4555 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4556 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_prog_CXX+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 if test -n "$CXX"; then
4563 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4564 else
4565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4566 for as_dir in $PATH
4568 IFS=$as_save_IFS
4569 test -z "$as_dir" && as_dir=.
4570 for ac_exec_ext in '' $ac_executable_extensions; do
4571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4572 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 break 2
4576 done
4577 done
4578 IFS=$as_save_IFS
4582 CXX=$ac_cv_prog_CXX
4583 if test -n "$CXX"; then
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4585 $as_echo "$CXX" >&6; }
4586 else
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 $as_echo "no" >&6; }
4592 test -n "$CXX" && break
4593 done
4595 if test -z "$CXX"; then
4596 ac_ct_CXX=$CXX
4597 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4599 # Extract the first word of "$ac_prog", so it can be a program name with args.
4600 set dummy $ac_prog; ac_word=$2
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 $as_echo_n "checking for $ac_word... " >&6; }
4603 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 if test -n "$ac_ct_CXX"; then
4607 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4608 else
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH
4612 IFS=$as_save_IFS
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616 ac_cv_prog_ac_ct_CXX="$ac_prog"
4617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 break 2
4620 done
4621 done
4622 IFS=$as_save_IFS
4626 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4627 if test -n "$ac_ct_CXX"; then
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4629 $as_echo "$ac_ct_CXX" >&6; }
4630 else
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 $as_echo "no" >&6; }
4636 test -n "$ac_ct_CXX" && break
4637 done
4639 if test "x$ac_ct_CXX" = x; then
4640 CXX="g++"
4641 else
4642 case $cross_compiling:$ac_tool_warned in
4643 yes:)
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4646 ac_tool_warned=yes ;;
4647 esac
4648 CXX=$ac_ct_CXX
4654 # Provide some information about the compiler.
4655 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4656 set X $ac_compile
4657 ac_compiler=$2
4658 for ac_option in --version -v -V -qversion; do
4659 { { ac_try="$ac_compiler $ac_option >&5"
4660 case "(($ac_try" in
4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662 *) ac_try_echo=$ac_try;;
4663 esac
4664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4665 $as_echo "$ac_try_echo"; } >&5
4666 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4667 ac_status=$?
4668 if test -s conftest.err; then
4669 sed '10a\
4670 ... rest of stderr output deleted ...
4671 10q' conftest.err >conftest.er1
4672 cat conftest.er1 >&5
4674 rm -f conftest.er1 conftest.err
4675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4676 test $ac_status = 0; }
4677 done
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4680 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4681 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4682 $as_echo_n "(cached) " >&6
4683 else
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4688 main ()
4690 #ifndef __GNUC__
4691 choke me
4692 #endif
4695 return 0;
4697 _ACEOF
4698 if ac_fn_cxx_try_compile "$LINENO"; then :
4699 ac_compiler_gnu=yes
4700 else
4701 ac_compiler_gnu=no
4703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4704 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4708 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4709 if test $ac_compiler_gnu = yes; then
4710 GXX=yes
4711 else
4712 GXX=
4714 ac_test_CXXFLAGS=${CXXFLAGS+set}
4715 ac_save_CXXFLAGS=$CXXFLAGS
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4717 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4718 if ${ac_cv_prog_cxx_g+:} false; then :
4719 $as_echo_n "(cached) " >&6
4720 else
4721 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4722 ac_cxx_werror_flag=yes
4723 ac_cv_prog_cxx_g=no
4724 CXXFLAGS="-g"
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4729 main ()
4733 return 0;
4735 _ACEOF
4736 if ac_fn_cxx_try_compile "$LINENO"; then :
4737 ac_cv_prog_cxx_g=yes
4738 else
4739 CXXFLAGS=""
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4744 main ()
4748 return 0;
4750 _ACEOF
4751 if ac_fn_cxx_try_compile "$LINENO"; then :
4753 else
4754 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4755 CXXFLAGS="-g"
4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4760 main ()
4764 return 0;
4766 _ACEOF
4767 if ac_fn_cxx_try_compile "$LINENO"; then :
4768 ac_cv_prog_cxx_g=yes
4770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4778 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4779 if test "$ac_test_CXXFLAGS" = set; then
4780 CXXFLAGS=$ac_save_CXXFLAGS
4781 elif test $ac_cv_prog_cxx_g = yes; then
4782 if test "$GXX" = yes; then
4783 CXXFLAGS="-g -O2"
4784 else
4785 CXXFLAGS="-g"
4787 else
4788 if test "$GXX" = yes; then
4789 CXXFLAGS="-O2"
4790 else
4791 CXXFLAGS=
4794 ac_ext=c
4795 ac_cpp='$CPP $CPPFLAGS'
4796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4800 if test -n "$ac_tool_prefix"; then
4801 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4802 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_prog_CPPBIN+:} false; then :
4806 $as_echo_n "(cached) " >&6
4807 else
4808 if test -n "$CPPBIN"; then
4809 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4810 else
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 for as_dir in $PATH
4814 IFS=$as_save_IFS
4815 test -z "$as_dir" && as_dir=.
4816 for ac_exec_ext in '' $ac_executable_extensions; do
4817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4818 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 break 2
4822 done
4823 done
4824 IFS=$as_save_IFS
4828 CPPBIN=$ac_cv_prog_CPPBIN
4829 if test -n "$CPPBIN"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4831 $as_echo "$CPPBIN" >&6; }
4832 else
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4839 if test -z "$ac_cv_prog_CPPBIN"; then
4840 ac_ct_CPPBIN=$CPPBIN
4841 # Extract the first word of "cpp", so it can be a program name with args.
4842 set dummy cpp; ac_word=$2
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4844 $as_echo_n "checking for $ac_word... " >&6; }
4845 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4846 $as_echo_n "(cached) " >&6
4847 else
4848 if test -n "$ac_ct_CPPBIN"; then
4849 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4850 else
4851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 for as_dir in $PATH
4854 IFS=$as_save_IFS
4855 test -z "$as_dir" && as_dir=.
4856 for ac_exec_ext in '' $ac_executable_extensions; do
4857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4858 ac_cv_prog_ac_ct_CPPBIN="cpp"
4859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 break 2
4862 done
4863 done
4864 IFS=$as_save_IFS
4868 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4869 if test -n "$ac_ct_CPPBIN"; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4871 $as_echo "$ac_ct_CPPBIN" >&6; }
4872 else
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 $as_echo "no" >&6; }
4877 if test "x$ac_ct_CPPBIN" = x; then
4878 CPPBIN="cpp"
4879 else
4880 case $cross_compiling:$ac_tool_warned in
4881 yes:)
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4884 ac_tool_warned=yes ;;
4885 esac
4886 CPPBIN=$ac_ct_CPPBIN
4888 else
4889 CPPBIN="$ac_cv_prog_CPPBIN"
4893 cat >>confdefs.h <<_ACEOF
4894 #define EXEEXT "$ac_exeext"
4895 _ACEOF
4897 if test -n "$ac_tool_prefix"; then
4898 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4899 set dummy ${ac_tool_prefix}ld; ac_word=$2
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901 $as_echo_n "checking for $ac_word... " >&6; }
4902 if ${ac_cv_prog_LD+:} false; then :
4903 $as_echo_n "(cached) " >&6
4904 else
4905 if test -n "$LD"; then
4906 ac_cv_prog_LD="$LD" # Let the user override the test.
4907 else
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 for as_dir in $PATH
4911 IFS=$as_save_IFS
4912 test -z "$as_dir" && as_dir=.
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4915 ac_cv_prog_LD="${ac_tool_prefix}ld"
4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 break 2
4919 done
4920 done
4921 IFS=$as_save_IFS
4925 LD=$ac_cv_prog_LD
4926 if test -n "$LD"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4928 $as_echo "$LD" >&6; }
4929 else
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4936 if test -z "$ac_cv_prog_LD"; then
4937 ac_ct_LD=$LD
4938 # Extract the first word of "ld", so it can be a program name with args.
4939 set dummy ld; ac_word=$2
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941 $as_echo_n "checking for $ac_word... " >&6; }
4942 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4943 $as_echo_n "(cached) " >&6
4944 else
4945 if test -n "$ac_ct_LD"; then
4946 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4947 else
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 for as_dir in $PATH
4951 IFS=$as_save_IFS
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_ac_ct_LD="ld"
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 break 2
4959 done
4960 done
4961 IFS=$as_save_IFS
4965 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4966 if test -n "$ac_ct_LD"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4968 $as_echo "$ac_ct_LD" >&6; }
4969 else
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4974 if test "x$ac_ct_LD" = x; then
4975 LD=""
4976 else
4977 case $cross_compiling:$ac_tool_warned in
4978 yes:)
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4981 ac_tool_warned=yes ;;
4982 esac
4983 LD=$ac_ct_LD
4985 else
4986 LD="$ac_cv_prog_LD"
4990 case $host in
4991 *-darwin*)
4992 with_fontconfig=${with_fontconfig:-no}
4994 *-mingw32*|*-cygwin*)
4995 enable_win16=${enable_win16:-no}
4996 CFLAGS="$CFLAGS -D_WIN32"
4998 esac
5000 case $host in
5001 x86_64*|amd64*)
5002 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5003 then
5004 CC="$CC -m32"
5005 CXX="$CXX -m32"
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5007 $as_echo_n "checking whether $CC works... " >&6; }
5009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5013 main ()
5017 return 0;
5019 _ACEOF
5020 if ac_fn_c_try_link "$LINENO"; then :
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5022 $as_echo "yes" >&6; }
5023 else
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5026 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5028 rm -f core conftest.err conftest.$ac_objext \
5029 conftest$ac_exeext conftest.$ac_ext
5030 host_cpu="i386"
5031 notice_platform="32-bit "
5032 TARGETFLAGS="-m32"
5034 enable_win16=${enable_win16:-yes}
5035 else
5036 if test "x${GCC}" = "xyes"
5037 then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5039 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5041 /* end confdefs.h. */
5042 #include <stdarg.h>
5044 main ()
5046 void func(__builtin_ms_va_list *args);
5048 return 0;
5050 _ACEOF
5051 if ac_fn_c_try_compile "$LINENO"; then :
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5053 $as_echo "yes" >&6; }
5054 else
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5057 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5061 CC="$CC -m64"
5062 CXX="$CXX -m64"
5063 host_cpu="x86_64"
5064 notice_platform="64-bit "
5065 TARGETFLAGS="-m64"
5069 arm*)
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5071 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5074 int ac_test(int i) { return i; }
5076 main ()
5078 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5080 return 0;
5082 _ACEOF
5083 if ac_fn_c_try_link "$LINENO"; then :
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5085 $as_echo "yes" >&6; }
5086 else
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5089 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5091 rm -f core conftest.err conftest.$ac_objext \
5092 conftest$ac_exeext conftest.$ac_ext
5093 CFLAGS="$CFLAGS -marm"
5094 TARGETFLAGS="-marm"
5097 i[3456789]86*)
5098 enable_win16=${enable_win16:-yes}
5100 esac
5102 enable_win16=${enable_win16:-no}
5103 enable_win64=${enable_win64:-no}
5105 enable_winetest=${enable_winetest:-$enable_tests}
5107 if test -n "$with_wine64"
5108 then
5109 if test "x$enable_win64" = "xyes"
5110 then
5111 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5112 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5114 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5115 You should create a separate build directory and run configure from there." "$LINENO" 5
5116 enable_fonts=${enable_fonts:-no}
5117 enable_server=${enable_server:-no}
5118 elif test "x$enable_win64" = "xyes"
5119 then
5120 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5124 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5125 if ${wine_cv_toolsdir+:} false; then :
5126 $as_echo_n "(cached) " >&6
5127 else
5128 wine_cv_toolsdir="$with_wine_tools"
5129 if test -z "$with_wine_tools"; then
5130 if test "$cross_compiling" = "yes"; then
5131 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5132 elif test -n "$with_wine64"; then
5133 wine_cv_toolsdir="$with_wine64"
5136 if test -z "$wine_cv_toolsdir"; then
5137 wine_makedep=tools/makedep
5138 wine_cv_toolsdir="\$(top_builddir)"
5139 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5140 wine_makedep=$wine_cv_toolsdir/tools/makedep
5141 case "$wine_cv_toolsdir" in
5142 /*) ;;
5143 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5144 esac
5145 enable_tools=${enable_tools:-no}
5146 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5147 else
5148 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5152 $as_echo "$wine_cv_toolsdir" >&6; }
5153 TOOLSDIR=$wine_cv_toolsdir
5155 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5156 then
5157 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5161 for ac_prog in flex
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy $ac_prog; ac_word=$2
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5166 $as_echo_n "checking for $ac_word... " >&6; }
5167 if ${ac_cv_prog_FLEX+:} false; then :
5168 $as_echo_n "(cached) " >&6
5169 else
5170 if test -n "$FLEX"; then
5171 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_prog_FLEX="$ac_prog"
5181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 break 2
5184 done
5185 done
5186 IFS=$as_save_IFS
5190 FLEX=$ac_cv_prog_FLEX
5191 if test -n "$FLEX"; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5193 $as_echo "$FLEX" >&6; }
5194 else
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }
5200 test -n "$FLEX" && break
5201 done
5202 test -n "$FLEX" || FLEX="none"
5204 if test "$FLEX" = "none"
5205 then
5206 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5209 $as_echo_n "checking whether flex is recent enough... " >&6; }
5210 cat >conftest.l <<EOF
5211 %top{
5212 #include "prediluvian.h"
5216 if $FLEX -t conftest.l >/dev/null 2>&5
5217 then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5219 $as_echo "yes" >&6; }
5220 else
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5223 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5226 for ac_prog in bison
5228 # Extract the first word of "$ac_prog", so it can be a program name with args.
5229 set dummy $ac_prog; ac_word=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if ${ac_cv_prog_BISON+:} false; then :
5233 $as_echo_n "(cached) " >&6
5234 else
5235 if test -n "$BISON"; then
5236 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5237 else
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 for as_dir in $PATH
5241 IFS=$as_save_IFS
5242 test -z "$as_dir" && as_dir=.
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_BISON="$ac_prog"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 break 2
5249 done
5250 done
5251 IFS=$as_save_IFS
5255 BISON=$ac_cv_prog_BISON
5256 if test -n "$BISON"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5258 $as_echo "$BISON" >&6; }
5259 else
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5265 test -n "$BISON" && break
5266 done
5267 test -n "$BISON" || BISON="none"
5269 if test "$BISON" = "none"
5270 then
5271 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5274 if test -n "$ac_tool_prefix"; then
5275 for ac_prog in ar gar
5277 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5278 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_AR+:} false; then :
5282 $as_echo_n "(cached) " >&6
5283 else
5284 if test -n "$AR"; then
5285 ac_cv_prog_AR="$AR" # Let the user override the test.
5286 else
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 for as_dir in $PATH
5290 IFS=$as_save_IFS
5291 test -z "$as_dir" && as_dir=.
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 break 2
5298 done
5299 done
5300 IFS=$as_save_IFS
5304 AR=$ac_cv_prog_AR
5305 if test -n "$AR"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5307 $as_echo "$AR" >&6; }
5308 else
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5314 test -n "$AR" && break
5315 done
5317 if test -z "$AR"; then
5318 ac_ct_AR=$AR
5319 for ac_prog in ar gar
5321 # Extract the first word of "$ac_prog", so it can be a program name with args.
5322 set dummy $ac_prog; ac_word=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5326 $as_echo_n "(cached) " >&6
5327 else
5328 if test -n "$ac_ct_AR"; then
5329 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5330 else
5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 for as_dir in $PATH
5334 IFS=$as_save_IFS
5335 test -z "$as_dir" && as_dir=.
5336 for ac_exec_ext in '' $ac_executable_extensions; do
5337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_ac_ct_AR="$ac_prog"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 break 2
5342 done
5343 done
5344 IFS=$as_save_IFS
5348 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5349 if test -n "$ac_ct_AR"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5351 $as_echo "$ac_ct_AR" >&6; }
5352 else
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5358 test -n "$ac_ct_AR" && break
5359 done
5361 if test "x$ac_ct_AR" = x; then
5362 AR="ar"
5363 else
5364 case $cross_compiling:$ac_tool_warned in
5365 yes:)
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5368 ac_tool_warned=yes ;;
5369 esac
5370 AR=$ac_ct_AR
5374 if test -n "$ac_tool_prefix"; then
5375 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5376 set dummy ${ac_tool_prefix}strip; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_STRIP+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 if test -n "$STRIP"; then
5383 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5384 else
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5402 STRIP=$ac_cv_prog_STRIP
5403 if test -n "$STRIP"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5405 $as_echo "$STRIP" >&6; }
5406 else
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5413 if test -z "$ac_cv_prog_STRIP"; then
5414 ac_ct_STRIP=$STRIP
5415 # Extract the first word of "strip", so it can be a program name with args.
5416 set dummy strip; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 if test -n "$ac_ct_STRIP"; then
5423 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5424 else
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_ac_ct_STRIP="strip"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 break 2
5436 done
5437 done
5438 IFS=$as_save_IFS
5442 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5443 if test -n "$ac_ct_STRIP"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5445 $as_echo "$ac_ct_STRIP" >&6; }
5446 else
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5451 if test "x$ac_ct_STRIP" = x; then
5452 STRIP="strip"
5453 else
5454 case $cross_compiling:$ac_tool_warned in
5455 yes:)
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5458 ac_tool_warned=yes ;;
5459 esac
5460 STRIP=$ac_ct_STRIP
5462 else
5463 STRIP="$ac_cv_prog_STRIP"
5466 ARFLAGS=rc
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5470 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_RANLIB+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$RANLIB"; then
5477 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 RANLIB=$ac_cv_prog_RANLIB
5497 if test -n "$RANLIB"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5499 $as_echo "$RANLIB" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5507 if test -z "$ac_cv_prog_RANLIB"; then
5508 ac_ct_RANLIB=$RANLIB
5509 # Extract the first word of "ranlib", so it can be a program name with args.
5510 set dummy ranlib; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -n "$ac_ct_RANLIB"; then
5517 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_ac_ct_RANLIB="ranlib"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5537 if test -n "$ac_ct_RANLIB"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5539 $as_echo "$ac_ct_RANLIB" >&6; }
5540 else
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5545 if test "x$ac_ct_RANLIB" = x; then
5546 RANLIB=":"
5547 else
5548 case $cross_compiling:$ac_tool_warned in
5549 yes:)
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5552 ac_tool_warned=yes ;;
5553 esac
5554 RANLIB=$ac_ct_RANLIB
5556 else
5557 RANLIB="$ac_cv_prog_RANLIB"
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5561 $as_echo_n "checking whether ln -s works... " >&6; }
5562 LN_S=$as_ln_s
5563 if test "$LN_S" = "ln -s"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5565 $as_echo "yes" >&6; }
5566 else
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5568 $as_echo "no, using $LN_S" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5572 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5573 if ${ac_cv_path_GREP+:} false; then :
5574 $as_echo_n "(cached) " >&6
5575 else
5576 if test -z "$GREP"; then
5577 ac_path_GREP_found=false
5578 # Loop through the user's path and test for each of PROGNAME-LIST
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for ac_prog in grep ggrep; do
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5587 as_fn_executable_p "$ac_path_GREP" || continue
5588 # Check for GNU ac_path_GREP and select it if it is found.
5589 # Check for GNU $ac_path_GREP
5590 case `"$ac_path_GREP" --version 2>&1` in
5591 *GNU*)
5592 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5594 ac_count=0
5595 $as_echo_n 0123456789 >"conftest.in"
5596 while :
5598 cat "conftest.in" "conftest.in" >"conftest.tmp"
5599 mv "conftest.tmp" "conftest.in"
5600 cp "conftest.in" "conftest.nl"
5601 $as_echo 'GREP' >> "conftest.nl"
5602 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5603 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5604 as_fn_arith $ac_count + 1 && ac_count=$as_val
5605 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5606 # Best one so far, save it but keep looking for a better one
5607 ac_cv_path_GREP="$ac_path_GREP"
5608 ac_path_GREP_max=$ac_count
5610 # 10*(2^10) chars as input seems more than enough
5611 test $ac_count -gt 10 && break
5612 done
5613 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5614 esac
5616 $ac_path_GREP_found && break 3
5617 done
5618 done
5619 done
5620 IFS=$as_save_IFS
5621 if test -z "$ac_cv_path_GREP"; then
5622 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5624 else
5625 ac_cv_path_GREP=$GREP
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5630 $as_echo "$ac_cv_path_GREP" >&6; }
5631 GREP="$ac_cv_path_GREP"
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5635 $as_echo_n "checking for egrep... " >&6; }
5636 if ${ac_cv_path_EGREP+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5640 then ac_cv_path_EGREP="$GREP -E"
5641 else
5642 if test -z "$EGREP"; then
5643 ac_path_EGREP_found=false
5644 # Loop through the user's path and test for each of PROGNAME-LIST
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5648 IFS=$as_save_IFS
5649 test -z "$as_dir" && as_dir=.
5650 for ac_prog in egrep; do
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5653 as_fn_executable_p "$ac_path_EGREP" || continue
5654 # Check for GNU ac_path_EGREP and select it if it is found.
5655 # Check for GNU $ac_path_EGREP
5656 case `"$ac_path_EGREP" --version 2>&1` in
5657 *GNU*)
5658 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5660 ac_count=0
5661 $as_echo_n 0123456789 >"conftest.in"
5662 while :
5664 cat "conftest.in" "conftest.in" >"conftest.tmp"
5665 mv "conftest.tmp" "conftest.in"
5666 cp "conftest.in" "conftest.nl"
5667 $as_echo 'EGREP' >> "conftest.nl"
5668 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5669 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5670 as_fn_arith $ac_count + 1 && ac_count=$as_val
5671 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5672 # Best one so far, save it but keep looking for a better one
5673 ac_cv_path_EGREP="$ac_path_EGREP"
5674 ac_path_EGREP_max=$ac_count
5676 # 10*(2^10) chars as input seems more than enough
5677 test $ac_count -gt 10 && break
5678 done
5679 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5680 esac
5682 $ac_path_EGREP_found && break 3
5683 done
5684 done
5685 done
5686 IFS=$as_save_IFS
5687 if test -z "$ac_cv_path_EGREP"; then
5688 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5690 else
5691 ac_cv_path_EGREP=$EGREP
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5697 $as_echo "$ac_cv_path_EGREP" >&6; }
5698 EGREP="$ac_cv_path_EGREP"
5701 # Extract the first word of "ldconfig", so it can be a program name with args.
5702 set dummy ldconfig; ac_word=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_path_LDCONFIG+:} false; then :
5706 $as_echo_n "(cached) " >&6
5707 else
5708 case $LDCONFIG in
5709 [\\/]* | ?:[\\/]*)
5710 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in /sbin /usr/sbin $PATH
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5720 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 break 2
5724 done
5725 done
5726 IFS=$as_save_IFS
5728 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5730 esac
5732 LDCONFIG=$ac_cv_path_LDCONFIG
5733 if test -n "$LDCONFIG"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5735 $as_echo "$LDCONFIG" >&6; }
5736 else
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 for ac_prog in msgfmt
5744 # Extract the first word of "$ac_prog", so it can be a program name with args.
5745 set dummy $ac_prog; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if ${ac_cv_prog_MSGFMT+:} false; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$MSGFMT"; then
5752 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5753 else
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 for as_dir in $PATH
5757 IFS=$as_save_IFS
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5761 ac_cv_prog_MSGFMT="$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 break 2
5765 done
5766 done
5767 IFS=$as_save_IFS
5771 MSGFMT=$ac_cv_prog_MSGFMT
5772 if test -n "$MSGFMT"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5774 $as_echo "$MSGFMT" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5781 test -n "$MSGFMT" && break
5782 done
5783 test -n "$MSGFMT" || MSGFMT="false"
5785 if ${ac_tool_prefix+:} false; then :
5786 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5787 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5791 $as_echo_n "(cached) " >&6
5792 else
5793 if test -n "$PKG_CONFIG"; then
5794 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5795 else
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 for as_dir in $PATH
5799 IFS=$as_save_IFS
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 break 2
5807 done
5808 done
5809 IFS=$as_save_IFS
5813 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5814 if test -n "$PKG_CONFIG"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5816 $as_echo "$PKG_CONFIG" >&6; }
5817 else
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5824 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5825 if test "x$cross_compiling" = xyes; then :
5827 else
5828 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5829 # Extract the first word of "pkg-config", so it can be a program name with args.
5830 set dummy pkg-config; ac_word=$2
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832 $as_echo_n "checking for $ac_word... " >&6; }
5833 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5834 $as_echo_n "(cached) " >&6
5835 else
5836 if test -n "$PKG_CONFIG"; then
5837 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5838 else
5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 for as_dir in $PATH
5842 IFS=$as_save_IFS
5843 test -z "$as_dir" && as_dir=.
5844 for ac_exec_ext in '' $ac_executable_extensions; do
5845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5846 ac_cv_prog_PKG_CONFIG="pkg-config"
5847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848 break 2
5850 done
5851 done
5852 IFS=$as_save_IFS
5856 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5857 if test -n "$PKG_CONFIG"; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5859 $as_echo "$PKG_CONFIG" >&6; }
5860 else
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5867 else
5868 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5871 if test "x$enable_maintainer_mode" != "xyes"
5872 then
5873 FONTFORGE=""
5874 RSVG=""
5875 CONVERT=""
5876 ICOTOOL=""
5877 else
5878 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5879 for ac_prog in fontforge
5881 # Extract the first word of "$ac_prog", so it can be a program name with args.
5882 set dummy $ac_prog; ac_word=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if ${ac_cv_prog_FONTFORGE+:} false; then :
5886 $as_echo_n "(cached) " >&6
5887 else
5888 if test -n "$FONTFORGE"; then
5889 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5890 else
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 for as_dir in $PATH
5894 IFS=$as_save_IFS
5895 test -z "$as_dir" && as_dir=.
5896 for ac_exec_ext in '' $ac_executable_extensions; do
5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5898 ac_cv_prog_FONTFORGE="$ac_prog"
5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 break 2
5902 done
5903 done
5904 IFS=$as_save_IFS
5908 FONTFORGE=$ac_cv_prog_FONTFORGE
5909 if test -n "$FONTFORGE"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5911 $as_echo "$FONTFORGE" >&6; }
5912 else
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5918 test -n "$FONTFORGE" && break
5919 done
5920 test -n "$FONTFORGE" || FONTFORGE="false"
5922 for ac_prog in rsvg-convert rsvg
5924 # Extract the first word of "$ac_prog", so it can be a program name with args.
5925 set dummy $ac_prog; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if ${ac_cv_prog_RSVG+:} false; then :
5929 $as_echo_n "(cached) " >&6
5930 else
5931 if test -n "$RSVG"; then
5932 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5933 else
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH
5937 IFS=$as_save_IFS
5938 test -z "$as_dir" && as_dir=.
5939 for ac_exec_ext in '' $ac_executable_extensions; do
5940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941 ac_cv_prog_RSVG="$ac_prog"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 break 2
5945 done
5946 done
5947 IFS=$as_save_IFS
5951 RSVG=$ac_cv_prog_RSVG
5952 if test -n "$RSVG"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5954 $as_echo "$RSVG" >&6; }
5955 else
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5961 test -n "$RSVG" && break
5962 done
5963 test -n "$RSVG" || RSVG="false"
5965 for ac_prog in convert
5967 # Extract the first word of "$ac_prog", so it can be a program name with args.
5968 set dummy $ac_prog; ac_word=$2
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5970 $as_echo_n "checking for $ac_word... " >&6; }
5971 if ${ac_cv_prog_CONVERT+:} false; then :
5972 $as_echo_n "(cached) " >&6
5973 else
5974 if test -n "$CONVERT"; then
5975 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5976 else
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978 for as_dir in $PATH
5980 IFS=$as_save_IFS
5981 test -z "$as_dir" && as_dir=.
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_CONVERT="$ac_prog"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 break 2
5988 done
5989 done
5990 IFS=$as_save_IFS
5994 CONVERT=$ac_cv_prog_CONVERT
5995 if test -n "$CONVERT"; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5997 $as_echo "$CONVERT" >&6; }
5998 else
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 $as_echo "no" >&6; }
6004 test -n "$CONVERT" && break
6005 done
6006 test -n "$CONVERT" || CONVERT="false"
6008 for ac_prog in icotool
6010 # Extract the first word of "$ac_prog", so it can be a program name with args.
6011 set dummy $ac_prog; ac_word=$2
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 $as_echo_n "checking for $ac_word... " >&6; }
6014 if ${ac_cv_prog_ICOTOOL+:} false; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 if test -n "$ICOTOOL"; then
6018 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ICOTOOL="$ac_prog"
6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 break 2
6031 done
6032 done
6033 IFS=$as_save_IFS
6037 ICOTOOL=$ac_cv_prog_ICOTOOL
6038 if test -n "$ICOTOOL"; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6040 $as_echo "$ICOTOOL" >&6; }
6041 else
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6047 test -n "$ICOTOOL" && break
6048 done
6049 test -n "$ICOTOOL" || ICOTOOL="false"
6051 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6052 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6054 if test "$CONVERT" = false
6055 then
6056 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6057 else
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6059 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6060 convert_version=`convert --version | head -n1`
6061 if test "x$convert_version" != "x"
6062 then
6063 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6064 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6065 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6066 then
6067 CONVERT=false
6070 if test "$CONVERT" = false
6071 then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6073 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6074 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6075 else
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6077 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6081 if test "$ICOTOOL" = false
6082 then
6083 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6086 $as_echo_n "checking for recent enough icotool... " >&6; }
6087 icotool_version=`icotool --version | head -n1`
6088 if test "x$icotool_version" != "x"
6089 then
6090 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6091 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6092 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6093 then
6094 ICOTOOL=false
6095 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6098 if test "$ICOTOOL" = false
6099 then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6101 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6102 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6105 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6109 with_gettext=yes
6110 with_gettextpo=yes
6111 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6114 test "x$with_gettext" != xno || MSGFMT=false
6115 if test "$MSGFMT" != "false"
6116 then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6118 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6119 cat >conftest.po <<EOF
6120 # comment
6121 msgctxt "ctxt"
6122 msgid "id"
6123 msgstr "str"
6125 if $MSGFMT -o /dev/null conftest.po 2>&5
6126 then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6128 $as_echo "yes" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6132 MSGFMT=false
6135 if test "$MSGFMT" = false; then :
6136 case "x$with_gettext" in
6137 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6138 xno) ;;
6139 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6140 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6141 esac
6142 enable_po=${enable_po:-no}
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6147 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6148 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 ac_check_lib_save_LIBS=$LIBS
6152 LIBS="-li386 $LIBS"
6153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6154 /* end confdefs.h. */
6156 /* Override any GCC internal prototype to avoid an error.
6157 Use char because int might match the return type of a GCC
6158 builtin and then its argument prototype would still apply. */
6159 #ifdef __cplusplus
6160 extern "C"
6161 #endif
6162 char i386_set_ldt ();
6164 main ()
6166 return i386_set_ldt ();
6168 return 0;
6170 _ACEOF
6171 if ac_fn_c_try_link "$LINENO"; then :
6172 ac_cv_lib_i386_i386_set_ldt=yes
6173 else
6174 ac_cv_lib_i386_i386_set_ldt=no
6176 rm -f core conftest.err conftest.$ac_objext \
6177 conftest$ac_exeext conftest.$ac_ext
6178 LIBS=$ac_check_lib_save_LIBS
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6181 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6182 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6183 cat >>confdefs.h <<_ACEOF
6184 #define HAVE_LIBI386 1
6185 _ACEOF
6187 LIBS="-li386 $LIBS"
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6192 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6193 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6194 $as_echo_n "(cached) " >&6
6195 else
6196 ac_check_lib_save_LIBS=$LIBS
6197 LIBS="-lossaudio $LIBS"
6198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6199 /* end confdefs.h. */
6201 /* Override any GCC internal prototype to avoid an error.
6202 Use char because int might match the return type of a GCC
6203 builtin and then its argument prototype would still apply. */
6204 #ifdef __cplusplus
6205 extern "C"
6206 #endif
6207 char _oss_ioctl ();
6209 main ()
6211 return _oss_ioctl ();
6213 return 0;
6215 _ACEOF
6216 if ac_fn_c_try_link "$LINENO"; then :
6217 ac_cv_lib_ossaudio__oss_ioctl=yes
6218 else
6219 ac_cv_lib_ossaudio__oss_ioctl=no
6221 rm -f core conftest.err conftest.$ac_objext \
6222 conftest$ac_exeext conftest.$ac_ext
6223 LIBS=$ac_check_lib_save_LIBS
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6226 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6227 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6228 cat >>confdefs.h <<_ACEOF
6229 #define HAVE_LIBOSSAUDIO 1
6230 _ACEOF
6232 LIBS="-lossaudio $LIBS"
6237 OPENGL_LIBS=""
6241 # Check whether --enable-largefile was given.
6242 if test "${enable_largefile+set}" = set; then :
6243 enableval=$enable_largefile;
6246 if test "$enable_largefile" != no; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6249 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6250 if ${ac_cv_sys_largefile_CC+:} false; then :
6251 $as_echo_n "(cached) " >&6
6252 else
6253 ac_cv_sys_largefile_CC=no
6254 if test "$GCC" != yes; then
6255 ac_save_CC=$CC
6256 while :; do
6257 # IRIX 6.2 and later do not support large files by default,
6258 # so use the C compiler's -n32 option if that helps.
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #include <sys/types.h>
6262 /* Check that off_t can represent 2**63 - 1 correctly.
6263 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6264 since some C++ compilers masquerading as C compilers
6265 incorrectly reject 9223372036854775807. */
6266 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6267 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6268 && LARGE_OFF_T % 2147483647 == 1)
6269 ? 1 : -1];
6271 main ()
6275 return 0;
6277 _ACEOF
6278 if ac_fn_c_try_compile "$LINENO"; then :
6279 break
6281 rm -f core conftest.err conftest.$ac_objext
6282 CC="$CC -n32"
6283 if ac_fn_c_try_compile "$LINENO"; then :
6284 ac_cv_sys_largefile_CC=' -n32'; break
6286 rm -f core conftest.err conftest.$ac_objext
6287 break
6288 done
6289 CC=$ac_save_CC
6290 rm -f conftest.$ac_ext
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6294 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6295 if test "$ac_cv_sys_largefile_CC" != no; then
6296 CC=$CC$ac_cv_sys_largefile_CC
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6300 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6301 if ${ac_cv_sys_file_offset_bits+:} false; then :
6302 $as_echo_n "(cached) " >&6
6303 else
6304 while :; do
6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6307 #include <sys/types.h>
6308 /* Check that off_t can represent 2**63 - 1 correctly.
6309 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6310 since some C++ compilers masquerading as C compilers
6311 incorrectly reject 9223372036854775807. */
6312 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6313 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6314 && LARGE_OFF_T % 2147483647 == 1)
6315 ? 1 : -1];
6317 main ()
6321 return 0;
6323 _ACEOF
6324 if ac_fn_c_try_compile "$LINENO"; then :
6325 ac_cv_sys_file_offset_bits=no; break
6327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6329 /* end confdefs.h. */
6330 #define _FILE_OFFSET_BITS 64
6331 #include <sys/types.h>
6332 /* Check that off_t can represent 2**63 - 1 correctly.
6333 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6334 since some C++ compilers masquerading as C compilers
6335 incorrectly reject 9223372036854775807. */
6336 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6337 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6338 && LARGE_OFF_T % 2147483647 == 1)
6339 ? 1 : -1];
6341 main ()
6345 return 0;
6347 _ACEOF
6348 if ac_fn_c_try_compile "$LINENO"; then :
6349 ac_cv_sys_file_offset_bits=64; break
6351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6352 ac_cv_sys_file_offset_bits=unknown
6353 break
6354 done
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6357 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6358 case $ac_cv_sys_file_offset_bits in #(
6359 no | unknown) ;;
6361 cat >>confdefs.h <<_ACEOF
6362 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6363 _ACEOF
6365 esac
6366 rm -rf conftest*
6367 if test $ac_cv_sys_file_offset_bits = unknown; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6369 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6370 if ${ac_cv_sys_large_files+:} false; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 while :; do
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #include <sys/types.h>
6377 /* Check that off_t can represent 2**63 - 1 correctly.
6378 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6379 since some C++ compilers masquerading as C compilers
6380 incorrectly reject 9223372036854775807. */
6381 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6382 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6383 && LARGE_OFF_T % 2147483647 == 1)
6384 ? 1 : -1];
6386 main ()
6390 return 0;
6392 _ACEOF
6393 if ac_fn_c_try_compile "$LINENO"; then :
6394 ac_cv_sys_large_files=no; break
6396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6399 #define _LARGE_FILES 1
6400 #include <sys/types.h>
6401 /* Check that off_t can represent 2**63 - 1 correctly.
6402 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6403 since some C++ compilers masquerading as C compilers
6404 incorrectly reject 9223372036854775807. */
6405 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6406 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6407 && LARGE_OFF_T % 2147483647 == 1)
6408 ? 1 : -1];
6410 main ()
6414 return 0;
6416 _ACEOF
6417 if ac_fn_c_try_compile "$LINENO"; then :
6418 ac_cv_sys_large_files=1; break
6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421 ac_cv_sys_large_files=unknown
6422 break
6423 done
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6426 $as_echo "$ac_cv_sys_large_files" >&6; }
6427 case $ac_cv_sys_large_files in #(
6428 no | unknown) ;;
6430 cat >>confdefs.h <<_ACEOF
6431 #define _LARGE_FILES $ac_cv_sys_large_files
6432 _ACEOF
6434 esac
6435 rm -rf conftest*
6442 ac_ext=c
6443 ac_cpp='$CPP $CPPFLAGS'
6444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6448 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6449 # On Suns, sometimes $CPP names a directory.
6450 if test -n "$CPP" && test -d "$CPP"; then
6451 CPP=
6453 if test -z "$CPP"; then
6454 if ${ac_cv_prog_CPP+:} false; then :
6455 $as_echo_n "(cached) " >&6
6456 else
6457 # Double quotes because CPP needs to be expanded
6458 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6460 ac_preproc_ok=false
6461 for ac_c_preproc_warn_flag in '' yes
6463 # Use a header file that comes with gcc, so configuring glibc
6464 # with a fresh cross-compiler works.
6465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6466 # <limits.h> exists even on freestanding compilers.
6467 # On the NeXT, cc -E runs the code through the compiler's parser,
6468 # not just through cpp. "Syntax error" is here to catch this case.
6469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6471 #ifdef __STDC__
6472 # include <limits.h>
6473 #else
6474 # include <assert.h>
6475 #endif
6476 Syntax error
6477 _ACEOF
6478 if ac_fn_c_try_cpp "$LINENO"; then :
6480 else
6481 # Broken: fails on valid input.
6482 continue
6484 rm -f conftest.err conftest.i conftest.$ac_ext
6486 # OK, works on sane cases. Now check whether nonexistent headers
6487 # can be detected and how.
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6490 #include <ac_nonexistent.h>
6491 _ACEOF
6492 if ac_fn_c_try_cpp "$LINENO"; then :
6493 # Broken: success on invalid input.
6494 continue
6495 else
6496 # Passes both tests.
6497 ac_preproc_ok=:
6498 break
6500 rm -f conftest.err conftest.i conftest.$ac_ext
6502 done
6503 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6504 rm -f conftest.i conftest.err conftest.$ac_ext
6505 if $ac_preproc_ok; then :
6506 break
6509 done
6510 ac_cv_prog_CPP=$CPP
6513 CPP=$ac_cv_prog_CPP
6514 else
6515 ac_cv_prog_CPP=$CPP
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6518 $as_echo "$CPP" >&6; }
6519 ac_preproc_ok=false
6520 for ac_c_preproc_warn_flag in '' yes
6522 # Use a header file that comes with gcc, so configuring glibc
6523 # with a fresh cross-compiler works.
6524 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6525 # <limits.h> exists even on freestanding compilers.
6526 # On the NeXT, cc -E runs the code through the compiler's parser,
6527 # not just through cpp. "Syntax error" is here to catch this case.
6528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6530 #ifdef __STDC__
6531 # include <limits.h>
6532 #else
6533 # include <assert.h>
6534 #endif
6535 Syntax error
6536 _ACEOF
6537 if ac_fn_c_try_cpp "$LINENO"; then :
6539 else
6540 # Broken: fails on valid input.
6541 continue
6543 rm -f conftest.err conftest.i conftest.$ac_ext
6545 # OK, works on sane cases. Now check whether nonexistent headers
6546 # can be detected and how.
6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6549 #include <ac_nonexistent.h>
6550 _ACEOF
6551 if ac_fn_c_try_cpp "$LINENO"; then :
6552 # Broken: success on invalid input.
6553 continue
6554 else
6555 # Passes both tests.
6556 ac_preproc_ok=:
6557 break
6559 rm -f conftest.err conftest.i conftest.$ac_ext
6561 done
6562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6563 rm -f conftest.i conftest.err conftest.$ac_ext
6564 if $ac_preproc_ok; then :
6566 else
6567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6569 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6570 See \`config.log' for more details" "$LINENO" 5; }
6573 ac_ext=c
6574 ac_cpp='$CPP $CPPFLAGS'
6575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6581 $as_echo_n "checking for ANSI C header files... " >&6; }
6582 if ${ac_cv_header_stdc+:} false; then :
6583 $as_echo_n "(cached) " >&6
6584 else
6585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6586 /* end confdefs.h. */
6587 #include <stdlib.h>
6588 #include <stdarg.h>
6589 #include <string.h>
6590 #include <float.h>
6593 main ()
6597 return 0;
6599 _ACEOF
6600 if ac_fn_c_try_compile "$LINENO"; then :
6601 ac_cv_header_stdc=yes
6602 else
6603 ac_cv_header_stdc=no
6605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6607 if test $ac_cv_header_stdc = yes; then
6608 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6611 #include <string.h>
6613 _ACEOF
6614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6615 $EGREP "memchr" >/dev/null 2>&1; then :
6617 else
6618 ac_cv_header_stdc=no
6620 rm -f conftest*
6624 if test $ac_cv_header_stdc = yes; then
6625 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6628 #include <stdlib.h>
6630 _ACEOF
6631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6632 $EGREP "free" >/dev/null 2>&1; then :
6634 else
6635 ac_cv_header_stdc=no
6637 rm -f conftest*
6641 if test $ac_cv_header_stdc = yes; then
6642 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6643 if test "$cross_compiling" = yes; then :
6645 else
6646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6648 #include <ctype.h>
6649 #include <stdlib.h>
6650 #if ((' ' & 0x0FF) == 0x020)
6651 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6652 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6653 #else
6654 # define ISLOWER(c) \
6655 (('a' <= (c) && (c) <= 'i') \
6656 || ('j' <= (c) && (c) <= 'r') \
6657 || ('s' <= (c) && (c) <= 'z'))
6658 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6659 #endif
6661 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6663 main ()
6665 int i;
6666 for (i = 0; i < 256; i++)
6667 if (XOR (islower (i), ISLOWER (i))
6668 || toupper (i) != TOUPPER (i))
6669 return 2;
6670 return 0;
6672 _ACEOF
6673 if ac_fn_c_try_run "$LINENO"; then :
6675 else
6676 ac_cv_header_stdc=no
6678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6679 conftest.$ac_objext conftest.beam conftest.$ac_ext
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6685 $as_echo "$ac_cv_header_stdc" >&6; }
6686 if test $ac_cv_header_stdc = yes; then
6688 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6693 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6694 inttypes.h stdint.h unistd.h
6695 do :
6696 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6697 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6699 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6700 cat >>confdefs.h <<_ACEOF
6701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6702 _ACEOF
6706 done
6709 for ac_header in \
6710 AL/al.h \
6711 ApplicationServices/ApplicationServices.h \
6712 AudioToolbox/AudioConverter.h \
6713 AudioUnit/AudioUnit.h \
6714 AudioUnit/AudioComponent.h \
6715 CL/cl.h \
6716 Carbon/Carbon.h \
6717 CommonCrypto/CommonDigest.h \
6718 CoreAudio/CoreAudio.h \
6719 CoreServices/CoreServices.h \
6720 DiskArbitration/DiskArbitration.h \
6721 IOKit/IOKitLib.h \
6722 IOKit/hid/IOHIDLib.h \
6723 OpenAL/al.h \
6724 OpenCL/opencl.h \
6725 QuickTime/ImageCompression.h \
6726 Security/Security.h \
6727 alias.h \
6728 alsa/asoundlib.h \
6729 arpa/inet.h \
6730 arpa/nameser.h \
6731 asm/types.h \
6732 asm/user.h \
6733 curses.h \
6734 direct.h \
6735 dirent.h \
6736 dlfcn.h \
6737 elf.h \
6738 float.h \
6739 fnmatch.h \
6740 getopt.h \
6741 gettext-po.h \
6742 grp.h \
6743 gsm.h \
6744 gsm/gsm.h \
6745 ieeefp.h \
6746 inet/mib2.h \
6747 io.h \
6748 kstat.h \
6749 lber.h \
6750 ldap.h \
6751 libproc.h \
6752 link.h \
6753 linux/cdrom.h \
6754 linux/compiler.h \
6755 linux/filter.h \
6756 linux/hdreg.h \
6757 linux/input.h \
6758 linux/ioctl.h \
6759 linux/joystick.h \
6760 linux/major.h \
6761 linux/param.h \
6762 linux/serial.h \
6763 linux/types.h \
6764 linux/ucdrom.h \
6765 lwp.h \
6766 mach-o/nlist.h \
6767 mach-o/loader.h \
6768 mach/mach.h \
6769 mach/machine.h \
6770 machine/cpu.h \
6771 machine/limits.h \
6772 machine/sysarch.h \
6773 mntent.h \
6774 ncurses.h \
6775 netdb.h \
6776 netinet/in.h \
6777 netinet/in_systm.h \
6778 netinet/tcp.h \
6779 netinet/tcp_fsm.h \
6780 pcap/pcap.h \
6781 poll.h \
6782 port.h \
6783 process.h \
6784 pthread.h \
6785 pwd.h \
6786 sched.h \
6787 scsi/scsi.h \
6788 scsi/scsi_ioctl.h \
6789 scsi/sg.h \
6790 stdbool.h \
6791 stdint.h \
6792 stropts.h \
6793 sys/asoundlib.h \
6794 sys/attr.h \
6795 sys/cdio.h \
6796 sys/elf32.h \
6797 sys/epoll.h \
6798 sys/event.h \
6799 sys/exec_elf.h \
6800 sys/filio.h \
6801 sys/inotify.h \
6802 sys/ioctl.h \
6803 sys/ipc.h \
6804 sys/limits.h \
6805 sys/link.h \
6806 sys/mman.h \
6807 sys/modem.h \
6808 sys/msg.h \
6809 sys/mtio.h \
6810 sys/param.h \
6811 sys/poll.h \
6812 sys/prctl.h \
6813 sys/protosw.h \
6814 sys/ptrace.h \
6815 sys/queue.h \
6816 sys/resource.h \
6817 sys/scsiio.h \
6818 sys/shm.h \
6819 sys/signal.h \
6820 sys/socket.h \
6821 sys/socketvar.h \
6822 sys/sockio.h \
6823 sys/statvfs.h \
6824 sys/strtio.h \
6825 sys/syscall.h \
6826 sys/sysinfo.h \
6827 sys/tihdr.h \
6828 sys/time.h \
6829 sys/timeout.h \
6830 sys/times.h \
6831 sys/uio.h \
6832 sys/user.h \
6833 sys/utsname.h \
6834 sys/vm86.h \
6835 sys/vnode.h \
6836 sys/wait.h \
6837 syscall.h \
6838 termios.h \
6839 unistd.h \
6840 utime.h \
6841 valgrind/memcheck.h \
6842 valgrind/valgrind.h \
6843 zlib.h
6845 do :
6846 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6847 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6848 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6849 cat >>confdefs.h <<_ACEOF
6850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6851 _ACEOF
6855 done
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6858 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6859 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6860 $as_echo_n "(cached) " >&6
6861 else
6862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6863 /* end confdefs.h. */
6864 #include <sys/types.h>
6866 main ()
6868 return makedev(0, 0);
6870 return 0;
6872 _ACEOF
6873 if ac_fn_c_try_link "$LINENO"; then :
6874 ac_cv_header_sys_types_h_makedev=yes
6875 else
6876 ac_cv_header_sys_types_h_makedev=no
6878 rm -f core conftest.err conftest.$ac_objext \
6879 conftest$ac_exeext conftest.$ac_ext
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6883 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6885 if test $ac_cv_header_sys_types_h_makedev = no; then
6886 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6887 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6889 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6895 if test $ac_cv_header_sys_mkdev_h = no; then
6896 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6897 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6899 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6908 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6909 if ${ac_cv_header_stat_broken+:} false; then :
6910 $as_echo_n "(cached) " >&6
6911 else
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6914 #include <sys/types.h>
6915 #include <sys/stat.h>
6917 #if defined S_ISBLK && defined S_IFDIR
6918 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6919 #endif
6921 #if defined S_ISBLK && defined S_IFCHR
6922 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6923 #endif
6925 #if defined S_ISLNK && defined S_IFREG
6926 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6927 #endif
6929 #if defined S_ISSOCK && defined S_IFREG
6930 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6931 #endif
6933 _ACEOF
6934 if ac_fn_c_try_compile "$LINENO"; then :
6935 ac_cv_header_stat_broken=no
6936 else
6937 ac_cv_header_stat_broken=yes
6939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6942 $as_echo "$ac_cv_header_stat_broken" >&6; }
6943 if test $ac_cv_header_stat_broken = yes; then
6945 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6951 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6952 do :
6953 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6954 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6955 #ifdef HAVE_SYS_PARAM_H
6956 # include <sys/param.h>
6957 #endif
6959 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6960 cat >>confdefs.h <<_ACEOF
6961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6962 _ACEOF
6966 done
6969 for ac_header in \
6970 netinet/ip.h \
6971 net/if.h \
6972 net/if_arp.h \
6973 net/if_dl.h \
6974 net/if_types.h \
6975 net/route.h \
6976 netinet/if_ether.h \
6977 netinet/if_inarp.h \
6978 netinet/in_pcb.h \
6979 netinet/ip_icmp.h \
6980 netinet/ip_var.h \
6981 netinet/udp.h \
6982 netipx/ipx.h \
6983 sys/un.h \
6985 do :
6986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6987 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6988 #ifdef HAVE_SYS_SOCKET_H
6989 # include <sys/socket.h>
6990 #endif
6991 #ifdef HAVE_SYS_SOCKETVAR_H
6992 # include <sys/socketvar.h>
6993 #endif
6994 #ifdef HAVE_NET_ROUTE_H
6995 # include <net/route.h>
6996 #endif
6997 #ifdef HAVE_NETINET_IN_H
6998 # include <netinet/in.h>
6999 #endif
7000 #ifdef HAVE_NETINET_IN_SYSTM_H
7001 # include <netinet/in_systm.h>
7002 #endif
7003 #ifdef HAVE_NET_IF_H
7004 # include <net/if.h>
7005 #endif
7006 #ifdef HAVE_NETINET_IP_H
7007 # include <netinet/ip.h>
7008 #endif
7010 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7011 cat >>confdefs.h <<_ACEOF
7012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7013 _ACEOF
7017 done
7020 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7021 do :
7022 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7023 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7024 #ifdef HAVE_ALIAS_H
7025 # include <alias.h>
7026 #endif
7027 #ifdef HAVE_SYS_SOCKET_H
7028 # include <sys/socket.h>
7029 #endif
7030 #ifdef HAVE_SYS_SOCKETVAR_H
7031 # include <sys/socketvar.h>
7032 #endif
7033 #ifdef HAVE_SYS_TIMEOUT_H
7034 # include <sys/timeout.h>
7035 #endif
7036 #ifdef HAVE_NETINET_IN_H
7037 # include <netinet/in.h>
7038 #endif
7039 #ifdef HAVE_NETINET_IN_SYSTM_H
7040 # include <netinet/in_systm.h>
7041 #endif
7042 #ifdef HAVE_NETINET_IP_H
7043 # include <netinet/ip.h>
7044 #endif
7045 #ifdef HAVE_NETINET_IP_VAR_H
7046 # include <netinet/ip_var.h>
7047 #endif
7048 #ifdef HAVE_NETINET_IP_ICMP_H
7049 # include <netinet/ip_icmp.h>
7050 #endif
7051 #ifdef HAVE_NETINET_UDP_H
7052 # include <netinet/udp.h>
7053 #endif
7054 #ifdef HAVE_NETINET_TCP_H
7055 # include <netinet/tcp.h>
7056 #endif
7057 #ifdef HAVE_NETINET_TCP_TIMER_H
7058 #include <netinet/tcp_timer.h>
7059 #endif
7061 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7062 cat >>confdefs.h <<_ACEOF
7063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7064 _ACEOF
7068 done
7071 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7072 do :
7073 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7074 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7075 #ifdef HAVE_ASM_TYPES_H
7076 # include <asm/types.h>
7077 #endif
7078 #ifdef HAVE_SYS_SOCKET_H
7079 # include <sys/socket.h>
7080 #endif
7081 #ifdef HAVE_LINUX_TYPES_H
7082 # include <linux/types.h>
7083 #endif
7085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7086 cat >>confdefs.h <<_ACEOF
7087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7088 _ACEOF
7092 done
7095 for ac_header in mach-o/dyld_images.h
7096 do :
7097 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7098 # include <stdbool.h>
7099 #endif
7100 #ifdef HAVE_STDINT_H
7101 # include <stdint.h>
7102 #endif
7104 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7105 cat >>confdefs.h <<_ACEOF
7106 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7107 _ACEOF
7111 done
7114 for ac_header in resolv.h
7115 do :
7116 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7117 #ifdef HAVE_SYS_SOCKET_H
7118 # include <sys/socket.h>
7119 #endif
7120 #ifdef HAVE_NETINET_IN_H
7121 # include <netinet/in.h>
7122 #endif
7123 #ifdef HAVE_ARPA_NAMESER_H
7124 # include <arpa/nameser.h>
7125 #endif
7127 if test "x$ac_cv_header_resolv_h" = xyes; then :
7128 cat >>confdefs.h <<_ACEOF
7129 #define HAVE_RESOLV_H 1
7130 _ACEOF
7134 done
7137 for ac_header in ifaddrs.h
7138 do :
7139 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7141 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7142 cat >>confdefs.h <<_ACEOF
7143 #define HAVE_IFADDRS_H 1
7144 _ACEOF
7148 done
7151 for ac_header in sys/ucontext.h
7152 do :
7153 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7155 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define HAVE_SYS_UCONTEXT_H 1
7158 _ACEOF
7162 done
7165 for ac_header in sys/thr.h
7166 do :
7167 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7168 #ifdef HAVE_SYS_UCONTEXT_H
7169 #include <sys/ucontext.h>
7170 #endif
7172 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7173 cat >>confdefs.h <<_ACEOF
7174 #define HAVE_SYS_THR_H 1
7175 _ACEOF
7179 done
7182 for ac_header in pthread_np.h
7183 do :
7184 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7185 #include <pthread.h>
7186 #endif
7188 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7189 cat >>confdefs.h <<_ACEOF
7190 #define HAVE_PTHREAD_NP_H 1
7191 _ACEOF
7195 done
7198 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7199 do :
7200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7201 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7202 #include <sys/time.h>
7203 #endif
7204 #include <sys/types.h>
7205 #ifdef HAVE_ASM_TYPES_H
7206 #include <asm/types.h>
7207 #endif
7209 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7210 cat >>confdefs.h <<_ACEOF
7211 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7212 _ACEOF
7216 done
7219 for ac_header in libprocstat.h
7220 do :
7221 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7222 #include <sys/param.h>
7223 #endif
7224 #ifdef HAVE_SYS_QUEUE_H
7225 #include <sys/queue.h>
7226 #endif
7227 #ifdef HAVE_SYS_SOCKET_H
7228 #include <sys/socket.h>
7229 #endif
7231 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7232 cat >>confdefs.h <<_ACEOF
7233 #define HAVE_LIBPROCSTAT_H 1
7234 _ACEOF
7238 done
7242 dlldir="\${libdir}/wine"
7244 DLLFLAGS="-D_REENTRANT"
7246 LDRPATH_INSTALL=""
7248 LDRPATH_LOCAL=""
7250 LDEXECFLAGS=""
7252 LIBEXT="so"
7253 DLLEXT=".so"
7254 IMPLIBEXT="def"
7255 # Extract the first word of "ldd", so it can be a program name with args.
7256 set dummy ldd; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if ${ac_cv_path_LDD+:} false; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 case $LDD in
7263 [\\/]* | ?:[\\/]*)
7264 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 as_dummy="/sbin:/usr/sbin:$PATH"
7269 for as_dir in $as_dummy
7271 IFS=$as_save_IFS
7272 test -z "$as_dir" && as_dir=.
7273 for ac_exec_ext in '' $ac_executable_extensions; do
7274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7275 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7277 break 2
7279 done
7280 done
7281 IFS=$as_save_IFS
7283 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7285 esac
7287 LDD=$ac_cv_path_LDD
7288 if test -n "$LDD"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7290 $as_echo "$LDD" >&6; }
7291 else
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7297 if test -n "$ac_tool_prefix"; then
7298 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7299 set dummy ${ac_tool_prefix}otool; ac_word=$2
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 $as_echo_n "checking for $ac_word... " >&6; }
7302 if ${ac_cv_prog_OTOOL+:} false; then :
7303 $as_echo_n "(cached) " >&6
7304 else
7305 if test -n "$OTOOL"; then
7306 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7307 else
7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309 for as_dir in $PATH
7311 IFS=$as_save_IFS
7312 test -z "$as_dir" && as_dir=.
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7315 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7317 break 2
7319 done
7320 done
7321 IFS=$as_save_IFS
7325 OTOOL=$ac_cv_prog_OTOOL
7326 if test -n "$OTOOL"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7328 $as_echo "$OTOOL" >&6; }
7329 else
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 $as_echo "no" >&6; }
7336 if test -z "$ac_cv_prog_OTOOL"; then
7337 ac_ct_OTOOL=$OTOOL
7338 # Extract the first word of "otool", so it can be a program name with args.
7339 set dummy otool; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$ac_ct_OTOOL"; then
7346 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7355 ac_cv_prog_ac_ct_OTOOL="otool"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7359 done
7360 done
7361 IFS=$as_save_IFS
7365 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7366 if test -n "$ac_ct_OTOOL"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7368 $as_echo "$ac_ct_OTOOL" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7374 if test "x$ac_ct_OTOOL" = x; then
7375 OTOOL="otool"
7376 else
7377 case $cross_compiling:$ac_tool_warned in
7378 yes:)
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7381 ac_tool_warned=yes ;;
7382 esac
7383 OTOOL=$ac_ct_OTOOL
7385 else
7386 OTOOL="$ac_cv_prog_OTOOL"
7389 if test -n "$ac_tool_prefix"; then
7390 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7391 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if ${ac_cv_prog_READELF+:} false; then :
7395 $as_echo_n "(cached) " >&6
7396 else
7397 if test -n "$READELF"; then
7398 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7399 else
7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 for as_dir in $PATH
7403 IFS=$as_save_IFS
7404 test -z "$as_dir" && as_dir=.
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 READELF=$ac_cv_prog_READELF
7418 if test -n "$READELF"; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7420 $as_echo "$READELF" >&6; }
7421 else
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 $as_echo "no" >&6; }
7428 if test -z "$ac_cv_prog_READELF"; then
7429 ac_ct_READELF=$READELF
7430 # Extract the first word of "readelf", so it can be a program name with args.
7431 set dummy readelf; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$ac_ct_READELF"; then
7438 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_ac_ct_READELF="readelf"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7458 if test -n "$ac_ct_READELF"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7460 $as_echo "$ac_ct_READELF" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7466 if test "x$ac_ct_READELF" = x; then
7467 READELF="true"
7468 else
7469 case $cross_compiling:$ac_tool_warned in
7470 yes:)
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7473 ac_tool_warned=yes ;;
7474 esac
7475 READELF=$ac_ct_READELF
7477 else
7478 READELF="$ac_cv_prog_READELF"
7481 wine_rules_file=conf$$rules.make
7482 rm -f $wine_rules_file
7483 SUBDIRS=""
7485 DISABLED_SUBDIRS=""
7487 CONFIGURE_TARGETS=""
7489 ALL_TEST_RESOURCES=""
7492 wine_fn_append_file ()
7494 as_fn_append $1 " \\$as_nl $2"
7497 wine_fn_append_rule ()
7499 $as_echo "$1" >>$wine_rules_file
7502 wine_fn_has_flag ()
7504 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7507 wine_fn_all_rules ()
7509 wine_fn_append_file SUBDIRS $ac_dir
7510 wine_fn_append_rule \
7511 "all: $ac_dir
7512 .PHONY: $ac_dir
7513 $ac_dir: dummy
7514 @cd $ac_dir && \$(MAKE)"
7517 wine_fn_install_rules ()
7519 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7521 wine_fn_append_rule \
7522 ".PHONY: $ac_dir/install $ac_dir/uninstall
7523 $ac_dir/install:: $ac_dir
7524 @cd $ac_dir && \$(MAKE) install
7525 $ac_dir/uninstall::
7526 @cd $ac_dir && \$(MAKE) uninstall
7527 install:: $ac_dir/install
7528 __uninstall__: $ac_dir/uninstall"
7530 if wine_fn_has_flag install-lib
7531 then
7532 wine_fn_append_rule \
7533 ".PHONY: $ac_dir/install-lib
7534 $ac_dir/install-lib:: $ac_dir
7535 @cd $ac_dir && \$(MAKE) install-lib
7536 install-lib:: $ac_dir/install-lib"
7539 if wine_fn_has_flag install-dev
7540 then
7541 wine_fn_append_rule \
7542 ".PHONY: $ac_dir/install-dev
7543 $ac_dir/install-dev:: $ac_dir
7544 @cd $ac_dir && \$(MAKE) install-dev
7545 install-dev:: $ac_dir/install-dev"
7549 wine_fn_clean_rules ()
7551 ac_clean=$@
7553 if wine_fn_has_flag clean
7554 then
7555 wine_fn_append_rule \
7556 "$ac_dir/clean: dummy
7557 @cd $ac_dir && \$(MAKE) clean"
7558 else
7559 wine_fn_append_rule \
7560 "$ac_dir/clean: dummy
7561 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7563 wine_fn_append_rule \
7564 "__clean__: $ac_dir/clean
7565 .PHONY: $ac_dir/clean"
7568 wine_fn_disabled_rules ()
7570 ac_clean=$@
7572 wine_fn_append_file SUBDIRS $ac_dir
7573 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7574 wine_fn_append_rule \
7575 "__clean__: $ac_dir/clean
7576 .PHONY: $ac_dir/clean
7577 $ac_dir/clean: dummy
7578 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7581 wine_fn_config_makefile ()
7583 ac_dir=$1
7584 ac_enable=$2
7585 ac_flags=$3
7587 case $ac_dir in
7588 fonts|server) test -z "$with_wine64" || return ;;
7589 esac
7590 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7591 wine_fn_disabled_rules; return
7593 wine_fn_all_rules
7594 wine_fn_install_rules
7595 wine_fn_clean_rules
7598 wine_fn_config_lib ()
7600 ac_name=$1
7601 ac_flags=$2
7602 ac_dir=dlls/$ac_name
7603 ac_deps="include"
7605 if test "x$enable_tools" = xno; then :
7607 else
7608 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7610 wine_fn_all_rules
7611 wine_fn_clean_rules
7613 wine_fn_append_rule \
7614 ".PHONY: $ac_dir/install $ac_dir/uninstall
7615 $ac_dir/install:: $ac_dir
7616 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7617 $ac_dir/uninstall::
7618 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7619 install install-dev:: $ac_dir/install
7620 __uninstall__: $ac_dir/uninstall
7621 __builddeps__: $ac_dir
7622 $ac_dir: $ac_deps"
7625 wine_fn_config_dll ()
7627 ac_name=$1
7628 ac_dir=dlls/$ac_name
7629 ac_enable=$2
7630 ac_flags=$3
7631 ac_implib=${4:-$ac_name}
7632 ac_file=$ac_dir/lib$ac_implib
7633 ac_dll=$ac_name
7634 ac_deps="include"
7635 ac_implibflags=""
7637 if test "x$enable_tools" = xno; then :
7639 else
7640 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7642 case $ac_name in
7643 *16) ac_implibflags=" -m16" ;;
7644 *.*) ;;
7645 *) ac_dll=$ac_dll.dll ;;
7646 esac
7648 ac_clean=
7649 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7650 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7652 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7653 if test "$ac_enable" != enable_win16
7654 then
7655 wine_fn_clean_rules $ac_clean
7656 wine_fn_append_file SUBDIRS $ac_dir
7657 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7658 else
7659 wine_fn_disabled_rules $ac_clean
7660 return
7662 else
7663 wine_fn_all_rules
7664 wine_fn_clean_rules $ac_clean
7665 wine_fn_append_rule \
7666 "$ac_dir: __builddeps__
7667 manpages htmlpages sgmlpages xmlpages::
7668 @cd $ac_dir && \$(MAKE) \$@
7669 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7670 install install-lib:: $ac_dir/install-lib
7671 __uninstall__: $ac_dir/uninstall"
7672 if test -n "$DLLEXT"
7673 then
7674 wine_fn_append_rule \
7675 "$ac_dir/install-lib:: $ac_dir
7676 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7677 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7678 $ac_dir/uninstall::
7679 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7680 else
7681 wine_fn_append_rule \
7682 "$ac_dir/install-lib:: $ac_dir
7683 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7684 $ac_dir/uninstall::
7685 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7689 if wine_fn_has_flag staticimplib
7690 then
7691 wine_fn_append_rule \
7692 "__builddeps__: $ac_file.a
7693 $ac_file.a $ac_file.cross.a: $ac_deps
7694 $ac_file.a: dummy
7695 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7696 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7697 $ac_dir/install-dev:: $ac_file.a
7698 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7699 $ac_dir/uninstall::
7700 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7701 install install-dev:: $ac_dir/install-dev
7702 __uninstall__: $ac_dir/uninstall"
7704 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7705 then
7706 wine_fn_append_rule \
7707 "__builddeps__: $ac_file.cross.a
7708 $ac_file.cross.a: dummy
7709 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7712 elif wine_fn_has_flag implib
7713 then
7714 wine_fn_append_rule \
7715 "__builddeps__: $ac_file.$IMPLIBEXT
7716 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7717 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7718 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7719 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7720 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7721 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7722 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7723 $ac_dir/uninstall::
7724 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7725 install install-dev:: $ac_dir/install-dev
7726 __uninstall__: $ac_dir/uninstall"
7727 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7728 then
7729 wine_fn_append_rule \
7730 "__builddeps__: $ac_file.cross.a
7731 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7732 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7737 wine_fn_config_program ()
7739 ac_name=$1
7740 ac_dir=programs/$ac_name
7741 ac_enable=$2
7742 ac_flags=$3
7743 ac_program=$ac_name
7745 case $ac_name in
7746 *.*) ;;
7747 *) ac_program=$ac_program.exe ;;
7748 esac
7750 ac_clean=
7751 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7752 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7754 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7755 wine_fn_disabled_rules $ac_clean; return
7758 wine_fn_all_rules
7759 wine_fn_clean_rules $ac_clean
7760 wine_fn_append_rule "$ac_dir: __builddeps__"
7762 wine_fn_has_flag install || return
7763 wine_fn_append_rule \
7764 ".PHONY: $ac_dir/install $ac_dir/uninstall
7765 install install-lib:: $ac_dir/install
7766 __uninstall__: $ac_dir/uninstall"
7768 if test -n "$DLLEXT"
7769 then
7770 wine_fn_append_rule \
7771 "$ac_dir/install:: $ac_dir
7772 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7773 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7774 $ac_dir/uninstall::
7775 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7777 if test -z "$with_wine64" && wine_fn_has_flag installbin
7778 then
7779 wine_fn_append_rule \
7780 "$ac_dir/install:: __tooldeps__
7781 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7782 $ac_dir/uninstall::
7783 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7785 else
7786 wine_fn_append_rule \
7787 "$ac_dir/install:: $ac_dir
7788 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7789 $ac_dir/uninstall::
7790 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7793 if test -z "$with_wine64" && wine_fn_has_flag manpage
7794 then
7795 wine_fn_append_rule \
7796 "$ac_dir/install:: $ac_dir
7797 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7798 $ac_dir/uninstall::
7799 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7803 wine_fn_config_test ()
7805 ac_dir=$1
7806 ac_name=$2
7807 ac_flags=$3
7809 ac_clean=
7810 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7811 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7813 if test "x$enable_tests" = xno; then :
7814 wine_fn_disabled_rules $ac_clean; return
7817 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7818 wine_fn_all_rules
7819 wine_fn_clean_rules $ac_clean
7821 wine_fn_append_rule \
7822 "$ac_dir: __builddeps__
7823 programs/winetest: $ac_dir
7824 check test: $ac_dir/test
7825 .PHONY: $ac_dir/test
7826 $ac_dir/test: dummy
7827 @cd $ac_dir && \$(MAKE) test
7828 testclean::
7829 \$(RM) $ac_dir/*.ok"
7831 if test -n "$CROSSTARGET"
7832 then
7833 wine_fn_append_rule \
7834 "crosstest: $ac_dir/crosstest
7835 .PHONY: $ac_dir/crosstest
7836 $ac_dir/crosstest: __builddeps__ dummy
7837 @cd $ac_dir && \$(MAKE) crosstest"
7841 wine_fn_config_tool ()
7843 ac_dir=$1
7844 ac_flags=$2
7845 if test "x$enable_tools" = xno; then :
7846 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7849 wine_fn_all_rules
7850 wine_fn_install_rules
7851 wine_fn_clean_rules
7853 wine_fn_append_rule "__tooldeps__: $ac_dir"
7854 wine_fn_append_rule "$ac_dir: libs/port"
7855 case $ac_dir in
7856 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7857 esac
7860 wine_fn_config_symlink ()
7862 ac_linkdir=
7863 if test "x$1" = "x-d"
7864 then
7865 ac_linkdir=$2
7866 shift; shift
7868 ac_links=$@
7869 wine_fn_append_rule \
7870 "$ac_links:
7871 @./config.status \$@"
7872 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7873 test -n "$ac_linkdir" || return
7874 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7877 wine_binary="wine"
7878 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7879 WINELOADER_PROGRAMS="$wine_binary"
7881 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7883 case $host_os in
7884 cygwin*|mingw32*)
7885 if test -n "$ac_tool_prefix"; then
7886 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7887 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889 $as_echo_n "checking for $ac_word... " >&6; }
7890 if ${ac_cv_prog_DLLTOOL+:} false; then :
7891 $as_echo_n "(cached) " >&6
7892 else
7893 if test -n "$DLLTOOL"; then
7894 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7895 else
7896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 for as_dir in $PATH
7899 IFS=$as_save_IFS
7900 test -z "$as_dir" && as_dir=.
7901 for ac_exec_ext in '' $ac_executable_extensions; do
7902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7903 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905 break 2
7907 done
7908 done
7909 IFS=$as_save_IFS
7913 DLLTOOL=$ac_cv_prog_DLLTOOL
7914 if test -n "$DLLTOOL"; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7916 $as_echo "$DLLTOOL" >&6; }
7917 else
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919 $as_echo "no" >&6; }
7924 if test -z "$ac_cv_prog_DLLTOOL"; then
7925 ac_ct_DLLTOOL=$DLLTOOL
7926 # Extract the first word of "dlltool", so it can be a program name with args.
7927 set dummy dlltool; ac_word=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7931 $as_echo_n "(cached) " >&6
7932 else
7933 if test -n "$ac_ct_DLLTOOL"; then
7934 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7935 else
7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 for as_dir in $PATH
7939 IFS=$as_save_IFS
7940 test -z "$as_dir" && as_dir=.
7941 for ac_exec_ext in '' $ac_executable_extensions; do
7942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7943 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 break 2
7947 done
7948 done
7949 IFS=$as_save_IFS
7953 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7954 if test -n "$ac_ct_DLLTOOL"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7956 $as_echo "$ac_ct_DLLTOOL" >&6; }
7957 else
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7962 if test "x$ac_ct_DLLTOOL" = x; then
7963 DLLTOOL="false"
7964 else
7965 case $cross_compiling:$ac_tool_warned in
7966 yes:)
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7969 ac_tool_warned=yes ;;
7970 esac
7971 DLLTOOL=$ac_ct_DLLTOOL
7973 else
7974 DLLTOOL="$ac_cv_prog_DLLTOOL"
7977 LIBEXT="dll"
7978 DLLEXT=""
7979 IMPLIBEXT="a"
7980 enable_iphlpapi=${enable_iphlpapi:-no}
7981 enable_kernel32=${enable_kernel32:-no}
7982 enable_msvcrt=${enable_msvcrt:-no}
7983 enable_ntdll=${enable_ntdll:-no}
7984 enable_ws2_32=${enable_ws2_32:-no}
7985 enable_loader=${enable_loader:-no}
7986 enable_server=${enable_server:-no}
7987 with_x=${with_x:-no}
7988 with_pthread=${with_pthread:-no}
7990 crtlibs=""
7991 case $host_os in
7992 mingw32*)
7993 crtlibs="-lmsvcrt"
7994 SOCKET_LIBS="-lws2_32"
7996 esac
7998 LIBWINE_SHAREDLIB="libwine.dll"
8000 LIBWINE_IMPORTLIB="libwine.a"
8002 LIBWINE_INSTALL_LIB="libwine.dll"
8004 LIBWINE_INSTALL_DEV="libwine.a"
8006 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8008 LIBWINE_DEPENDS="wine.def"
8012 darwin*|macosx*)
8013 for ac_header in libunwind.h
8014 do :
8015 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_LIBUNWIND_H 1
8019 _ACEOF
8023 done
8025 LIBEXT="dylib"
8026 DLLFLAGS="$DLLFLAGS -fPIC"
8027 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8028 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8029 COREFOUNDATION_LIBS="-framework CoreFoundation"
8031 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8033 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8035 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8037 CORESERVICES_LIBS="-framework CoreServices"
8039 APPKIT_LIBS="-framework AppKit"
8041 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8043 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8044 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8045 $as_echo_n "(cached) " >&6
8046 else
8047 ac_wine_try_cflags_saved=$CFLAGS
8048 CFLAGS="$CFLAGS -Wl,-no_pie"
8049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8050 /* end confdefs.h. */
8051 int main(int argc, char **argv) { return 0; }
8052 _ACEOF
8053 if ac_fn_c_try_link "$LINENO"; then :
8054 ac_cv_cflags__Wl__no_pie=yes
8055 else
8056 ac_cv_cflags__Wl__no_pie=no
8058 rm -f core conftest.err conftest.$ac_objext \
8059 conftest$ac_exeext conftest.$ac_ext
8060 CFLAGS=$ac_wine_try_cflags_saved
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8063 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8064 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8065 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8067 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8068 then
8069 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8072 if test "$ac_cv_header_Security_Security_h" = "yes"
8073 then
8074 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8076 ac_save_LIBS="$LIBS"
8077 LIBS="$LIBS $SECURITY_LIBS"
8078 for ac_func in SSLCopyPeerCertificates
8079 do :
8080 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8081 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8082 cat >>confdefs.h <<_ACEOF
8083 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8084 _ACEOF
8087 done
8089 LIBS="$ac_save_LIBS"
8090 with_gnutls=${with_gnutls:-no}
8092 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8093 then
8094 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8095 then
8096 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8098 else
8099 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8102 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8103 ac_save_LIBS="$LIBS"
8104 LIBS="$LIBS $COREAUDIO_LIBS"
8105 for ac_func in AUGraphAddNode
8106 do :
8107 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8108 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8109 cat >>confdefs.h <<_ACEOF
8110 #define HAVE_AUGRAPHADDNODE 1
8111 _ACEOF
8114 done
8116 LIBS="$ac_save_LIBS"
8118 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8119 then
8120 OPENAL_LIBS="-framework OpenAL"
8123 cat >>confdefs.h <<_ACEOF
8124 #define HAVE_OPENAL 1
8125 _ACEOF
8127 ac_cv_lib_openal=yes
8129 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8130 then
8131 OPENCL_LIBS="-framework OpenCL"
8133 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8135 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8136 then
8137 ac_save_LIBS="$LIBS"
8138 LIBS="$LIBS $IOKIT_LIBS"
8139 for ac_func in IOHIDManagerCreate
8140 do :
8141 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8142 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8143 cat >>confdefs.h <<_ACEOF
8144 #define HAVE_IOHIDMANAGERCREATE 1
8145 _ACEOF
8148 done
8150 LIBS="$ac_save_LIBS"
8152 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8153 then
8154 ac_save_LIBS="$LIBS"
8155 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8157 $as_echo_n "checking for the QuickTime framework... " >&6; }
8158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8160 #include <QuickTime/ImageCompression.h>
8162 main ()
8164 CodecManagerVersion(NULL);
8166 return 0;
8168 _ACEOF
8169 if ac_fn_c_try_link "$LINENO"; then :
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8171 $as_echo "yes" >&6; }
8172 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8174 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8175 else
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8178 ac_cv_header_QuickTime_ImageCompression_h=no
8180 rm -f core conftest.err conftest.$ac_objext \
8181 conftest$ac_exeext conftest.$ac_ext
8182 LIBS="$ac_save_LIBS"
8184 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8185 then
8186 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8188 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8189 then
8190 CARBON_LIBS="-framework Carbon"
8194 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8195 then
8196 ac_save_LIBS="$LIBS"
8197 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8198 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8199 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8200 enable_winemac_drv=${enable_winemac_drv:-yes}
8203 LIBS="$ac_save_LIBS"
8206 if test "x$enable_win16" = "xyes"
8207 then
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8209 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8210 if test "$cross_compiling" = yes; then :
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8212 $as_echo "cross-compiling, assuming yes" >&6; }
8213 else
8214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8216 asm(".text\n"
8217 "bad:\tnop;nop\n"
8218 "good:\tnop;nop\n\t"
8219 ".globl _testfunc\n"
8220 "_testfunc:\tcallw good");
8221 extern void testfunc();
8223 main ()
8225 unsigned short *p = (unsigned short *)testfunc;
8226 return p[0] != 0xe866 || p[1] != 0xfffa
8228 return 0;
8230 _ACEOF
8231 if ac_fn_c_try_run "$LINENO"; then :
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8233 $as_echo "yes" >&6; }
8234 else
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8237 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
8239 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8240 conftest.$ac_objext conftest.beam conftest.$ac_ext
8245 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8247 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8249 LIBWINE_INSTALL_DEV="libwine.dylib"
8251 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8253 WINELOADER_DEPENDS="wine_info.plist"
8257 linux-android*)
8258 DLLFLAGS="$DLLFLAGS -fPIC"
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8260 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8261 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8262 $as_echo_n "(cached) " >&6
8263 else
8264 ac_wine_try_cflags_saved=$CFLAGS
8265 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8268 int main(int argc, char **argv) { return 0; }
8269 _ACEOF
8270 if ac_fn_c_try_link "$LINENO"; then :
8271 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8272 else
8273 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8275 rm -f core conftest.err conftest.$ac_objext \
8276 conftest$ac_exeext conftest.$ac_ext
8277 CFLAGS=$ac_wine_try_cflags_saved
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8280 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8281 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8282 LDEXECFLAGS="-Wl,--export-dynamic"
8284 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8286 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8287 if eval \${$as_ac_var+:} false; then :
8288 $as_echo_n "(cached) " >&6
8289 else
8290 ac_wine_try_cflags_saved=$CFLAGS
8291 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8294 int main(int argc, char **argv) { return 0; }
8295 _ACEOF
8296 if ac_fn_c_try_link "$LINENO"; then :
8297 eval "$as_ac_var=yes"
8298 else
8299 eval "$as_ac_var=no"
8301 rm -f core conftest.err conftest.$ac_objext \
8302 conftest$ac_exeext conftest.$ac_ext
8303 CFLAGS=$ac_wine_try_cflags_saved
8305 eval ac_res=\$$as_ac_var
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8307 $as_echo "$ac_res" >&6; }
8308 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8309 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8310 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8311 else
8312 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8314 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8315 if eval \${$as_ac_var+:} false; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 ac_wine_try_cflags_saved=$CFLAGS
8319 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8322 int main(int argc, char **argv) { return 0; }
8323 _ACEOF
8324 if ac_fn_c_try_link "$LINENO"; then :
8325 eval "$as_ac_var=yes"
8326 else
8327 eval "$as_ac_var=no"
8329 rm -f core conftest.err conftest.$ac_objext \
8330 conftest$ac_exeext conftest.$ac_ext
8331 CFLAGS=$ac_wine_try_cflags_saved
8333 eval ac_res=\$$as_ac_var
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8335 $as_echo "$ac_res" >&6; }
8336 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8337 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8338 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8343 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8344 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 ac_wine_try_cflags_saved=$CFLAGS
8348 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 int main(int argc, char **argv) { return 0; }
8352 _ACEOF
8353 if ac_fn_c_try_link "$LINENO"; then :
8354 ac_cv_cflags__Wl___enable_new_dtags=yes
8355 else
8356 ac_cv_cflags__Wl___enable_new_dtags=no
8358 rm -f core conftest.err conftest.$ac_objext \
8359 conftest$ac_exeext conftest.$ac_ext
8360 CFLAGS=$ac_wine_try_cflags_saved
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8363 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8364 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8365 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8368 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8369 if ${ac_cv_cflags__Wl__pie+:} false; then :
8370 $as_echo_n "(cached) " >&6
8371 else
8372 ac_wine_try_cflags_saved=$CFLAGS
8373 CFLAGS="$CFLAGS -Wl,-pie"
8374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8375 /* end confdefs.h. */
8376 int main(int argc, char **argv) { return 0; }
8377 _ACEOF
8378 if ac_fn_c_try_link "$LINENO"; then :
8379 ac_cv_cflags__Wl__pie=yes
8380 else
8381 ac_cv_cflags__Wl__pie=no
8383 rm -f core conftest.err conftest.$ac_objext \
8384 conftest$ac_exeext conftest.$ac_ext
8385 CFLAGS=$ac_wine_try_cflags_saved
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8388 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8389 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8390 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8393 LIBWINE_SHAREDLIB="libwine.so"
8395 LIBWINE_INSTALL_LIB="libwine.so"
8397 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8402 DLLFLAGS="$DLLFLAGS -fPIC"
8403 LDEXECFLAGS=""
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8405 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8406 if ${ac_cv_c_dll_gnuelf+:} false; then :
8407 $as_echo_n "(cached) " >&6
8408 else
8409 ac_wine_try_cflags_saved=$CFLAGS
8410 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8413 void myfunc() {}
8414 _ACEOF
8415 if ac_fn_c_try_link "$LINENO"; then :
8416 ac_cv_c_dll_gnuelf="yes"
8417 else
8418 ac_cv_c_dll_gnuelf="no"
8420 rm -f core conftest.err conftest.$ac_objext \
8421 conftest$ac_exeext conftest.$ac_ext
8422 CFLAGS=$ac_wine_try_cflags_saved
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8425 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8426 if test "$ac_cv_c_dll_gnuelf" = "yes"
8427 then
8428 LIBWINE_LDFLAGS="-shared"
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8430 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8431 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 ac_wine_try_cflags_saved=$CFLAGS
8435 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8438 int main(int argc, char **argv) { return 0; }
8439 _ACEOF
8440 if ac_fn_c_try_link "$LINENO"; then :
8441 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8442 else
8443 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8445 rm -f core conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8447 CFLAGS=$ac_wine_try_cflags_saved
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8450 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8451 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8452 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8453 else
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8455 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8456 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 ac_wine_try_cflags_saved=$CFLAGS
8460 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8463 int main(int argc, char **argv) { return 0; }
8464 _ACEOF
8465 if ac_fn_c_try_link "$LINENO"; then :
8466 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8467 else
8468 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8470 rm -f core conftest.err conftest.$ac_objext \
8471 conftest$ac_exeext conftest.$ac_ext
8472 CFLAGS=$ac_wine_try_cflags_saved
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8475 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8476 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8477 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8481 echo '{ global: *; };' >conftest.map
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8483 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8484 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8485 $as_echo_n "(cached) " >&6
8486 else
8487 ac_wine_try_cflags_saved=$CFLAGS
8488 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 int main(int argc, char **argv) { return 0; }
8492 _ACEOF
8493 if ac_fn_c_try_link "$LINENO"; then :
8494 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8495 else
8496 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8498 rm -f core conftest.err conftest.$ac_objext \
8499 conftest$ac_exeext conftest.$ac_ext
8500 CFLAGS=$ac_wine_try_cflags_saved
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8503 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8504 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8505 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8507 rm -f conftest.map
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8510 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8511 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 ac_wine_try_cflags_saved=$CFLAGS
8515 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8519 _ACEOF
8520 if ac_fn_c_try_link "$LINENO"; then :
8521 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8522 else
8523 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8525 rm -f core conftest.err conftest.$ac_objext \
8526 conftest$ac_exeext conftest.$ac_ext
8527 CFLAGS=$ac_wine_try_cflags_saved
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8530 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8531 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8532 LDEXECFLAGS="-Wl,--export-dynamic"
8535 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8537 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8538 if eval \${$as_ac_var+:} false; then :
8539 $as_echo_n "(cached) " >&6
8540 else
8541 ac_wine_try_cflags_saved=$CFLAGS
8542 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8545 int main(int argc, char **argv) { return 0; }
8546 _ACEOF
8547 if ac_fn_c_try_link "$LINENO"; then :
8548 eval "$as_ac_var=yes"
8549 else
8550 eval "$as_ac_var=no"
8552 rm -f core conftest.err conftest.$ac_objext \
8553 conftest$ac_exeext conftest.$ac_ext
8554 CFLAGS=$ac_wine_try_cflags_saved
8556 eval ac_res=\$$as_ac_var
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8558 $as_echo "$ac_res" >&6; }
8559 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8560 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8561 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8562 else
8563 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8565 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8566 if eval \${$as_ac_var+:} false; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 ac_wine_try_cflags_saved=$CFLAGS
8570 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 int main(int argc, char **argv) { return 0; }
8574 _ACEOF
8575 if ac_fn_c_try_link "$LINENO"; then :
8576 eval "$as_ac_var=yes"
8577 else
8578 eval "$as_ac_var=no"
8580 rm -f core conftest.err conftest.$ac_objext \
8581 conftest$ac_exeext conftest.$ac_ext
8582 CFLAGS=$ac_wine_try_cflags_saved
8584 eval ac_res=\$$as_ac_var
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8586 $as_echo "$ac_res" >&6; }
8587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8588 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8589 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8594 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8595 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8596 $as_echo_n "(cached) " >&6
8597 else
8598 ac_wine_try_cflags_saved=$CFLAGS
8599 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8602 int main(int argc, char **argv) { return 0; }
8603 _ACEOF
8604 if ac_fn_c_try_link "$LINENO"; then :
8605 ac_cv_cflags__Wl___enable_new_dtags=yes
8606 else
8607 ac_cv_cflags__Wl___enable_new_dtags=no
8609 rm -f core conftest.err conftest.$ac_objext \
8610 conftest$ac_exeext conftest.$ac_ext
8611 CFLAGS=$ac_wine_try_cflags_saved
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8614 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8615 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8616 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8619 case $host_cpu in
8620 *i[3456789]86* | x86_64)
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8622 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8623 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 ac_wine_try_cflags_saved=$CFLAGS
8627 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 int main(int argc, char **argv) { return 0; }
8631 _ACEOF
8632 if ac_fn_c_try_link "$LINENO"; then :
8633 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8634 else
8635 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8637 rm -f core conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8639 CFLAGS=$ac_wine_try_cflags_saved
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8642 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8643 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8644 case $host_os in
8645 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8646 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8647 esac
8648 else
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8650 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8651 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 ac_wine_try_cflags_saved=$CFLAGS
8655 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 int main(int argc, char **argv) { return 0; }
8659 _ACEOF
8660 if ac_fn_c_try_link "$LINENO"; then :
8661 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8662 else
8663 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8665 rm -f core conftest.err conftest.$ac_objext \
8666 conftest$ac_exeext conftest.$ac_ext
8667 CFLAGS=$ac_wine_try_cflags_saved
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8670 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8671 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8672 case $host_os in
8673 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8674 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8675 esac
8677 # Extract the first word of "prelink", so it can be a program name with args.
8678 set dummy prelink; ac_word=$2
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8680 $as_echo_n "checking for $ac_word... " >&6; }
8681 if ${ac_cv_path_PRELINK+:} false; then :
8682 $as_echo_n "(cached) " >&6
8683 else
8684 case $PRELINK in
8685 [\\/]* | ?:[\\/]*)
8686 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8690 for as_dir in /sbin /usr/sbin $PATH
8692 IFS=$as_save_IFS
8693 test -z "$as_dir" && as_dir=.
8694 for ac_exec_ext in '' $ac_executable_extensions; do
8695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8696 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8698 break 2
8700 done
8701 done
8702 IFS=$as_save_IFS
8704 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8706 esac
8708 PRELINK=$ac_cv_path_PRELINK
8709 if test -n "$PRELINK"; then
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8711 $as_echo "$PRELINK" >&6; }
8712 else
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8714 $as_echo "no" >&6; }
8718 if test "x$PRELINK" = xfalse
8719 then
8720 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8724 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8725 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8726 $as_echo_n "(cached) " >&6
8727 else
8728 ac_wine_try_cflags_saved=$CFLAGS
8729 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 int main(int argc, char **argv) { return 0; }
8733 _ACEOF
8734 if ac_fn_c_try_link "$LINENO"; then :
8735 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8736 else
8737 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8739 rm -f core conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 CFLAGS=$ac_wine_try_cflags_saved
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8744 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8745 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8746 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8749 esac
8751 else
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8753 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8754 if ${ac_cv_c_dll_unixware+:} false; then :
8755 $as_echo_n "(cached) " >&6
8756 else
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 void myfunc() {}
8762 _ACEOF
8763 if ac_fn_c_try_link "$LINENO"; then :
8764 ac_cv_c_dll_unixware="yes"
8765 else
8766 ac_cv_c_dll_unixware="no"
8768 rm -f core conftest.err conftest.$ac_objext \
8769 conftest$ac_exeext conftest.$ac_ext
8770 CFLAGS=$ac_wine_try_cflags_saved
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8773 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8774 if test "$ac_cv_c_dll_unixware" = "yes"
8775 then
8776 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8779 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8781 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8783 LIBWINE_INSTALL_DEV="libwine.so"
8785 LIBWINE_DEPENDS="wine.map"
8788 esac
8790 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8791 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8792 enable_winemac_drv=${enable_winemac_drv:-no}
8793 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8795 CROSSTARGET=""
8797 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8798 then
8799 case "$host_cpu" in
8800 arm*)
8801 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8802 i[3456789]86*)
8803 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
8804 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8805 mingw32-gcc" ;;
8806 x86_64)
8807 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
8808 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8810 ac_prefix_list="" ;;
8811 esac
8812 for ac_prog in $ac_prefix_list
8814 # Extract the first word of "$ac_prog", so it can be a program name with args.
8815 set dummy $ac_prog; ac_word=$2
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8817 $as_echo_n "checking for $ac_word... " >&6; }
8818 if ${ac_cv_prog_CROSSCC+:} false; then :
8819 $as_echo_n "(cached) " >&6
8820 else
8821 if test -n "$CROSSCC"; then
8822 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8823 else
8824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8825 for as_dir in $PATH
8827 IFS=$as_save_IFS
8828 test -z "$as_dir" && as_dir=.
8829 for ac_exec_ext in '' $ac_executable_extensions; do
8830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8831 ac_cv_prog_CROSSCC="$ac_prog"
8832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8833 break 2
8835 done
8836 done
8837 IFS=$as_save_IFS
8841 CROSSCC=$ac_cv_prog_CROSSCC
8842 if test -n "$CROSSCC"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8844 $as_echo "$CROSSCC" >&6; }
8845 else
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 $as_echo "no" >&6; }
8851 test -n "$CROSSCC" && break
8852 done
8853 test -n "$CROSSCC" || CROSSCC="false"
8855 if test "$CROSSCC" != "false"
8856 then
8857 ac_save_CC="$CC"
8858 CC="$CROSSCC"
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8860 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8865 main ()
8869 return 0;
8871 _ACEOF
8872 if ac_fn_c_try_compile "$LINENO"; then :
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8874 $as_echo "yes" >&6; }
8875 set x $CROSSCC
8876 shift
8877 while test $# -ge 1
8879 case "$1" in
8880 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8881 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8882 esac
8883 shift
8884 done
8885 else
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8887 $as_echo "no" >&6; }
8889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8890 CC="$ac_save_CC"
8895 if test "$ac_cv_header_pthread_h" = "yes"
8896 then
8897 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8898 if test "x$ac_cv_func_pthread_create" = xyes; then :
8900 else
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8902 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8903 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8904 $as_echo_n "(cached) " >&6
8905 else
8906 ac_check_lib_save_LIBS=$LIBS
8907 LIBS="-lpthread $LIBS"
8908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8911 /* Override any GCC internal prototype to avoid an error.
8912 Use char because int might match the return type of a GCC
8913 builtin and then its argument prototype would still apply. */
8914 #ifdef __cplusplus
8915 extern "C"
8916 #endif
8917 char pthread_create ();
8919 main ()
8921 return pthread_create ();
8923 return 0;
8925 _ACEOF
8926 if ac_fn_c_try_link "$LINENO"; then :
8927 ac_cv_lib_pthread_pthread_create=yes
8928 else
8929 ac_cv_lib_pthread_pthread_create=no
8931 rm -f core conftest.err conftest.$ac_objext \
8932 conftest$ac_exeext conftest.$ac_ext
8933 LIBS=$ac_check_lib_save_LIBS
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8936 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8937 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8938 PTHREAD_LIBS="-lpthread"
8945 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8946 case "x$with_pthread" in
8947 xno) ;;
8948 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8949 Wine cannot support threads without libpthread.
8950 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8951 esac
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8957 $as_echo_n "checking for X... " >&6; }
8960 # Check whether --with-x was given.
8961 if test "${with_x+set}" = set; then :
8962 withval=$with_x;
8965 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8966 if test "x$with_x" = xno; then
8967 # The user explicitly disabled X.
8968 have_x=disabled
8969 else
8970 case $x_includes,$x_libraries in #(
8971 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8972 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8973 $as_echo_n "(cached) " >&6
8974 else
8975 # One or both of the vars are not set, and there is no cached value.
8976 ac_x_includes=no ac_x_libraries=no
8977 rm -f -r conftest.dir
8978 if mkdir conftest.dir; then
8979 cd conftest.dir
8980 cat >Imakefile <<'_ACEOF'
8981 incroot:
8982 @echo incroot='${INCROOT}'
8983 usrlibdir:
8984 @echo usrlibdir='${USRLIBDIR}'
8985 libdir:
8986 @echo libdir='${LIBDIR}'
8987 _ACEOF
8988 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8989 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8990 for ac_var in incroot usrlibdir libdir; do
8991 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8992 done
8993 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8994 for ac_extension in a so sl dylib la dll; do
8995 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8996 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8997 ac_im_usrlibdir=$ac_im_libdir; break
8999 done
9000 # Screen out bogus values from the imake configuration. They are
9001 # bogus both because they are the default anyway, and because
9002 # using them would break gcc on systems where it needs fixed includes.
9003 case $ac_im_incroot in
9004 /usr/include) ac_x_includes= ;;
9005 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9006 esac
9007 case $ac_im_usrlibdir in
9008 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9009 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9010 esac
9012 cd ..
9013 rm -f -r conftest.dir
9016 # Standard set of common directories for X headers.
9017 # Check X11 before X11Rn because it is often a symlink to the current release.
9018 ac_x_header_dirs='
9019 /usr/X11/include
9020 /usr/X11R7/include
9021 /usr/X11R6/include
9022 /usr/X11R5/include
9023 /usr/X11R4/include
9025 /usr/include/X11
9026 /usr/include/X11R7
9027 /usr/include/X11R6
9028 /usr/include/X11R5
9029 /usr/include/X11R4
9031 /usr/local/X11/include
9032 /usr/local/X11R7/include
9033 /usr/local/X11R6/include
9034 /usr/local/X11R5/include
9035 /usr/local/X11R4/include
9037 /usr/local/include/X11
9038 /usr/local/include/X11R7
9039 /usr/local/include/X11R6
9040 /usr/local/include/X11R5
9041 /usr/local/include/X11R4
9043 /usr/X386/include
9044 /usr/x386/include
9045 /usr/XFree86/include/X11
9047 /usr/include
9048 /usr/local/include
9049 /usr/unsupported/include
9050 /usr/athena/include
9051 /usr/local/x11r5/include
9052 /usr/lpp/Xamples/include
9054 /usr/openwin/include
9055 /usr/openwin/share/include'
9057 if test "$ac_x_includes" = no; then
9058 # Guess where to find include files, by looking for Xlib.h.
9059 # First, try using that file with no special directory specified.
9060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9061 /* end confdefs.h. */
9062 #include <X11/Xlib.h>
9063 _ACEOF
9064 if ac_fn_c_try_cpp "$LINENO"; then :
9065 # We can compile using X headers with no special include directory.
9066 ac_x_includes=
9067 else
9068 for ac_dir in $ac_x_header_dirs; do
9069 if test -r "$ac_dir/X11/Xlib.h"; then
9070 ac_x_includes=$ac_dir
9071 break
9073 done
9075 rm -f conftest.err conftest.i conftest.$ac_ext
9076 fi # $ac_x_includes = no
9078 if test "$ac_x_libraries" = no; then
9079 # Check for the libraries.
9080 # See if we find them without any special options.
9081 # Don't add to $LIBS permanently.
9082 ac_save_LIBS=$LIBS
9083 LIBS="-lX11 $LIBS"
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 #include <X11/Xlib.h>
9088 main ()
9090 XrmInitialize ()
9092 return 0;
9094 _ACEOF
9095 if ac_fn_c_try_link "$LINENO"; then :
9096 LIBS=$ac_save_LIBS
9097 # We can link X programs with no special library path.
9098 ac_x_libraries=
9099 else
9100 LIBS=$ac_save_LIBS
9101 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9103 # Don't even attempt the hair of trying to link an X program!
9104 for ac_extension in a so sl dylib la dll; do
9105 if test -r "$ac_dir/libX11.$ac_extension"; then
9106 ac_x_libraries=$ac_dir
9107 break 2
9109 done
9110 done
9112 rm -f core conftest.err conftest.$ac_objext \
9113 conftest$ac_exeext conftest.$ac_ext
9114 fi # $ac_x_libraries = no
9116 case $ac_x_includes,$ac_x_libraries in #(
9117 no,* | *,no | *\'*)
9118 # Didn't find X, or a directory has "'" in its name.
9119 ac_cv_have_x="have_x=no";; #(
9121 # Record where we found X for the cache.
9122 ac_cv_have_x="have_x=yes\
9123 ac_x_includes='$ac_x_includes'\
9124 ac_x_libraries='$ac_x_libraries'"
9125 esac
9127 ;; #(
9128 *) have_x=yes;;
9129 esac
9130 eval "$ac_cv_have_x"
9131 fi # $with_x != no
9133 if test "$have_x" != yes; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9135 $as_echo "$have_x" >&6; }
9136 no_x=yes
9137 else
9138 # If each of the values was on the command line, it overrides each guess.
9139 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9140 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9141 # Update the cache value to reflect the command line values.
9142 ac_cv_have_x="have_x=yes\
9143 ac_x_includes='$x_includes'\
9144 ac_x_libraries='$x_libraries'"
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9146 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9149 if test "$no_x" = yes; then
9150 # Not all programs may use this symbol, but it does not hurt to define it.
9152 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9154 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9155 else
9156 if test -n "$x_includes"; then
9157 X_CFLAGS="$X_CFLAGS -I$x_includes"
9160 # It would also be nice to do this for all -L options, not just this one.
9161 if test -n "$x_libraries"; then
9162 X_LIBS="$X_LIBS -L$x_libraries"
9163 # For Solaris; some versions of Sun CC require a space after -R and
9164 # others require no space. Words are not sufficient . . . .
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9166 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9167 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9168 ac_xsave_c_werror_flag=$ac_c_werror_flag
9169 ac_c_werror_flag=yes
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9174 main ()
9178 return 0;
9180 _ACEOF
9181 if ac_fn_c_try_link "$LINENO"; then :
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9183 $as_echo "no" >&6; }
9184 X_LIBS="$X_LIBS -R$x_libraries"
9185 else
9186 LIBS="$ac_xsave_LIBS -R $x_libraries"
9187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9191 main ()
9195 return 0;
9197 _ACEOF
9198 if ac_fn_c_try_link "$LINENO"; then :
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9200 $as_echo "yes" >&6; }
9201 X_LIBS="$X_LIBS -R $x_libraries"
9202 else
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9204 $as_echo "neither works" >&6; }
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9209 rm -f core conftest.err conftest.$ac_objext \
9210 conftest$ac_exeext conftest.$ac_ext
9211 ac_c_werror_flag=$ac_xsave_c_werror_flag
9212 LIBS=$ac_xsave_LIBS
9215 # Check for system-dependent libraries X programs must link with.
9216 # Do this before checking for the system-independent R6 libraries
9217 # (-lICE), since we may need -lsocket or whatever for X linking.
9219 if test "$ISC" = yes; then
9220 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9221 else
9222 # Martyn Johnson says this is needed for Ultrix, if the X
9223 # libraries were built with DECnet support. And Karl Berry says
9224 # the Alpha needs dnet_stub (dnet does not exist).
9225 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9232 #ifdef __cplusplus
9233 extern "C"
9234 #endif
9235 char XOpenDisplay ();
9237 main ()
9239 return XOpenDisplay ();
9241 return 0;
9243 _ACEOF
9244 if ac_fn_c_try_link "$LINENO"; then :
9246 else
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9248 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9249 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9250 $as_echo_n "(cached) " >&6
9251 else
9252 ac_check_lib_save_LIBS=$LIBS
9253 LIBS="-ldnet $LIBS"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9257 /* Override any GCC internal prototype to avoid an error.
9258 Use char because int might match the return type of a GCC
9259 builtin and then its argument prototype would still apply. */
9260 #ifdef __cplusplus
9261 extern "C"
9262 #endif
9263 char dnet_ntoa ();
9265 main ()
9267 return dnet_ntoa ();
9269 return 0;
9271 _ACEOF
9272 if ac_fn_c_try_link "$LINENO"; then :
9273 ac_cv_lib_dnet_dnet_ntoa=yes
9274 else
9275 ac_cv_lib_dnet_dnet_ntoa=no
9277 rm -f core conftest.err conftest.$ac_objext \
9278 conftest$ac_exeext conftest.$ac_ext
9279 LIBS=$ac_check_lib_save_LIBS
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9282 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9283 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9284 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9287 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9289 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9290 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9291 $as_echo_n "(cached) " >&6
9292 else
9293 ac_check_lib_save_LIBS=$LIBS
9294 LIBS="-ldnet_stub $LIBS"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9301 #ifdef __cplusplus
9302 extern "C"
9303 #endif
9304 char dnet_ntoa ();
9306 main ()
9308 return dnet_ntoa ();
9310 return 0;
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9314 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9315 else
9316 ac_cv_lib_dnet_stub_dnet_ntoa=no
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS=$ac_check_lib_save_LIBS
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9323 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9324 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9325 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9330 rm -f core conftest.err conftest.$ac_objext \
9331 conftest$ac_exeext conftest.$ac_ext
9332 LIBS="$ac_xsave_LIBS"
9334 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9335 # to get the SysV transport functions.
9336 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9337 # needs -lnsl.
9338 # The nsl library prevents programs from opening the X display
9339 # on Irix 5.2, according to T.E. Dickey.
9340 # The functions gethostbyname, getservbyname, and inet_addr are
9341 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9342 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9343 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9347 if test $ac_cv_func_gethostbyname = no; then
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9349 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9350 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9351 $as_echo_n "(cached) " >&6
9352 else
9353 ac_check_lib_save_LIBS=$LIBS
9354 LIBS="-lnsl $LIBS"
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9361 #ifdef __cplusplus
9362 extern "C"
9363 #endif
9364 char gethostbyname ();
9366 main ()
9368 return gethostbyname ();
9370 return 0;
9372 _ACEOF
9373 if ac_fn_c_try_link "$LINENO"; then :
9374 ac_cv_lib_nsl_gethostbyname=yes
9375 else
9376 ac_cv_lib_nsl_gethostbyname=no
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 LIBS=$ac_check_lib_save_LIBS
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9383 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9384 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9385 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9388 if test $ac_cv_lib_nsl_gethostbyname = no; then
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9390 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9391 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_check_lib_save_LIBS=$LIBS
9395 LIBS="-lbsd $LIBS"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9399 /* Override any GCC internal prototype to avoid an error.
9400 Use char because int might match the return type of a GCC
9401 builtin and then its argument prototype would still apply. */
9402 #ifdef __cplusplus
9403 extern "C"
9404 #endif
9405 char gethostbyname ();
9407 main ()
9409 return gethostbyname ();
9411 return 0;
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_lib_bsd_gethostbyname=yes
9416 else
9417 ac_cv_lib_bsd_gethostbyname=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 LIBS=$ac_check_lib_save_LIBS
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9424 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9425 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9432 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9433 # socket/setsockopt and other routines are undefined under SCO ODT
9434 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9435 # on later versions), says Simon Leinen: it contains gethostby*
9436 # variants that don't use the name server (or something). -lsocket
9437 # must be given before -lnsl if both are needed. We assume that
9438 # if connect needs -lnsl, so does gethostbyname.
9439 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9440 if test "x$ac_cv_func_connect" = xyes; then :
9444 if test $ac_cv_func_connect = no; then
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9446 $as_echo_n "checking for connect in -lsocket... " >&6; }
9447 if ${ac_cv_lib_socket_connect+:} false; then :
9448 $as_echo_n "(cached) " >&6
9449 else
9450 ac_check_lib_save_LIBS=$LIBS
9451 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h. */
9455 /* Override any GCC internal prototype to avoid an error.
9456 Use char because int might match the return type of a GCC
9457 builtin and then its argument prototype would still apply. */
9458 #ifdef __cplusplus
9459 extern "C"
9460 #endif
9461 char connect ();
9463 main ()
9465 return connect ();
9467 return 0;
9469 _ACEOF
9470 if ac_fn_c_try_link "$LINENO"; then :
9471 ac_cv_lib_socket_connect=yes
9472 else
9473 ac_cv_lib_socket_connect=no
9475 rm -f core conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9477 LIBS=$ac_check_lib_save_LIBS
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9480 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9481 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9482 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9487 # Guillermo Gomez says -lposix is necessary on A/UX.
9488 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9489 if test "x$ac_cv_func_remove" = xyes; then :
9493 if test $ac_cv_func_remove = no; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9495 $as_echo_n "checking for remove in -lposix... " >&6; }
9496 if ${ac_cv_lib_posix_remove+:} false; then :
9497 $as_echo_n "(cached) " >&6
9498 else
9499 ac_check_lib_save_LIBS=$LIBS
9500 LIBS="-lposix $LIBS"
9501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9504 /* Override any GCC internal prototype to avoid an error.
9505 Use char because int might match the return type of a GCC
9506 builtin and then its argument prototype would still apply. */
9507 #ifdef __cplusplus
9508 extern "C"
9509 #endif
9510 char remove ();
9512 main ()
9514 return remove ();
9516 return 0;
9518 _ACEOF
9519 if ac_fn_c_try_link "$LINENO"; then :
9520 ac_cv_lib_posix_remove=yes
9521 else
9522 ac_cv_lib_posix_remove=no
9524 rm -f core conftest.err conftest.$ac_objext \
9525 conftest$ac_exeext conftest.$ac_ext
9526 LIBS=$ac_check_lib_save_LIBS
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9529 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9530 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9531 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9536 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9537 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9538 if test "x$ac_cv_func_shmat" = xyes; then :
9542 if test $ac_cv_func_shmat = no; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9544 $as_echo_n "checking for shmat in -lipc... " >&6; }
9545 if ${ac_cv_lib_ipc_shmat+:} false; then :
9546 $as_echo_n "(cached) " >&6
9547 else
9548 ac_check_lib_save_LIBS=$LIBS
9549 LIBS="-lipc $LIBS"
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9556 #ifdef __cplusplus
9557 extern "C"
9558 #endif
9559 char shmat ();
9561 main ()
9563 return shmat ();
9565 return 0;
9567 _ACEOF
9568 if ac_fn_c_try_link "$LINENO"; then :
9569 ac_cv_lib_ipc_shmat=yes
9570 else
9571 ac_cv_lib_ipc_shmat=no
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 LIBS=$ac_check_lib_save_LIBS
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9578 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9579 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9580 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9586 # Check for libraries that X11R6 Xt/Xaw programs need.
9587 ac_save_LDFLAGS=$LDFLAGS
9588 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9589 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9590 # check for ICE first), but we must link in the order -lSM -lICE or
9591 # we get undefined symbols. So assume we have SM if we have ICE.
9592 # These have to be linked with before -lX11, unlike the other
9593 # libraries we check for below, so use a different variable.
9594 # John Interrante, Karl Berry
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9596 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9597 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 ac_check_lib_save_LIBS=$LIBS
9601 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9605 /* Override any GCC internal prototype to avoid an error.
9606 Use char because int might match the return type of a GCC
9607 builtin and then its argument prototype would still apply. */
9608 #ifdef __cplusplus
9609 extern "C"
9610 #endif
9611 char IceConnectionNumber ();
9613 main ()
9615 return IceConnectionNumber ();
9617 return 0;
9619 _ACEOF
9620 if ac_fn_c_try_link "$LINENO"; then :
9621 ac_cv_lib_ICE_IceConnectionNumber=yes
9622 else
9623 ac_cv_lib_ICE_IceConnectionNumber=no
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 LIBS=$ac_check_lib_save_LIBS
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9630 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9631 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9632 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9635 LDFLAGS=$ac_save_LDFLAGS
9640 if test "$have_x" = "yes"
9641 then
9642 ac_save_CPPFLAGS="$CPPFLAGS"
9643 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9646 $as_echo_n "checking for -lX11... " >&6; }
9647 if ${ac_cv_lib_soname_X11+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 ac_check_soname_save_LIBS=$LIBS
9651 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9658 #ifdef __cplusplus
9659 extern "C"
9660 #endif
9661 char XCreateWindow ();
9663 main ()
9665 return XCreateWindow ();
9667 return 0;
9669 _ACEOF
9670 if ac_fn_c_try_link "$LINENO"; then :
9671 case "$LIBEXT" in
9672 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9673 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'` ;;
9674 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9675 if ${ac_cv_lib_soname_X11:+false} :; then :
9676 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9677 fi ;;
9678 esac
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LIBS=$ac_check_soname_save_LIBS
9684 if ${ac_cv_lib_soname_X11:+false} :; then :
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9686 $as_echo "not found" >&6; }
9688 else
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9690 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9692 cat >>confdefs.h <<_ACEOF
9693 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9694 _ACEOF
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9699 $as_echo_n "checking for -lXext... " >&6; }
9700 if ${ac_cv_lib_soname_Xext+:} false; then :
9701 $as_echo_n "(cached) " >&6
9702 else
9703 ac_check_soname_save_LIBS=$LIBS
9704 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9708 /* Override any GCC internal prototype to avoid an error.
9709 Use char because int might match the return type of a GCC
9710 builtin and then its argument prototype would still apply. */
9711 #ifdef __cplusplus
9712 extern "C"
9713 #endif
9714 char XextCreateExtension ();
9716 main ()
9718 return XextCreateExtension ();
9720 return 0;
9722 _ACEOF
9723 if ac_fn_c_try_link "$LINENO"; then :
9724 case "$LIBEXT" in
9725 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9726 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'` ;;
9727 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9728 if ${ac_cv_lib_soname_Xext:+false} :; then :
9729 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9730 fi ;;
9731 esac
9733 rm -f core conftest.err conftest.$ac_objext \
9734 conftest$ac_exeext conftest.$ac_ext
9735 LIBS=$ac_check_soname_save_LIBS
9737 if ${ac_cv_lib_soname_Xext:+false} :; then :
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9739 $as_echo "not found" >&6; }
9741 else
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9743 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9745 cat >>confdefs.h <<_ACEOF
9746 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9747 _ACEOF
9749 X_LIBS="$X_LIBS -lXext"
9751 X_LIBS="$X_LIBS -lX11"
9753 for ac_header in X11/Xlib.h \
9754 X11/XKBlib.h \
9755 X11/Xutil.h \
9756 X11/Xcursor/Xcursor.h \
9757 X11/extensions/shape.h \
9758 X11/extensions/XInput.h \
9759 X11/extensions/XInput2.h \
9760 X11/extensions/XShm.h \
9761 X11/extensions/Xcomposite.h \
9762 X11/extensions/Xinerama.h \
9763 X11/extensions/Xrandr.h \
9764 X11/extensions/Xrender.h \
9765 X11/extensions/xf86vmode.h \
9766 X11/extensions/xf86vmproto.h
9767 do :
9768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9769 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9770 # include <X11/Xlib.h>
9771 #endif
9772 #ifdef HAVE_X11_XUTIL_H
9773 # include <X11/Xutil.h>
9774 #endif
9776 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9777 cat >>confdefs.h <<_ACEOF
9778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9779 _ACEOF
9783 done
9786 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9787 then
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9789 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9790 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9791 $as_echo_n "(cached) " >&6
9792 else
9793 ac_check_lib_save_LIBS=$LIBS
9794 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9798 /* Override any GCC internal prototype to avoid an error.
9799 Use char because int might match the return type of a GCC
9800 builtin and then its argument prototype would still apply. */
9801 #ifdef __cplusplus
9802 extern "C"
9803 #endif
9804 char XkbQueryExtension ();
9806 main ()
9808 return XkbQueryExtension ();
9810 return 0;
9812 _ACEOF
9813 if ac_fn_c_try_link "$LINENO"; then :
9814 ac_cv_lib_X11_XkbQueryExtension=yes
9815 else
9816 ac_cv_lib_X11_XkbQueryExtension=no
9818 rm -f core conftest.err conftest.$ac_objext \
9819 conftest$ac_exeext conftest.$ac_ext
9820 LIBS=$ac_check_lib_save_LIBS
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9823 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9824 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9826 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9832 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9833 then
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9835 $as_echo_n "checking for -lXcursor... " >&6; }
9836 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 ac_check_soname_save_LIBS=$LIBS
9840 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9844 /* Override any GCC internal prototype to avoid an error.
9845 Use char because int might match the return type of a GCC
9846 builtin and then its argument prototype would still apply. */
9847 #ifdef __cplusplus
9848 extern "C"
9849 #endif
9850 char XcursorImageLoadCursor ();
9852 main ()
9854 return XcursorImageLoadCursor ();
9856 return 0;
9858 _ACEOF
9859 if ac_fn_c_try_link "$LINENO"; then :
9860 case "$LIBEXT" in
9861 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9862 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'` ;;
9863 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9864 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9865 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9866 fi ;;
9867 esac
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 LIBS=$ac_check_soname_save_LIBS
9873 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9875 $as_echo "not found" >&6; }
9877 else
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9879 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9881 cat >>confdefs.h <<_ACEOF
9882 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9883 _ACEOF
9888 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9889 case "x$with_xcursor" in
9890 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9891 xno) ;;
9892 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9893 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9894 esac
9898 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9899 then
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9901 $as_echo_n "checking for -lXi... " >&6; }
9902 if ${ac_cv_lib_soname_Xi+:} false; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 ac_check_soname_save_LIBS=$LIBS
9906 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9913 #ifdef __cplusplus
9914 extern "C"
9915 #endif
9916 char XOpenDevice ();
9918 main ()
9920 return XOpenDevice ();
9922 return 0;
9924 _ACEOF
9925 if ac_fn_c_try_link "$LINENO"; then :
9926 case "$LIBEXT" in
9927 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9928 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'` ;;
9929 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9930 if ${ac_cv_lib_soname_Xi:+false} :; then :
9931 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9932 fi ;;
9933 esac
9935 rm -f core conftest.err conftest.$ac_objext \
9936 conftest$ac_exeext conftest.$ac_ext
9937 LIBS=$ac_check_soname_save_LIBS
9939 if ${ac_cv_lib_soname_Xi:+false} :; then :
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9941 $as_echo "not found" >&6; }
9943 else
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9945 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9947 cat >>confdefs.h <<_ACEOF
9948 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9949 _ACEOF
9954 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9955 case "x$with_xinput" in
9956 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9957 xno) ;;
9958 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9959 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9960 esac
9964 if test "x$ac_cv_lib_soname_Xi" != x
9965 then
9966 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9967 case "x$with_xinput2" in
9968 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9969 xno) ;;
9970 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9971 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9972 esac
9977 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9978 then
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9980 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9981 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9982 $as_echo_n "(cached) " >&6
9983 else
9984 ac_check_lib_save_LIBS=$LIBS
9985 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9989 /* Override any GCC internal prototype to avoid an error.
9990 Use char because int might match the return type of a GCC
9991 builtin and then its argument prototype would still apply. */
9992 #ifdef __cplusplus
9993 extern "C"
9994 #endif
9995 char XShmQueryExtension ();
9997 main ()
9999 return XShmQueryExtension ();
10001 return 0;
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"; then :
10005 ac_cv_lib_Xext_XShmQueryExtension=yes
10006 else
10007 ac_cv_lib_Xext_XShmQueryExtension=no
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 LIBS=$ac_check_lib_save_LIBS
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10014 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10015 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10017 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10022 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10023 case "x$with_xshm" in
10024 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10025 xno) ;;
10026 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10027 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10028 esac
10032 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10033 then
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10035 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10036 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10037 $as_echo_n "(cached) " >&6
10038 else
10039 ac_check_lib_save_LIBS=$LIBS
10040 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10047 #ifdef __cplusplus
10048 extern "C"
10049 #endif
10050 char XShapeQueryExtension ();
10052 main ()
10054 return XShapeQueryExtension ();
10056 return 0;
10058 _ACEOF
10059 if ac_fn_c_try_link "$LINENO"; then :
10060 ac_cv_lib_Xext_XShapeQueryExtension=yes
10061 else
10062 ac_cv_lib_Xext_XShapeQueryExtension=no
10064 rm -f core conftest.err conftest.$ac_objext \
10065 conftest$ac_exeext conftest.$ac_ext
10066 LIBS=$ac_check_lib_save_LIBS
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10069 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10070 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10072 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10077 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10078 case "x$with_xshape" in
10079 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10080 xno) ;;
10081 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10082 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10083 esac
10087 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10088 then
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10090 $as_echo_n "checking for -lXxf86vm... " >&6; }
10091 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10092 $as_echo_n "(cached) " >&6
10093 else
10094 ac_check_soname_save_LIBS=$LIBS
10095 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10099 /* Override any GCC internal prototype to avoid an error.
10100 Use char because int might match the return type of a GCC
10101 builtin and then its argument prototype would still apply. */
10102 #ifdef __cplusplus
10103 extern "C"
10104 #endif
10105 char XF86VidModeQueryExtension ();
10107 main ()
10109 return XF86VidModeQueryExtension ();
10111 return 0;
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"; then :
10115 case "$LIBEXT" in
10116 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10117 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'` ;;
10118 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10119 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10120 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10121 fi ;;
10122 esac
10124 rm -f core conftest.err conftest.$ac_objext \
10125 conftest$ac_exeext conftest.$ac_ext
10126 LIBS=$ac_check_soname_save_LIBS
10128 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10130 $as_echo "not found" >&6; }
10132 else
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10134 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10136 cat >>confdefs.h <<_ACEOF
10137 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10138 _ACEOF
10143 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10144 case "x$with_xxf86vm" in
10145 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10146 xno) ;;
10147 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10148 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10149 esac
10153 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10154 then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10156 $as_echo_n "checking for -lXrender... " >&6; }
10157 if ${ac_cv_lib_soname_Xrender+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_check_soname_save_LIBS=$LIBS
10161 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10165 /* Override any GCC internal prototype to avoid an error.
10166 Use char because int might match the return type of a GCC
10167 builtin and then its argument prototype would still apply. */
10168 #ifdef __cplusplus
10169 extern "C"
10170 #endif
10171 char XRenderQueryExtension ();
10173 main ()
10175 return XRenderQueryExtension ();
10177 return 0;
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 case "$LIBEXT" in
10182 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10183 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'` ;;
10184 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10185 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10186 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10187 fi ;;
10188 esac
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 LIBS=$ac_check_soname_save_LIBS
10194 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10196 $as_echo "not found" >&6; }
10198 else
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10200 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10202 cat >>confdefs.h <<_ACEOF
10203 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10204 _ACEOF
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10207 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10208 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_check_lib_save_LIBS=$LIBS
10212 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10216 /* Override any GCC internal prototype to avoid an error.
10217 Use char because int might match the return type of a GCC
10218 builtin and then its argument prototype would still apply. */
10219 #ifdef __cplusplus
10220 extern "C"
10221 #endif
10222 char XRenderSetPictureTransform ();
10224 main ()
10226 return XRenderSetPictureTransform ();
10228 return 0;
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"; then :
10232 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10233 else
10234 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10236 rm -f core conftest.err conftest.$ac_objext \
10237 conftest$ac_exeext conftest.$ac_ext
10238 LIBS=$ac_check_lib_save_LIBS
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10241 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10242 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10244 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10249 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10250 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10251 $as_echo_n "(cached) " >&6
10252 else
10253 ac_check_lib_save_LIBS=$LIBS
10254 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10258 /* Override any GCC internal prototype to avoid an error.
10259 Use char because int might match the return type of a GCC
10260 builtin and then its argument prototype would still apply. */
10261 #ifdef __cplusplus
10262 extern "C"
10263 #endif
10264 char XRenderCreateLinearGradient ();
10266 main ()
10268 return XRenderCreateLinearGradient ();
10270 return 0;
10272 _ACEOF
10273 if ac_fn_c_try_link "$LINENO"; then :
10274 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10275 else
10276 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 LIBS=$ac_check_lib_save_LIBS
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10283 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10284 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10286 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10293 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10294 case "x$with_xrender" in
10295 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10296 xno) ;;
10297 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10298 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10299 esac
10303 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10304 then
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10307 #include <X11/Xlib.h>
10308 #include <X11/extensions/Xrandr.h>
10310 main ()
10312 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10314 return 0;
10316 _ACEOF
10317 if ac_fn_c_try_compile "$LINENO"; then :
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10319 $as_echo_n "checking for -lXrandr... " >&6; }
10320 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_check_soname_save_LIBS=$LIBS
10324 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10328 /* Override any GCC internal prototype to avoid an error.
10329 Use char because int might match the return type of a GCC
10330 builtin and then its argument prototype would still apply. */
10331 #ifdef __cplusplus
10332 extern "C"
10333 #endif
10334 char XRRQueryExtension ();
10336 main ()
10338 return XRRQueryExtension ();
10340 return 0;
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 case "$LIBEXT" in
10345 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10346 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'` ;;
10347 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10348 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10349 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10350 fi ;;
10351 esac
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 LIBS=$ac_check_soname_save_LIBS
10357 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10359 $as_echo "not found" >&6; }
10361 else
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10363 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10365 cat >>confdefs.h <<_ACEOF
10366 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10367 _ACEOF
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 #include <X11/Xlib.h>
10372 #include <X11/extensions/Xrandr.h>
10374 main ()
10376 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10378 return 0;
10380 _ACEOF
10381 if ac_fn_c_try_compile "$LINENO"; then :
10383 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10391 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10392 case "x$with_xrandr" in
10393 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10394 xno) ;;
10395 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10396 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10397 esac
10401 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10402 then
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10405 #include <X11/Xlib.h>
10406 #include <X11/extensions/Xinerama.h>
10408 main ()
10410 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10412 return 0;
10414 _ACEOF
10415 if ac_fn_c_try_compile "$LINENO"; then :
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10417 $as_echo_n "checking for -lXinerama... " >&6; }
10418 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10419 $as_echo_n "(cached) " >&6
10420 else
10421 ac_check_soname_save_LIBS=$LIBS
10422 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10426 /* Override any GCC internal prototype to avoid an error.
10427 Use char because int might match the return type of a GCC
10428 builtin and then its argument prototype would still apply. */
10429 #ifdef __cplusplus
10430 extern "C"
10431 #endif
10432 char XineramaQueryScreens ();
10434 main ()
10436 return XineramaQueryScreens ();
10438 return 0;
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"; then :
10442 case "$LIBEXT" in
10443 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10444 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'` ;;
10445 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10446 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10447 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10448 fi ;;
10449 esac
10451 rm -f core conftest.err conftest.$ac_objext \
10452 conftest$ac_exeext conftest.$ac_ext
10453 LIBS=$ac_check_soname_save_LIBS
10455 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10457 $as_echo "not found" >&6; }
10459 else
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10461 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10463 cat >>confdefs.h <<_ACEOF
10464 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10465 _ACEOF
10470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10472 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10473 case "x$with_xinerama" in
10474 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10475 xno) ;;
10476 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10477 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10478 esac
10482 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10483 then
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10485 $as_echo_n "checking for -lXcomposite... " >&6; }
10486 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_check_soname_save_LIBS=$LIBS
10490 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10492 /* end confdefs.h. */
10494 /* Override any GCC internal prototype to avoid an error.
10495 Use char because int might match the return type of a GCC
10496 builtin and then its argument prototype would still apply. */
10497 #ifdef __cplusplus
10498 extern "C"
10499 #endif
10500 char XCompositeRedirectWindow ();
10502 main ()
10504 return XCompositeRedirectWindow ();
10506 return 0;
10508 _ACEOF
10509 if ac_fn_c_try_link "$LINENO"; then :
10510 case "$LIBEXT" in
10511 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10512 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'` ;;
10513 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10514 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10515 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10516 fi ;;
10517 esac
10519 rm -f core conftest.err conftest.$ac_objext \
10520 conftest$ac_exeext conftest.$ac_ext
10521 LIBS=$ac_check_soname_save_LIBS
10523 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10525 $as_echo "not found" >&6; }
10527 else
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10529 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10531 cat >>confdefs.h <<_ACEOF
10532 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10533 _ACEOF
10538 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10539 case "x$with_xcomposite" in
10540 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10541 xno) ;;
10542 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10543 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10544 esac
10548 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10549 #include <X11/Xlib.h>
10550 #endif
10552 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10554 cat >>confdefs.h <<_ACEOF
10555 #define HAVE_XICCALLBACK_CALLBACK 1
10556 _ACEOF
10560 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10561 #include <X11/Xlib.h>
10562 #endif
10564 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10566 cat >>confdefs.h <<_ACEOF
10567 #define HAVE_XEVENT_XCOOKIE 1
10568 _ACEOF
10575 opengl_msg=""
10576 if test "x$with_opengl" != "xno"
10577 then
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10579 $as_echo_n "checking for -lGL... " >&6; }
10580 if ${ac_cv_lib_soname_GL+:} false; then :
10581 $as_echo_n "(cached) " >&6
10582 else
10583 ac_check_soname_save_LIBS=$LIBS
10584 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10586 /* end confdefs.h. */
10588 /* Override any GCC internal prototype to avoid an error.
10589 Use char because int might match the return type of a GCC
10590 builtin and then its argument prototype would still apply. */
10591 #ifdef __cplusplus
10592 extern "C"
10593 #endif
10594 char glXCreateContext ();
10596 main ()
10598 return glXCreateContext ();
10600 return 0;
10602 _ACEOF
10603 if ac_fn_c_try_link "$LINENO"; then :
10604 case "$LIBEXT" in
10605 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10606 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'` ;;
10607 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10608 if ${ac_cv_lib_soname_GL:+false} :; then :
10609 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10610 fi ;;
10611 esac
10613 rm -f core conftest.err conftest.$ac_objext \
10614 conftest$ac_exeext conftest.$ac_ext
10615 LIBS=$ac_check_soname_save_LIBS
10617 if ${ac_cv_lib_soname_GL:+false} :; then :
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10619 $as_echo "not found" >&6; }
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10621 $as_echo_n "checking for -lGL... " >&6; }
10622 if ${ac_cv_lib_soname_GL+:} false; then :
10623 $as_echo_n "(cached) " >&6
10624 else
10625 ac_check_soname_save_LIBS=$LIBS
10626 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"
10627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10630 /* Override any GCC internal prototype to avoid an error.
10631 Use char because int might match the return type of a GCC
10632 builtin and then its argument prototype would still apply. */
10633 #ifdef __cplusplus
10634 extern "C"
10635 #endif
10636 char glXCreateContext ();
10638 main ()
10640 return glXCreateContext ();
10642 return 0;
10644 _ACEOF
10645 if ac_fn_c_try_link "$LINENO"; then :
10646 case "$LIBEXT" in
10647 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10648 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'` ;;
10649 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10650 if ${ac_cv_lib_soname_GL:+false} :; then :
10651 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10652 fi ;;
10653 esac
10655 rm -f core conftest.err conftest.$ac_objext \
10656 conftest$ac_exeext conftest.$ac_ext
10657 LIBS=$ac_check_soname_save_LIBS
10659 if ${ac_cv_lib_soname_GL:+false} :; then :
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10661 $as_echo "not found" >&6; }
10662 if test -f /usr/X11R6/lib/libGL.a
10663 then
10664 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10665 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10666 else
10667 opengl_msg="No OpenGL library found on this system."
10669 else
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10671 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10673 cat >>confdefs.h <<_ACEOF
10674 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10675 _ACEOF
10677 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"
10679 else
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10681 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10683 cat >>confdefs.h <<_ACEOF
10684 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10685 _ACEOF
10687 OPENGL_LIBS="-lGL"
10689 if test "x$with_glu" != "xno"
10690 then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10692 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10693 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_check_lib_save_LIBS=$LIBS
10697 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10701 /* Override any GCC internal prototype to avoid an error.
10702 Use char because int might match the return type of a GCC
10703 builtin and then its argument prototype would still apply. */
10704 #ifdef __cplusplus
10705 extern "C"
10706 #endif
10707 char gluLookAt ();
10709 main ()
10711 return gluLookAt ();
10713 return 0;
10715 _ACEOF
10716 if ac_fn_c_try_link "$LINENO"; then :
10717 ac_cv_lib_GLU_gluLookAt=yes
10718 else
10719 ac_cv_lib_GLU_gluLookAt=no
10721 rm -f core conftest.err conftest.$ac_objext \
10722 conftest$ac_exeext conftest.$ac_ext
10723 LIBS=$ac_check_lib_save_LIBS
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10726 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10727 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10731 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10732 case "x$with_glu" in
10733 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10734 xno) ;;
10735 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10736 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10737 esac
10742 if test "x$with_osmesa" != "xno"
10743 then
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10745 $as_echo_n "checking for -lOSMesa... " >&6; }
10746 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_soname_save_LIBS=$LIBS
10750 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char glAccum ();
10762 main ()
10764 return glAccum ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 case "$LIBEXT" in
10771 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10772 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'` ;;
10773 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10774 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10775 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10776 fi ;;
10777 esac
10779 rm -f core conftest.err conftest.$ac_objext \
10780 conftest$ac_exeext conftest.$ac_ext
10781 LIBS=$ac_check_soname_save_LIBS
10783 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10785 $as_echo "not found" >&6; }
10787 else
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10789 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10791 cat >>confdefs.h <<_ACEOF
10792 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10793 _ACEOF
10797 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10798 case "x$with_osmesa" in
10799 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10800 xno) ;;
10801 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10802 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10803 esac
10808 if test -n "$opengl_msg"; then :
10809 case "x$with_opengl" in
10810 x) as_fn_append wine_warnings "|$opengl_msg
10811 OpenGL and Direct3D won't be supported." ;;
10812 xno) ;;
10813 *) as_fn_error $? "$opengl_msg
10814 OpenGL and Direct3D won't be supported.
10815 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10816 esac
10820 CPPFLAGS="$ac_save_CPPFLAGS"
10821 else
10822 X_CFLAGS=""
10823 X_LIBS=""
10825 if test "x$X_LIBS" = "x"; then :
10826 case "x$with_x" in
10827 xno) ;;
10828 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10829 without X support, which probably isn't what you want. You will need
10830 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10831 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10832 esac
10833 enable_winex11_drv=${enable_winex11_drv:-no}
10836 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10838 if test "$ac_cv_header_CL_cl_h" = "yes"
10839 then
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10841 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10842 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10843 $as_echo_n "(cached) " >&6
10844 else
10845 ac_check_lib_save_LIBS=$LIBS
10846 LIBS="-lOpenCL $LIBS"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10850 /* Override any GCC internal prototype to avoid an error.
10851 Use char because int might match the return type of a GCC
10852 builtin and then its argument prototype would still apply. */
10853 #ifdef __cplusplus
10854 extern "C"
10855 #endif
10856 char clGetPlatformInfo ();
10858 main ()
10860 return clGetPlatformInfo ();
10862 return 0;
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"; then :
10866 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10867 else
10868 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10870 rm -f core conftest.err conftest.$ac_objext \
10871 conftest$ac_exeext conftest.$ac_ext
10872 LIBS=$ac_check_lib_save_LIBS
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10875 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10876 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10877 OPENCL_LIBS="-lOpenCL"
10882 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10883 case "x$with_opencl" in
10884 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10885 xno) ;;
10886 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10887 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10888 esac
10889 enable_opencl=${enable_opencl:-no}
10892 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10893 then
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10895 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10896 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10897 $as_echo_n "(cached) " >&6
10898 else
10899 ac_check_lib_save_LIBS=$LIBS
10900 LIBS="-lpcap $LIBS"
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10904 /* Override any GCC internal prototype to avoid an error.
10905 Use char because int might match the return type of a GCC
10906 builtin and then its argument prototype would still apply. */
10907 #ifdef __cplusplus
10908 extern "C"
10909 #endif
10910 char pcap_create ();
10912 main ()
10914 return pcap_create ();
10916 return 0;
10918 _ACEOF
10919 if ac_fn_c_try_link "$LINENO"; then :
10920 ac_cv_lib_pcap_pcap_create=yes
10921 else
10922 ac_cv_lib_pcap_pcap_create=no
10924 rm -f core conftest.err conftest.$ac_objext \
10925 conftest$ac_exeext conftest.$ac_ext
10926 LIBS=$ac_check_lib_save_LIBS
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10929 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10930 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10931 PCAP_LIBS="-lpcap"
10936 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10937 case "x$with_pcap" in
10938 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10939 xno) ;;
10940 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10941 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10942 esac
10943 enable_wpcap=${enable_wpcap:-no}
10947 if test "x$with_xml" != "xno"
10948 then
10949 if ${XML2_CFLAGS:+false} :; then :
10950 if ${PKG_CONFIG+:} false; then :
10951 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10954 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10955 if ${XML2_LIBS:+false} :; then :
10956 if ${PKG_CONFIG+:} false; then :
10957 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10960 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10961 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10962 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10963 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10964 ac_save_CPPFLAGS=$CPPFLAGS
10965 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10966 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10967 do :
10968 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10969 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10970 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10971 cat >>confdefs.h <<_ACEOF
10972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10973 _ACEOF
10977 done
10979 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"
10980 then
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10982 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10983 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10984 $as_echo_n "(cached) " >&6
10985 else
10986 ac_check_lib_save_LIBS=$LIBS
10987 LIBS="-lxml2 $XML2_LIBS $LIBS"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h. */
10991 /* Override any GCC internal prototype to avoid an error.
10992 Use char because int might match the return type of a GCC
10993 builtin and then its argument prototype would still apply. */
10994 #ifdef __cplusplus
10995 extern "C"
10996 #endif
10997 char xmlParseMemory ();
10999 main ()
11001 return xmlParseMemory ();
11003 return 0;
11005 _ACEOF
11006 if ac_fn_c_try_link "$LINENO"; then :
11007 ac_cv_lib_xml2_xmlParseMemory=yes
11008 else
11009 ac_cv_lib_xml2_xmlParseMemory=no
11011 rm -f core conftest.err conftest.$ac_objext \
11012 conftest$ac_exeext conftest.$ac_ext
11013 LIBS=$ac_check_lib_save_LIBS
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11016 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11017 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11019 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11021 else
11022 XML2_LIBS=""
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11026 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11027 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11028 $as_echo_n "(cached) " >&6
11029 else
11030 ac_check_lib_save_LIBS=$LIBS
11031 LIBS="-lxml2 $XML2_LIBS $LIBS"
11032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11035 /* Override any GCC internal prototype to avoid an error.
11036 Use char because int might match the return type of a GCC
11037 builtin and then its argument prototype would still apply. */
11038 #ifdef __cplusplus
11039 extern "C"
11040 #endif
11041 char xmlReadMemory ();
11043 main ()
11045 return xmlReadMemory ();
11047 return 0;
11049 _ACEOF
11050 if ac_fn_c_try_link "$LINENO"; then :
11051 ac_cv_lib_xml2_xmlReadMemory=yes
11052 else
11053 ac_cv_lib_xml2_xmlReadMemory=no
11055 rm -f core conftest.err conftest.$ac_objext \
11056 conftest$ac_exeext conftest.$ac_ext
11057 LIBS=$ac_check_lib_save_LIBS
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11060 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11061 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11063 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11068 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11069 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11070 $as_echo_n "(cached) " >&6
11071 else
11072 ac_check_lib_save_LIBS=$LIBS
11073 LIBS="-lxml2 $XML2_LIBS $LIBS"
11074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11080 #ifdef __cplusplus
11081 extern "C"
11082 #endif
11083 char xmlNewDocPI ();
11085 main ()
11087 return xmlNewDocPI ();
11089 return 0;
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"; then :
11093 ac_cv_lib_xml2_xmlNewDocPI=yes
11094 else
11095 ac_cv_lib_xml2_xmlNewDocPI=no
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 LIBS=$ac_check_lib_save_LIBS
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11102 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11103 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11105 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11110 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11111 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11112 $as_echo_n "(cached) " >&6
11113 else
11114 ac_check_lib_save_LIBS=$LIBS
11115 LIBS="-lxml2 $XML2_LIBS $LIBS"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11122 #ifdef __cplusplus
11123 extern "C"
11124 #endif
11125 char xmlSchemaSetParserStructuredErrors ();
11127 main ()
11129 return xmlSchemaSetParserStructuredErrors ();
11131 return 0;
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"; then :
11135 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11136 else
11137 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11139 rm -f core conftest.err conftest.$ac_objext \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_lib_save_LIBS
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11144 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11145 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11147 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11152 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11153 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11154 $as_echo_n "(cached) " >&6
11155 else
11156 ac_check_lib_save_LIBS=$LIBS
11157 LIBS="-lxml2 $XML2_LIBS $LIBS"
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11161 /* Override any GCC internal prototype to avoid an error.
11162 Use char because int might match the return type of a GCC
11163 builtin and then its argument prototype would still apply. */
11164 #ifdef __cplusplus
11165 extern "C"
11166 #endif
11167 char xmlSchemaSetValidStructuredErrors ();
11169 main ()
11171 return xmlSchemaSetValidStructuredErrors ();
11173 return 0;
11175 _ACEOF
11176 if ac_fn_c_try_link "$LINENO"; then :
11177 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11178 else
11179 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11181 rm -f core conftest.err conftest.$ac_objext \
11182 conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_lib_save_LIBS
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11186 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11187 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11189 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11194 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11195 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11196 $as_echo_n "(cached) " >&6
11197 else
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lxml2 $XML2_LIBS $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char xmlFirstElementChild ();
11211 main ()
11213 return xmlFirstElementChild ();
11215 return 0;
11217 _ACEOF
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_xml2_xmlFirstElementChild=yes
11220 else
11221 ac_cv_lib_xml2_xmlFirstElementChild=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11228 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11229 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11231 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11235 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11237 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11239 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11243 else
11244 XML2_CFLAGS=""
11245 XML2_LIBS=""
11247 CPPFLAGS=$ac_save_CPPFLAGS
11248 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11249 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11252 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11253 case "x$with_xml" in
11254 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11255 xno) ;;
11256 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11257 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11258 esac
11262 if test "x$with_xslt" != "xno"
11263 then
11264 if ${XSLT_CFLAGS:+false} :; then :
11265 if ${PKG_CONFIG+:} false; then :
11266 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11269 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11270 if ${XSLT_LIBS:+false} :; then :
11271 if ${PKG_CONFIG+:} false; then :
11272 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11275 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11276 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11277 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11278 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11279 ac_save_CPPFLAGS=$CPPFLAGS
11280 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11281 for ac_header in libxslt/pattern.h libxslt/transform.h
11282 do :
11283 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11284 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11285 # include <libxslt/pattern.h>
11286 #endif
11288 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11289 cat >>confdefs.h <<_ACEOF
11290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11291 _ACEOF
11295 done
11297 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11298 then
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11300 $as_echo_n "checking for -lxslt... " >&6; }
11301 if ${ac_cv_lib_soname_xslt+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_soname_save_LIBS=$LIBS
11305 LIBS="-lxslt $XSLT_LIBS $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char xsltCompilePattern ();
11317 main ()
11319 return xsltCompilePattern ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 case "$LIBEXT" in
11326 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11327 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'` ;;
11328 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11329 if ${ac_cv_lib_soname_xslt:+false} :; then :
11330 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11331 fi ;;
11332 esac
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_soname_save_LIBS
11338 if ${ac_cv_lib_soname_xslt:+false} :; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11340 $as_echo "not found" >&6; }
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11344 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11346 cat >>confdefs.h <<_ACEOF
11347 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11348 _ACEOF
11352 else
11353 XSLT_CFLAGS=""
11355 CPPFLAGS=$ac_save_CPPFLAGS
11356 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11357 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11360 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11361 case "x$with_xslt" in
11362 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11363 xno) ;;
11364 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11365 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11366 esac
11370 if test "x$with_dbus" != "xno"
11371 then
11372 if ${DBUS_CFLAGS:+false} :; then :
11373 if ${PKG_CONFIG+:} false; then :
11374 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11378 if ${DBUS_LIBS:+false} :; then :
11379 if ${PKG_CONFIG+:} false; then :
11380 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11385 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11386 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11387 ac_save_CPPFLAGS=$CPPFLAGS
11388 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11389 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11390 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11392 $as_echo_n "checking for -ldbus-1... " >&6; }
11393 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_soname_save_LIBS=$LIBS
11397 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11401 /* Override any GCC internal prototype to avoid an error.
11402 Use char because int might match the return type of a GCC
11403 builtin and then its argument prototype would still apply. */
11404 #ifdef __cplusplus
11405 extern "C"
11406 #endif
11407 char dbus_connection_close ();
11409 main ()
11411 return dbus_connection_close ();
11413 return 0;
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"; then :
11417 case "$LIBEXT" in
11418 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11419 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'` ;;
11420 *) 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'`
11421 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11422 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11423 fi ;;
11424 esac
11426 rm -f core conftest.err conftest.$ac_objext \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_soname_save_LIBS
11430 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11432 $as_echo "not found" >&6; }
11433 DBUS_CFLAGS=""
11434 else
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11436 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11438 cat >>confdefs.h <<_ACEOF
11439 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11440 _ACEOF
11444 else
11445 DBUS_CFLAGS=""
11449 CPPFLAGS=$ac_save_CPPFLAGS
11450 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11451 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11454 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11455 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11456 case "x$with_dbus" in
11457 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11458 xno) ;;
11459 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11460 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11461 esac
11465 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11466 then
11467 if ${HAL_CFLAGS:+false} :; then :
11468 if ${PKG_CONFIG+:} false; then :
11469 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11473 if ${HAL_LIBS:+false} :; then :
11474 if ${PKG_CONFIG+:} false; then :
11475 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11479 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11480 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11481 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11482 ac_save_CPPFLAGS=$CPPFLAGS
11483 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11484 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11485 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11487 $as_echo_n "checking for -lhal... " >&6; }
11488 if ${ac_cv_lib_soname_hal+:} false; then :
11489 $as_echo_n "(cached) " >&6
11490 else
11491 ac_check_soname_save_LIBS=$LIBS
11492 LIBS="-lhal $HAL_LIBS $LIBS"
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11499 #ifdef __cplusplus
11500 extern "C"
11501 #endif
11502 char libhal_ctx_new ();
11504 main ()
11506 return libhal_ctx_new ();
11508 return 0;
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"; then :
11512 case "$LIBEXT" in
11513 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11514 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'` ;;
11515 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11516 if ${ac_cv_lib_soname_hal:+false} :; then :
11517 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11518 fi ;;
11519 esac
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_soname_save_LIBS
11525 if ${ac_cv_lib_soname_hal:+false} :; then :
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11527 $as_echo "not found" >&6; }
11528 HAL_CFLAGS=""
11529 else
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11531 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11533 cat >>confdefs.h <<_ACEOF
11534 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11535 _ACEOF
11539 else
11540 HAL_CFLAGS=""
11544 CPPFLAGS=$ac_save_CPPFLAGS
11545 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11546 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11548 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11549 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11550 case "x$with_hal" in
11551 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11552 xno) ;;
11553 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11554 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11555 esac
11560 if test "x$with_gnutls" != "xno"
11561 then
11562 if ${GNUTLS_CFLAGS:+false} :; then :
11563 if ${PKG_CONFIG+:} false; then :
11564 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11568 if ${GNUTLS_LIBS:+false} :; then :
11569 if ${PKG_CONFIG+:} false; then :
11570 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11575 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11576 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11577 ac_save_CPPFLAGS=$CPPFLAGS
11578 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11579 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11580 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11583 #include <gnutls/gnutls.h>
11584 #include <gnutls/crypto.h>
11586 main ()
11588 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11590 return 0;
11592 _ACEOF
11593 if ac_fn_c_try_compile "$LINENO"; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11595 $as_echo_n "checking for -lgnutls... " >&6; }
11596 if ${ac_cv_lib_soname_gnutls+:} false; then :
11597 $as_echo_n "(cached) " >&6
11598 else
11599 ac_check_soname_save_LIBS=$LIBS
11600 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11607 #ifdef __cplusplus
11608 extern "C"
11609 #endif
11610 char gnutls_global_init ();
11612 main ()
11614 return gnutls_global_init ();
11616 return 0;
11618 _ACEOF
11619 if ac_fn_c_try_link "$LINENO"; then :
11620 case "$LIBEXT" in
11621 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11622 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'` ;;
11623 *) 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'`
11624 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11625 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'`
11626 fi ;;
11627 esac
11629 rm -f core conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_soname_save_LIBS
11633 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11635 $as_echo "not found" >&6; }
11636 GNUTLS_CFLAGS=""
11637 else
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11639 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11641 cat >>confdefs.h <<_ACEOF
11642 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11643 _ACEOF
11647 ac_wine_check_funcs_save_LIBS="$LIBS"
11648 LIBS="$LIBS $GNUTLS_LIBS"
11649 for ac_func in gnutls_hash
11650 do :
11651 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11652 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11653 cat >>confdefs.h <<_ACEOF
11654 #define HAVE_GNUTLS_HASH 1
11655 _ACEOF
11657 else
11658 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11660 done
11662 LIBS="$ac_wine_check_funcs_save_LIBS"
11664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11665 else
11666 GNUTLS_CFLAGS=""
11670 CPPFLAGS=$ac_save_CPPFLAGS
11671 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11672 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11675 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11676 case "x$with_gnutls" in
11677 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11678 xno) ;;
11679 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11680 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11681 esac
11685 CURSES_LIBS=""
11686 if test "$ac_cv_header_ncurses_h" = "yes"
11687 then
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11689 $as_echo_n "checking for -lncurses... " >&6; }
11690 if ${ac_cv_lib_soname_ncurses+:} false; then :
11691 $as_echo_n "(cached) " >&6
11692 else
11693 ac_check_soname_save_LIBS=$LIBS
11694 LIBS="-lncurses $LIBS"
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11701 #ifdef __cplusplus
11702 extern "C"
11703 #endif
11704 char waddch ();
11706 main ()
11708 return waddch ();
11710 return 0;
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"; then :
11714 case "$LIBEXT" in
11715 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11716 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'` ;;
11717 *) 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'`
11718 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11719 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11720 fi ;;
11721 esac
11723 rm -f core conftest.err conftest.$ac_objext \
11724 conftest$ac_exeext conftest.$ac_ext
11725 LIBS=$ac_check_soname_save_LIBS
11727 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11729 $as_echo "not found" >&6; }
11731 else
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11733 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11735 cat >>confdefs.h <<_ACEOF
11736 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11737 _ACEOF
11739 CURSES_LIBS="-lncurses"
11741 elif test "$ac_cv_header_curses_h" = "yes"
11742 then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11744 $as_echo_n "checking for -lcurses... " >&6; }
11745 if ${ac_cv_lib_soname_curses+:} false; then :
11746 $as_echo_n "(cached) " >&6
11747 else
11748 ac_check_soname_save_LIBS=$LIBS
11749 LIBS="-lcurses $LIBS"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char waddch ();
11761 main ()
11763 return waddch ();
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 case "$LIBEXT" in
11770 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11771 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'` ;;
11772 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11773 if ${ac_cv_lib_soname_curses:+false} :; then :
11774 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11775 fi ;;
11776 esac
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_soname_save_LIBS
11782 if ${ac_cv_lib_soname_curses:+false} :; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11784 $as_echo "not found" >&6; }
11786 else
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11788 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11790 cat >>confdefs.h <<_ACEOF
11791 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11792 _ACEOF
11794 CURSES_LIBS="-lcurses"
11797 ac_save_LIBS="$LIBS"
11798 LIBS="$LIBS $CURSES_LIBS"
11799 for ac_func in mousemask
11800 do :
11801 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11802 if test "x$ac_cv_func_mousemask" = xyes; then :
11803 cat >>confdefs.h <<_ACEOF
11804 #define HAVE_MOUSEMASK 1
11805 _ACEOF
11808 done
11810 LIBS="$ac_save_LIBS"
11811 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11812 case "x$with_curses" in
11813 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11814 xno) ;;
11815 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11816 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11817 esac
11821 if test "x$with_sane" != "xno"
11822 then
11823 if ${SANE_CFLAGS:+false} :; then :
11824 if ${PKG_CONFIG+:} false; then :
11825 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11828 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11829 if ${SANE_LIBS:+false} :; then :
11830 if ${PKG_CONFIG+:} false; then :
11831 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11834 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11836 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11837 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11838 ac_save_CPPFLAGS=$CPPFLAGS
11839 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11840 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11841 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11843 $as_echo_n "checking for -lsane... " >&6; }
11844 if ${ac_cv_lib_soname_sane+:} false; then :
11845 $as_echo_n "(cached) " >&6
11846 else
11847 ac_check_soname_save_LIBS=$LIBS
11848 LIBS="-lsane $SANE_LIBS $LIBS"
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11852 /* Override any GCC internal prototype to avoid an error.
11853 Use char because int might match the return type of a GCC
11854 builtin and then its argument prototype would still apply. */
11855 #ifdef __cplusplus
11856 extern "C"
11857 #endif
11858 char sane_init ();
11860 main ()
11862 return sane_init ();
11864 return 0;
11866 _ACEOF
11867 if ac_fn_c_try_link "$LINENO"; then :
11868 case "$LIBEXT" in
11869 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11870 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'` ;;
11871 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11872 if ${ac_cv_lib_soname_sane:+false} :; then :
11873 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11874 fi ;;
11875 esac
11877 rm -f core conftest.err conftest.$ac_objext \
11878 conftest$ac_exeext conftest.$ac_ext
11879 LIBS=$ac_check_soname_save_LIBS
11881 if ${ac_cv_lib_soname_sane:+false} :; then :
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11883 $as_echo "not found" >&6; }
11884 SANE_CFLAGS=""
11885 else
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11887 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11889 cat >>confdefs.h <<_ACEOF
11890 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11891 _ACEOF
11895 else
11896 SANE_CFLAGS=""
11900 CPPFLAGS=$ac_save_CPPFLAGS
11901 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11902 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11905 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11906 case "x$with_sane" in
11907 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11908 xno) ;;
11909 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11910 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11911 esac
11915 if test "x$with_v4l" != "xno"
11916 then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11918 $as_echo_n "checking for -lv4l1... " >&6; }
11919 if ${ac_cv_lib_soname_v4l1+:} false; then :
11920 $as_echo_n "(cached) " >&6
11921 else
11922 ac_check_soname_save_LIBS=$LIBS
11923 LIBS="-lv4l1 $LIBS"
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char v4l1_open ();
11935 main ()
11937 return v4l1_open ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 case "$LIBEXT" in
11944 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11945 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'` ;;
11946 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11947 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11948 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11949 fi ;;
11950 esac
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_soname_save_LIBS
11956 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11958 $as_echo "not found" >&6; }
11960 else
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11962 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11964 cat >>confdefs.h <<_ACEOF
11965 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11966 _ACEOF
11971 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11972 case "x$with_v4l" in
11973 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11974 xno) ;;
11975 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11976 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11977 esac
11981 if test "x$with_gphoto" != "xno"
11982 then
11983 if ${GPHOTO2_CFLAGS:+false} :; then :
11984 if ${PKG_CONFIG+:} false; then :
11985 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11988 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11989 if ${GPHOTO2_LIBS:+false} :; then :
11990 if ${PKG_CONFIG+:} false; then :
11991 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11994 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11995 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11996 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11997 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11998 ac_save_CPPFLAGS=$CPPFLAGS
11999 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12000 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12001 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12003 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12004 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12005 $as_echo_n "(cached) " >&6
12006 else
12007 ac_check_lib_save_LIBS=$LIBS
12008 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12012 /* Override any GCC internal prototype to avoid an error.
12013 Use char because int might match the return type of a GCC
12014 builtin and then its argument prototype would still apply. */
12015 #ifdef __cplusplus
12016 extern "C"
12017 #endif
12018 char gp_camera_new ();
12020 main ()
12022 return gp_camera_new ();
12024 return 0;
12026 _ACEOF
12027 if ac_fn_c_try_link "$LINENO"; then :
12028 ac_cv_lib_gphoto2_gp_camera_new=yes
12029 else
12030 ac_cv_lib_gphoto2_gp_camera_new=no
12032 rm -f core conftest.err conftest.$ac_objext \
12033 conftest$ac_exeext conftest.$ac_ext
12034 LIBS=$ac_check_lib_save_LIBS
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12037 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12038 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12040 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12042 else
12043 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12046 else
12047 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12051 CPPFLAGS=$ac_save_CPPFLAGS
12052 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12053 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12055 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12056 if ${PKG_CONFIG+:} false; then :
12057 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12060 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12061 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12062 if ${PKG_CONFIG+:} false; then :
12063 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12066 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12067 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12068 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12069 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12070 ac_save_CPPFLAGS=$CPPFLAGS
12071 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12072 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12073 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12075 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12076 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12077 $as_echo_n "(cached) " >&6
12078 else
12079 ac_check_lib_save_LIBS=$LIBS
12080 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12087 #ifdef __cplusplus
12088 extern "C"
12089 #endif
12090 char gp_port_info_list_new ();
12092 main ()
12094 return gp_port_info_list_new ();
12096 return 0;
12098 _ACEOF
12099 if ac_fn_c_try_link "$LINENO"; then :
12100 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12101 else
12102 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12104 rm -f core conftest.err conftest.$ac_objext \
12105 conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_lib_save_LIBS
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12109 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12110 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12112 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12114 else
12115 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12118 else
12119 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12123 CPPFLAGS=$ac_save_CPPFLAGS
12124 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12125 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12128 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12129 case "x$with_gphoto" in
12130 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12131 xno) ;;
12132 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12133 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12134 esac
12137 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12138 case "x$with_gphoto" in
12139 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12140 xno) ;;
12141 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12142 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12143 esac
12148 if test "$ac_cv_header_resolv_h" = "yes"
12149 then
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12151 $as_echo_n "checking for resolver library... " >&6; }
12152 if ${ac_cv_have_resolv+:} false; then :
12153 $as_echo_n "(cached) " >&6
12154 else
12155 ac_save_LIBS="$LIBS"
12156 for lib in '' -lresolv
12158 LIBS="$lib $ac_save_LIBS"
12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12161 #ifdef HAVE_NETINET_IN_H
12162 #include <netinet/in.h>
12163 #endif
12164 #include <resolv.h>
12166 main ()
12168 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12170 return 0;
12172 _ACEOF
12173 if ac_fn_c_try_link "$LINENO"; then :
12174 ac_cv_have_resolv=${lib:-"none required"}
12175 else
12176 ac_cv_have_resolv="not found"
12178 rm -f core conftest.err conftest.$ac_objext \
12179 conftest$ac_exeext conftest.$ac_ext
12180 test "x$ac_cv_have_resolv" = "xnot found" || break
12181 done
12182 LIBS="$ac_save_LIBS"
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12185 $as_echo "$ac_cv_have_resolv" >&6; }
12187 case "$ac_cv_have_resolv" in
12188 "not found") ;;
12189 "none required")
12191 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12194 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12196 RESOLV_LIBS=$ac_cv_have_resolv
12198 esac
12201 if test "x$with_cms" != "xno"
12202 then
12203 if ${LCMS2_CFLAGS:+false} :; then :
12204 if ${PKG_CONFIG+:} false; then :
12205 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12209 if ${LCMS2_LIBS:+false} :; then :
12210 if ${PKG_CONFIG+:} false; then :
12211 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12215 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12216 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12217 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12218 ac_save_CPPFLAGS=$CPPFLAGS
12219 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12220 for ac_header in lcms2.h
12221 do :
12222 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12223 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12224 cat >>confdefs.h <<_ACEOF
12225 #define HAVE_LCMS2_H 1
12226 _ACEOF
12230 done
12232 if test "$ac_cv_header_lcms2_h" = "yes"
12233 then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12235 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12236 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12237 $as_echo_n "(cached) " >&6
12238 else
12239 ac_check_lib_save_LIBS=$LIBS
12240 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12247 #ifdef __cplusplus
12248 extern "C"
12249 #endif
12250 char cmsOpenProfileFromFile ();
12252 main ()
12254 return cmsOpenProfileFromFile ();
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"; then :
12260 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12261 else
12262 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_lib_save_LIBS
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12269 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12270 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12272 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12274 else
12275 LCMS2_LIBS=""
12278 else
12279 LCMS2_CFLAGS=""
12280 LCMS2_LIBS=""
12282 CPPFLAGS=$ac_save_CPPFLAGS
12283 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12284 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12287 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12288 case "x$with_cms" in
12289 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12290 xno) ;;
12291 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12292 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12293 esac
12297 if test "x$with_freetype" != "xno"
12298 then
12299 if ${FREETYPE_CFLAGS:+false} :; then :
12300 if ${PKG_CONFIG+:} false; then :
12301 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12304 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12305 if ${FREETYPE_LIBS:+false} :; then :
12306 if ${PKG_CONFIG+:} false; then :
12307 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12310 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12311 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12312 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12313 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12314 ac_save_CPPFLAGS=$CPPFLAGS
12315 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12316 for ac_header in ft2build.h
12317 do :
12318 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12319 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12320 cat >>confdefs.h <<_ACEOF
12321 #define HAVE_FT2BUILD_H 1
12322 _ACEOF
12326 done
12328 if test "$ac_cv_header_ft2build_h" = "yes"
12329 then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12331 $as_echo_n "checking for -lfreetype... " >&6; }
12332 if ${ac_cv_lib_soname_freetype+:} false; then :
12333 $as_echo_n "(cached) " >&6
12334 else
12335 ac_check_soname_save_LIBS=$LIBS
12336 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 /* Override any GCC internal prototype to avoid an error.
12341 Use char because int might match the return type of a GCC
12342 builtin and then its argument prototype would still apply. */
12343 #ifdef __cplusplus
12344 extern "C"
12345 #endif
12346 char FT_Init_FreeType ();
12348 main ()
12350 return FT_Init_FreeType ();
12352 return 0;
12354 _ACEOF
12355 if ac_fn_c_try_link "$LINENO"; then :
12356 case "$LIBEXT" in
12357 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12358 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'` ;;
12359 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12360 if ${ac_cv_lib_soname_freetype:+false} :; then :
12361 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12362 fi ;;
12363 esac
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12367 LIBS=$ac_check_soname_save_LIBS
12369 if ${ac_cv_lib_soname_freetype:+false} :; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12371 $as_echo "not found" >&6; }
12372 FREETYPE_LIBS=""
12373 else
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12375 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12377 cat >>confdefs.h <<_ACEOF
12378 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12379 _ACEOF
12382 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12384 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12385 #include FT_MODULE_H
12387 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12389 cat >>confdefs.h <<_ACEOF
12390 #define HAVE_FT_TRUETYPEENGINETYPE 1
12391 _ACEOF
12397 else
12398 FREETYPE_CFLAGS=""
12399 FREETYPE_LIBS=""
12401 CPPFLAGS=$ac_save_CPPFLAGS
12402 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12403 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12406 if test "x$ac_cv_lib_soname_freetype" = x; then :
12407 case "x$with_freetype" in
12408 xno) ;;
12409 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12410 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12411 esac
12412 enable_fonts=${enable_fonts:-no}
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12416 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12417 if ${ac_cv_c_ppdev+:} false; then :
12418 $as_echo_n "(cached) " >&6
12419 else
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12422 #ifdef HAVE_SYS_IOCTL_H
12423 # include <sys/ioctl.h>
12424 #endif
12425 #include <linux/ppdev.h>
12427 main ()
12429 ioctl (1,PPCLAIM,0)
12431 return 0;
12433 _ACEOF
12434 if ac_fn_c_try_compile "$LINENO"; then :
12435 ac_cv_c_ppdev="yes"
12436 else
12437 ac_cv_c_ppdev="no"
12439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12442 $as_echo "$ac_cv_c_ppdev" >&6; }
12443 if test "$ac_cv_c_ppdev" = "yes"
12444 then
12446 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12450 ac_wine_check_funcs_save_LIBS="$LIBS"
12451 LIBS="$LIBS $PTHREAD_LIBS"
12452 for ac_func in \
12453 pthread_attr_get_np \
12454 pthread_getattr_np \
12455 pthread_getthreadid_np \
12456 pthread_get_stackaddr_np \
12457 pthread_get_stacksize_np
12458 do :
12459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12462 cat >>confdefs.h <<_ACEOF
12463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12464 _ACEOF
12467 done
12469 LIBS="$ac_wine_check_funcs_save_LIBS"
12471 if test "$ac_cv_header_zlib_h" = "yes"
12472 then
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12474 $as_echo_n "checking for inflate in -lz... " >&6; }
12475 if ${ac_cv_lib_z_inflate+:} false; then :
12476 $as_echo_n "(cached) " >&6
12477 else
12478 ac_check_lib_save_LIBS=$LIBS
12479 LIBS="-lz $LIBS"
12480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h. */
12483 /* Override any GCC internal prototype to avoid an error.
12484 Use char because int might match the return type of a GCC
12485 builtin and then its argument prototype would still apply. */
12486 #ifdef __cplusplus
12487 extern "C"
12488 #endif
12489 char inflate ();
12491 main ()
12493 return inflate ();
12495 return 0;
12497 _ACEOF
12498 if ac_fn_c_try_link "$LINENO"; then :
12499 ac_cv_lib_z_inflate=yes
12500 else
12501 ac_cv_lib_z_inflate=no
12503 rm -f core conftest.err conftest.$ac_objext \
12504 conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_check_lib_save_LIBS
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12508 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12509 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12511 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12513 Z_LIBS="-lz"
12518 if test "x$Z_LIBS" = "x"; then :
12519 case "x$with_zlib" in
12520 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12521 xno) ;;
12522 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12523 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12524 esac
12528 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12529 then
12530 if test "$ac_cv_header_gettext_po_h" = "yes"
12531 then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12533 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12534 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12535 $as_echo_n "(cached) " >&6
12536 else
12537 ac_check_lib_save_LIBS=$LIBS
12538 LIBS="-lgettextpo $LIBS"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12542 /* Override any GCC internal prototype to avoid an error.
12543 Use char because int might match the return type of a GCC
12544 builtin and then its argument prototype would still apply. */
12545 #ifdef __cplusplus
12546 extern "C"
12547 #endif
12548 char po_message_msgctxt ();
12550 main ()
12552 return po_message_msgctxt ();
12554 return 0;
12556 _ACEOF
12557 if ac_fn_c_try_link "$LINENO"; then :
12558 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12559 else
12560 ac_cv_lib_gettextpo_po_message_msgctxt=no
12562 rm -f core conftest.err conftest.$ac_objext \
12563 conftest$ac_exeext conftest.$ac_ext
12564 LIBS=$ac_check_lib_save_LIBS
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12567 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12568 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12570 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12572 GETTEXTPO_LIBS="-lgettextpo"
12577 if test "x$GETTEXTPO_LIBS" = "x"; then :
12578 case "x$with_gettextpo" in
12579 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12580 xno) ;;
12581 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12582 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12583 esac
12586 if test "$srcdir" != .; then :
12587 case "x$with_gettextpo" in
12588 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12589 xno) ;;
12590 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12591 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12592 esac
12597 if test "x$with_pulse" != "xno";
12598 then
12599 if ${PULSE_CFLAGS:+false} :; then :
12600 if ${PKG_CONFIG+:} false; then :
12601 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12605 if ${PULSE_LIBS:+false} :; then :
12606 if ${PKG_CONFIG+:} false; then :
12607 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12612 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12613 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12614 ac_save_CPPFLAGS=$CPPFLAGS
12615 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12616 for ac_header in pulse/pulseaudio.h
12617 do :
12618 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12619 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12620 cat >>confdefs.h <<_ACEOF
12621 #define HAVE_PULSE_PULSEAUDIO_H 1
12622 _ACEOF
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12624 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12625 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12626 $as_echo_n "(cached) " >&6
12627 else
12628 ac_check_lib_save_LIBS=$LIBS
12629 LIBS="-lpulse $PULSE_LIBS $LIBS"
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 /* Override any GCC internal prototype to avoid an error.
12634 Use char because int might match the return type of a GCC
12635 builtin and then its argument prototype would still apply. */
12636 #ifdef __cplusplus
12637 extern "C"
12638 #endif
12639 char pa_stream_is_corked ();
12641 main ()
12643 return pa_stream_is_corked ();
12645 return 0;
12647 _ACEOF
12648 if ac_fn_c_try_link "$LINENO"; then :
12649 ac_cv_lib_pulse_pa_stream_is_corked=yes
12650 else
12651 ac_cv_lib_pulse_pa_stream_is_corked=no
12653 rm -f core conftest.err conftest.$ac_objext \
12654 conftest$ac_exeext conftest.$ac_ext
12655 LIBS=$ac_check_lib_save_LIBS
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12658 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12659 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12661 else
12662 PULSE_LIBS=""
12665 else
12666 PULSE_LIBS=""
12669 done
12671 CPPFLAGS=$ac_save_CPPFLAGS
12672 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12673 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12676 if test -z "$PULSE_LIBS"; then :
12677 case "x$with_pulse" in
12678 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12679 xno) ;;
12680 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12681 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12682 esac
12683 enable_winepulse_drv=${enable_winepulse_drv:-no}
12686 if test "x$with_gstreamer" != "xno"
12687 then
12688 if ${GSTREAMER_CFLAGS:+false} :; then :
12689 if ${PKG_CONFIG+:} false; then :
12690 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12694 if ${GSTREAMER_LIBS:+false} :; then :
12695 if ${PKG_CONFIG+:} false; then :
12696 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12701 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12702 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12703 ac_save_CPPFLAGS=$CPPFLAGS
12704 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12705 ac_gst_incl=""
12706 for i in $GSTREAMER_CFLAGS
12708 case "$i" in
12709 -I*) ac_gst_incl="$ac_gst_incl $i";;
12710 esac
12711 done
12712 GSTREAMER_CFLAGS=$ac_gst_incl
12713 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12714 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12715 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12717 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12720 #include <gst/gst.h>
12722 main ()
12724 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12726 return 0;
12728 _ACEOF
12729 if ac_fn_c_try_compile "$LINENO"; then :
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12731 $as_echo "yes" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12733 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12734 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12735 $as_echo_n "(cached) " >&6
12736 else
12737 ac_check_lib_save_LIBS=$LIBS
12738 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12742 /* Override any GCC internal prototype to avoid an error.
12743 Use char because int might match the return type of a GCC
12744 builtin and then its argument prototype would still apply. */
12745 #ifdef __cplusplus
12746 extern "C"
12747 #endif
12748 char gst_pad_new ();
12750 main ()
12752 return gst_pad_new ();
12754 return 0;
12756 _ACEOF
12757 if ac_fn_c_try_link "$LINENO"; then :
12758 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12759 else
12760 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12762 rm -f core conftest.err conftest.$ac_objext \
12763 conftest$ac_exeext conftest.$ac_ext
12764 LIBS=$ac_check_lib_save_LIBS
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12767 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12768 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12772 else
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12774 $as_echo "no" >&6; }
12775 ac_glib2_broken=yes
12776 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12782 CPPFLAGS=$ac_save_CPPFLAGS
12783 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12784 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12787 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 :
12788 case "x$with_gstreamer" in
12789 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12790 xno) ;;
12791 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12792 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12793 esac
12796 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12798 ALSA_LIBS=""
12800 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12801 then
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12803 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12804 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12805 $as_echo_n "(cached) " >&6
12806 else
12807 ac_check_lib_save_LIBS=$LIBS
12808 LIBS="-lasound $LIBS"
12809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12810 /* end confdefs.h. */
12812 /* Override any GCC internal prototype to avoid an error.
12813 Use char because int might match the return type of a GCC
12814 builtin and then its argument prototype would still apply. */
12815 #ifdef __cplusplus
12816 extern "C"
12817 #endif
12818 char snd_pcm_hw_params_get_access_mask ();
12820 main ()
12822 return snd_pcm_hw_params_get_access_mask ();
12824 return 0;
12826 _ACEOF
12827 if ac_fn_c_try_link "$LINENO"; then :
12828 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12829 else
12830 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12832 rm -f core conftest.err conftest.$ac_objext \
12833 conftest$ac_exeext conftest.$ac_ext
12834 LIBS=$ac_check_lib_save_LIBS
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12837 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12838 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12841 #ifdef HAVE_ALSA_ASOUNDLIB_H
12842 #include <alsa/asoundlib.h>
12843 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12844 #include <sys/asoundlib.h>
12845 #endif
12847 main ()
12849 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12851 return 0;
12853 _ACEOF
12854 if ac_fn_c_try_compile "$LINENO"; then :
12855 ALSA_LIBS="-lasound"
12857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12861 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12863 if test "x$with_oss" != xno
12864 then
12865 ac_save_CPPFLAGS="$CPPFLAGS"
12866 if test -f /etc/oss.conf
12867 then
12868 . /etc/oss.conf
12870 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12871 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12872 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12873 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12874 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12876 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12878 cat >>confdefs.h <<_ACEOF
12879 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12880 _ACEOF
12882 OSS4_CFLAGS="$ac_oss_incl"
12889 CPPFLAGS="$ac_save_CPPFLAGS"
12891 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12892 case "x$with_oss" in
12893 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12894 xno) ;;
12895 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12896 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12897 esac
12898 enable_wineoss_drv=${enable_wineoss_drv:-no}
12901 if test "x$with_capi" != "xno"
12902 then
12903 if ${CAPI20_CFLAGS:+false} :; then :
12904 if ${PKG_CONFIG+:} false; then :
12905 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12909 if ${CAPI20_LIBS:+false} :; then :
12910 if ${PKG_CONFIG+:} false; then :
12911 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12916 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12917 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12918 ac_save_CPPFLAGS=$CPPFLAGS
12919 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12920 for ac_header in capi20.h linux/capi.h
12921 do :
12922 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12923 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12926 cat >>confdefs.h <<_ACEOF
12927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12928 _ACEOF
12932 done
12934 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12935 then
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12937 $as_echo_n "checking for -lcapi20... " >&6; }
12938 if ${ac_cv_lib_soname_capi20+:} false; then :
12939 $as_echo_n "(cached) " >&6
12940 else
12941 ac_check_soname_save_LIBS=$LIBS
12942 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12949 #ifdef __cplusplus
12950 extern "C"
12951 #endif
12952 char capi20_register ();
12954 main ()
12956 return capi20_register ();
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_link "$LINENO"; then :
12962 case "$LIBEXT" in
12963 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12964 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'` ;;
12965 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12966 if ${ac_cv_lib_soname_capi20:+false} :; then :
12967 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12968 fi ;;
12969 esac
12971 rm -f core conftest.err conftest.$ac_objext \
12972 conftest$ac_exeext conftest.$ac_ext
12973 LIBS=$ac_check_soname_save_LIBS
12975 if ${ac_cv_lib_soname_capi20:+false} :; then :
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12977 $as_echo "not found" >&6; }
12979 else
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12981 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12983 cat >>confdefs.h <<_ACEOF
12984 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12985 _ACEOF
12990 CPPFLAGS=$ac_save_CPPFLAGS
12991 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12992 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12995 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12996 case "x$with_capi" in
12997 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12998 xno) ;;
12999 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13000 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13001 esac
13005 CUPS_CFLAGS=""
13007 if test "x$with_cups" != "xno"
13008 then
13009 ac_save_CPPFLAGS="$CPPFLAGS"
13010 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13011 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13012 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13013 for ac_header in cups/cups.h
13014 do :
13015 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13016 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13017 cat >>confdefs.h <<_ACEOF
13018 #define HAVE_CUPS_CUPS_H 1
13019 _ACEOF
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13021 $as_echo_n "checking for -lcups... " >&6; }
13022 if ${ac_cv_lib_soname_cups+:} false; then :
13023 $as_echo_n "(cached) " >&6
13024 else
13025 ac_check_soname_save_LIBS=$LIBS
13026 LIBS="-lcups $ac_cups_libs $LIBS"
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13030 /* Override any GCC internal prototype to avoid an error.
13031 Use char because int might match the return type of a GCC
13032 builtin and then its argument prototype would still apply. */
13033 #ifdef __cplusplus
13034 extern "C"
13035 #endif
13036 char cupsGetDefault ();
13038 main ()
13040 return cupsGetDefault ();
13042 return 0;
13044 _ACEOF
13045 if ac_fn_c_try_link "$LINENO"; then :
13046 case "$LIBEXT" in
13047 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13048 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'` ;;
13049 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13050 if ${ac_cv_lib_soname_cups:+false} :; then :
13051 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13052 fi ;;
13053 esac
13055 rm -f core conftest.err conftest.$ac_objext \
13056 conftest$ac_exeext conftest.$ac_ext
13057 LIBS=$ac_check_soname_save_LIBS
13059 if ${ac_cv_lib_soname_cups:+false} :; then :
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13061 $as_echo "not found" >&6; }
13063 else
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13065 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13067 cat >>confdefs.h <<_ACEOF
13068 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13069 _ACEOF
13071 CUPS_CFLAGS="$ac_cups_cflags"
13073 for ac_header in cups/ppd.h
13074 do :
13075 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13076 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13077 cat >>confdefs.h <<_ACEOF
13078 #define HAVE_CUPS_PPD_H 1
13079 _ACEOF
13083 done
13087 done
13089 CPPFLAGS="$ac_save_CPPFLAGS"
13091 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13092 case "x$with_cups" in
13093 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13094 xno) ;;
13095 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13096 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13097 esac
13101 if test "x$with_fontconfig" != "xno"
13102 then
13103 if ${FONTCONFIG_CFLAGS:+false} :; then :
13104 if ${PKG_CONFIG+:} false; then :
13105 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13108 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13109 if ${FONTCONFIG_LIBS:+false} :; then :
13110 if ${PKG_CONFIG+:} false; then :
13111 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13114 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13116 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13117 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13118 ac_save_CPPFLAGS=$CPPFLAGS
13119 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13120 for ac_header in fontconfig/fontconfig.h
13121 do :
13122 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13123 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13124 cat >>confdefs.h <<_ACEOF
13125 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13126 _ACEOF
13130 done
13132 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13133 then
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13135 $as_echo_n "checking for -lfontconfig... " >&6; }
13136 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13137 $as_echo_n "(cached) " >&6
13138 else
13139 ac_check_soname_save_LIBS=$LIBS
13140 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h. */
13144 /* Override any GCC internal prototype to avoid an error.
13145 Use char because int might match the return type of a GCC
13146 builtin and then its argument prototype would still apply. */
13147 #ifdef __cplusplus
13148 extern "C"
13149 #endif
13150 char FcInit ();
13152 main ()
13154 return FcInit ();
13156 return 0;
13158 _ACEOF
13159 if ac_fn_c_try_link "$LINENO"; then :
13160 case "$LIBEXT" in
13161 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13162 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'` ;;
13163 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13164 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13165 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13166 fi ;;
13167 esac
13169 rm -f core conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13171 LIBS=$ac_check_soname_save_LIBS
13173 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13175 $as_echo "not found" >&6; }
13176 FONTCONFIG_CFLAGS=""
13177 else
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13179 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13181 cat >>confdefs.h <<_ACEOF
13182 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13183 _ACEOF
13187 else
13188 FONTCONFIG_CFLAGS=""
13190 CPPFLAGS=$ac_save_CPPFLAGS
13191 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13192 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13195 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13196 case "x$with_fontconfig" in
13197 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13198 xno) ;;
13199 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13200 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13201 esac
13205 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13206 then
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13208 $as_echo_n "checking for -lgsm... " >&6; }
13209 if ${ac_cv_lib_soname_gsm+:} false; then :
13210 $as_echo_n "(cached) " >&6
13211 else
13212 ac_check_soname_save_LIBS=$LIBS
13213 LIBS="-lgsm $LIBS"
13214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13217 /* Override any GCC internal prototype to avoid an error.
13218 Use char because int might match the return type of a GCC
13219 builtin and then its argument prototype would still apply. */
13220 #ifdef __cplusplus
13221 extern "C"
13222 #endif
13223 char gsm_create ();
13225 main ()
13227 return gsm_create ();
13229 return 0;
13231 _ACEOF
13232 if ac_fn_c_try_link "$LINENO"; then :
13233 case "$LIBEXT" in
13234 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13235 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'` ;;
13236 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13237 if ${ac_cv_lib_soname_gsm:+false} :; then :
13238 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13239 fi ;;
13240 esac
13242 rm -f core conftest.err conftest.$ac_objext \
13243 conftest$ac_exeext conftest.$ac_ext
13244 LIBS=$ac_check_soname_save_LIBS
13246 if ${ac_cv_lib_soname_gsm:+false} :; then :
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13248 $as_echo "not found" >&6; }
13250 else
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13252 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13254 cat >>confdefs.h <<_ACEOF
13255 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13256 _ACEOF
13261 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13262 case "x$with_gsm" in
13263 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13264 xno) ;;
13265 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13266 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13267 esac
13271 if test "x$with_jpeg" != "xno"
13272 then
13273 if ${JPEG_CFLAGS:+false} :; then :
13274 if ${PKG_CONFIG+:} false; then :
13275 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13279 if ${JPEG_LIBS:+false} :; then :
13280 if ${PKG_CONFIG+:} false; then :
13281 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13286 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13287 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13288 ac_save_CPPFLAGS=$CPPFLAGS
13289 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13290 for ac_header in jpeglib.h
13291 do :
13292 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13293 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13294 cat >>confdefs.h <<_ACEOF
13295 #define HAVE_JPEGLIB_H 1
13296 _ACEOF
13300 done
13302 if test "$ac_cv_header_jpeglib_h" = "yes"
13303 then
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13305 $as_echo_n "checking for -ljpeg... " >&6; }
13306 if ${ac_cv_lib_soname_jpeg+:} false; then :
13307 $as_echo_n "(cached) " >&6
13308 else
13309 ac_check_soname_save_LIBS=$LIBS
13310 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13314 /* Override any GCC internal prototype to avoid an error.
13315 Use char because int might match the return type of a GCC
13316 builtin and then its argument prototype would still apply. */
13317 #ifdef __cplusplus
13318 extern "C"
13319 #endif
13320 char jpeg_start_decompress ();
13322 main ()
13324 return jpeg_start_decompress ();
13326 return 0;
13328 _ACEOF
13329 if ac_fn_c_try_link "$LINENO"; then :
13330 case "$LIBEXT" in
13331 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13332 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'` ;;
13333 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13334 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13335 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13336 fi ;;
13337 esac
13339 rm -f core conftest.err conftest.$ac_objext \
13340 conftest$ac_exeext conftest.$ac_ext
13341 LIBS=$ac_check_soname_save_LIBS
13343 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13345 $as_echo "not found" >&6; }
13346 JPEG_CFLAGS=""
13347 else
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13349 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13351 cat >>confdefs.h <<_ACEOF
13352 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13353 _ACEOF
13357 else
13358 JPEG_CFLAGS=""
13360 CPPFLAGS=$ac_save_CPPFLAGS
13361 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13362 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13365 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13366 case "x$with_jpeg" in
13367 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13368 xno) ;;
13369 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13370 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13371 esac
13375 if test "x$with_png" != "xno"
13376 then
13377 if ${PNG_CFLAGS:+false} :; then :
13378 if ${PKG_CONFIG+:} false; then :
13379 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13382 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13383 if ${PNG_LIBS:+false} :; then :
13384 if ${PKG_CONFIG+:} false; then :
13385 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13388 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13390 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13391 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13392 ac_save_CPPFLAGS=$CPPFLAGS
13393 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13394 for ac_header in png.h
13395 do :
13396 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13397 if test "x$ac_cv_header_png_h" = xyes; then :
13398 cat >>confdefs.h <<_ACEOF
13399 #define HAVE_PNG_H 1
13400 _ACEOF
13404 done
13406 if test "$ac_cv_header_png_h" = "yes"
13407 then
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13409 $as_echo_n "checking for -lpng... " >&6; }
13410 if ${ac_cv_lib_soname_png+:} false; then :
13411 $as_echo_n "(cached) " >&6
13412 else
13413 ac_check_soname_save_LIBS=$LIBS
13414 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13418 /* Override any GCC internal prototype to avoid an error.
13419 Use char because int might match the return type of a GCC
13420 builtin and then its argument prototype would still apply. */
13421 #ifdef __cplusplus
13422 extern "C"
13423 #endif
13424 char png_create_read_struct ();
13426 main ()
13428 return png_create_read_struct ();
13430 return 0;
13432 _ACEOF
13433 if ac_fn_c_try_link "$LINENO"; then :
13434 case "$LIBEXT" in
13435 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13436 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'` ;;
13437 *) 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'`
13438 if ${ac_cv_lib_soname_png:+false} :; then :
13439 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13440 fi ;;
13441 esac
13443 rm -f core conftest.err conftest.$ac_objext \
13444 conftest$ac_exeext conftest.$ac_ext
13445 LIBS=$ac_check_soname_save_LIBS
13447 if ${ac_cv_lib_soname_png:+false} :; then :
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13449 $as_echo "not found" >&6; }
13450 PNG_CFLAGS=""
13451 else
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13453 $as_echo "$ac_cv_lib_soname_png" >&6; }
13455 cat >>confdefs.h <<_ACEOF
13456 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13457 _ACEOF
13459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13460 /* end confdefs.h. */
13461 #include <png.h>
13463 main ()
13465 typeof(png_set_expand_gray_1_2_4_to_8) *p
13467 return 0;
13469 _ACEOF
13470 if ac_fn_c_try_compile "$LINENO"; then :
13472 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13477 else
13478 PNG_CFLAGS=""
13480 CPPFLAGS=$ac_save_CPPFLAGS
13481 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13482 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13485 if test "x$ac_cv_lib_soname_png" = "x"; then :
13486 case "x$with_png" in
13487 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13488 xno) ;;
13489 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13490 This is an error since --with-png was requested." "$LINENO" 5 ;;
13491 esac
13495 if test "x$with_tiff" != "xno"
13496 then
13497 if ${TIFF_CFLAGS:+false} :; then :
13498 if ${PKG_CONFIG+:} false; then :
13499 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13503 if ${TIFF_LIBS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13510 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13511 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13512 ac_save_CPPFLAGS=$CPPFLAGS
13513 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13514 for ac_header in tiffio.h
13515 do :
13516 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13517 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13518 cat >>confdefs.h <<_ACEOF
13519 #define HAVE_TIFFIO_H 1
13520 _ACEOF
13524 done
13526 if test "$ac_cv_header_tiffio_h" = "yes"
13527 then
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13529 $as_echo_n "checking for -ltiff... " >&6; }
13530 if ${ac_cv_lib_soname_tiff+:} false; then :
13531 $as_echo_n "(cached) " >&6
13532 else
13533 ac_check_soname_save_LIBS=$LIBS
13534 LIBS="-ltiff $TIFF_LIBS $LIBS"
13535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13538 /* Override any GCC internal prototype to avoid an error.
13539 Use char because int might match the return type of a GCC
13540 builtin and then its argument prototype would still apply. */
13541 #ifdef __cplusplus
13542 extern "C"
13543 #endif
13544 char TIFFClientOpen ();
13546 main ()
13548 return TIFFClientOpen ();
13550 return 0;
13552 _ACEOF
13553 if ac_fn_c_try_link "$LINENO"; then :
13554 case "$LIBEXT" in
13555 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13556 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'` ;;
13557 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13558 if ${ac_cv_lib_soname_tiff:+false} :; then :
13559 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13560 fi ;;
13561 esac
13563 rm -f core conftest.err conftest.$ac_objext \
13564 conftest$ac_exeext conftest.$ac_ext
13565 LIBS=$ac_check_soname_save_LIBS
13567 if ${ac_cv_lib_soname_tiff:+false} :; then :
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13569 $as_echo "not found" >&6; }
13571 else
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13573 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13575 cat >>confdefs.h <<_ACEOF
13576 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13577 _ACEOF
13582 CPPFLAGS=$ac_save_CPPFLAGS
13583 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13584 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13587 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13588 case "x$with_tiff" in
13589 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13590 xno) ;;
13591 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13592 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13593 esac
13597 if test "x$with_mpg123" != "xno"
13598 then
13599 if ${MPG123_CFLAGS:+false} :; then :
13600 if ${PKG_CONFIG+:} false; then :
13601 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13605 if ${MPG123_LIBS:+false} :; then :
13606 if ${PKG_CONFIG+:} false; then :
13607 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13611 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13612 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13613 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13614 ac_save_CPPFLAGS=$CPPFLAGS
13615 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13616 for ac_header in mpg123.h
13617 do :
13618 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13619 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13620 cat >>confdefs.h <<_ACEOF
13621 #define HAVE_MPG123_H 1
13622 _ACEOF
13626 done
13628 if test "$ac_cv_header_mpg123_h" = "yes"
13629 then
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13631 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13632 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13633 $as_echo_n "(cached) " >&6
13634 else
13635 ac_check_lib_save_LIBS=$LIBS
13636 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13640 /* Override any GCC internal prototype to avoid an error.
13641 Use char because int might match the return type of a GCC
13642 builtin and then its argument prototype would still apply. */
13643 #ifdef __cplusplus
13644 extern "C"
13645 #endif
13646 char mpg123_feed ();
13648 main ()
13650 return mpg123_feed ();
13652 return 0;
13654 _ACEOF
13655 if ac_fn_c_try_link "$LINENO"; then :
13656 ac_cv_lib_mpg123_mpg123_feed=yes
13657 else
13658 ac_cv_lib_mpg123_mpg123_feed=no
13660 rm -f core conftest.err conftest.$ac_objext \
13661 conftest$ac_exeext conftest.$ac_ext
13662 LIBS=$ac_check_lib_save_LIBS
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13665 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13666 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13668 else
13669 MPG123_LIBS=""
13672 else
13673 MPG123_CFLAGS=""
13674 MPG123_LIBS=""
13676 CPPFLAGS=$ac_save_CPPFLAGS
13677 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13678 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13681 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13682 case "x$with_mpg123" in
13683 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13684 xno) ;;
13685 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13686 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13687 esac
13688 enable_winemp3_acm=${enable_winemp3_acm:-no}
13691 if test "$ac_cv_header_AL_al_h" = "yes"
13692 then
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13694 $as_echo_n "checking for -lopenal... " >&6; }
13695 if ${ac_cv_lib_soname_openal+:} false; then :
13696 $as_echo_n "(cached) " >&6
13697 else
13698 ac_check_soname_save_LIBS=$LIBS
13699 LIBS="-lopenal $LIBS"
13700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13703 /* Override any GCC internal prototype to avoid an error.
13704 Use char because int might match the return type of a GCC
13705 builtin and then its argument prototype would still apply. */
13706 #ifdef __cplusplus
13707 extern "C"
13708 #endif
13709 char alGetSource3i ();
13711 main ()
13713 return alGetSource3i ();
13715 return 0;
13717 _ACEOF
13718 if ac_fn_c_try_link "$LINENO"; then :
13719 case "$LIBEXT" in
13720 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13721 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'` ;;
13722 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13723 if ${ac_cv_lib_soname_openal:+false} :; then :
13724 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13725 fi ;;
13726 esac
13728 rm -f core conftest.err conftest.$ac_objext \
13729 conftest$ac_exeext conftest.$ac_ext
13730 LIBS=$ac_check_soname_save_LIBS
13732 if ${ac_cv_lib_soname_openal:+false} :; then :
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13734 $as_echo "not found" >&6; }
13736 else
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13738 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13740 cat >>confdefs.h <<_ACEOF
13741 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13742 _ACEOF
13744 OPENAL_LIBS="-lopenal"
13746 ac_cv_lib_openal=yes
13748 cat >>confdefs.h <<_ACEOF
13749 #define HAVE_OPENAL 1
13750 _ACEOF
13754 if test "x$ac_cv_lib_openal" != xyes; then :
13755 case "x$with_openal" in
13756 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13757 xno) ;;
13758 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13759 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13760 esac
13761 enable_openal32=${enable_openal32:-no}
13764 if test "x$ac_cv_lib_openal" = xyes
13765 then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13767 $as_echo_n "checking for openal-soft... " >&6; }
13768 if ${ac_cv_have_openalsoft+:} false; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 #include <AL/al.h>
13774 #include <AL/alc.h>
13775 #include <AL/alext.h>
13776 LPALCRENDERSAMPLESSOFT x;
13778 main ()
13782 return 0;
13784 _ACEOF
13785 if ac_fn_c_try_compile "$LINENO"; then :
13786 ac_cv_have_openalsoft=yes
13787 else
13788 ac_cv_have_openalsoft=no
13790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13793 $as_echo "$ac_cv_have_openalsoft" >&6; }
13795 if test "x$ac_cv_have_openalsoft" != xyes
13796 then
13797 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13798 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13799 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13800 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13801 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13802 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13803 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13804 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13805 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13806 enable_xapofx1_1=${enable_xapofx1_1:-no}
13807 enable_xapofx1_2=${enable_xapofx1_2:-no}
13808 enable_xapofx1_3=${enable_xapofx1_3:-no}
13809 enable_xapofx1_4=${enable_xapofx1_4:-no}
13810 enable_xapofx1_5=${enable_xapofx1_5:-no}
13811 enable_xaudio2_0=${enable_xaudio2_0:-no}
13812 enable_xaudio2_1=${enable_xaudio2_1:-no}
13813 enable_xaudio2_2=${enable_xaudio2_2:-no}
13814 enable_xaudio2_3=${enable_xaudio2_3:-no}
13815 enable_xaudio2_4=${enable_xaudio2_4:-no}
13816 enable_xaudio2_5=${enable_xaudio2_5:-no}
13817 enable_xaudio2_6=${enable_xaudio2_6:-no}
13818 enable_xaudio2_7=${enable_xaudio2_7:-no}
13819 enable_xaudio2_8=${enable_xaudio2_8:-no}
13820 enable_xaudio2_9=${enable_xaudio2_9:-no}
13823 if test "$ac_cv_header_kstat_h" = "yes"
13824 then
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13826 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13827 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 ac_check_lib_save_LIBS=$LIBS
13831 LIBS="-lkstat $LIBS"
13832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13835 /* Override any GCC internal prototype to avoid an error.
13836 Use char because int might match the return type of a GCC
13837 builtin and then its argument prototype would still apply. */
13838 #ifdef __cplusplus
13839 extern "C"
13840 #endif
13841 char kstat_open ();
13843 main ()
13845 return kstat_open ();
13847 return 0;
13849 _ACEOF
13850 if ac_fn_c_try_link "$LINENO"; then :
13851 ac_cv_lib_kstat_kstat_open=yes
13852 else
13853 ac_cv_lib_kstat_kstat_open=no
13855 rm -f core conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13857 LIBS=$ac_check_lib_save_LIBS
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13860 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13861 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13863 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13865 KSTAT_LIBS="-lkstat"
13871 if test "$ac_cv_header_libprocstat_h" = "yes"
13872 then
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13874 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13875 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 ac_check_lib_save_LIBS=$LIBS
13879 LIBS="-lprocstat $LIBS"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13883 /* Override any GCC internal prototype to avoid an error.
13884 Use char because int might match the return type of a GCC
13885 builtin and then its argument prototype would still apply. */
13886 #ifdef __cplusplus
13887 extern "C"
13888 #endif
13889 char procstat_open_sysctl ();
13891 main ()
13893 return procstat_open_sysctl ();
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"; then :
13899 ac_cv_lib_procstat_procstat_open_sysctl=yes
13900 else
13901 ac_cv_lib_procstat_procstat_open_sysctl=no
13903 rm -f core conftest.err conftest.$ac_objext \
13904 conftest$ac_exeext conftest.$ac_ext
13905 LIBS=$ac_check_lib_save_LIBS
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13908 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13909 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13911 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13913 PROCSTAT_LIBS="-lprocstat"
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13920 $as_echo_n "checking for -lodbc... " >&6; }
13921 if ${ac_cv_lib_soname_odbc+:} false; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 ac_check_soname_save_LIBS=$LIBS
13925 LIBS="-lodbc $LIBS"
13926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13929 /* Override any GCC internal prototype to avoid an error.
13930 Use char because int might match the return type of a GCC
13931 builtin and then its argument prototype would still apply. */
13932 #ifdef __cplusplus
13933 extern "C"
13934 #endif
13935 char SQLConnect ();
13937 main ()
13939 return SQLConnect ();
13941 return 0;
13943 _ACEOF
13944 if ac_fn_c_try_link "$LINENO"; then :
13945 case "$LIBEXT" in
13946 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13947 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'` ;;
13948 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13949 if ${ac_cv_lib_soname_odbc:+false} :; then :
13950 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13951 fi ;;
13952 esac
13954 rm -f core conftest.err conftest.$ac_objext \
13955 conftest$ac_exeext conftest.$ac_ext
13956 LIBS=$ac_check_soname_save_LIBS
13958 if ${ac_cv_lib_soname_odbc:+false} :; then :
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13960 $as_echo "not found" >&6; }
13961 cat >>confdefs.h <<_ACEOF
13962 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13963 _ACEOF
13965 else
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13967 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13969 cat >>confdefs.h <<_ACEOF
13970 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13971 _ACEOF
13976 if test "x$with_netapi" != "xno"
13977 then
13978 if ${NETAPI_CFLAGS:+false} :; then :
13979 if ${PKG_CONFIG+:} false; then :
13980 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13984 if ${NETAPI_LIBS:+false} :; then :
13985 if ${PKG_CONFIG+:} false; then :
13986 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13991 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13992 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13993 ac_save_CPPFLAGS=$CPPFLAGS
13994 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13996 $as_echo_n "checking for -lnetapi... " >&6; }
13997 if ${ac_cv_lib_soname_netapi+:} false; then :
13998 $as_echo_n "(cached) " >&6
13999 else
14000 ac_check_soname_save_LIBS=$LIBS
14001 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14005 /* Override any GCC internal prototype to avoid an error.
14006 Use char because int might match the return type of a GCC
14007 builtin and then its argument prototype would still apply. */
14008 #ifdef __cplusplus
14009 extern "C"
14010 #endif
14011 char libnetapi_init ();
14013 main ()
14015 return libnetapi_init ();
14017 return 0;
14019 _ACEOF
14020 if ac_fn_c_try_link "$LINENO"; then :
14021 case "$LIBEXT" in
14022 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14023 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'` ;;
14024 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14025 if ${ac_cv_lib_soname_netapi:+false} :; then :
14026 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14027 fi ;;
14028 esac
14030 rm -f core conftest.err conftest.$ac_objext \
14031 conftest$ac_exeext conftest.$ac_ext
14032 LIBS=$ac_check_soname_save_LIBS
14034 if ${ac_cv_lib_soname_netapi:+false} :; then :
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14036 $as_echo "not found" >&6; }
14037 cat >>confdefs.h <<_ACEOF
14038 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14039 _ACEOF
14041 else
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14043 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14045 cat >>confdefs.h <<_ACEOF
14046 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14047 _ACEOF
14051 CPPFLAGS=$ac_save_CPPFLAGS
14052 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14053 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14057 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14058 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14059 then
14060 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14064 EXTRACFLAGS=""
14066 if test "x${GCC}" = "xyes"
14067 then
14068 EXTRACFLAGS="-Wall -pipe"
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14071 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14072 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 if test "$cross_compiling" = yes; then :
14076 ac_cv_c_gcc_strength_bug="no"
14077 else
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14080 int L[4] = {0,1,2,3};
14082 main ()
14084 static int Array[3];
14085 unsigned int B = 3;
14086 int i;
14087 for(i=0; i<B; i++) Array[i] = i - 3;
14088 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14089 L[i] = 4;
14090 return (Array[1] != -2 || L[2] != 3)
14092 return 0;
14094 _ACEOF
14095 if ac_fn_c_try_run "$LINENO"; then :
14096 ac_cv_c_gcc_strength_bug="no"
14097 else
14098 ac_cv_c_gcc_strength_bug="yes"
14100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14101 conftest.$ac_objext conftest.beam conftest.$ac_ext
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14106 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14107 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14108 then
14109 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14113 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14114 if ${ac_cv_cflags__fno_builtin+:} false; then :
14115 $as_echo_n "(cached) " >&6
14116 else
14117 ac_wine_try_cflags_saved=$CFLAGS
14118 CFLAGS="$CFLAGS -fno-builtin"
14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14121 int main(int argc, char **argv) { return 0; }
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"; then :
14124 ac_cv_cflags__fno_builtin=yes
14125 else
14126 ac_cv_cflags__fno_builtin=no
14128 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14130 CFLAGS=$ac_wine_try_cflags_saved
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14133 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14134 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14135 BUILTINFLAG="-fno-builtin"
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14139 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14140 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14141 $as_echo_n "(cached) " >&6
14142 else
14143 ac_wine_try_cflags_saved=$CFLAGS
14144 CFLAGS="$CFLAGS -fno-strict-aliasing"
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14147 int main(int argc, char **argv) { return 0; }
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_cflags__fno_strict_aliasing=yes
14151 else
14152 ac_cv_cflags__fno_strict_aliasing=no
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 CFLAGS=$ac_wine_try_cflags_saved
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14159 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14160 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14161 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14164 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14165 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14166 $as_echo_n "(cached) " >&6
14167 else
14168 ac_wine_try_cflags_saved=$CFLAGS
14169 CFLAGS="$CFLAGS -fexcess-precision=standard"
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14172 int main(int argc, char **argv) { return 0; }
14173 _ACEOF
14174 if ac_fn_c_try_link "$LINENO"; then :
14175 ac_cv_cflags__fexcess_precision_standard=yes
14176 else
14177 ac_cv_cflags__fexcess_precision_standard=no
14179 rm -f core conftest.err conftest.$ac_objext \
14180 conftest$ac_exeext conftest.$ac_ext
14181 CFLAGS=$ac_wine_try_cflags_saved
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14184 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14185 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14186 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14189 saved_CFLAGS=$CFLAGS
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14191 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14192 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14193 $as_echo_n "(cached) " >&6
14194 else
14195 ac_wine_try_cflags_saved=$CFLAGS
14196 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 int main(int argc, char **argv) { return 0; }
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"; then :
14202 ac_cv_cflags__Werror_unknown_warning_option=yes
14203 else
14204 ac_cv_cflags__Werror_unknown_warning_option=no
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 CFLAGS=$ac_wine_try_cflags_saved
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14211 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14212 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14213 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14216 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14217 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14218 $as_echo_n "(cached) " >&6
14219 else
14220 ac_wine_try_cflags_saved=$CFLAGS
14221 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 int main(int argc, char **argv) { return 0; }
14225 _ACEOF
14226 if ac_fn_c_try_link "$LINENO"; then :
14227 ac_cv_cflags__Wdeclaration_after_statement=yes
14228 else
14229 ac_cv_cflags__Wdeclaration_after_statement=no
14231 rm -f core conftest.err conftest.$ac_objext \
14232 conftest$ac_exeext conftest.$ac_ext
14233 CFLAGS=$ac_wine_try_cflags_saved
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14236 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14237 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14238 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14241 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14242 if ${ac_cv_cflags__Wempty_body+:} false; then :
14243 $as_echo_n "(cached) " >&6
14244 else
14245 ac_wine_try_cflags_saved=$CFLAGS
14246 CFLAGS="$CFLAGS -Wempty-body"
14247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14249 int main(int argc, char **argv) { return 0; }
14250 _ACEOF
14251 if ac_fn_c_try_link "$LINENO"; then :
14252 ac_cv_cflags__Wempty_body=yes
14253 else
14254 ac_cv_cflags__Wempty_body=no
14256 rm -f core conftest.err conftest.$ac_objext \
14257 conftest$ac_exeext conftest.$ac_ext
14258 CFLAGS=$ac_wine_try_cflags_saved
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14261 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14262 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14263 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14266 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14267 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 ac_wine_try_cflags_saved=$CFLAGS
14271 CFLAGS="$CFLAGS -Wignored-qualifiers"
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14274 int main(int argc, char **argv) { return 0; }
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 ac_cv_cflags__Wignored_qualifiers=yes
14278 else
14279 ac_cv_cflags__Wignored_qualifiers=no
14281 rm -f core conftest.err conftest.$ac_objext \
14282 conftest$ac_exeext conftest.$ac_ext
14283 CFLAGS=$ac_wine_try_cflags_saved
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14286 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14287 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14288 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14291 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14292 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14293 $as_echo_n "(cached) " >&6
14294 else
14295 ac_wine_try_cflags_saved=$CFLAGS
14296 CFLAGS="$CFLAGS -Wshift-overflow=2"
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14299 int main(int argc, char **argv) { return 0; }
14300 _ACEOF
14301 if ac_fn_c_try_link "$LINENO"; then :
14302 ac_cv_cflags__Wshift_overflow_2=yes
14303 else
14304 ac_cv_cflags__Wshift_overflow_2=no
14306 rm -f core conftest.err conftest.$ac_objext \
14307 conftest$ac_exeext conftest.$ac_ext
14308 CFLAGS=$ac_wine_try_cflags_saved
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14311 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14312 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14313 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14316 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14317 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14318 $as_echo_n "(cached) " >&6
14319 else
14320 ac_wine_try_cflags_saved=$CFLAGS
14321 CFLAGS="$CFLAGS -Wstrict-prototypes"
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14324 int main(int argc, char **argv) { return 0; }
14325 _ACEOF
14326 if ac_fn_c_try_link "$LINENO"; then :
14327 ac_cv_cflags__Wstrict_prototypes=yes
14328 else
14329 ac_cv_cflags__Wstrict_prototypes=no
14331 rm -f core conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14333 CFLAGS=$ac_wine_try_cflags_saved
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14336 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14337 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14338 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14341 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14342 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14343 $as_echo_n "(cached) " >&6
14344 else
14345 ac_wine_try_cflags_saved=$CFLAGS
14346 CFLAGS="$CFLAGS -Wtype-limits"
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14349 int main(int argc, char **argv) { return 0; }
14350 _ACEOF
14351 if ac_fn_c_try_link "$LINENO"; then :
14352 ac_cv_cflags__Wtype_limits=yes
14353 else
14354 ac_cv_cflags__Wtype_limits=no
14356 rm -f core conftest.err conftest.$ac_objext \
14357 conftest$ac_exeext conftest.$ac_ext
14358 CFLAGS=$ac_wine_try_cflags_saved
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14361 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14362 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14363 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14366 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14367 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14368 $as_echo_n "(cached) " >&6
14369 else
14370 ac_wine_try_cflags_saved=$CFLAGS
14371 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14374 int main(int argc, char **argv) { return 0; }
14375 _ACEOF
14376 if ac_fn_c_try_link "$LINENO"; then :
14377 ac_cv_cflags__Wunused_but_set_parameter=yes
14378 else
14379 ac_cv_cflags__Wunused_but_set_parameter=no
14381 rm -f core conftest.err conftest.$ac_objext \
14382 conftest$ac_exeext conftest.$ac_ext
14383 CFLAGS=$ac_wine_try_cflags_saved
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14386 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14387 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14388 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14391 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14392 if ${ac_cv_cflags__Wvla+:} false; then :
14393 $as_echo_n "(cached) " >&6
14394 else
14395 ac_wine_try_cflags_saved=$CFLAGS
14396 CFLAGS="$CFLAGS -Wvla"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14399 int main(int argc, char **argv) { return 0; }
14400 _ACEOF
14401 if ac_fn_c_try_link "$LINENO"; then :
14402 ac_cv_cflags__Wvla=yes
14403 else
14404 ac_cv_cflags__Wvla=no
14406 rm -f core conftest.err conftest.$ac_objext \
14407 conftest$ac_exeext conftest.$ac_ext
14408 CFLAGS=$ac_wine_try_cflags_saved
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14411 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14412 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14413 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14416 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14417 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 ac_wine_try_cflags_saved=$CFLAGS
14421 CFLAGS="$CFLAGS -Wwrite-strings"
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14424 int main(int argc, char **argv) { return 0; }
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"; then :
14427 ac_cv_cflags__Wwrite_strings=yes
14428 else
14429 ac_cv_cflags__Wwrite_strings=no
14431 rm -f core conftest.err conftest.$ac_objext \
14432 conftest$ac_exeext conftest.$ac_ext
14433 CFLAGS=$ac_wine_try_cflags_saved
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14436 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14437 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14438 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14442 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14443 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 ac_wine_try_cflags_saved=$CFLAGS
14447 CFLAGS="$CFLAGS -Wpointer-arith"
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 int main(int argc, char **argv) { return 0; }
14451 _ACEOF
14452 if ac_fn_c_try_link "$LINENO"; then :
14453 ac_cv_cflags__Wpointer_arith=yes
14454 else
14455 ac_cv_cflags__Wpointer_arith=no
14457 rm -f core conftest.err conftest.$ac_objext \
14458 conftest$ac_exeext conftest.$ac_ext
14459 CFLAGS=$ac_wine_try_cflags_saved
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14462 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14463 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14464 saved_string_h_CFLAGS=$CFLAGS
14465 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14467 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14468 if ${ac_cv_c_string_h_warnings+:} false; then :
14469 $as_echo_n "(cached) " >&6
14470 else
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14473 #include <string.h>
14475 main ()
14479 return 0;
14481 _ACEOF
14482 if ac_fn_c_try_compile "$LINENO"; then :
14483 ac_cv_c_string_h_warnings=no
14484 else
14485 ac_cv_c_string_h_warnings=yes
14487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14490 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14491 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14492 CFLAGS=$saved_string_h_CFLAGS
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14496 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14497 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14498 $as_echo_n "(cached) " >&6
14499 else
14500 ac_wine_try_cflags_saved=$CFLAGS
14501 CFLAGS="$CFLAGS -Wlogical-op"
14502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14503 /* end confdefs.h. */
14504 int main(int argc, char **argv) { return 0; }
14505 _ACEOF
14506 if ac_fn_c_try_link "$LINENO"; then :
14507 ac_cv_cflags__Wlogical_op=yes
14508 else
14509 ac_cv_cflags__Wlogical_op=no
14511 rm -f core conftest.err conftest.$ac_objext \
14512 conftest$ac_exeext conftest.$ac_ext
14513 CFLAGS=$ac_wine_try_cflags_saved
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14516 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14517 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14518 saved_string_h_CFLAGS=$CFLAGS
14519 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14521 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14522 if ${ac_cv_c_logicalop_noisy+:} false; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14527 #include <string.h>
14528 char*f(const char *h,char n) {return strchr(h,n);}
14530 main ()
14534 return 0;
14536 _ACEOF
14537 if ac_fn_c_try_compile "$LINENO"; then :
14538 ac_cv_c_logicalop_noisy=no
14539 else
14540 ac_cv_c_logicalop_noisy=yes
14542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14545 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14546 CFLAGS=$saved_string_h_CFLAGS
14547 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14550 CFLAGS=$saved_CFLAGS
14552 for ac_flag in $CFLAGS; do
14553 case $ac_flag in
14554 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14555 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14556 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14557 $as_echo_n "(cached) " >&6
14558 else
14559 ac_wine_try_cflags_saved=$CFLAGS
14560 CFLAGS="$CFLAGS -gdwarf-2"
14561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14563 int main(int argc, char **argv) { return 0; }
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"; then :
14566 ac_cv_cflags__gdwarf_2=yes
14567 else
14568 ac_cv_cflags__gdwarf_2=no
14570 rm -f core conftest.err conftest.$ac_objext \
14571 conftest$ac_exeext conftest.$ac_ext
14572 CFLAGS=$ac_wine_try_cflags_saved
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14575 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14576 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14577 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14580 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14581 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14582 $as_echo_n "(cached) " >&6
14583 else
14584 ac_wine_try_cflags_saved=$CFLAGS
14585 CFLAGS="$CFLAGS -gstrict-dwarf"
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 int main(int argc, char **argv) { return 0; }
14589 _ACEOF
14590 if ac_fn_c_try_link "$LINENO"; then :
14591 ac_cv_cflags__gstrict_dwarf=yes
14592 else
14593 ac_cv_cflags__gstrict_dwarf=no
14595 rm -f core conftest.err conftest.$ac_objext \
14596 conftest$ac_exeext conftest.$ac_ext
14597 CFLAGS=$ac_wine_try_cflags_saved
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14600 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14601 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14602 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14603 fi ;;
14604 esac
14605 done
14607 case $host_cpu in
14608 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14609 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14610 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14611 $as_echo_n "(cached) " >&6
14612 else
14613 ac_wine_try_cflags_saved=$CFLAGS
14614 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 int main(int argc, char **argv) { return 0; }
14618 _ACEOF
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_cflags__fno_omit_frame_pointer=yes
14621 else
14622 ac_cv_cflags__fno_omit_frame_pointer=no
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 CFLAGS=$ac_wine_try_cflags_saved
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14629 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14630 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14631 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14632 fi ;;
14633 esac
14635 case $host in
14636 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14637 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14638 if ${ac_cv_cflags__Wno_format+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_wine_try_cflags_saved=$CFLAGS
14642 CFLAGS="$CFLAGS -Wno-format"
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 int main(int argc, char **argv) { return 0; }
14646 _ACEOF
14647 if ac_fn_c_try_link "$LINENO"; then :
14648 ac_cv_cflags__Wno_format=yes
14649 else
14650 ac_cv_cflags__Wno_format=no
14652 rm -f core conftest.err conftest.$ac_objext \
14653 conftest$ac_exeext conftest.$ac_ext
14654 CFLAGS=$ac_wine_try_cflags_saved
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14657 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14658 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14659 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14660 fi ;;
14661 esac
14663 if test "x$enable_maintainer_mode" = "xyes"
14664 then
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14666 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14667 if ${ac_cv_cflags__Werror+:} false; then :
14668 $as_echo_n "(cached) " >&6
14669 else
14670 ac_wine_try_cflags_saved=$CFLAGS
14671 CFLAGS="$CFLAGS -Werror"
14672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14674 int main(int argc, char **argv) { return 0; }
14675 _ACEOF
14676 if ac_fn_c_try_link "$LINENO"; then :
14677 ac_cv_cflags__Werror=yes
14678 else
14679 ac_cv_cflags__Werror=no
14681 rm -f core conftest.err conftest.$ac_objext \
14682 conftest$ac_exeext conftest.$ac_ext
14683 CFLAGS=$ac_wine_try_cflags_saved
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14686 $as_echo "$ac_cv_cflags__Werror" >&6; }
14687 if test "x$ac_cv_cflags__Werror" = xyes; then :
14688 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14692 saved_CFLAGS="$CFLAGS"
14693 CFLAGS="$CFLAGS -Werror"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14695 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14696 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14703 main ()
14707 return 0;
14709 _ACEOF
14710 if ac_fn_c_try_compile "$LINENO"; then :
14711 ac_cv_have_ms_hook_prologue="yes"
14712 else
14713 ac_cv_have_ms_hook_prologue="no"
14715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14718 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14719 CFLAGS="$saved_CFLAGS"
14720 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14721 then
14723 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14725 else
14726 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14733 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14734 if ${ac_cv_c_fortify_enabled+:} false; then :
14735 $as_echo_n "(cached) " >&6
14736 else
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14739 #include <string.h>
14741 main ()
14743 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14744 #error Fortify enabled
14745 #endif
14747 return 0;
14749 _ACEOF
14750 if ac_fn_c_try_compile "$LINENO"; then :
14751 ac_cv_c_fortify_enabled=no
14752 else
14753 ac_cv_c_fortify_enabled=yes
14755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14758 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14759 if test "$ac_cv_c_fortify_enabled" = yes
14760 then
14761 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14766 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14767 if ${ac_cv_c_extern_prefix+:} false; then :
14768 $as_echo_n "(cached) " >&6
14769 else
14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14772 extern int ac_test;
14774 main ()
14776 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14778 return 0;
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_c_extern_prefix="yes"
14783 else
14784 ac_cv_c_extern_prefix="no"
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14790 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14792 case $host_cpu in
14793 *i[3456789]86*)
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14795 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14796 if ${ac_cv_c_stdcall_suffix+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 #ifndef _MSC_VER
14802 #define __stdcall __attribute__((__stdcall__))
14803 #endif
14804 int __stdcall ac_test(int i) { return i; }
14806 main ()
14808 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14810 return 0;
14812 _ACEOF
14813 if ac_fn_c_try_link "$LINENO"; then :
14814 ac_cv_c_stdcall_suffix="yes"
14815 else
14816 ac_cv_c_stdcall_suffix="no"
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14822 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14823 *) ac_cv_c_stdcall_suffix="no" ;;
14824 esac
14827 if test "$ac_cv_c_extern_prefix" = "yes"
14828 then
14829 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14831 asm_name_prefix="_"
14832 else
14833 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14835 asm_name_prefix=""
14839 if test "$ac_cv_c_stdcall_suffix" = "yes"
14840 then
14841 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14843 else
14844 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14850 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14851 if ${ac_cv_asm_func_def+:} false; then :
14852 $as_echo_n "(cached) " >&6
14853 else
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14858 main ()
14860 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 ac_cv_asm_func_def=".def"
14867 else
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14872 main ()
14874 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14876 return 0;
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 ac_cv_asm_func_def=".type @function"
14881 else
14882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14886 main ()
14888 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14890 return 0;
14892 _ACEOF
14893 if ac_fn_c_try_link "$LINENO"; then :
14894 ac_cv_asm_func_def=".type 2"
14895 else
14896 ac_cv_asm_func_def="unknown"
14898 rm -f core conftest.err conftest.$ac_objext \
14899 conftest$ac_exeext conftest.$ac_ext
14901 rm -f core conftest.err conftest.$ac_objext \
14902 conftest$ac_exeext conftest.$ac_ext
14904 rm -f core conftest.err conftest.$ac_objext \
14905 conftest$ac_exeext conftest.$ac_ext
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14908 $as_echo "$ac_cv_asm_func_def" >&6; }
14911 case "$ac_cv_asm_func_def" in
14912 ".def")
14913 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14915 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14916 ".type @function")
14917 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14919 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14920 ".type 2")
14921 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14923 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14925 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14927 asm_func_header="" ;;
14928 esac
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14931 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14932 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14933 $as_echo_n "(cached) " >&6
14934 else
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14937 asm(".text\n\t.long 0");
14939 main ()
14943 return 0;
14945 _ACEOF
14946 if ac_fn_c_try_compile "$LINENO"; then :
14947 ac_cv_c_asm_outside_funcs="yes"
14948 else
14949 ac_cv_c_asm_outside_funcs="no"
14951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14954 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14957 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14958 if ${ac_cv_c_dot_previous+:} false; then :
14959 $as_echo_n "(cached) " >&6
14960 else
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14965 main ()
14967 asm(".text\nac_test:\t.long 0\n\t.previous");
14969 return 0;
14971 _ACEOF
14972 if ac_fn_c_try_link "$LINENO"; then :
14973 ac_cv_c_dot_previous="yes"
14974 else
14975 ac_cv_c_dot_previous="no"
14977 rm -f core conftest.err conftest.$ac_objext \
14978 conftest$ac_exeext conftest.$ac_ext
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14981 $as_echo "$ac_cv_c_dot_previous" >&6; }
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14984 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14985 if ${ac_cv_c_cfi_support+:} false; then :
14986 $as_echo_n "(cached) " >&6
14987 else
14988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h. */
14990 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14992 main ()
14996 return 0;
14998 _ACEOF
14999 if ac_fn_c_try_compile "$LINENO"; then :
15000 ac_cv_c_cfi_support="yes"
15001 else
15002 ac_cv_c_cfi_support="no"
15004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15007 $as_echo "$ac_cv_c_cfi_support" >&6; }
15009 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15010 asm_func_trailer=""
15011 if test "$ac_cv_c_dot_previous" = "yes"
15012 then
15013 asm_func_trailer="\\n\\t.previous"
15015 if test "$ac_cv_c_cfi_support" = "yes"
15016 then
15017 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15018 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15020 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15022 UNWINDFLAGS=-fasynchronous-unwind-tables
15024 else
15025 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15027 if test "x$enable_win64" = "xyes"
15028 then
15029 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15033 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15036 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15037 then
15038 cat >>confdefs.h <<_ACEOF
15039 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15040 _ACEOF
15042 else
15043 cat >>confdefs.h <<_ACEOF
15044 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15045 _ACEOF
15049 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15052 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15056 case $build_os in
15057 cygwin*|mingw32*) TOOLSEXT=".exe"
15059 esac
15061 case $host_os in
15062 linux-android*) ;;
15063 linux*)
15064 case $host_cpu in
15065 *i[3456789]86*|x86_64*)
15066 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15067 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15069 esac
15071 esac
15074 ac_save_CFLAGS="$CFLAGS"
15075 CFLAGS="$CFLAGS $BUILTINFLAG"
15076 for ac_func in \
15077 __res_get_state \
15078 __res_getservers \
15079 _finite \
15080 _isnan \
15081 _pclose \
15082 _popen \
15083 _snprintf \
15084 _spawnvp \
15085 _strdup \
15086 _stricmp \
15087 _strnicmp \
15088 _strtoi64 \
15089 _strtoui64 \
15090 _vsnprintf \
15091 asctime_r \
15092 chsize \
15093 dlopen \
15094 epoll_create \
15095 ffs \
15096 finitef \
15097 fnmatch \
15098 fork \
15099 fpclass \
15100 fstatfs \
15101 fstatvfs \
15102 ftruncate \
15103 futimens \
15104 futimes \
15105 futimesat \
15106 getattrlist \
15107 getopt_long_only \
15108 getpwuid \
15109 gettimeofday \
15110 getuid \
15111 if_nameindex \
15112 isnanf \
15113 kqueue \
15114 lstat \
15115 memmove \
15116 mmap \
15117 pclose \
15118 pipe2 \
15119 poll \
15120 popen \
15121 port_create \
15122 prctl \
15123 pread \
15124 proc_pidinfo \
15125 pwrite \
15126 readdir \
15127 readlink \
15128 sched_yield \
15129 select \
15130 setproctitle \
15131 setprogname \
15132 setrlimit \
15133 settimeofday \
15134 sigaltstack \
15135 sigprocmask \
15136 snprintf \
15137 statfs \
15138 statvfs \
15139 strcasecmp \
15140 strdup \
15141 strerror \
15142 strncasecmp \
15143 strtold \
15144 strtoll \
15145 strtoull \
15146 symlink \
15147 sysinfo \
15148 tcdrain \
15149 thr_kill2 \
15150 timegm \
15151 usleep \
15152 vsnprintf
15154 do :
15155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15157 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15158 cat >>confdefs.h <<_ACEOF
15159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15160 _ACEOF
15163 done
15165 CFLAGS="$ac_save_CFLAGS"
15167 if test "$ac_cv_func_dlopen" = no
15168 then
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15170 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15171 if ${ac_cv_lib_dl_dlopen+:} false; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15174 ac_check_lib_save_LIBS=$LIBS
15175 LIBS="-ldl $LIBS"
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15179 /* Override any GCC internal prototype to avoid an error.
15180 Use char because int might match the return type of a GCC
15181 builtin and then its argument prototype would still apply. */
15182 #ifdef __cplusplus
15183 extern "C"
15184 #endif
15185 char dlopen ();
15187 main ()
15189 return dlopen ();
15191 return 0;
15193 _ACEOF
15194 if ac_fn_c_try_link "$LINENO"; then :
15195 ac_cv_lib_dl_dlopen=yes
15196 else
15197 ac_cv_lib_dl_dlopen=no
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15201 LIBS=$ac_check_lib_save_LIBS
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15204 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15205 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15206 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15207 DL_LIBS="-ldl"
15212 ac_wine_check_funcs_save_LIBS="$LIBS"
15213 LIBS="$LIBS $DL_LIBS"
15214 for ac_func in dladdr
15215 do :
15216 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15217 if test "x$ac_cv_func_dladdr" = xyes; then :
15218 cat >>confdefs.h <<_ACEOF
15219 #define HAVE_DLADDR 1
15220 _ACEOF
15223 done
15225 LIBS="$ac_wine_check_funcs_save_LIBS"
15227 if test "$ac_cv_func_poll" = no
15228 then
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15230 $as_echo_n "checking for poll in -lpoll... " >&6; }
15231 if ${ac_cv_lib_poll_poll+:} false; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15234 ac_check_lib_save_LIBS=$LIBS
15235 LIBS="-lpoll $LIBS"
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15239 /* Override any GCC internal prototype to avoid an error.
15240 Use char because int might match the return type of a GCC
15241 builtin and then its argument prototype would still apply. */
15242 #ifdef __cplusplus
15243 extern "C"
15244 #endif
15245 char poll ();
15247 main ()
15249 return poll ();
15251 return 0;
15253 _ACEOF
15254 if ac_fn_c_try_link "$LINENO"; then :
15255 ac_cv_lib_poll_poll=yes
15256 else
15257 ac_cv_lib_poll_poll=no
15259 rm -f core conftest.err conftest.$ac_objext \
15260 conftest$ac_exeext conftest.$ac_ext
15261 LIBS=$ac_check_lib_save_LIBS
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15264 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15265 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15266 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15267 POLL_LIBS="-lpoll"
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15274 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15275 if ${ac_cv_search_gethostbyname+:} 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 gethostbyname ();
15290 main ()
15292 return gethostbyname ();
15294 return 0;
15296 _ACEOF
15297 for ac_lib in '' nsl; 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_gethostbyname=$ac_res
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext
15309 if ${ac_cv_search_gethostbyname+:} false; then :
15310 break
15312 done
15313 if ${ac_cv_search_gethostbyname+:} false; then :
15315 else
15316 ac_cv_search_gethostbyname=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_gethostbyname" >&5
15322 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15323 ac_res=$ac_cv_search_gethostbyname
15324 if test "$ac_res" != no; then :
15325 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15331 $as_echo_n "checking for library containing connect... " >&6; }
15332 if ${ac_cv_search_connect+:} false; then :
15333 $as_echo_n "(cached) " >&6
15334 else
15335 ac_func_search_save_LIBS=$LIBS
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15339 /* Override any GCC internal prototype to avoid an error.
15340 Use char because int might match the return type of a GCC
15341 builtin and then its argument prototype would still apply. */
15342 #ifdef __cplusplus
15343 extern "C"
15344 #endif
15345 char connect ();
15347 main ()
15349 return connect ();
15351 return 0;
15353 _ACEOF
15354 for ac_lib in '' socket; do
15355 if test -z "$ac_lib"; then
15356 ac_res="none required"
15357 else
15358 ac_res=-l$ac_lib
15359 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15361 if ac_fn_c_try_link "$LINENO"; then :
15362 ac_cv_search_connect=$ac_res
15364 rm -f core conftest.err conftest.$ac_objext \
15365 conftest$ac_exeext
15366 if ${ac_cv_search_connect+:} false; then :
15367 break
15369 done
15370 if ${ac_cv_search_connect+:} false; then :
15372 else
15373 ac_cv_search_connect=no
15375 rm conftest.$ac_ext
15376 LIBS=$ac_func_search_save_LIBS
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15379 $as_echo "$ac_cv_search_connect" >&6; }
15380 ac_res=$ac_cv_search_connect
15381 if test "$ac_res" != no; then :
15382 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15388 $as_echo_n "checking for library containing inet_aton... " >&6; }
15389 if ${ac_cv_search_inet_aton+:} false; then :
15390 $as_echo_n "(cached) " >&6
15391 else
15392 ac_func_search_save_LIBS=$LIBS
15393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15394 /* end confdefs.h. */
15396 /* Override any GCC internal prototype to avoid an error.
15397 Use char because int might match the return type of a GCC
15398 builtin and then its argument prototype would still apply. */
15399 #ifdef __cplusplus
15400 extern "C"
15401 #endif
15402 char inet_aton ();
15404 main ()
15406 return inet_aton ();
15408 return 0;
15410 _ACEOF
15411 for ac_lib in '' resolv; do
15412 if test -z "$ac_lib"; then
15413 ac_res="none required"
15414 else
15415 ac_res=-l$ac_lib
15416 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15418 if ac_fn_c_try_link "$LINENO"; then :
15419 ac_cv_search_inet_aton=$ac_res
15421 rm -f core conftest.err conftest.$ac_objext \
15422 conftest$ac_exeext
15423 if ${ac_cv_search_inet_aton+:} false; then :
15424 break
15426 done
15427 if ${ac_cv_search_inet_aton+:} false; then :
15429 else
15430 ac_cv_search_inet_aton=no
15432 rm conftest.$ac_ext
15433 LIBS=$ac_func_search_save_LIBS
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15436 $as_echo "$ac_cv_search_inet_aton" >&6; }
15437 ac_res=$ac_cv_search_inet_aton
15438 if test "$ac_res" != no; then :
15439 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15444 for ac_func in \
15445 getaddrinfo \
15446 getnameinfo \
15447 getnetbyname \
15448 getprotobyname \
15449 getprotobynumber \
15450 getservbyport \
15451 inet_addr \
15452 inet_network \
15453 inet_ntop \
15454 inet_pton \
15455 sendmsg \
15456 socketpair \
15458 do :
15459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15462 cat >>confdefs.h <<_ACEOF
15463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15464 _ACEOF
15467 done
15470 ac_save_LIBS=$LIBS
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15472 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15473 if ${ac_cv_search_clock_gettime+:} false; then :
15474 $as_echo_n "(cached) " >&6
15475 else
15476 ac_func_search_save_LIBS=$LIBS
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15480 /* Override any GCC internal prototype to avoid an error.
15481 Use char because int might match the return type of a GCC
15482 builtin and then its argument prototype would still apply. */
15483 #ifdef __cplusplus
15484 extern "C"
15485 #endif
15486 char clock_gettime ();
15488 main ()
15490 return clock_gettime ();
15492 return 0;
15494 _ACEOF
15495 for ac_lib in '' rt; do
15496 if test -z "$ac_lib"; then
15497 ac_res="none required"
15498 else
15499 ac_res=-l$ac_lib
15500 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15502 if ac_fn_c_try_link "$LINENO"; then :
15503 ac_cv_search_clock_gettime=$ac_res
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext
15507 if ${ac_cv_search_clock_gettime+:} false; then :
15508 break
15510 done
15511 if ${ac_cv_search_clock_gettime+:} false; then :
15513 else
15514 ac_cv_search_clock_gettime=no
15516 rm conftest.$ac_ext
15517 LIBS=$ac_func_search_save_LIBS
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15520 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15521 ac_res=$ac_cv_search_clock_gettime
15522 if test "$ac_res" != no; then :
15523 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15525 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15527 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15531 LIBS=$ac_save_LIBS
15533 LDAP_LIBS=""
15535 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15536 then
15537 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15539 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15541 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15542 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15543 $as_echo_n "(cached) " >&6
15544 else
15545 ac_check_lib_save_LIBS=$LIBS
15546 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15550 /* Override any GCC internal prototype to avoid an error.
15551 Use char because int might match the return type of a GCC
15552 builtin and then its argument prototype would still apply. */
15553 #ifdef __cplusplus
15554 extern "C"
15555 #endif
15556 char ldap_initialize ();
15558 main ()
15560 return ldap_initialize ();
15562 return 0;
15564 _ACEOF
15565 if ac_fn_c_try_link "$LINENO"; then :
15566 ac_cv_lib_ldap_r_ldap_initialize=yes
15567 else
15568 ac_cv_lib_ldap_r_ldap_initialize=no
15570 rm -f core conftest.err conftest.$ac_objext \
15571 conftest$ac_exeext conftest.$ac_ext
15572 LIBS=$ac_check_lib_save_LIBS
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15575 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15576 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15578 $as_echo_n "checking for ber_init in -llber... " >&6; }
15579 if ${ac_cv_lib_lber_ber_init+:} false; then :
15580 $as_echo_n "(cached) " >&6
15581 else
15582 ac_check_lib_save_LIBS=$LIBS
15583 LIBS="-llber $PTHREAD_LIBS $LIBS"
15584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15585 /* end confdefs.h. */
15587 /* Override any GCC internal prototype to avoid an error.
15588 Use char because int might match the return type of a GCC
15589 builtin and then its argument prototype would still apply. */
15590 #ifdef __cplusplus
15591 extern "C"
15592 #endif
15593 char ber_init ();
15595 main ()
15597 return ber_init ();
15599 return 0;
15601 _ACEOF
15602 if ac_fn_c_try_link "$LINENO"; then :
15603 ac_cv_lib_lber_ber_init=yes
15604 else
15605 ac_cv_lib_lber_ber_init=no
15607 rm -f core conftest.err conftest.$ac_objext \
15608 conftest$ac_exeext conftest.$ac_ext
15609 LIBS=$ac_check_lib_save_LIBS
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15612 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15613 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15615 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15617 LDAP_LIBS="-lldap_r -llber"
15624 ac_wine_check_funcs_save_LIBS="$LIBS"
15625 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15626 for ac_func in \
15627 ldap_count_references \
15628 ldap_first_reference \
15629 ldap_next_reference \
15630 ldap_parse_reference \
15631 ldap_parse_sort_control \
15632 ldap_parse_sortresponse_control \
15633 ldap_parse_vlv_control \
15634 ldap_parse_vlvresponse_control
15635 do :
15636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15638 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15639 cat >>confdefs.h <<_ACEOF
15640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15641 _ACEOF
15644 done
15646 LIBS="$ac_wine_check_funcs_save_LIBS"
15648 if test "x$LDAP_LIBS" = "x"; then :
15649 case "x$with_ldap" in
15650 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15651 xno) ;;
15652 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15653 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15654 esac
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15659 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15660 if ${wine_cv_one_arg_mkdir+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15665 #include <sys/stat.h>
15667 main ()
15669 mkdir("foo");
15671 return 0;
15673 _ACEOF
15674 if ac_fn_c_try_compile "$LINENO"; then :
15675 wine_cv_one_arg_mkdir=yes
15676 else
15677 wine_cv_one_arg_mkdir=no
15679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15682 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15683 if test "$wine_cv_one_arg_mkdir" = "yes"
15684 then
15686 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15691 $as_echo_n "checking for sched_setaffinity... " >&6; }
15692 if ${wine_cv_have_sched_setaffinity+:} false; then :
15693 $as_echo_n "(cached) " >&6
15694 else
15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15697 #define _GNU_SOURCE
15698 #include <sched.h>
15700 main ()
15702 sched_setaffinity(0, 0, 0);
15704 return 0;
15706 _ACEOF
15707 if ac_fn_c_try_link "$LINENO"; then :
15708 wine_cv_have_sched_setaffinity=yes
15709 else
15710 wine_cv_have_sched_setaffinity=no
15712 rm -f core conftest.err conftest.$ac_objext \
15713 conftest$ac_exeext conftest.$ac_ext
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15716 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15717 if test "$wine_cv_have_sched_setaffinity" = "yes"
15718 then
15720 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15725 $as_echo_n "checking for fallocate... " >&6; }
15726 if ${wine_cv_have_fallocate+:} false; then :
15727 $as_echo_n "(cached) " >&6
15728 else
15729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15730 /* end confdefs.h. */
15731 #define _GNU_SOURCE
15732 #include <fcntl.h>
15734 main ()
15736 fallocate(-1, 0, 0, 0);
15738 return 0;
15740 _ACEOF
15741 if ac_fn_c_try_link "$LINENO"; then :
15742 wine_cv_have_fallocate=yes
15743 else
15744 wine_cv_have_fallocate=no
15746 rm -f core conftest.err conftest.$ac_objext \
15747 conftest$ac_exeext conftest.$ac_ext
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15750 $as_echo "$wine_cv_have_fallocate" >&6; }
15751 if test "$wine_cv_have_fallocate" = "yes"
15752 then
15754 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15760 $as_echo_n "checking for inline... " >&6; }
15761 if ${ac_cv_c_inline+:} false; then :
15762 $as_echo_n "(cached) " >&6
15763 else
15764 ac_cv_c_inline=no
15765 for ac_kw in inline __inline__ __inline; do
15766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15768 #ifndef __cplusplus
15769 typedef int foo_t;
15770 static $ac_kw foo_t static_foo () {return 0; }
15771 $ac_kw foo_t foo () {return 0; }
15772 #endif
15774 _ACEOF
15775 if ac_fn_c_try_compile "$LINENO"; then :
15776 ac_cv_c_inline=$ac_kw
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15779 test "$ac_cv_c_inline" != no && break
15780 done
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15784 $as_echo "$ac_cv_c_inline" >&6; }
15786 case $ac_cv_c_inline in
15787 inline | yes) ;;
15789 case $ac_cv_c_inline in
15790 no) ac_val=;;
15791 *) ac_val=$ac_cv_c_inline;;
15792 esac
15793 cat >>confdefs.h <<_ACEOF
15794 #ifndef __cplusplus
15795 #define inline $ac_val
15796 #endif
15797 _ACEOF
15799 esac
15801 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15802 if test "x$ac_cv_type_mode_t" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_MODE_T 1
15806 _ACEOF
15810 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15811 if test "x$ac_cv_type_off_t" = xyes; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define HAVE_OFF_T 1
15815 _ACEOF
15819 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15820 if test "x$ac_cv_type_pid_t" = xyes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define HAVE_PID_T 1
15824 _ACEOF
15828 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15829 if test "x$ac_cv_type_size_t" = xyes; then :
15831 cat >>confdefs.h <<_ACEOF
15832 #define HAVE_SIZE_T 1
15833 _ACEOF
15837 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15838 if test "x$ac_cv_type_ssize_t" = xyes; then :
15840 cat >>confdefs.h <<_ACEOF
15841 #define HAVE_SSIZE_T 1
15842 _ACEOF
15846 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15847 if test "x$ac_cv_type_long_long" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_LONG_LONG 1
15851 _ACEOF
15855 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15856 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15858 cat >>confdefs.h <<_ACEOF
15859 #define HAVE_FSBLKCNT_T 1
15860 _ACEOF
15864 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15865 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_FSFILCNT_T 1
15869 _ACEOF
15874 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15875 #include <signal.h>
15877 if test "x$ac_cv_type_sigset_t" = xyes; then :
15879 cat >>confdefs.h <<_ACEOF
15880 #define HAVE_SIGSET_T 1
15881 _ACEOF
15886 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15888 if test "x$ac_cv_type_request_sense" = xyes; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define HAVE_REQUEST_SENSE 1
15892 _ACEOF
15898 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15899 #ifdef HAVE_SYS_SOCKET_H
15900 #include <sys/socket.h>
15901 #endif
15902 #ifdef HAVE_SYS_SOCKETVAR_H
15903 #include <sys/socketvar.h>
15904 #endif
15905 #ifdef HAVE_NET_ROUTE_H
15906 #include <net/route.h>
15907 #endif
15908 #ifdef HAVE_NETINET_IN_H
15909 #include <netinet/in.h>
15910 #endif
15911 #ifdef HAVE_NETINET_IN_SYSTM_H
15912 #include <netinet/in_systm.h>
15913 #endif
15914 #ifdef HAVE_NETINET_IP_H
15915 #include <netinet/ip.h>
15916 #endif
15917 #ifdef HAVE_NETINET_IN_PCB_H
15918 #include <netinet/in_pcb.h>
15919 #endif
15921 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_STRUCT_XINPGEN 1
15925 _ACEOF
15931 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15932 #include <link.h>
15933 #endif
15934 #ifdef HAVE_SYS_LINK_H
15935 #include <sys/link.h>
15936 #endif
15938 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define HAVE_STRUCT_R_DEBUG 1
15942 _ACEOF
15946 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15947 #include <link.h>
15948 #endif
15949 #ifdef HAVE_SYS_LINK_H
15950 #include <sys/link.h>
15951 #endif
15953 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_STRUCT_LINK_MAP 1
15957 _ACEOF
15963 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15964 #include <linux/input.h>
15965 #endif
15967 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15969 cat >>confdefs.h <<_ACEOF
15970 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15971 _ACEOF
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15978 $as_echo_n "checking for sigaddset... " >&6; }
15979 if ${wine_cv_have_sigaddset+:} false; then :
15980 $as_echo_n "(cached) " >&6
15981 else
15982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15983 /* end confdefs.h. */
15984 #include <signal.h>
15986 main ()
15988 sigset_t set; sigaddset(&set,SIGTERM);
15990 return 0;
15992 _ACEOF
15993 if ac_fn_c_try_link "$LINENO"; then :
15994 wine_cv_have_sigaddset=yes
15995 else
15996 wine_cv_have_sigaddset=no
15998 rm -f core conftest.err conftest.$ac_objext \
15999 conftest$ac_exeext conftest.$ac_ext
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16002 $as_echo "$wine_cv_have_sigaddset" >&6; }
16003 if test "$wine_cv_have_sigaddset" = "yes"
16004 then
16006 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16012 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16013 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16014 $as_echo_n "(cached) " >&6
16015 else
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16018 #include <netdb.h>
16020 main ()
16023 char *name=0;
16024 struct hostent he;
16025 struct hostent *result;
16026 char *buf=0;
16027 int bufsize=0;
16028 int errnr;
16029 char *addr=0;
16030 int addrlen=0;
16031 int addrtype=0;
16032 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16033 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16036 return 0;
16038 _ACEOF
16039 if ac_fn_c_try_link "$LINENO"; then :
16040 wine_cv_linux_gethostbyname_r_6=yes
16041 else
16042 wine_cv_linux_gethostbyname_r_6=no
16045 rm -f core conftest.err conftest.$ac_objext \
16046 conftest$ac_exeext conftest.$ac_ext
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16050 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16051 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16052 then
16054 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16058 if test "$ac_cv_header_linux_joystick_h" = "yes"
16059 then
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16061 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16062 if ${wine_cv_linux_joystick_22_api+:} false; then :
16063 $as_echo_n "(cached) " >&6
16064 else
16065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16066 /* end confdefs.h. */
16068 #include <sys/ioctl.h>
16069 #include <sys/types.h>
16070 #include <linux/joystick.h>
16072 struct js_event blub;
16073 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16074 #error "no 2.2 header"
16075 #endif
16078 main ()
16080 /*empty*/
16082 return 0;
16084 _ACEOF
16085 if ac_fn_c_try_compile "$LINENO"; then :
16086 wine_cv_linux_joystick_22_api=yes
16087 else
16088 wine_cv_linux_joystick_22_api=no
16090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16094 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16095 if test "$wine_cv_linux_joystick_22_api" = "yes"
16096 then
16098 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16104 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16105 #ifdef HAVE_SYS_PARAM_H
16106 # include <sys/param.h>
16107 #endif
16108 #ifdef HAVE_SYS_MOUNT_H
16109 # include <sys/mount.h>
16110 #endif
16111 #ifdef HAVE_SYS_VFS_H
16112 # include <sys/vfs.h>
16113 #endif
16114 #ifdef HAVE_SYS_STATFS_H
16115 # include <sys/statfs.h>
16116 #endif
16118 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_STRUCT_STATFS_F_BFREE 1
16122 _ACEOF
16126 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16127 #ifdef HAVE_SYS_PARAM_H
16128 # include <sys/param.h>
16129 #endif
16130 #ifdef HAVE_SYS_MOUNT_H
16131 # include <sys/mount.h>
16132 #endif
16133 #ifdef HAVE_SYS_VFS_H
16134 # include <sys/vfs.h>
16135 #endif
16136 #ifdef HAVE_SYS_STATFS_H
16137 # include <sys/statfs.h>
16138 #endif
16140 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16144 _ACEOF
16148 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16149 #ifdef HAVE_SYS_PARAM_H
16150 # include <sys/param.h>
16151 #endif
16152 #ifdef HAVE_SYS_MOUNT_H
16153 # include <sys/mount.h>
16154 #endif
16155 #ifdef HAVE_SYS_VFS_H
16156 # include <sys/vfs.h>
16157 #endif
16158 #ifdef HAVE_SYS_STATFS_H
16159 # include <sys/statfs.h>
16160 #endif
16162 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16164 cat >>confdefs.h <<_ACEOF
16165 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16166 _ACEOF
16170 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16171 #ifdef HAVE_SYS_PARAM_H
16172 # include <sys/param.h>
16173 #endif
16174 #ifdef HAVE_SYS_MOUNT_H
16175 # include <sys/mount.h>
16176 #endif
16177 #ifdef HAVE_SYS_VFS_H
16178 # include <sys/vfs.h>
16179 #endif
16180 #ifdef HAVE_SYS_STATFS_H
16181 # include <sys/statfs.h>
16182 #endif
16184 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16186 cat >>confdefs.h <<_ACEOF
16187 #define HAVE_STRUCT_STATFS_F_FFREE 1
16188 _ACEOF
16192 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16193 #ifdef HAVE_SYS_PARAM_H
16194 # include <sys/param.h>
16195 #endif
16196 #ifdef HAVE_SYS_MOUNT_H
16197 # include <sys/mount.h>
16198 #endif
16199 #ifdef HAVE_SYS_VFS_H
16200 # include <sys/vfs.h>
16201 #endif
16202 #ifdef HAVE_SYS_STATFS_H
16203 # include <sys/statfs.h>
16204 #endif
16206 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16210 _ACEOF
16214 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16215 #ifdef HAVE_SYS_PARAM_H
16216 # include <sys/param.h>
16217 #endif
16218 #ifdef HAVE_SYS_MOUNT_H
16219 # include <sys/mount.h>
16220 #endif
16221 #ifdef HAVE_SYS_VFS_H
16222 # include <sys/vfs.h>
16223 #endif
16224 #ifdef HAVE_SYS_STATFS_H
16225 # include <sys/statfs.h>
16226 #endif
16228 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16232 _ACEOF
16238 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16239 #include <sys/statvfs.h>
16240 #endif
16242 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16246 _ACEOF
16252 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16253 #include <dirent.h>
16254 #endif
16256 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16258 cat >>confdefs.h <<_ACEOF
16259 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16260 _ACEOF
16266 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_SOCKET_H
16268 # include <sys/socket.h>
16269 #endif
16270 #ifdef HAVE_SYS_UN_H
16271 # include <sys/un.h>
16272 #endif
16274 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16278 _ACEOF
16282 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16283 #ifdef HAVE_SYS_SOCKET_H
16284 # include <sys/socket.h>
16285 #endif
16286 #ifdef HAVE_SYS_UN_H
16287 # include <sys/un.h>
16288 #endif
16290 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16294 _ACEOF
16298 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16299 #ifdef HAVE_SYS_SOCKET_H
16300 # include <sys/socket.h>
16301 #endif
16302 #ifdef HAVE_SYS_UN_H
16303 # include <sys/un.h>
16304 #endif
16306 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16310 _ACEOF
16316 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16317 #ifdef HAVE_SCSI_SG_H
16318 #include <scsi/sg.h>
16319 #endif
16321 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_SCSIREQ_T_CMD 1
16325 _ACEOF
16329 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>
16330 #ifdef HAVE_SCSI_SG_H
16331 #include <scsi/sg.h>
16332 #endif
16334 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16338 _ACEOF
16344 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16346 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_SIGINFO_T_SI_FD 1
16350 _ACEOF
16356 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16357 #ifdef HAVE_SYS_MTIO_H
16358 #include <sys/mtio.h>
16359 #endif
16361 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16365 _ACEOF
16369 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16370 #ifdef HAVE_SYS_MTIO_H
16371 #include <sys/mtio.h>
16372 #endif
16374 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16378 _ACEOF
16382 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16383 #ifdef HAVE_SYS_MTIO_H
16384 #include <sys/mtio.h>
16385 #endif
16387 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16391 _ACEOF
16397 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16398 #include <getopt.h>
16399 #endif
16401 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_STRUCT_OPTION_NAME 1
16405 _ACEOF
16411 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16412 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16416 _ACEOF
16420 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16421 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_STRUCT_STAT_ST_MTIM 1
16425 _ACEOF
16429 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16430 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16434 _ACEOF
16438 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16439 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_STRUCT_STAT_ST_CTIM 1
16443 _ACEOF
16447 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16448 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16450 cat >>confdefs.h <<_ACEOF
16451 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16452 _ACEOF
16456 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16457 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16459 cat >>confdefs.h <<_ACEOF
16460 #define HAVE_STRUCT_STAT_ST_ATIM 1
16461 _ACEOF
16465 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16466 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16468 cat >>confdefs.h <<_ACEOF
16469 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16470 _ACEOF
16474 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16475 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16477 cat >>confdefs.h <<_ACEOF
16478 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16479 _ACEOF
16483 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16484 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16488 _ACEOF
16492 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16493 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16495 cat >>confdefs.h <<_ACEOF
16496 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16497 _ACEOF
16501 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16502 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16506 _ACEOF
16510 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16511 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16513 cat >>confdefs.h <<_ACEOF
16514 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16515 _ACEOF
16521 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
16522 #include <sys/types.h>
16523 #endif
16524 #ifdef HAVE_NETINET_IN_H
16525 #include <netinet/in.h>
16526 #endif
16528 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16530 cat >>confdefs.h <<_ACEOF
16531 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16532 _ACEOF
16538 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16539 #include <resolv.h>
16540 #endif
16542 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16544 cat >>confdefs.h <<_ACEOF
16545 #define HAVE_STRUCT___RES_STATE 1
16546 _ACEOF
16552 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
16553 #include <resolv.h>
16554 #endif
16556 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16558 cat >>confdefs.h <<_ACEOF
16559 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16560 _ACEOF
16566 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16567 #include <sys/types.h>
16568 #endif
16569 #ifdef HAVE_NETINET_IN_H
16570 # include <netinet/in.h>
16571 #endif
16572 #ifdef HAVE_ARPA_NAMESER_H
16573 # include <arpa/nameser.h>
16574 #endif
16576 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define HAVE_NS_MSG__MSG_PTR 1
16580 _ACEOF
16586 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16587 #include <sys/types.h>
16588 #endif
16589 #ifdef HAVE_NETINET_IP_H
16590 #include <netinet/ip.h>
16591 #endif
16592 #ifdef HAVE_NETINET_IP_ICMP_H
16593 #include <netinet/ip_icmp.h>
16594 #endif
16595 #ifdef HAVE_NETINET_ICMP_VAR_H
16596 #include <netinet/icmp_var.h>
16597 #endif
16599 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16603 _ACEOF
16609 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16610 #include <sys/types.h>
16611 #endif
16612 #ifdef HAVE_ALIAS_H
16613 #include <alias.h>
16614 #endif
16615 #ifdef HAVE_SYS_SOCKET_H
16616 #include <sys/socket.h>
16617 #endif
16618 #ifdef HAVE_SYS_SOCKETVAR_H
16619 #include <sys/socketvar.h>
16620 #endif
16621 #ifdef HAVE_SYS_TIMEOUT_H
16622 #include <sys/timeout.h>
16623 #endif
16624 #ifdef HAVE_NETINET_IN_H
16625 #include <netinet/in.h>
16626 #endif
16627 #ifdef HAVE_NETINET_IN_SYSTM_H
16628 #include <netinet/in_systm.h>
16629 #endif
16630 #ifdef HAVE_NETINET_IP_H
16631 #include <netinet/ip.h>
16632 #endif
16633 #ifdef HAVE_NETINET_IP_VAR_H
16634 #include <netinet/ip_var.h>
16635 #endif
16636 #ifdef HAVE_NETINET_IP_ICMP_H
16637 #include <netinet/ip_icmp.h>
16638 #endif
16639 #ifdef HAVE_NETINET_ICMP_VAR_H
16640 #include <netinet/icmp_var.h>
16641 #endif
16643 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16647 _ACEOF
16653 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16654 #include <sys/types.h>
16655 #endif
16656 #ifdef HAVE_SYS_SOCKETVAR_H
16657 #include <sys/socketvar.h>
16658 #endif
16659 #ifdef HAVE_NETINET_IN_H
16660 #include <netinet/in.h>
16661 #endif
16662 #ifdef HAVE_NETINET_IP_VAR_H
16663 #include <netinet/ip_var.h>
16664 #endif
16666 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16670 _ACEOF
16676 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
16677 #include <netinet/ip_var.h>
16678 #endif
16680 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16682 cat >>confdefs.h <<_ACEOF
16683 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16684 _ACEOF
16690 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16691 #include <sys/types.h>
16692 #endif
16693 #ifdef HAVE_SYS_SOCKETVAR_H
16694 #include <sys/socketvar.h>
16695 #endif
16696 #ifdef HAVE_NETINET_IN_H
16697 #include <netinet/in.h>
16698 #endif
16699 #ifdef HAVE_NETINET_TCP_H
16700 #include <netinet/tcp.h>
16701 #endif
16702 #ifdef HAVE_NETINET_TCP_VAR_H
16703 #include <netinet/tcp_var.h>
16704 #endif
16706 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16708 cat >>confdefs.h <<_ACEOF
16709 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16710 _ACEOF
16716 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
16717 #include <netinet/tcp_var.h>
16718 #endif
16720 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16722 cat >>confdefs.h <<_ACEOF
16723 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16724 _ACEOF
16730 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16731 #include <sys/types.h>
16732 #endif
16733 #ifdef HAVE_NETINET_IN_H
16734 #include <netinet/in.h>
16735 #endif
16736 #ifdef HAVE_NETINET_IP_VAR_H
16737 #include <netinet/ip_var.h>
16738 #endif
16739 #ifdef HAVE_NETINET_UDP_H
16740 #include <netinet/udp.h>
16741 #endif
16742 #ifdef HAVE_NETINET_UDP_VAR_H
16743 #include <netinet/udp_var.h>
16744 #endif
16746 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16748 cat >>confdefs.h <<_ACEOF
16749 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16750 _ACEOF
16756 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16757 #include <sys/types.h>
16758 #endif
16759 #ifdef HAVE_NET_IF_H
16760 # include <net/if.h>
16761 #endif
16763 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16765 cat >>confdefs.h <<_ACEOF
16766 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16767 _ACEOF
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16774 $as_echo_n "checking for timezone variable... " >&6; }
16775 if ${ac_cv_have_timezone+:} false; then :
16776 $as_echo_n "(cached) " >&6
16777 else
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16780 #include <time.h>
16782 main ()
16784 timezone = 1
16786 return 0;
16788 _ACEOF
16789 if ac_fn_c_try_link "$LINENO"; then :
16790 ac_cv_have_timezone="yes"
16791 else
16792 ac_cv_have_timezone="no"
16794 rm -f core conftest.err conftest.$ac_objext \
16795 conftest$ac_exeext conftest.$ac_ext
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16798 $as_echo "$ac_cv_have_timezone" >&6; }
16799 if test "$ac_cv_have_timezone" = "yes"
16800 then
16802 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16806 $as_echo_n "checking for daylight variable... " >&6; }
16807 if ${ac_cv_have_daylight+:} false; then :
16808 $as_echo_n "(cached) " >&6
16809 else
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16812 #include <time.h>
16814 main ()
16816 daylight = 1
16818 return 0;
16820 _ACEOF
16821 if ac_fn_c_try_link "$LINENO"; then :
16822 ac_cv_have_daylight="yes"
16823 else
16824 ac_cv_have_daylight="no"
16826 rm -f core conftest.err conftest.$ac_objext \
16827 conftest$ac_exeext conftest.$ac_ext
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16830 $as_echo "$ac_cv_have_daylight" >&6; }
16831 if test "$ac_cv_have_daylight" = "yes"
16832 then
16834 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16838 ac_save_LIBS="$LIBS"
16839 LIBS="$LIBS -lm"
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16841 $as_echo_n "checking for isfinite... " >&6; }
16842 if ${ac_cv_have_isfinite+:} false; then :
16843 $as_echo_n "(cached) " >&6
16844 else
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h. */
16847 #define _GNU_SOURCE
16848 #include <math.h>
16850 main ()
16852 float f = 0.0; return isfinite(f)
16854 return 0;
16856 _ACEOF
16857 if ac_fn_c_try_link "$LINENO"; then :
16858 ac_cv_have_isfinite="yes"
16859 else
16860 ac_cv_have_isfinite="no"
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext conftest.$ac_ext
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16866 $as_echo "$ac_cv_have_isfinite" >&6; }
16867 if test "$ac_cv_have_isfinite" = "yes"
16868 then
16870 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16875 $as_echo_n "checking for isinf... " >&6; }
16876 if ${ac_cv_have_isinf+:} false; then :
16877 $as_echo_n "(cached) " >&6
16878 else
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16881 #include <math.h>
16883 main ()
16885 float f = 0.0; return isinf(f)
16887 return 0;
16889 _ACEOF
16890 if ac_fn_c_try_link "$LINENO"; then :
16891 ac_cv_have_isinf="yes"
16892 else
16893 ac_cv_have_isinf="no"
16895 rm -f core conftest.err conftest.$ac_objext \
16896 conftest$ac_exeext conftest.$ac_ext
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16899 $as_echo "$ac_cv_have_isinf" >&6; }
16900 if test "$ac_cv_have_isinf" = "yes"
16901 then
16903 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16908 $as_echo_n "checking for isnan... " >&6; }
16909 if ${ac_cv_have_isnan+:} false; then :
16910 $as_echo_n "(cached) " >&6
16911 else
16912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16913 /* end confdefs.h. */
16914 #include <math.h>
16916 main ()
16918 float f = 0.0; return isnan(f)
16920 return 0;
16922 _ACEOF
16923 if ac_fn_c_try_link "$LINENO"; then :
16924 ac_cv_have_isnan="yes"
16925 else
16926 ac_cv_have_isnan="no"
16928 rm -f core conftest.err conftest.$ac_objext \
16929 conftest$ac_exeext conftest.$ac_ext
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16932 $as_echo "$ac_cv_have_isnan" >&6; }
16933 if test "$ac_cv_have_isnan" = "yes"
16934 then
16936 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16940 for ac_func in \
16941 asinh \
16942 asinhf \
16943 cbrt \
16944 cbrtf \
16945 erf \
16946 erff \
16947 exp2 \
16948 exp2f \
16949 lgamma \
16950 lgammaf \
16951 llrint \
16952 llrintf \
16953 llround \
16954 llroundf \
16955 log2 \
16956 log2f \
16957 lrint \
16958 lrintf \
16959 lround \
16960 lroundf \
16961 powl \
16962 remainder \
16963 remainderf \
16964 rint \
16965 rintf \
16966 round \
16967 roundf \
16968 trunc \
16969 truncf
16971 do :
16972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16975 cat >>confdefs.h <<_ACEOF
16976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16977 _ACEOF
16980 done
16982 LIBS="$ac_save_LIBS"
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16985 $as_echo_n "checking for __builtin_clz... " >&6; }
16986 if ${ac_cv_have___builtin_clz+:} false; then :
16987 $as_echo_n "(cached) " >&6
16988 else
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16993 main ()
16995 return __builtin_clz(1)
16997 return 0;
16999 _ACEOF
17000 if ac_fn_c_try_link "$LINENO"; then :
17001 ac_cv_have___builtin_clz="yes"
17002 else
17003 ac_cv_have___builtin_clz="no"
17005 rm -f core conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17009 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17010 if test "$ac_cv_have___builtin_clz" = "yes"
17011 then
17013 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17018 $as_echo_n "checking for __builtin_popcount... " >&6; }
17019 if ${ac_cv_have___builtin_popcount+:} false; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17026 main ()
17028 return __builtin_popcount(1)
17030 return 0;
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"; then :
17034 ac_cv_have___builtin_popcount="yes"
17035 else
17036 ac_cv_have___builtin_popcount="no"
17038 rm -f core conftest.err conftest.$ac_objext \
17039 conftest$ac_exeext conftest.$ac_ext
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17042 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17043 if test "$ac_cv_have___builtin_popcount" = "yes"
17044 then
17046 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17051 case $host_cpu in
17052 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17053 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17054 if ${ac_cv_cpp_def___i386__+:} false; then :
17055 $as_echo_n "(cached) " >&6
17056 else
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 #ifndef __i386__
17061 #endif
17062 _ACEOF
17063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17064 $EGREP "yes" >/dev/null 2>&1; then :
17065 ac_cv_cpp_def___i386__=yes
17066 else
17067 ac_cv_cpp_def___i386__=no
17069 rm -f conftest*
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17073 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17074 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17075 CFLAGS="$CFLAGS -D__i386__"
17076 LINTFLAGS="$LINTFLAGS -D__i386__"
17077 fi ;;
17078 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17079 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17080 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #ifndef __x86_64__
17087 #endif
17088 _ACEOF
17089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17090 $EGREP "yes" >/dev/null 2>&1; then :
17091 ac_cv_cpp_def___x86_64__=yes
17092 else
17093 ac_cv_cpp_def___x86_64__=no
17095 rm -f conftest*
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17099 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17100 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17101 CFLAGS="$CFLAGS -D__x86_64__"
17102 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17103 fi ;;
17104 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17105 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17106 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17107 $as_echo_n "(cached) " >&6
17108 else
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111 #ifndef __sparc64__
17113 #endif
17114 _ACEOF
17115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17116 $EGREP "yes" >/dev/null 2>&1; then :
17117 ac_cv_cpp_def___sparc64__=yes
17118 else
17119 ac_cv_cpp_def___sparc64__=no
17121 rm -f conftest*
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17125 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17126 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17127 CFLAGS="$CFLAGS -D__sparc64__"
17128 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17129 fi ;;
17130 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17131 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17132 if ${ac_cv_cpp_def___sparc__+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 #ifndef __sparc__
17139 #endif
17140 _ACEOF
17141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17142 $EGREP "yes" >/dev/null 2>&1; then :
17143 ac_cv_cpp_def___sparc__=yes
17144 else
17145 ac_cv_cpp_def___sparc__=no
17147 rm -f conftest*
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17151 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17152 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17153 CFLAGS="$CFLAGS -D__sparc__"
17154 LINTFLAGS="$LINTFLAGS -D__sparc__"
17155 fi ;;
17156 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17157 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17158 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17162 /* end confdefs.h. */
17163 #ifndef __powerpc64__
17165 #endif
17166 _ACEOF
17167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17168 $EGREP "yes" >/dev/null 2>&1; then :
17169 ac_cv_cpp_def___powerpc64__=yes
17170 else
17171 ac_cv_cpp_def___powerpc64__=no
17173 rm -f conftest*
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17177 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17178 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17179 CFLAGS="$CFLAGS -D__powerpc64__"
17180 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17181 fi ;;
17182 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17183 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17184 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17185 $as_echo_n "(cached) " >&6
17186 else
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17189 #ifndef __powerpc__
17191 #endif
17192 _ACEOF
17193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17194 $EGREP "yes" >/dev/null 2>&1; then :
17195 ac_cv_cpp_def___powerpc__=yes
17196 else
17197 ac_cv_cpp_def___powerpc__=no
17199 rm -f conftest*
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17203 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17204 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17205 CFLAGS="$CFLAGS -D__powerpc__"
17206 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17207 fi ;;
17208 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17209 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17210 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17215 #ifndef __aarch64__
17217 #endif
17218 _ACEOF
17219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17220 $EGREP "yes" >/dev/null 2>&1; then :
17221 ac_cv_cpp_def___aarch64__=yes
17222 else
17223 ac_cv_cpp_def___aarch64__=no
17225 rm -f conftest*
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17229 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17230 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17231 CFLAGS="$CFLAGS -D__aarch64__"
17232 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17233 fi ;;
17234 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17235 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17236 if ${ac_cv_cpp_def___arm__+:} false; then :
17237 $as_echo_n "(cached) " >&6
17238 else
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241 #ifndef __arm__
17243 #endif
17244 _ACEOF
17245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17246 $EGREP "yes" >/dev/null 2>&1; then :
17247 ac_cv_cpp_def___arm__=yes
17248 else
17249 ac_cv_cpp_def___arm__=no
17251 rm -f conftest*
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17255 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17256 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17257 CFLAGS="$CFLAGS -D__arm__"
17258 LINTFLAGS="$LINTFLAGS -D__arm__"
17259 fi ;;
17260 esac
17262 case $host_vendor in
17263 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17264 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17265 if ${ac_cv_cpp_def___sun__+:} false; then :
17266 $as_echo_n "(cached) " >&6
17267 else
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17270 #ifndef __sun__
17272 #endif
17273 _ACEOF
17274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17275 $EGREP "yes" >/dev/null 2>&1; then :
17276 ac_cv_cpp_def___sun__=yes
17277 else
17278 ac_cv_cpp_def___sun__=no
17280 rm -f conftest*
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17284 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17285 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17286 CFLAGS="$CFLAGS -D__sun__"
17287 LINTFLAGS="$LINTFLAGS -D__sun__"
17288 fi ;;
17289 esac
17295 ac_config_commands="$ac_config_commands include/stamp-h"
17297 $as_echo_n "creating Makefile rules..." >&6
17299 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17300 SOCKET_LIBS = $SOCKET_LIBS
17301 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17302 IOKIT_LIBS = $IOKIT_LIBS
17303 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17304 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17305 CORESERVICES_LIBS = $CORESERVICES_LIBS
17306 APPKIT_LIBS = $APPKIT_LIBS
17307 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17308 SECURITY_LIBS = $SECURITY_LIBS
17309 COREAUDIO_LIBS = $COREAUDIO_LIBS
17310 OPENAL_LIBS = $OPENAL_LIBS
17311 OPENCL_LIBS = $OPENCL_LIBS
17312 QUICKTIME_LIBS = $QUICKTIME_LIBS
17313 CARBON_LIBS = $CARBON_LIBS
17314 PTHREAD_LIBS = $PTHREAD_LIBS
17315 X_CFLAGS = $X_CFLAGS
17316 X_PRE_LIBS = $X_PRE_LIBS
17317 X_LIBS = $X_LIBS
17318 X_EXTRA_LIBS = $X_EXTRA_LIBS
17319 PCAP_LIBS = $PCAP_LIBS
17320 XML2_CFLAGS = $XML2_CFLAGS
17321 XML2_LIBS = $XML2_LIBS
17322 XSLT_CFLAGS = $XSLT_CFLAGS
17323 XSLT_LIBS = $XSLT_LIBS
17324 DBUS_CFLAGS = $DBUS_CFLAGS
17325 DBUS_LIBS = $DBUS_LIBS
17326 HAL_CFLAGS = $HAL_CFLAGS
17327 HAL_LIBS = $HAL_LIBS
17328 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17329 GNUTLS_LIBS = $GNUTLS_LIBS
17330 SANE_CFLAGS = $SANE_CFLAGS
17331 SANE_LIBS = $SANE_LIBS
17332 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17333 GPHOTO2_LIBS = $GPHOTO2_LIBS
17334 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17335 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17336 RESOLV_LIBS = $RESOLV_LIBS
17337 LCMS2_CFLAGS = $LCMS2_CFLAGS
17338 LCMS2_LIBS = $LCMS2_LIBS
17339 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17340 FREETYPE_LIBS = $FREETYPE_LIBS
17341 Z_LIBS = $Z_LIBS
17342 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17343 PULSE_CFLAGS = $PULSE_CFLAGS
17344 PULSE_LIBS = $PULSE_LIBS
17345 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17346 GSTREAMER_LIBS = $GSTREAMER_LIBS
17347 ALSA_LIBS = $ALSA_LIBS
17348 OSS4_CFLAGS = $OSS4_CFLAGS
17349 CAPI20_CFLAGS = $CAPI20_CFLAGS
17350 CAPI20_LIBS = $CAPI20_LIBS
17351 CUPS_CFLAGS = $CUPS_CFLAGS
17352 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17353 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17354 JPEG_CFLAGS = $JPEG_CFLAGS
17355 JPEG_LIBS = $JPEG_LIBS
17356 PNG_CFLAGS = $PNG_CFLAGS
17357 PNG_LIBS = $PNG_LIBS
17358 TIFF_CFLAGS = $TIFF_CFLAGS
17359 TIFF_LIBS = $TIFF_LIBS
17360 MPG123_CFLAGS = $MPG123_CFLAGS
17361 MPG123_LIBS = $MPG123_LIBS
17362 KSTAT_LIBS = $KSTAT_LIBS
17363 PROCSTAT_LIBS = $PROCSTAT_LIBS
17364 NETAPI_CFLAGS = $NETAPI_CFLAGS
17365 NETAPI_LIBS = $NETAPI_LIBS
17366 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17367 DL_LIBS = $DL_LIBS
17368 POLL_LIBS = $POLL_LIBS
17369 RT_LIBS = $RT_LIBS
17370 LDAP_LIBS = $LDAP_LIBS
17375 wine_fn_append_rule "
17376 # Rules automatically generated by configure
17378 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17380 .INIT: Makefile
17381 .MAKEFILEDEPS:
17382 all: Makefile
17383 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17384 @./config.status Make.tmp Makefile
17385 depend: \$(MAKEDEP) dummy
17386 \$(MAKEDEP)"
17388 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17389 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17391 if test "x$enable_fonts" != xno; then
17392 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17393 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17394 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17395 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17396 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17397 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17399 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17400 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17401 ac_config_links="$ac_config_links wine:tools/winewrapper"
17402 wine_fn_config_symlink wine
17403 if test "x$enable_win64" != xno; then
17404 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17405 wine_fn_config_symlink wine64
17408 wine_fn_config_dll acledit enable_acledit
17409 wine_fn_config_dll aclui enable_aclui implib
17410 wine_fn_config_dll activeds enable_activeds implib
17411 wine_fn_config_dll actxprxy enable_actxprxy clean
17412 wine_fn_config_lib adsiid
17413 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17414 wine_fn_config_test dlls/advapi32/tests advapi32_test
17415 wine_fn_config_dll advpack enable_advpack implib
17416 wine_fn_config_test dlls/advpack/tests advpack_test
17417 wine_fn_config_dll amstream enable_amstream clean
17418 wine_fn_config_test dlls/amstream/tests amstream_test
17419 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17420 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17421 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17423 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17424 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17425 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17426 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17427 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17428 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17429 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17430 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17431 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17432 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17433 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17434 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17435 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17436 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17437 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17438 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17439 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17440 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17441 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17442 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17443 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17444 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17445 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17446 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17447 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17448 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17449 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17451 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17452 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17454 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17455 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17457 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17459 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17460 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17461 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17462 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17463 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17464 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17465 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17467 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17468 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17469 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17470 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17471 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17472 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17475 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17476 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17477 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17478 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17479 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17480 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17481 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17482 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17483 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17484 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17485 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17486 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17487 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17488 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17489 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17490 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17491 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17492 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17493 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17494 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17495 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17496 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17497 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17498 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17499 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17500 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17501 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17502 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17503 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17504 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17505 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17506 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17507 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17508 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17509 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17510 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17511 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17512 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17513 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17514 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17515 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17516 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17517 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17518 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17519 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17520 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17521 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17522 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17523 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17524 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17525 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17526 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17527 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17528 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17529 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17530 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17531 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17532 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17533 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17534 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17535 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17536 wine_fn_config_dll apphelp enable_apphelp
17537 wine_fn_config_test dlls/apphelp/tests apphelp_test
17538 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17539 wine_fn_config_dll atl enable_atl clean,implib
17540 wine_fn_config_test dlls/atl/tests atl_test
17541 wine_fn_config_dll atl100 enable_atl100 clean,implib
17542 wine_fn_config_test dlls/atl100/tests atl100_test
17543 wine_fn_config_dll atl110 enable_atl110 clean
17544 wine_fn_config_dll atl80 enable_atl80 clean,implib
17545 wine_fn_config_test dlls/atl80/tests atl80_test
17546 wine_fn_config_dll atl90 enable_atl90 clean
17547 wine_fn_config_dll authz enable_authz
17548 wine_fn_config_dll avicap32 enable_avicap32 implib
17549 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17550 wine_fn_config_test dlls/avifil32/tests avifil32_test
17551 wine_fn_config_dll avifile.dll16 enable_win16
17552 wine_fn_config_dll avrt enable_avrt implib
17553 wine_fn_config_dll bcrypt enable_bcrypt implib
17554 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17555 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17556 wine_fn_config_dll browseui enable_browseui clean
17557 wine_fn_config_test dlls/browseui/tests browseui_test
17558 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17559 wine_fn_config_dll cabinet enable_cabinet implib
17560 wine_fn_config_test dlls/cabinet/tests cabinet_test
17561 wine_fn_config_dll capi2032 enable_capi2032 implib
17562 wine_fn_config_dll cards enable_cards implib
17563 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17564 wine_fn_config_dll clusapi enable_clusapi implib
17565 wine_fn_config_dll combase enable_combase
17566 wine_fn_config_test dlls/combase/tests combase_test
17567 wine_fn_config_dll comcat enable_comcat
17568 wine_fn_config_test dlls/comcat/tests comcat_test
17569 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17570 wine_fn_config_test dlls/comctl32/tests comctl32_test
17571 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17572 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17573 wine_fn_config_dll comm.drv16 enable_win16
17574 wine_fn_config_dll commdlg.dll16 enable_win16
17575 wine_fn_config_dll compobj.dll16 enable_win16
17576 wine_fn_config_dll compstui enable_compstui implib
17577 wine_fn_config_dll comsvcs enable_comsvcs implib
17578 wine_fn_config_dll concrt140 enable_concrt140
17579 wine_fn_config_dll connect enable_connect
17580 wine_fn_config_dll credui enable_credui clean,implib
17581 wine_fn_config_test dlls/credui/tests credui_test
17582 wine_fn_config_dll crtdll enable_crtdll
17583 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17584 wine_fn_config_test dlls/crypt32/tests crypt32_test
17585 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17586 wine_fn_config_dll cryptdll enable_cryptdll implib
17587 wine_fn_config_dll cryptext enable_cryptext
17588 wine_fn_config_dll cryptnet enable_cryptnet implib
17589 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17590 wine_fn_config_dll cryptui enable_cryptui clean,implib
17591 wine_fn_config_test dlls/cryptui/tests cryptui_test
17592 wine_fn_config_dll ctapi32 enable_ctapi32
17593 wine_fn_config_dll ctl3d.dll16 enable_win16
17594 wine_fn_config_dll ctl3d32 enable_ctl3d32
17595 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17596 wine_fn_config_dll d2d1 enable_d2d1 implib
17597 wine_fn_config_test dlls/d2d1/tests d2d1_test
17598 wine_fn_config_dll d3d10 enable_d3d10 implib
17599 wine_fn_config_test dlls/d3d10/tests d3d10_test
17600 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17601 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17602 wine_fn_config_dll d3d10core enable_d3d10core implib
17603 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17604 wine_fn_config_dll d3d11 enable_d3d11 implib
17605 wine_fn_config_test dlls/d3d11/tests d3d11_test
17606 wine_fn_config_dll d3d8 enable_d3d8 implib
17607 wine_fn_config_test dlls/d3d8/tests d3d8_test
17608 wine_fn_config_dll d3d9 enable_d3d9 implib
17609 wine_fn_config_test dlls/d3d9/tests d3d9_test
17610 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17611 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17612 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17613 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17614 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17615 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17616 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17617 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17618 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17619 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17620 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17621 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17622 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17623 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17624 wine_fn_config_dll d3dim enable_d3dim
17625 wine_fn_config_dll d3drm enable_d3drm implib
17626 wine_fn_config_test dlls/d3drm/tests d3drm_test
17627 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17628 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17629 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17630 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17631 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17632 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17633 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17634 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17635 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17636 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17637 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17638 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17639 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17640 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17641 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17642 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17643 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17644 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17645 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17646 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17647 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17648 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17649 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17650 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17651 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17652 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17653 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17654 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17655 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17656 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17657 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17658 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17659 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17660 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17661 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17662 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17663 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17664 wine_fn_config_dll davclnt enable_davclnt
17665 wine_fn_config_dll dbgeng enable_dbgeng implib
17666 wine_fn_config_dll dbghelp enable_dbghelp implib
17667 wine_fn_config_dll dciman32 enable_dciman32 implib
17668 wine_fn_config_dll ddeml.dll16 enable_win16
17669 wine_fn_config_dll ddraw enable_ddraw clean,implib
17670 wine_fn_config_test dlls/ddraw/tests ddraw_test
17671 wine_fn_config_dll ddrawex enable_ddrawex clean
17672 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17673 wine_fn_config_dll devenum enable_devenum clean
17674 wine_fn_config_test dlls/devenum/tests devenum_test
17675 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17676 wine_fn_config_dll difxapi enable_difxapi
17677 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17678 wine_fn_config_test dlls/dinput/tests dinput_test
17679 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17680 wine_fn_config_test dlls/dinput8/tests dinput8_test
17681 wine_fn_config_dll dispdib.dll16 enable_win16
17682 wine_fn_config_dll dispex enable_dispex clean
17683 wine_fn_config_test dlls/dispex/tests dispex_test
17684 wine_fn_config_dll display.drv16 enable_win16
17685 wine_fn_config_dll dmband enable_dmband clean
17686 wine_fn_config_test dlls/dmband/tests dmband_test
17687 wine_fn_config_dll dmcompos enable_dmcompos clean
17688 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17689 wine_fn_config_dll dmime enable_dmime clean
17690 wine_fn_config_test dlls/dmime/tests dmime_test
17691 wine_fn_config_dll dmloader enable_dmloader clean
17692 wine_fn_config_test dlls/dmloader/tests dmloader_test
17693 wine_fn_config_dll dmscript enable_dmscript clean
17694 wine_fn_config_test dlls/dmscript/tests dmscript_test
17695 wine_fn_config_dll dmstyle enable_dmstyle clean
17696 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17697 wine_fn_config_dll dmsynth enable_dmsynth clean
17698 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17699 wine_fn_config_dll dmusic enable_dmusic clean
17700 wine_fn_config_test dlls/dmusic/tests dmusic_test
17701 wine_fn_config_dll dmusic32 enable_dmusic32
17702 wine_fn_config_dll dnsapi enable_dnsapi implib
17703 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17704 wine_fn_config_dll dplay enable_dplay
17705 wine_fn_config_dll dplayx enable_dplayx clean,implib
17706 wine_fn_config_test dlls/dplayx/tests dplayx_test
17707 wine_fn_config_dll dpnaddr enable_dpnaddr
17708 wine_fn_config_dll dpnet enable_dpnet clean,implib
17709 wine_fn_config_test dlls/dpnet/tests dpnet_test
17710 wine_fn_config_dll dpnhpast enable_dpnhpast
17711 wine_fn_config_dll dpnlobby enable_dpnlobby
17712 wine_fn_config_dll dpvoice enable_dpvoice clean
17713 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17714 wine_fn_config_dll dpwsockx enable_dpwsockx
17715 wine_fn_config_dll drmclien enable_drmclien
17716 wine_fn_config_dll dsound enable_dsound clean,implib
17717 wine_fn_config_test dlls/dsound/tests dsound_test
17718 wine_fn_config_dll dssenh enable_dssenh
17719 wine_fn_config_test dlls/dssenh/tests dssenh_test
17720 wine_fn_config_dll dswave enable_dswave clean
17721 wine_fn_config_test dlls/dswave/tests dswave_test
17722 wine_fn_config_dll dwmapi enable_dwmapi implib
17723 wine_fn_config_dll dwrite enable_dwrite implib
17724 wine_fn_config_test dlls/dwrite/tests dwrite_test
17725 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17726 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17727 wine_fn_config_lib dxerr8
17728 wine_fn_config_lib dxerr9
17729 wine_fn_config_dll dxgi enable_dxgi implib
17730 wine_fn_config_test dlls/dxgi/tests dxgi_test
17731 wine_fn_config_lib dxguid
17732 wine_fn_config_dll dxva2 enable_dxva2
17733 wine_fn_config_dll esent enable_esent
17734 wine_fn_config_dll evr enable_evr
17735 wine_fn_config_dll explorerframe enable_explorerframe clean
17736 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17737 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17738 wine_fn_config_dll faultrep enable_faultrep implib
17739 wine_fn_config_test dlls/faultrep/tests faultrep_test
17740 wine_fn_config_dll fltlib enable_fltlib
17741 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17742 wine_fn_config_dll fntcache enable_fntcache
17743 wine_fn_config_dll fontsub enable_fontsub
17744 wine_fn_config_dll fusion enable_fusion
17745 wine_fn_config_test dlls/fusion/tests fusion_test
17746 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17747 wine_fn_config_dll gameux enable_gameux clean
17748 wine_fn_config_test dlls/gameux/tests gameux_test
17749 wine_fn_config_dll gdi.exe16 enable_win16
17750 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17751 wine_fn_config_test dlls/gdi32/tests gdi32_test
17752 wine_fn_config_dll gdiplus enable_gdiplus implib
17753 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17754 wine_fn_config_dll glu32 enable_glu32 implib
17755 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17756 wine_fn_config_dll gpkcsp enable_gpkcsp
17757 wine_fn_config_dll hal enable_hal
17758 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17759 wine_fn_config_dll hid enable_hid implib
17760 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17761 wine_fn_config_dll hlink enable_hlink clean,implib
17762 wine_fn_config_test dlls/hlink/tests hlink_test
17763 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17764 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17765 wine_fn_config_dll httpapi enable_httpapi
17766 wine_fn_config_dll iccvid enable_iccvid clean
17767 wine_fn_config_dll icmp enable_icmp
17768 wine_fn_config_dll ieframe enable_ieframe clean,implib
17769 wine_fn_config_test dlls/ieframe/tests ieframe_test
17770 wine_fn_config_dll ifsmgr.vxd enable_win16
17771 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17772 wine_fn_config_dll imagehlp enable_imagehlp implib
17773 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17774 wine_fn_config_dll imm.dll16 enable_win16
17775 wine_fn_config_dll imm32 enable_imm32 implib
17776 wine_fn_config_test dlls/imm32/tests imm32_test
17777 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17778 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17779 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17780 wine_fn_config_dll inetmib1 enable_inetmib1
17781 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17782 wine_fn_config_dll infosoft enable_infosoft clean
17783 wine_fn_config_test dlls/infosoft/tests infosoft_test
17784 wine_fn_config_dll initpki enable_initpki
17785 wine_fn_config_dll inkobj enable_inkobj
17786 wine_fn_config_dll inseng enable_inseng clean
17787 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17788 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17789 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17790 wine_fn_config_dll itircl enable_itircl
17791 wine_fn_config_dll itss enable_itss clean
17792 wine_fn_config_test dlls/itss/tests itss_test
17793 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17794 wine_fn_config_dll jscript enable_jscript clean
17795 wine_fn_config_test dlls/jscript/tests jscript_test
17796 wine_fn_config_dll jsproxy enable_jsproxy implib
17797 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17798 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17799 wine_fn_config_test dlls/kernel32/tests kernel32_test
17800 wine_fn_config_dll kernelbase enable_kernelbase
17801 wine_fn_config_dll keyboard.drv16 enable_win16
17802 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17803 wine_fn_config_dll ksuser enable_ksuser
17804 wine_fn_config_dll ktmw32 enable_ktmw32
17805 wine_fn_config_dll loadperf enable_loadperf implib
17806 wine_fn_config_dll localspl enable_localspl clean
17807 wine_fn_config_test dlls/localspl/tests localspl_test
17808 wine_fn_config_dll localui enable_localui clean
17809 wine_fn_config_test dlls/localui/tests localui_test
17810 wine_fn_config_dll lz32 enable_lz32 implib
17811 wine_fn_config_test dlls/lz32/tests lz32_test
17812 wine_fn_config_dll lzexpand.dll16 enable_win16
17813 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17814 wine_fn_config_test dlls/mapi32/tests mapi32_test
17815 wine_fn_config_dll mapistub enable_mapistub
17816 wine_fn_config_dll mciavi32 enable_mciavi32
17817 wine_fn_config_dll mcicda enable_mcicda
17818 wine_fn_config_dll mciqtz32 enable_mciqtz32
17819 wine_fn_config_dll mciseq enable_mciseq
17820 wine_fn_config_dll mciwave enable_mciwave
17821 wine_fn_config_dll mf enable_mf
17822 wine_fn_config_dll mfplat enable_mfplat
17823 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17824 wine_fn_config_dll mgmtapi enable_mgmtapi
17825 wine_fn_config_dll midimap enable_midimap
17826 wine_fn_config_dll mlang enable_mlang clean,implib
17827 wine_fn_config_test dlls/mlang/tests mlang_test
17828 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17829 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17830 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17831 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17832 wine_fn_config_dll mmdevldr.vxd enable_win16
17833 wine_fn_config_dll mmsystem.dll16 enable_win16
17834 wine_fn_config_dll monodebg.vxd enable_win16
17835 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17836 wine_fn_config_dll mouse.drv16 enable_win16
17837 wine_fn_config_dll mpr enable_mpr clean,implib
17838 wine_fn_config_test dlls/mpr/tests mpr_test
17839 wine_fn_config_dll mprapi enable_mprapi implib
17840 wine_fn_config_dll msacm.dll16 enable_win16
17841 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17842 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17843 wine_fn_config_test dlls/msacm32/tests msacm32_test
17844 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17845 wine_fn_config_dll msasn1 enable_msasn1 implib
17846 wine_fn_config_dll mscat32 enable_mscat32
17847 wine_fn_config_dll mscms enable_mscms implib
17848 wine_fn_config_test dlls/mscms/tests mscms_test
17849 wine_fn_config_dll mscoree enable_mscoree clean
17850 wine_fn_config_test dlls/mscoree/tests mscoree_test
17851 wine_fn_config_dll msctf enable_msctf clean
17852 wine_fn_config_test dlls/msctf/tests msctf_test
17853 wine_fn_config_dll msctfp enable_msctfp clean
17854 wine_fn_config_dll msdaps enable_msdaps clean
17855 wine_fn_config_dll msdelta enable_msdelta
17856 wine_fn_config_dll msdmo enable_msdmo implib
17857 wine_fn_config_test dlls/msdmo/tests msdmo_test
17858 wine_fn_config_dll msdrm enable_msdrm
17859 wine_fn_config_dll msftedit enable_msftedit
17860 wine_fn_config_dll msg711.acm enable_msg711_acm
17861 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17862 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17863 wine_fn_config_dll mshtml enable_mshtml clean,implib
17864 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17865 wine_fn_config_dll msi enable_msi clean,implib
17866 wine_fn_config_test dlls/msi/tests msi_test
17867 wine_fn_config_dll msident enable_msident clean
17868 wine_fn_config_dll msimg32 enable_msimg32 implib
17869 wine_fn_config_dll msimsg enable_msimsg
17870 wine_fn_config_dll msimtf enable_msimtf clean
17871 wine_fn_config_dll msisip enable_msisip
17872 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17873 wine_fn_config_dll msls31 enable_msls31
17874 wine_fn_config_dll msnet32 enable_msnet32
17875 wine_fn_config_dll mspatcha enable_mspatcha implib
17876 wine_fn_config_dll msports enable_msports
17877 wine_fn_config_dll msrle32 enable_msrle32 clean
17878 wine_fn_config_test dlls/msrle32/tests msrle32_test
17879 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17880 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17881 wine_fn_config_dll mssign32 enable_mssign32
17882 wine_fn_config_dll mssip32 enable_mssip32
17883 wine_fn_config_dll mstask enable_mstask clean
17884 wine_fn_config_test dlls/mstask/tests mstask_test
17885 wine_fn_config_dll msvcirt enable_msvcirt
17886 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17887 wine_fn_config_dll msvcm80 enable_msvcm80
17888 wine_fn_config_dll msvcm90 enable_msvcm90
17889 wine_fn_config_dll msvcp100 enable_msvcp100
17890 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17891 wine_fn_config_dll msvcp110 enable_msvcp110
17892 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17893 wine_fn_config_dll msvcp120 enable_msvcp120
17894 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17895 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17896 wine_fn_config_dll msvcp140 enable_msvcp140
17897 wine_fn_config_dll msvcp60 enable_msvcp60
17898 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17899 wine_fn_config_dll msvcp70 enable_msvcp70
17900 wine_fn_config_dll msvcp71 enable_msvcp71
17901 wine_fn_config_dll msvcp80 enable_msvcp80
17902 wine_fn_config_dll msvcp90 enable_msvcp90
17903 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17904 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17905 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17906 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17907 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17908 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17909 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17910 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17911 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17912 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17913 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17914 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17915 wine_fn_config_dll msvcrt enable_msvcrt implib
17916 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17917 wine_fn_config_dll msvcrt20 enable_msvcrt20
17918 wine_fn_config_dll msvcrt40 enable_msvcrt40
17919 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17920 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17921 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17922 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17923 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17924 wine_fn_config_dll msvideo.dll16 enable_win16
17925 wine_fn_config_dll mswsock enable_mswsock implib
17926 wine_fn_config_dll msxml enable_msxml clean
17927 wine_fn_config_dll msxml2 enable_msxml2 clean
17928 wine_fn_config_dll msxml3 enable_msxml3 clean
17929 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17930 wine_fn_config_dll msxml4 enable_msxml4 clean
17931 wine_fn_config_dll msxml6 enable_msxml6 clean
17932 wine_fn_config_dll ncrypt enable_ncrypt
17933 wine_fn_config_dll nddeapi enable_nddeapi implib
17934 wine_fn_config_dll ndis.sys enable_ndis_sys
17935 wine_fn_config_dll netapi32 enable_netapi32 implib
17936 wine_fn_config_test dlls/netapi32/tests netapi32_test
17937 wine_fn_config_dll netcfgx enable_netcfgx clean
17938 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17939 wine_fn_config_dll netprofm enable_netprofm clean
17940 wine_fn_config_test dlls/netprofm/tests netprofm_test
17941 wine_fn_config_dll newdev enable_newdev implib
17942 wine_fn_config_dll normaliz enable_normaliz implib
17943 wine_fn_config_dll npmshtml enable_npmshtml
17944 wine_fn_config_dll npptools enable_npptools
17945 wine_fn_config_dll ntdll enable_ntdll implib
17946 wine_fn_config_test dlls/ntdll/tests ntdll_test
17947 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17948 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17949 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17950 wine_fn_config_dll ntprint enable_ntprint
17951 wine_fn_config_test dlls/ntprint/tests ntprint_test
17952 wine_fn_config_dll objsel enable_objsel clean
17953 wine_fn_config_dll odbc32 enable_odbc32 implib
17954 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17955 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17956 wine_fn_config_dll odbccu32 enable_odbccu32
17957 wine_fn_config_dll ole2.dll16 enable_win16
17958 wine_fn_config_dll ole2conv.dll16 enable_win16
17959 wine_fn_config_dll ole2disp.dll16 enable_win16
17960 wine_fn_config_dll ole2nls.dll16 enable_win16
17961 wine_fn_config_dll ole2prox.dll16 enable_win16
17962 wine_fn_config_dll ole2thk.dll16 enable_win16
17963 wine_fn_config_dll ole32 enable_ole32 clean,implib
17964 wine_fn_config_test dlls/ole32/tests ole32_test
17965 wine_fn_config_dll oleacc enable_oleacc clean,implib
17966 wine_fn_config_test dlls/oleacc/tests oleacc_test
17967 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17968 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17969 wine_fn_config_dll olecli.dll16 enable_win16
17970 wine_fn_config_dll olecli32 enable_olecli32 implib
17971 wine_fn_config_dll oledb32 enable_oledb32 clean
17972 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17973 wine_fn_config_dll oledlg enable_oledlg clean,implib
17974 wine_fn_config_test dlls/oledlg/tests oledlg_test
17975 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17976 wine_fn_config_dll olesvr.dll16 enable_win16
17977 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17978 wine_fn_config_dll olethk32 enable_olethk32
17979 wine_fn_config_dll openal32 enable_openal32
17980 wine_fn_config_dll opencl enable_opencl
17981 wine_fn_config_dll opengl32 enable_opengl32 implib
17982 wine_fn_config_test dlls/opengl32/tests opengl32_test
17983 wine_fn_config_dll packager enable_packager clean
17984 wine_fn_config_test dlls/packager/tests packager_test
17985 wine_fn_config_dll pdh enable_pdh implib
17986 wine_fn_config_test dlls/pdh/tests pdh_test
17987 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17988 wine_fn_config_dll pidgen enable_pidgen
17989 wine_fn_config_dll powrprof enable_powrprof implib
17990 wine_fn_config_dll printui enable_printui
17991 wine_fn_config_dll prntvpt enable_prntvpt
17992 wine_fn_config_dll propsys enable_propsys clean,implib
17993 wine_fn_config_test dlls/propsys/tests propsys_test
17994 wine_fn_config_dll psapi enable_psapi implib
17995 wine_fn_config_test dlls/psapi/tests psapi_test
17996 wine_fn_config_dll pstorec enable_pstorec clean
17997 wine_fn_config_dll qcap enable_qcap
17998 wine_fn_config_test dlls/qcap/tests qcap_test
17999 wine_fn_config_dll qedit enable_qedit clean
18000 wine_fn_config_test dlls/qedit/tests qedit_test
18001 wine_fn_config_dll qmgr enable_qmgr clean
18002 wine_fn_config_test dlls/qmgr/tests qmgr_test
18003 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18004 wine_fn_config_dll quartz enable_quartz clean,implib
18005 wine_fn_config_test dlls/quartz/tests quartz_test clean
18006 wine_fn_config_dll query enable_query
18007 wine_fn_config_dll rasapi16.dll16 enable_win16
18008 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18009 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18010 wine_fn_config_dll rasdlg enable_rasdlg implib
18011 wine_fn_config_dll regapi enable_regapi
18012 wine_fn_config_dll resutils enable_resutils implib
18013 wine_fn_config_dll riched20 enable_riched20 clean,implib
18014 wine_fn_config_test dlls/riched20/tests riched20_test
18015 wine_fn_config_dll riched32 enable_riched32
18016 wine_fn_config_test dlls/riched32/tests riched32_test
18017 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18018 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18019 wine_fn_config_dll rsabase enable_rsabase
18020 wine_fn_config_dll rsaenh enable_rsaenh implib
18021 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18022 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18023 wine_fn_config_dll rtutils enable_rtutils implib
18024 wine_fn_config_dll samlib enable_samlib
18025 wine_fn_config_dll sane.ds enable_sane_ds clean
18026 wine_fn_config_dll scarddlg enable_scarddlg
18027 wine_fn_config_dll sccbase enable_sccbase
18028 wine_fn_config_dll schannel enable_schannel
18029 wine_fn_config_test dlls/schannel/tests schannel_test
18030 wine_fn_config_dll schedsvc enable_schedsvc clean
18031 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18032 wine_fn_config_dll scrrun enable_scrrun clean
18033 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18034 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18035 wine_fn_config_dll secur32 enable_secur32 implib
18036 wine_fn_config_test dlls/secur32/tests secur32_test
18037 wine_fn_config_dll security enable_security
18038 wine_fn_config_dll sensapi enable_sensapi implib
18039 wine_fn_config_dll serialui enable_serialui clean
18040 wine_fn_config_test dlls/serialui/tests serialui_test
18041 wine_fn_config_dll setupapi enable_setupapi clean,implib
18042 wine_fn_config_test dlls/setupapi/tests setupapi_test
18043 wine_fn_config_dll setupx.dll16 enable_win16
18044 wine_fn_config_dll sfc enable_sfc implib
18045 wine_fn_config_dll sfc_os enable_sfc_os implib
18046 wine_fn_config_dll shdoclc enable_shdoclc clean
18047 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18048 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18049 wine_fn_config_dll shell.dll16 enable_win16
18050 wine_fn_config_dll shell32 enable_shell32 clean,implib
18051 wine_fn_config_test dlls/shell32/tests shell32_test
18052 wine_fn_config_dll shfolder enable_shfolder implib
18053 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18054 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18055 wine_fn_config_dll slbcsp enable_slbcsp
18056 wine_fn_config_dll slc enable_slc implib
18057 wine_fn_config_test dlls/slc/tests slc_test
18058 wine_fn_config_dll snmpapi enable_snmpapi implib
18059 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18060 wine_fn_config_dll softpub enable_softpub
18061 wine_fn_config_dll sound.drv16 enable_win16
18062 wine_fn_config_dll spoolss enable_spoolss implib
18063 wine_fn_config_test dlls/spoolss/tests spoolss_test
18064 wine_fn_config_dll sspicli enable_sspicli
18065 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18066 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18067 wine_fn_config_dll sti enable_sti clean,implib
18068 wine_fn_config_test dlls/sti/tests sti_test
18069 wine_fn_config_dll storage.dll16 enable_win16
18070 wine_fn_config_dll stress.dll16 enable_win16
18071 wine_fn_config_lib strmbase
18072 wine_fn_config_lib strmiids
18073 wine_fn_config_dll svrapi enable_svrapi
18074 wine_fn_config_dll sxs enable_sxs implib
18075 wine_fn_config_test dlls/sxs/tests sxs_test
18076 wine_fn_config_dll system.drv16 enable_win16
18077 wine_fn_config_dll t2embed enable_t2embed implib
18078 wine_fn_config_test dlls/t2embed/tests t2embed_test
18079 wine_fn_config_dll tapi32 enable_tapi32 implib
18080 wine_fn_config_dll taskschd enable_taskschd clean
18081 wine_fn_config_test dlls/taskschd/tests taskschd_test
18082 wine_fn_config_dll tdi.sys enable_tdi_sys
18083 wine_fn_config_dll toolhelp.dll16 enable_win16
18084 wine_fn_config_dll traffic enable_traffic
18085 wine_fn_config_dll twain.dll16 enable_win16
18086 wine_fn_config_dll twain_32 enable_twain_32
18087 wine_fn_config_test dlls/twain_32/tests twain_32_test
18088 wine_fn_config_dll typelib.dll16 enable_win16
18089 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18090 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18091 wine_fn_config_dll unicows enable_unicows implib
18092 wine_fn_config_dll updspapi enable_updspapi
18093 wine_fn_config_dll url enable_url implib
18094 wine_fn_config_dll urlmon enable_urlmon clean,implib
18095 wine_fn_config_test dlls/urlmon/tests urlmon_test
18096 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18097 wine_fn_config_dll user.exe16 enable_win16
18098 wine_fn_config_dll user32 enable_user32 clean,implib
18099 wine_fn_config_test dlls/user32/tests user32_test
18100 wine_fn_config_dll userenv enable_userenv implib
18101 wine_fn_config_test dlls/userenv/tests userenv_test
18102 wine_fn_config_dll usp10 enable_usp10 implib
18103 wine_fn_config_test dlls/usp10/tests usp10_test
18104 wine_fn_config_lib uuid
18105 wine_fn_config_dll uxtheme enable_uxtheme implib
18106 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18107 wine_fn_config_dll vbscript enable_vbscript clean
18108 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18109 wine_fn_config_dll vcomp enable_vcomp
18110 wine_fn_config_test dlls/vcomp/tests vcomp_test
18111 wine_fn_config_dll vcomp100 enable_vcomp100
18112 wine_fn_config_dll vcomp110 enable_vcomp110
18113 wine_fn_config_dll vcomp120 enable_vcomp120
18114 wine_fn_config_dll vcomp140 enable_vcomp140
18115 wine_fn_config_dll vcomp90 enable_vcomp90
18116 wine_fn_config_dll vcruntime140 enable_vcruntime140
18117 wine_fn_config_dll vdhcp.vxd enable_win16
18118 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18119 wine_fn_config_dll ver.dll16 enable_win16
18120 wine_fn_config_dll version enable_version implib
18121 wine_fn_config_test dlls/version/tests version_test
18122 wine_fn_config_dll vmm.vxd enable_win16
18123 wine_fn_config_dll vnbt.vxd enable_win16
18124 wine_fn_config_dll vnetbios.vxd enable_win16
18125 wine_fn_config_dll vssapi enable_vssapi
18126 wine_fn_config_dll vtdapi.vxd enable_win16
18127 wine_fn_config_dll vwin32.vxd enable_win16
18128 wine_fn_config_dll w32skrnl enable_win16
18129 wine_fn_config_dll w32sys.dll16 enable_win16
18130 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18131 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18132 wine_fn_config_dll wbemprox enable_wbemprox clean
18133 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18134 wine_fn_config_dll webservices enable_webservices implib
18135 wine_fn_config_test dlls/webservices/tests webservices_test
18136 wine_fn_config_dll wer enable_wer implib
18137 wine_fn_config_test dlls/wer/tests wer_test
18138 wine_fn_config_dll wevtapi enable_wevtapi
18139 wine_fn_config_dll wiaservc enable_wiaservc clean
18140 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18141 wine_fn_config_dll wimgapi enable_wimgapi
18142 wine_fn_config_dll win32s16.dll16 enable_win16
18143 wine_fn_config_dll win87em.dll16 enable_win16
18144 wine_fn_config_dll winaspi.dll16 enable_win16
18145 wine_fn_config_dll windebug.dll16 enable_win16
18146 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18147 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18148 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18149 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18150 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18151 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18152 wine_fn_config_lib winecrt0
18153 wine_fn_config_dll wined3d enable_wined3d implib
18154 wine_fn_config_dll winegstreamer enable_winegstreamer
18155 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18156 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18157 wine_fn_config_dll winemapi enable_winemapi
18158 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18159 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18160 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18161 wine_fn_config_dll wineps16.drv16 enable_win16
18162 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18163 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18164 wine_fn_config_dll winex11.drv enable_winex11_drv
18165 wine_fn_config_dll wing.dll16 enable_win16
18166 wine_fn_config_dll wing32 enable_wing32
18167 wine_fn_config_dll winhttp enable_winhttp clean,implib
18168 wine_fn_config_test dlls/winhttp/tests winhttp_test
18169 wine_fn_config_dll wininet enable_wininet clean,implib
18170 wine_fn_config_test dlls/wininet/tests wininet_test
18171 wine_fn_config_dll winmm enable_winmm clean,implib
18172 wine_fn_config_test dlls/winmm/tests winmm_test
18173 wine_fn_config_dll winnls.dll16 enable_win16
18174 wine_fn_config_dll winnls32 enable_winnls32 implib
18175 wine_fn_config_dll winscard enable_winscard implib
18176 wine_fn_config_dll winsock.dll16 enable_win16
18177 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18178 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18179 wine_fn_config_dll winsta enable_winsta
18180 wine_fn_config_dll wintab.dll16 enable_win16
18181 wine_fn_config_dll wintab32 enable_wintab32 implib
18182 wine_fn_config_test dlls/wintab32/tests wintab32_test
18183 wine_fn_config_dll wintrust enable_wintrust implib
18184 wine_fn_config_test dlls/wintrust/tests wintrust_test
18185 wine_fn_config_dll wlanapi enable_wlanapi
18186 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18187 wine_fn_config_test dlls/wldap32/tests wldap32_test
18188 wine_fn_config_dll wmasf enable_wmasf
18189 wine_fn_config_dll wmi enable_wmi
18190 wine_fn_config_dll wmiutils enable_wmiutils clean
18191 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18192 wine_fn_config_dll wmp enable_wmp clean
18193 wine_fn_config_test dlls/wmp/tests wmp_test
18194 wine_fn_config_dll wmvcore enable_wmvcore
18195 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18196 wine_fn_config_dll wow32 enable_win16 implib
18197 wine_fn_config_dll wpc enable_wpc clean
18198 wine_fn_config_test dlls/wpc/tests wpc_test
18199 wine_fn_config_dll wpcap enable_wpcap
18200 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18201 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18202 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18203 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18204 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18205 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18206 wine_fn_config_dll wsock32 enable_wsock32 implib
18207 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18208 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18209 wine_fn_config_dll wuapi enable_wuapi clean
18210 wine_fn_config_dll wuaueng enable_wuaueng
18211 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18212 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18213 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18214 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18215 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18216 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18217 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18218 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18219 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18220 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18221 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18222 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18223 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18224 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18225 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18226 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18227 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18228 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18229 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18230 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18231 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18232 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18233 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18234 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18235 wine_fn_config_dll xinput1_1 enable_xinput1_1
18236 wine_fn_config_dll xinput1_2 enable_xinput1_2
18237 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18238 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18239 wine_fn_config_dll xinput1_4 enable_xinput1_4
18240 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18241 wine_fn_config_dll xmllite enable_xmllite implib
18242 wine_fn_config_test dlls/xmllite/tests xmllite_test
18243 wine_fn_config_dll xolehlp enable_xolehlp
18244 wine_fn_config_dll xpsprint enable_xpsprint
18245 wine_fn_config_dll xpssvcs enable_xpssvcs
18246 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18247 wine_fn_config_makefile include enable_include clean,install-dev
18248 wine_fn_config_makefile libs/port enable_libs_port
18249 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18250 wine_fn_config_makefile libs/wpp enable_libs_wpp
18251 wine_fn_config_makefile loader enable_loader clean,install-lib
18252 wine_fn_config_makefile po enable_po clean
18253 wine_fn_config_program arp enable_arp install
18254 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18255 wine_fn_config_program attrib enable_attrib clean,install
18256 wine_fn_config_program cabarc enable_cabarc install
18257 wine_fn_config_program cacls enable_cacls install
18258 wine_fn_config_program clock enable_clock clean,install
18259 wine_fn_config_program cmd enable_cmd clean,install
18260 wine_fn_config_test programs/cmd/tests cmd.exe_test
18261 wine_fn_config_program conhost enable_conhost install
18262 wine_fn_config_program control enable_control install
18263 wine_fn_config_program cscript enable_cscript clean,install
18264 wine_fn_config_program dpnsvr enable_dpnsvr install
18265 wine_fn_config_program dxdiag enable_dxdiag clean,install
18266 wine_fn_config_program eject enable_eject install
18267 wine_fn_config_program expand enable_expand install
18268 wine_fn_config_program explorer enable_explorer clean,install
18269 wine_fn_config_program extrac32 enable_extrac32 install
18270 wine_fn_config_program findstr enable_findstr install
18271 wine_fn_config_program fsutil enable_fsutil install
18272 wine_fn_config_program hh enable_hh install
18273 wine_fn_config_program hostname enable_hostname clean,install
18274 wine_fn_config_program icacls enable_icacls install
18275 wine_fn_config_program icinfo enable_icinfo install
18276 wine_fn_config_program iexplore enable_iexplore install
18277 wine_fn_config_program ipconfig enable_ipconfig clean,install
18278 wine_fn_config_program lodctr enable_lodctr install
18279 wine_fn_config_program mofcomp enable_mofcomp install
18280 wine_fn_config_program mshta enable_mshta install
18281 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18282 wine_fn_config_program net enable_net clean,install
18283 wine_fn_config_program netsh enable_netsh install
18284 wine_fn_config_program netstat enable_netstat clean,install
18285 wine_fn_config_program ngen enable_ngen install
18286 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18287 wine_fn_config_program oleview enable_oleview clean,install
18288 wine_fn_config_program ping enable_ping install
18289 wine_fn_config_program plugplay enable_plugplay install
18290 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18291 wine_fn_config_program progman enable_progman clean,install
18292 wine_fn_config_program reg enable_reg clean,install
18293 wine_fn_config_test programs/reg/tests reg.exe_test
18294 wine_fn_config_program regasm enable_regasm install
18295 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18296 wine_fn_config_test programs/regedit/tests regedit.exe_test
18297 wine_fn_config_program regsvcs enable_regsvcs install
18298 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18299 wine_fn_config_program rpcss enable_rpcss clean,install
18300 wine_fn_config_program rundll.exe16 enable_win16 install
18301 wine_fn_config_program rundll32 enable_rundll32 install
18302 wine_fn_config_program sc enable_sc install
18303 wine_fn_config_program schtasks enable_schtasks install
18304 wine_fn_config_program sdbinst enable_sdbinst install
18305 wine_fn_config_program secedit enable_secedit install
18306 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18307 wine_fn_config_program services enable_services clean,install
18308 wine_fn_config_test programs/services/tests services.exe_test
18309 wine_fn_config_program shutdown enable_shutdown install
18310 wine_fn_config_program spoolsv enable_spoolsv install
18311 wine_fn_config_program start enable_start clean,install
18312 wine_fn_config_program svchost enable_svchost install
18313 wine_fn_config_program systeminfo enable_systeminfo install
18314 wine_fn_config_program taskkill enable_taskkill clean,install
18315 wine_fn_config_program tasklist enable_tasklist install
18316 wine_fn_config_program taskmgr enable_taskmgr clean,install
18317 wine_fn_config_program termsv enable_termsv install
18318 wine_fn_config_program uninstaller enable_uninstaller clean,install
18319 wine_fn_config_program unlodctr enable_unlodctr install
18320 wine_fn_config_program view enable_view clean,install
18321 wine_fn_config_program wevtutil enable_wevtutil install
18322 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18323 wine_fn_config_program winebrowser enable_winebrowser install
18324 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18325 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18326 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18327 wine_fn_config_program winedevice enable_winedevice install
18328 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18329 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18330 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18331 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18332 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18333 wine_fn_config_program winetest enable_winetest clean
18334 wine_fn_config_program winevdm enable_win16 install
18335 wine_fn_config_program winhelp.exe16 enable_win16 install
18336 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18337 wine_fn_config_program winoldap.mod16 enable_win16 install
18338 wine_fn_config_program winver enable_winver install
18339 wine_fn_config_program wmic enable_wmic clean,install
18340 wine_fn_config_program wmplayer enable_wmplayer install
18341 wine_fn_config_program wordpad enable_wordpad clean,install
18342 wine_fn_config_program write enable_write clean,install
18343 wine_fn_config_program wscript enable_wscript clean,install
18344 wine_fn_config_test programs/wscript/tests wscript.exe_test
18345 wine_fn_config_program wusa enable_wusa install
18346 wine_fn_config_program xcopy enable_xcopy clean,install
18347 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18348 wine_fn_config_makefile server enable_server clean,install-lib
18349 wine_fn_config_tool tools clean
18350 wine_fn_config_tool tools/sfnt2fon clean
18351 wine_fn_config_tool tools/widl clean,install-dev
18352 wine_fn_config_tool tools/winebuild clean,install-dev
18353 wine_fn_config_tool tools/winedump clean,install-dev
18354 wine_fn_config_tool tools/winegcc clean,install-dev
18355 wine_fn_config_tool tools/winemaker clean,install-dev
18356 wine_fn_config_tool tools/wmc clean,install-dev
18357 wine_fn_config_tool tools/wrc clean,install-dev
18360 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18361 wine_fn_append_file CONFIGURE_TARGETS "tags"
18362 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18363 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18364 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18365 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18366 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18367 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18369 if test "x$enable_tools" != xno
18370 then
18371 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18372 ac_config_commands="$ac_config_commands tools/makedep"
18376 ac_config_commands="$ac_config_commands Makefile"
18379 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18383 if test "x$enable_maintainer_mode" = xyes
18384 then
18385 wine_fn_append_rule "configure: configure.ac aclocal.m4
18386 autoconf --warnings=all
18387 include/config.h.in: include/stamp-h.in
18388 include/stamp-h.in: configure.ac aclocal.m4
18389 autoheader --warnings=all
18390 @echo timestamp > \$@"
18393 if test "x$enable_tools" != xno
18394 then
18395 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18396 @./config.status tools/makedep
18397 Makefile: tools/makedep$ac_exeext"
18398 else
18399 wine_fn_append_rule "\$(MAKEDEP):
18400 @echo \"You need to run make in $TOOLSDIR first\" && false"
18403 if test -n "$with_wine64"
18404 then
18405 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18406 fonts server:
18407 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18408 $with_wine64/loader/wine:
18409 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18410 $with_wine64/loader/wine-preloader:
18411 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18412 clean::
18413 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18414 else
18415 WINELOADER_INSTALL="wine.inf"
18417 wine_fn_append_rule "install install-lib::
18418 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18419 uninstall::
18420 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18421 case $host_os in
18422 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18423 *) wine_fn_append_rule "install install-lib::
18424 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18425 uninstall::
18426 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18427 esac
18430 $as_echo " done" >&6
18431 cat >confcache <<\_ACEOF
18432 # This file is a shell script that caches the results of configure
18433 # tests run on this system so they can be shared between configure
18434 # scripts and configure runs, see configure's option --config-cache.
18435 # It is not useful on other systems. If it contains results you don't
18436 # want to keep, you may remove or edit it.
18438 # config.status only pays attention to the cache file if you give it
18439 # the --recheck option to rerun configure.
18441 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18442 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18443 # following values.
18445 _ACEOF
18447 # The following way of writing the cache mishandles newlines in values,
18448 # but we know of no workaround that is simple, portable, and efficient.
18449 # So, we kill variables containing newlines.
18450 # Ultrix sh set writes to stderr and can't be redirected directly,
18451 # and sets the high bit in the cache file unless we assign to the vars.
18453 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18454 eval ac_val=\$$ac_var
18455 case $ac_val in #(
18456 *${as_nl}*)
18457 case $ac_var in #(
18458 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18459 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18460 esac
18461 case $ac_var in #(
18462 _ | IFS | as_nl) ;; #(
18463 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18464 *) { eval $ac_var=; unset $ac_var;} ;;
18465 esac ;;
18466 esac
18467 done
18469 (set) 2>&1 |
18470 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18471 *${as_nl}ac_space=\ *)
18472 # `set' does not quote correctly, so add quotes: double-quote
18473 # substitution turns \\\\ into \\, and sed turns \\ into \.
18474 sed -n \
18475 "s/'/'\\\\''/g;
18476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18477 ;; #(
18479 # `set' quotes correctly as required by POSIX, so do not add quotes.
18480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18482 esac |
18483 sort
18485 sed '
18486 /^ac_cv_env_/b end
18487 t clear
18488 :clear
18489 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18490 t end
18491 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18492 :end' >>confcache
18493 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18494 if test -w "$cache_file"; then
18495 if test "x$cache_file" != "x/dev/null"; then
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18497 $as_echo "$as_me: updating cache $cache_file" >&6;}
18498 if test ! -f "$cache_file" || test -h "$cache_file"; then
18499 cat confcache >"$cache_file"
18500 else
18501 case $cache_file in #(
18502 */* | ?:*)
18503 mv -f confcache "$cache_file"$$ &&
18504 mv -f "$cache_file"$$ "$cache_file" ;; #(
18506 mv -f confcache "$cache_file" ;;
18507 esac
18510 else
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18512 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18515 rm -f confcache
18517 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18518 # Let make expand exec_prefix.
18519 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18521 DEFS=-DHAVE_CONFIG_H
18523 ac_libobjs=
18524 ac_ltlibobjs=
18526 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18527 # 1. Remove the extension, and $U if already installed.
18528 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18529 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18530 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18531 # will be set to the directory where LIBOBJS objects are built.
18532 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18533 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18534 done
18535 LIBOBJS=$ac_libobjs
18537 LTLIBOBJS=$ac_ltlibobjs
18541 : "${CONFIG_STATUS=./config.status}"
18542 ac_write_fail=0
18543 ac_clean_files_save=$ac_clean_files
18544 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18546 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18547 as_write_fail=0
18548 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18549 #! $SHELL
18550 # Generated by $as_me.
18551 # Run this file to recreate the current configuration.
18552 # Compiler output produced by configure, useful for debugging
18553 # configure, is in config.log if it exists.
18555 debug=false
18556 ac_cs_recheck=false
18557 ac_cs_silent=false
18559 SHELL=\${CONFIG_SHELL-$SHELL}
18560 export SHELL
18561 _ASEOF
18562 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18563 ## -------------------- ##
18564 ## M4sh Initialization. ##
18565 ## -------------------- ##
18567 # Be more Bourne compatible
18568 DUALCASE=1; export DUALCASE # for MKS sh
18569 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18570 emulate sh
18571 NULLCMD=:
18572 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18573 # is contrary to our usage. Disable this feature.
18574 alias -g '${1+"$@"}'='"$@"'
18575 setopt NO_GLOB_SUBST
18576 else
18577 case `(set -o) 2>/dev/null` in #(
18578 *posix*) :
18579 set -o posix ;; #(
18580 *) :
18582 esac
18586 as_nl='
18588 export as_nl
18589 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18590 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18591 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18592 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18593 # Prefer a ksh shell builtin over an external printf program on Solaris,
18594 # but without wasting forks for bash or zsh.
18595 if test -z "$BASH_VERSION$ZSH_VERSION" \
18596 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18597 as_echo='print -r --'
18598 as_echo_n='print -rn --'
18599 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18600 as_echo='printf %s\n'
18601 as_echo_n='printf %s'
18602 else
18603 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18604 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18605 as_echo_n='/usr/ucb/echo -n'
18606 else
18607 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18608 as_echo_n_body='eval
18609 arg=$1;
18610 case $arg in #(
18611 *"$as_nl"*)
18612 expr "X$arg" : "X\\(.*\\)$as_nl";
18613 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18614 esac;
18615 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18617 export as_echo_n_body
18618 as_echo_n='sh -c $as_echo_n_body as_echo'
18620 export as_echo_body
18621 as_echo='sh -c $as_echo_body as_echo'
18624 # The user is always right.
18625 if test "${PATH_SEPARATOR+set}" != set; then
18626 PATH_SEPARATOR=:
18627 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18628 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18629 PATH_SEPARATOR=';'
18634 # IFS
18635 # We need space, tab and new line, in precisely that order. Quoting is
18636 # there to prevent editors from complaining about space-tab.
18637 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18638 # splitting by setting IFS to empty value.)
18639 IFS=" "" $as_nl"
18641 # Find who we are. Look in the path if we contain no directory separator.
18642 as_myself=
18643 case $0 in #((
18644 *[\\/]* ) as_myself=$0 ;;
18645 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18646 for as_dir in $PATH
18648 IFS=$as_save_IFS
18649 test -z "$as_dir" && as_dir=.
18650 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18651 done
18652 IFS=$as_save_IFS
18655 esac
18656 # We did not find ourselves, most probably we were run as `sh COMMAND'
18657 # in which case we are not to be found in the path.
18658 if test "x$as_myself" = x; then
18659 as_myself=$0
18661 if test ! -f "$as_myself"; then
18662 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18663 exit 1
18666 # Unset variables that we do not need and which cause bugs (e.g. in
18667 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18668 # suppresses any "Segmentation fault" message there. '((' could
18669 # trigger a bug in pdksh 5.2.14.
18670 for as_var in BASH_ENV ENV MAIL MAILPATH
18671 do eval test x\${$as_var+set} = xset \
18672 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18673 done
18674 PS1='$ '
18675 PS2='> '
18676 PS4='+ '
18678 # NLS nuisances.
18679 LC_ALL=C
18680 export LC_ALL
18681 LANGUAGE=C
18682 export LANGUAGE
18684 # CDPATH.
18685 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18688 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18689 # ----------------------------------------
18690 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18691 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18692 # script with STATUS, using 1 if that was 0.
18693 as_fn_error ()
18695 as_status=$1; test $as_status -eq 0 && as_status=1
18696 if test "$4"; then
18697 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18698 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18700 $as_echo "$as_me: error: $2" >&2
18701 as_fn_exit $as_status
18702 } # as_fn_error
18705 # as_fn_set_status STATUS
18706 # -----------------------
18707 # Set $? to STATUS, without forking.
18708 as_fn_set_status ()
18710 return $1
18711 } # as_fn_set_status
18713 # as_fn_exit STATUS
18714 # -----------------
18715 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18716 as_fn_exit ()
18718 set +e
18719 as_fn_set_status $1
18720 exit $1
18721 } # as_fn_exit
18723 # as_fn_unset VAR
18724 # ---------------
18725 # Portably unset VAR.
18726 as_fn_unset ()
18728 { eval $1=; unset $1;}
18730 as_unset=as_fn_unset
18731 # as_fn_append VAR VALUE
18732 # ----------------------
18733 # Append the text in VALUE to the end of the definition contained in VAR. Take
18734 # advantage of any shell optimizations that allow amortized linear growth over
18735 # repeated appends, instead of the typical quadratic growth present in naive
18736 # implementations.
18737 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18738 eval 'as_fn_append ()
18740 eval $1+=\$2
18742 else
18743 as_fn_append ()
18745 eval $1=\$$1\$2
18747 fi # as_fn_append
18749 # as_fn_arith ARG...
18750 # ------------------
18751 # Perform arithmetic evaluation on the ARGs, and store the result in the
18752 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18753 # must be portable across $(()) and expr.
18754 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18755 eval 'as_fn_arith ()
18757 as_val=$(( $* ))
18759 else
18760 as_fn_arith ()
18762 as_val=`expr "$@" || test $? -eq 1`
18764 fi # as_fn_arith
18767 if expr a : '\(a\)' >/dev/null 2>&1 &&
18768 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18769 as_expr=expr
18770 else
18771 as_expr=false
18774 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18775 as_basename=basename
18776 else
18777 as_basename=false
18780 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18781 as_dirname=dirname
18782 else
18783 as_dirname=false
18786 as_me=`$as_basename -- "$0" ||
18787 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18788 X"$0" : 'X\(//\)$' \| \
18789 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18790 $as_echo X/"$0" |
18791 sed '/^.*\/\([^/][^/]*\)\/*$/{
18792 s//\1/
18795 /^X\/\(\/\/\)$/{
18796 s//\1/
18799 /^X\/\(\/\).*/{
18800 s//\1/
18803 s/.*/./; q'`
18805 # Avoid depending upon Character Ranges.
18806 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18807 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18808 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18809 as_cr_digits='0123456789'
18810 as_cr_alnum=$as_cr_Letters$as_cr_digits
18812 ECHO_C= ECHO_N= ECHO_T=
18813 case `echo -n x` in #(((((
18814 -n*)
18815 case `echo 'xy\c'` in
18816 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18817 xy) ECHO_C='\c';;
18818 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18819 ECHO_T=' ';;
18820 esac;;
18822 ECHO_N='-n';;
18823 esac
18825 rm -f conf$$ conf$$.exe conf$$.file
18826 if test -d conf$$.dir; then
18827 rm -f conf$$.dir/conf$$.file
18828 else
18829 rm -f conf$$.dir
18830 mkdir conf$$.dir 2>/dev/null
18832 if (echo >conf$$.file) 2>/dev/null; then
18833 if ln -s conf$$.file conf$$ 2>/dev/null; then
18834 as_ln_s='ln -s'
18835 # ... but there are two gotchas:
18836 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18837 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18838 # In both cases, we have to default to `cp -pR'.
18839 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18840 as_ln_s='cp -pR'
18841 elif ln conf$$.file conf$$ 2>/dev/null; then
18842 as_ln_s=ln
18843 else
18844 as_ln_s='cp -pR'
18846 else
18847 as_ln_s='cp -pR'
18849 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18850 rmdir conf$$.dir 2>/dev/null
18853 # as_fn_mkdir_p
18854 # -------------
18855 # Create "$as_dir" as a directory, including parents if necessary.
18856 as_fn_mkdir_p ()
18859 case $as_dir in #(
18860 -*) as_dir=./$as_dir;;
18861 esac
18862 test -d "$as_dir" || eval $as_mkdir_p || {
18863 as_dirs=
18864 while :; do
18865 case $as_dir in #(
18866 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18867 *) as_qdir=$as_dir;;
18868 esac
18869 as_dirs="'$as_qdir' $as_dirs"
18870 as_dir=`$as_dirname -- "$as_dir" ||
18871 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18872 X"$as_dir" : 'X\(//\)[^/]' \| \
18873 X"$as_dir" : 'X\(//\)$' \| \
18874 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18875 $as_echo X"$as_dir" |
18876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18877 s//\1/
18880 /^X\(\/\/\)[^/].*/{
18881 s//\1/
18884 /^X\(\/\/\)$/{
18885 s//\1/
18888 /^X\(\/\).*/{
18889 s//\1/
18892 s/.*/./; q'`
18893 test -d "$as_dir" && break
18894 done
18895 test -z "$as_dirs" || eval "mkdir $as_dirs"
18896 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18899 } # as_fn_mkdir_p
18900 if mkdir -p . 2>/dev/null; then
18901 as_mkdir_p='mkdir -p "$as_dir"'
18902 else
18903 test -d ./-p && rmdir ./-p
18904 as_mkdir_p=false
18908 # as_fn_executable_p FILE
18909 # -----------------------
18910 # Test if FILE is an executable regular file.
18911 as_fn_executable_p ()
18913 test -f "$1" && test -x "$1"
18914 } # as_fn_executable_p
18915 as_test_x='test -x'
18916 as_executable_p=as_fn_executable_p
18918 # Sed expression to map a string onto a valid CPP name.
18919 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18921 # Sed expression to map a string onto a valid variable name.
18922 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18925 exec 6>&1
18926 ## ----------------------------------- ##
18927 ## Main body of $CONFIG_STATUS script. ##
18928 ## ----------------------------------- ##
18929 _ASEOF
18930 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18933 # Save the log message, to keep $0 and so on meaningful, and to
18934 # report actual input values of CONFIG_FILES etc. instead of their
18935 # values after options handling.
18936 ac_log="
18937 This file was extended by Wine $as_me 1.9.17, which was
18938 generated by GNU Autoconf 2.69. Invocation command line was
18940 CONFIG_FILES = $CONFIG_FILES
18941 CONFIG_HEADERS = $CONFIG_HEADERS
18942 CONFIG_LINKS = $CONFIG_LINKS
18943 CONFIG_COMMANDS = $CONFIG_COMMANDS
18944 $ $0 $@
18946 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18949 _ACEOF
18951 case $ac_config_files in *"
18952 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18953 esac
18955 case $ac_config_headers in *"
18956 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18957 esac
18960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18961 # Files that config.status was made for.
18962 config_files="$ac_config_files"
18963 config_headers="$ac_config_headers"
18964 config_links="$ac_config_links"
18965 config_commands="$ac_config_commands"
18967 _ACEOF
18969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18970 ac_cs_usage="\
18971 \`$as_me' instantiates files and other configuration actions
18972 from templates according to the current configuration. Unless the files
18973 and actions are specified as TAGs, all are instantiated by default.
18975 Usage: $0 [OPTION]... [TAG]...
18977 -h, --help print this help, then exit
18978 -V, --version print version number and configuration settings, then exit
18979 --config print configuration, then exit
18980 -q, --quiet, --silent
18981 do not print progress messages
18982 -d, --debug don't remove temporary files
18983 --recheck update $as_me by reconfiguring in the same conditions
18984 --file=FILE[:TEMPLATE]
18985 instantiate the configuration file FILE
18986 --header=FILE[:TEMPLATE]
18987 instantiate the configuration header FILE
18989 Configuration files:
18990 $config_files
18992 Configuration headers:
18993 $config_headers
18995 Configuration links:
18996 $config_links
18998 Configuration commands:
18999 $config_commands
19001 Report bugs to <wine-devel@winehq.org>.
19002 Wine home page: <http://www.winehq.org>."
19004 _ACEOF
19005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19006 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19007 ac_cs_version="\\
19008 Wine config.status 1.9.17
19009 configured by $0, generated by GNU Autoconf 2.69,
19010 with options \\"\$ac_cs_config\\"
19012 Copyright (C) 2012 Free Software Foundation, Inc.
19013 This config.status script is free software; the Free Software Foundation
19014 gives unlimited permission to copy, distribute and modify it."
19016 ac_pwd='$ac_pwd'
19017 srcdir='$srcdir'
19018 test -n "\$AWK" || AWK=awk
19019 _ACEOF
19021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19022 # The default lists apply if the user does not specify any file.
19023 ac_need_defaults=:
19024 while test $# != 0
19026 case $1 in
19027 --*=?*)
19028 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19029 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19030 ac_shift=:
19032 --*=)
19033 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19034 ac_optarg=
19035 ac_shift=:
19038 ac_option=$1
19039 ac_optarg=$2
19040 ac_shift=shift
19042 esac
19044 case $ac_option in
19045 # Handling of the options.
19046 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19047 ac_cs_recheck=: ;;
19048 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19049 $as_echo "$ac_cs_version"; exit ;;
19050 --config | --confi | --conf | --con | --co | --c )
19051 $as_echo "$ac_cs_config"; exit ;;
19052 --debug | --debu | --deb | --de | --d | -d )
19053 debug=: ;;
19054 --file | --fil | --fi | --f )
19055 $ac_shift
19056 case $ac_optarg in
19057 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19058 '') as_fn_error $? "missing file argument" ;;
19059 esac
19060 as_fn_append CONFIG_FILES " '$ac_optarg'"
19061 ac_need_defaults=false;;
19062 --header | --heade | --head | --hea )
19063 $ac_shift
19064 case $ac_optarg in
19065 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19066 esac
19067 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19068 ac_need_defaults=false;;
19069 --he | --h)
19070 # Conflict between --help and --header
19071 as_fn_error $? "ambiguous option: \`$1'
19072 Try \`$0 --help' for more information.";;
19073 --help | --hel | -h )
19074 $as_echo "$ac_cs_usage"; exit ;;
19075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19076 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19077 ac_cs_silent=: ;;
19079 # This is an error.
19080 -*) as_fn_error $? "unrecognized option: \`$1'
19081 Try \`$0 --help' for more information." ;;
19083 *) as_fn_append ac_config_targets " $1"
19084 ac_need_defaults=false ;;
19086 esac
19087 shift
19088 done
19090 ac_configure_extra_args=
19092 if $ac_cs_silent; then
19093 exec 6>/dev/null
19094 ac_configure_extra_args="$ac_configure_extra_args --silent"
19097 _ACEOF
19098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19099 if \$ac_cs_recheck; then
19100 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19101 shift
19102 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19103 CONFIG_SHELL='$SHELL'
19104 export CONFIG_SHELL
19105 exec "\$@"
19108 _ACEOF
19109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19110 exec 5>>config.log
19112 echo
19113 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19114 ## Running $as_me. ##
19115 _ASBOX
19116 $as_echo "$ac_log"
19117 } >&5
19119 _ACEOF
19120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19122 # INIT-COMMANDS
19124 wine_fn_output_makedep ()
19126 as_dir=tools; as_fn_mkdir_p
19127 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19129 wine_fn_output_makefile ()
19131 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19132 `cat $wine_rules_file`
19133 _WINE_EOF
19134 as_fn_error $? "could not create Makefile" "$LINENO" 5
19137 _ACEOF
19139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19141 # Handling of arguments.
19142 for ac_config_target in $ac_config_targets
19144 case $ac_config_target in
19145 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19146 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19147 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19148 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19149 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19150 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19151 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19152 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19153 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19154 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19155 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19156 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19157 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19159 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19160 esac
19161 done
19164 # If the user did not use the arguments to specify the items to instantiate,
19165 # then the envvar interface is used. Set only those that are not.
19166 # We use the long form for the default assignment because of an extremely
19167 # bizarre bug on SunOS 4.1.3.
19168 if $ac_need_defaults; then
19169 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19170 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19171 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19172 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19175 # Have a temporary directory for convenience. Make it in the build tree
19176 # simply because there is no reason against having it here, and in addition,
19177 # creating and moving files from /tmp can sometimes cause problems.
19178 # Hook for its removal unless debugging.
19179 # Note that there is a small window in which the directory will not be cleaned:
19180 # after its creation but before its name has been assigned to `$tmp'.
19181 $debug ||
19183 tmp= ac_tmp=
19184 trap 'exit_status=$?
19185 : "${ac_tmp:=$tmp}"
19186 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19188 trap 'as_fn_exit 1' 1 2 13 15
19190 # Create a (secure) tmp directory for tmp files.
19193 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19194 test -d "$tmp"
19195 } ||
19197 tmp=./conf$$-$RANDOM
19198 (umask 077 && mkdir "$tmp")
19199 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19200 ac_tmp=$tmp
19202 # Set up the scripts for CONFIG_FILES section.
19203 # No need to generate them if there are no CONFIG_FILES.
19204 # This happens for instance with `./config.status config.h'.
19205 if test -n "$CONFIG_FILES"; then
19208 ac_cr=`echo X | tr X '\015'`
19209 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19210 # But we know of no other shell where ac_cr would be empty at this
19211 # point, so we can use a bashism as a fallback.
19212 if test "x$ac_cr" = x; then
19213 eval ac_cr=\$\'\\r\'
19215 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19216 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19217 ac_cs_awk_cr='\\r'
19218 else
19219 ac_cs_awk_cr=$ac_cr
19222 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19223 _ACEOF
19227 echo "cat >conf$$subs.awk <<_ACEOF" &&
19228 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19229 echo "_ACEOF"
19230 } >conf$$subs.sh ||
19231 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19232 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19233 ac_delim='%!_!# '
19234 for ac_last_try in false false false false false :; do
19235 . ./conf$$subs.sh ||
19236 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19238 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19239 if test $ac_delim_n = $ac_delim_num; then
19240 break
19241 elif $ac_last_try; then
19242 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19243 else
19244 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19246 done
19247 rm -f conf$$subs.sh
19249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19250 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19251 _ACEOF
19252 sed -n '
19254 s/^/S["/; s/!.*/"]=/
19257 s/^[^!]*!//
19258 :repl
19259 t repl
19260 s/'"$ac_delim"'$//
19261 t delim
19264 s/\(.\{148\}\)..*/\1/
19265 t more1
19266 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19269 b repl
19270 :more1
19271 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19274 s/.\{148\}//
19275 t nl
19276 :delim
19278 s/\(.\{148\}\)..*/\1/
19279 t more2
19280 s/["\\]/\\&/g; s/^/"/; s/$/"/
19283 :more2
19284 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19287 s/.\{148\}//
19288 t delim
19289 ' <conf$$subs.awk | sed '
19290 /^[^""]/{
19292 s/\n//
19294 ' >>$CONFIG_STATUS || ac_write_fail=1
19295 rm -f conf$$subs.awk
19296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19297 _ACAWK
19298 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19299 for (key in S) S_is_set[key] = 1
19300 FS = "\a"
19304 line = $ 0
19305 nfields = split(line, field, "@")
19306 substed = 0
19307 len = length(field[1])
19308 for (i = 2; i < nfields; i++) {
19309 key = field[i]
19310 keylen = length(key)
19311 if (S_is_set[key]) {
19312 value = S[key]
19313 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19314 len += length(value) + length(field[++i])
19315 substed = 1
19316 } else
19317 len += 1 + keylen
19320 print line
19323 _ACAWK
19324 _ACEOF
19325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19326 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19327 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19328 else
19330 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19331 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19332 _ACEOF
19334 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19335 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19336 # trailing colons and then remove the whole line if VPATH becomes empty
19337 # (actually we leave an empty line to preserve line numbers).
19338 if test "x$srcdir" = x.; then
19339 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19341 s///
19342 s/^/:/
19343 s/[ ]*$/:/
19344 s/:\$(srcdir):/:/g
19345 s/:\${srcdir}:/:/g
19346 s/:@srcdir@:/:/g
19347 s/^:*//
19348 s/:*$//
19350 s/\(=[ ]*\).*/\1/
19352 s/\n//
19353 s/^[^=]*=[ ]*$//
19357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19358 fi # test -n "$CONFIG_FILES"
19360 # Set up the scripts for CONFIG_HEADERS section.
19361 # No need to generate them if there are no CONFIG_HEADERS.
19362 # This happens for instance with `./config.status Makefile'.
19363 if test -n "$CONFIG_HEADERS"; then
19364 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19365 BEGIN {
19366 _ACEOF
19368 # Transform confdefs.h into an awk script `defines.awk', embedded as
19369 # here-document in config.status, that substitutes the proper values into
19370 # config.h.in to produce config.h.
19372 # Create a delimiter string that does not exist in confdefs.h, to ease
19373 # handling of long lines.
19374 ac_delim='%!_!# '
19375 for ac_last_try in false false :; do
19376 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19377 if test -z "$ac_tt"; then
19378 break
19379 elif $ac_last_try; then
19380 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19381 else
19382 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19384 done
19386 # For the awk script, D is an array of macro values keyed by name,
19387 # likewise P contains macro parameters if any. Preserve backslash
19388 # newline sequences.
19390 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19391 sed -n '
19392 s/.\{148\}/&'"$ac_delim"'/g
19393 t rset
19394 :rset
19395 s/^[ ]*#[ ]*define[ ][ ]*/ /
19396 t def
19398 :def
19399 s/\\$//
19400 t bsnl
19401 s/["\\]/\\&/g
19402 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19403 D["\1"]=" \3"/p
19404 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19406 :bsnl
19407 s/["\\]/\\&/g
19408 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19409 D["\1"]=" \3\\\\\\n"\\/p
19410 t cont
19411 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19412 t cont
19414 :cont
19416 s/.\{148\}/&'"$ac_delim"'/g
19417 t clear
19418 :clear
19419 s/\\$//
19420 t bsnlc
19421 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19423 :bsnlc
19424 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19425 b cont
19426 ' <confdefs.h | sed '
19427 s/'"$ac_delim"'/"\\\
19428 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19431 for (key in D) D_is_set[key] = 1
19432 FS = "\a"
19434 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19435 line = \$ 0
19436 split(line, arg, " ")
19437 if (arg[1] == "#") {
19438 defundef = arg[2]
19439 mac1 = arg[3]
19440 } else {
19441 defundef = substr(arg[1], 2)
19442 mac1 = arg[2]
19444 split(mac1, mac2, "(") #)
19445 macro = mac2[1]
19446 prefix = substr(line, 1, index(line, defundef) - 1)
19447 if (D_is_set[macro]) {
19448 # Preserve the white space surrounding the "#".
19449 print prefix "define", macro P[macro] D[macro]
19450 next
19451 } else {
19452 # Replace #undef with comments. This is necessary, for example,
19453 # in the case of _POSIX_SOURCE, which is predefined and required
19454 # on some systems where configure will not decide to define it.
19455 if (defundef == "undef") {
19456 print "/*", prefix defundef, macro, "*/"
19457 next
19461 { print }
19462 _ACAWK
19463 _ACEOF
19464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19465 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19466 fi # test -n "$CONFIG_HEADERS"
19469 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19470 shift
19471 for ac_tag
19473 case $ac_tag in
19474 :[FHLC]) ac_mode=$ac_tag; continue;;
19475 esac
19476 case $ac_mode$ac_tag in
19477 :[FHL]*:*);;
19478 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19479 :[FH]-) ac_tag=-:-;;
19480 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19481 esac
19482 ac_save_IFS=$IFS
19483 IFS=:
19484 set x $ac_tag
19485 IFS=$ac_save_IFS
19486 shift
19487 ac_file=$1
19488 shift
19490 case $ac_mode in
19491 :L) ac_source=$1;;
19492 :[FH])
19493 ac_file_inputs=
19494 for ac_f
19496 case $ac_f in
19497 -) ac_f="$ac_tmp/stdin";;
19498 *) # Look for the file first in the build tree, then in the source tree
19499 # (if the path is not absolute). The absolute path cannot be DOS-style,
19500 # because $ac_f cannot contain `:'.
19501 test -f "$ac_f" ||
19502 case $ac_f in
19503 [\\/$]*) false;;
19504 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19505 esac ||
19506 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19507 esac
19508 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19509 as_fn_append ac_file_inputs " '$ac_f'"
19510 done
19512 # Let's still pretend it is `configure' which instantiates (i.e., don't
19513 # use $as_me), people would be surprised to read:
19514 # /* config.h. Generated by config.status. */
19515 configure_input='Generated from '`
19516 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19517 `' by configure.'
19518 if test x"$ac_file" != x-; then
19519 configure_input="$ac_file. $configure_input"
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19521 $as_echo "$as_me: creating $ac_file" >&6;}
19523 # Neutralize special characters interpreted by sed in replacement strings.
19524 case $configure_input in #(
19525 *\&* | *\|* | *\\* )
19526 ac_sed_conf_input=`$as_echo "$configure_input" |
19527 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19528 *) ac_sed_conf_input=$configure_input;;
19529 esac
19531 case $ac_tag in
19532 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19533 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19534 esac
19536 esac
19538 ac_dir=`$as_dirname -- "$ac_file" ||
19539 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19540 X"$ac_file" : 'X\(//\)[^/]' \| \
19541 X"$ac_file" : 'X\(//\)$' \| \
19542 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19543 $as_echo X"$ac_file" |
19544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19545 s//\1/
19548 /^X\(\/\/\)[^/].*/{
19549 s//\1/
19552 /^X\(\/\/\)$/{
19553 s//\1/
19556 /^X\(\/\).*/{
19557 s//\1/
19560 s/.*/./; q'`
19561 as_dir="$ac_dir"; as_fn_mkdir_p
19562 ac_builddir=.
19564 case "$ac_dir" in
19565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19567 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19568 # A ".." for each directory in $ac_dir_suffix.
19569 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19570 case $ac_top_builddir_sub in
19571 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19572 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19573 esac ;;
19574 esac
19575 ac_abs_top_builddir=$ac_pwd
19576 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19577 # for backward compatibility:
19578 ac_top_builddir=$ac_top_build_prefix
19580 case $srcdir in
19581 .) # We are building in place.
19582 ac_srcdir=.
19583 ac_top_srcdir=$ac_top_builddir_sub
19584 ac_abs_top_srcdir=$ac_pwd ;;
19585 [\\/]* | ?:[\\/]* ) # Absolute name.
19586 ac_srcdir=$srcdir$ac_dir_suffix;
19587 ac_top_srcdir=$srcdir
19588 ac_abs_top_srcdir=$srcdir ;;
19589 *) # Relative name.
19590 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19591 ac_top_srcdir=$ac_top_build_prefix$srcdir
19592 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19593 esac
19594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19597 case $ac_mode in
19600 # CONFIG_FILE
19603 _ACEOF
19605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19606 # If the template does not know about datarootdir, expand it.
19607 # FIXME: This hack should be removed a few years after 2.60.
19608 ac_datarootdir_hack=; ac_datarootdir_seen=
19609 ac_sed_dataroot='
19610 /datarootdir/ {
19614 /@datadir@/p
19615 /@docdir@/p
19616 /@infodir@/p
19617 /@localedir@/p
19618 /@mandir@/p'
19619 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19620 *datarootdir*) ac_datarootdir_seen=yes;;
19621 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19623 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19624 _ACEOF
19625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19626 ac_datarootdir_hack='
19627 s&@datadir@&$datadir&g
19628 s&@docdir@&$docdir&g
19629 s&@infodir@&$infodir&g
19630 s&@localedir@&$localedir&g
19631 s&@mandir@&$mandir&g
19632 s&\\\${datarootdir}&$datarootdir&g' ;;
19633 esac
19634 _ACEOF
19636 # Neutralize VPATH when `$srcdir' = `.'.
19637 # Shell code in configure.ac might set extrasub.
19638 # FIXME: do we really want to maintain this feature?
19639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19640 ac_sed_extra="$ac_vpsub
19641 $extrasub
19642 _ACEOF
19643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19646 s|@configure_input@|$ac_sed_conf_input|;t t
19647 s&@top_builddir@&$ac_top_builddir_sub&;t t
19648 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19649 s&@srcdir@&$ac_srcdir&;t t
19650 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19651 s&@top_srcdir@&$ac_top_srcdir&;t t
19652 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19653 s&@builddir@&$ac_builddir&;t t
19654 s&@abs_builddir@&$ac_abs_builddir&;t t
19655 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19656 $ac_datarootdir_hack
19658 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19659 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19661 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19662 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19663 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19664 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19666 which seems to be undefined. Please make sure it is defined" >&5
19667 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19668 which seems to be undefined. Please make sure it is defined" >&2;}
19670 rm -f "$ac_tmp/stdin"
19671 case $ac_file in
19672 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19673 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19674 esac \
19675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19679 # CONFIG_HEADER
19681 if test x"$ac_file" != x-; then
19683 $as_echo "/* $configure_input */" \
19684 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19685 } >"$ac_tmp/config.h" \
19686 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19687 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19689 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19690 else
19691 rm -f "$ac_file"
19692 mv "$ac_tmp/config.h" "$ac_file" \
19693 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19695 else
19696 $as_echo "/* $configure_input */" \
19697 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19698 || as_fn_error $? "could not create -" "$LINENO" 5
19703 # CONFIG_LINK
19706 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19708 else
19709 # Prefer the file from the source tree if names are identical.
19710 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19711 ac_source=$srcdir/$ac_source
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19715 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19717 if test ! -r "$ac_source"; then
19718 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19720 rm -f "$ac_file"
19722 # Try a relative symlink, then a hard link, then a copy.
19723 case $ac_source in
19724 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19725 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19726 esac
19727 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19728 ln "$ac_source" "$ac_file" 2>/dev/null ||
19729 cp -p "$ac_source" "$ac_file" ||
19730 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19733 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19734 $as_echo "$as_me: executing $ac_file commands" >&6;}
19736 esac
19739 case $ac_file$ac_mode in
19740 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19741 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19742 "Makefile":C) wine_fn_output_makefile Makefile ;;
19744 esac
19745 done # for ac_tag
19748 as_fn_exit 0
19749 _ACEOF
19750 ac_clean_files=$ac_clean_files_save
19752 test $ac_write_fail = 0 ||
19753 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19756 # configure is writing to config.log, and then calls config.status.
19757 # config.status does its own redirection, appending to config.log.
19758 # Unfortunately, on DOS this fails, as config.log is still kept open
19759 # by configure, so config.status won't be able to write to it; its
19760 # output is simply discarded. So we exec the FD to /dev/null,
19761 # effectively closing config.log, so it can be properly (re)opened and
19762 # appended to by config.status. When coming back to configure, we
19763 # need to make the FD available again.
19764 if test "$no_create" != yes; then
19765 ac_cs_success=:
19766 ac_config_status_args=
19767 test "$silent" = yes &&
19768 ac_config_status_args="$ac_config_status_args --quiet"
19769 exec 5>/dev/null
19770 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19771 exec 5>>config.log
19772 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19773 # would make configure fail if this is the last instruction.
19774 $ac_cs_success || as_fn_exit 1
19776 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19778 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19782 if test "$no_create" = "yes"
19783 then
19784 exit 0
19787 ac_save_IFS="$IFS"
19788 if test "x$wine_notices" != x; then
19789 echo >&6
19790 IFS="|"
19791 for msg in $wine_notices; do
19792 IFS="$ac_save_IFS"
19793 if ${msg:+false} :; then :
19795 else
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19797 $as_echo "$as_me: $msg" >&6;}
19799 done
19801 IFS="|"
19802 for msg in $wine_warnings; do
19803 IFS="$ac_save_IFS"
19804 if ${msg:+false} :; then :
19806 else
19807 echo >&2
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19809 $as_echo "$as_me: WARNING: $msg" >&2;}
19811 done
19812 IFS="$ac_save_IFS"
19814 $as_echo "
19815 $as_me: Finished. Do '${ac_make}' to compile Wine.
19816 " >&6