d3d9/tests: Restore display rotation in test_get_adapter_displaymode_ex().
[wine.git] / configure
blob27dcd4b22be8a00849db5f543e9cebf20c689a85
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_msrle32
1223 enable_msscript_ocx
1224 enable_mssign32
1225 enable_mssip32
1226 enable_mstask
1227 enable_msvcirt
1228 enable_msvcm80
1229 enable_msvcm90
1230 enable_msvcp100
1231 enable_msvcp110
1232 enable_msvcp120
1233 enable_msvcp120_app
1234 enable_msvcp140
1235 enable_msvcp60
1236 enable_msvcp70
1237 enable_msvcp71
1238 enable_msvcp80
1239 enable_msvcp90
1240 enable_msvcr100
1241 enable_msvcr110
1242 enable_msvcr120
1243 enable_msvcr120_app
1244 enable_msvcr70
1245 enable_msvcr71
1246 enable_msvcr80
1247 enable_msvcr90
1248 enable_msvcrt
1249 enable_msvcrt20
1250 enable_msvcrt40
1251 enable_msvcrtd
1252 enable_msvfw32
1253 enable_msvidc32
1254 enable_mswsock
1255 enable_msxml
1256 enable_msxml2
1257 enable_msxml3
1258 enable_msxml4
1259 enable_msxml6
1260 enable_ncrypt
1261 enable_nddeapi
1262 enable_ndis_sys
1263 enable_netapi32
1264 enable_netcfgx
1265 enable_netprofm
1266 enable_newdev
1267 enable_normaliz
1268 enable_npmshtml
1269 enable_npptools
1270 enable_ntdll
1271 enable_ntdsapi
1272 enable_ntoskrnl_exe
1273 enable_ntprint
1274 enable_objsel
1275 enable_odbc32
1276 enable_odbccp32
1277 enable_odbccu32
1278 enable_ole32
1279 enable_oleacc
1280 enable_oleaut32
1281 enable_olecli32
1282 enable_oledb32
1283 enable_oledlg
1284 enable_olepro32
1285 enable_olesvr32
1286 enable_olethk32
1287 enable_openal32
1288 enable_opencl
1289 enable_opengl32
1290 enable_packager
1291 enable_pdh
1292 enable_photometadatahandler
1293 enable_pidgen
1294 enable_powrprof
1295 enable_printui
1296 enable_prntvpt
1297 enable_propsys
1298 enable_psapi
1299 enable_pstorec
1300 enable_qcap
1301 enable_qedit
1302 enable_qmgr
1303 enable_qmgrprxy
1304 enable_quartz
1305 enable_query
1306 enable_rasapi32
1307 enable_rasdlg
1308 enable_regapi
1309 enable_resutils
1310 enable_riched20
1311 enable_riched32
1312 enable_rpcrt4
1313 enable_rsabase
1314 enable_rsaenh
1315 enable_rstrtmgr
1316 enable_rtutils
1317 enable_samlib
1318 enable_sane_ds
1319 enable_scarddlg
1320 enable_sccbase
1321 enable_schannel
1322 enable_schedsvc
1323 enable_scrrun
1324 enable_scsiport_sys
1325 enable_secur32
1326 enable_security
1327 enable_sensapi
1328 enable_serialui
1329 enable_setupapi
1330 enable_sfc
1331 enable_sfc_os
1332 enable_shdoclc
1333 enable_shdocvw
1334 enable_shell32
1335 enable_shfolder
1336 enable_shlwapi
1337 enable_slbcsp
1338 enable_slc
1339 enable_snmpapi
1340 enable_softpub
1341 enable_spoolss
1342 enable_sspicli
1343 enable_stdole2_tlb
1344 enable_stdole32_tlb
1345 enable_sti
1346 enable_svrapi
1347 enable_sxs
1348 enable_t2embed
1349 enable_tapi32
1350 enable_taskschd
1351 enable_tdi_sys
1352 enable_traffic
1353 enable_twain_32
1354 enable_ucrtbase
1355 enable_unicows
1356 enable_updspapi
1357 enable_url
1358 enable_urlmon
1359 enable_usbd_sys
1360 enable_user32
1361 enable_userenv
1362 enable_usp10
1363 enable_uxtheme
1364 enable_vbscript
1365 enable_vcomp
1366 enable_vcomp100
1367 enable_vcomp110
1368 enable_vcomp120
1369 enable_vcomp140
1370 enable_vcomp90
1371 enable_vcruntime140
1372 enable_vdmdbg
1373 enable_version
1374 enable_vssapi
1375 enable_wbemdisp
1376 enable_wbemprox
1377 enable_webservices
1378 enable_wer
1379 enable_wevtapi
1380 enable_wiaservc
1381 enable_wimgapi
1382 enable_windowscodecs
1383 enable_windowscodecsext
1384 enable_winealsa_drv
1385 enable_winecoreaudio_drv
1386 enable_wined3d
1387 enable_winegstreamer
1388 enable_winejoystick_drv
1389 enable_winemac_drv
1390 enable_winemapi
1391 enable_winemp3_acm
1392 enable_wineoss_drv
1393 enable_wineps_drv
1394 enable_winepulse_drv
1395 enable_wineqtdecoder
1396 enable_winex11_drv
1397 enable_wing32
1398 enable_winhttp
1399 enable_wininet
1400 enable_winmm
1401 enable_winnls32
1402 enable_winscard
1403 enable_winspool_drv
1404 enable_winsta
1405 enable_wintab32
1406 enable_wintrust
1407 enable_wlanapi
1408 enable_wldap32
1409 enable_wmasf
1410 enable_wmi
1411 enable_wmiutils
1412 enable_wmp
1413 enable_wmvcore
1414 enable_wnaspi32
1415 enable_wpc
1416 enable_wpcap
1417 enable_ws2_32
1418 enable_wshom_ocx
1419 enable_wsnmp32
1420 enable_wsock32
1421 enable_wtsapi32
1422 enable_wuapi
1423 enable_wuaueng
1424 enable_x3daudio1_0
1425 enable_x3daudio1_1
1426 enable_x3daudio1_2
1427 enable_x3daudio1_3
1428 enable_x3daudio1_4
1429 enable_x3daudio1_5
1430 enable_x3daudio1_6
1431 enable_x3daudio1_7
1432 enable_xapofx1_1
1433 enable_xapofx1_2
1434 enable_xapofx1_3
1435 enable_xapofx1_4
1436 enable_xapofx1_5
1437 enable_xaudio2_0
1438 enable_xaudio2_1
1439 enable_xaudio2_2
1440 enable_xaudio2_3
1441 enable_xaudio2_4
1442 enable_xaudio2_5
1443 enable_xaudio2_6
1444 enable_xaudio2_7
1445 enable_xaudio2_8
1446 enable_xaudio2_9
1447 enable_xinput1_1
1448 enable_xinput1_2
1449 enable_xinput1_3
1450 enable_xinput1_4
1451 enable_xinput9_1_0
1452 enable_xmllite
1453 enable_xolehlp
1454 enable_xpsprint
1455 enable_xpssvcs
1456 enable_fonts
1457 enable_include
1458 enable_libs_port
1459 enable_libs_wine
1460 enable_libs_wpp
1461 enable_loader
1462 enable_po
1463 enable_arp
1464 enable_aspnet_regiis
1465 enable_attrib
1466 enable_cabarc
1467 enable_cacls
1468 enable_clock
1469 enable_cmd
1470 enable_conhost
1471 enable_control
1472 enable_cscript
1473 enable_dpnsvr
1474 enable_dxdiag
1475 enable_eject
1476 enable_expand
1477 enable_explorer
1478 enable_extrac32
1479 enable_findstr
1480 enable_fsutil
1481 enable_hh
1482 enable_hostname
1483 enable_icacls
1484 enable_icinfo
1485 enable_iexplore
1486 enable_ipconfig
1487 enable_lodctr
1488 enable_mofcomp
1489 enable_mshta
1490 enable_msiexec
1491 enable_net
1492 enable_netsh
1493 enable_netstat
1494 enable_ngen
1495 enable_notepad
1496 enable_oleview
1497 enable_ping
1498 enable_plugplay
1499 enable_presentationfontcache
1500 enable_progman
1501 enable_reg
1502 enable_regasm
1503 enable_regedit
1504 enable_regsvcs
1505 enable_regsvr32
1506 enable_rpcss
1507 enable_rundll32
1508 enable_sc
1509 enable_schtasks
1510 enable_sdbinst
1511 enable_secedit
1512 enable_servicemodelreg
1513 enable_services
1514 enable_shutdown
1515 enable_spoolsv
1516 enable_start
1517 enable_svchost
1518 enable_systeminfo
1519 enable_taskkill
1520 enable_tasklist
1521 enable_taskmgr
1522 enable_termsv
1523 enable_uninstaller
1524 enable_unlodctr
1525 enable_view
1526 enable_wevtutil
1527 enable_wineboot
1528 enable_winebrowser
1529 enable_winecfg
1530 enable_wineconsole
1531 enable_winedbg
1532 enable_winedevice
1533 enable_winefile
1534 enable_winemenubuilder
1535 enable_winemine
1536 enable_winemsibuilder
1537 enable_winepath
1538 enable_winetest
1539 enable_winhlp32
1540 enable_winver
1541 enable_wmic
1542 enable_wmplayer
1543 enable_wordpad
1544 enable_write
1545 enable_wscript
1546 enable_wusa
1547 enable_xcopy
1548 enable_server
1549 enable_tools
1551 ac_precious_vars='build_alias
1552 host_alias
1553 target_alias
1555 CFLAGS
1556 LDFLAGS
1557 LIBS
1558 CPPFLAGS
1560 CXXFLAGS
1563 XMKMF
1564 XML2_CFLAGS
1565 XML2_LIBS
1566 XSLT_CFLAGS
1567 XSLT_LIBS
1568 DBUS_CFLAGS
1569 DBUS_LIBS
1570 HAL_CFLAGS
1571 HAL_LIBS
1572 GNUTLS_CFLAGS
1573 GNUTLS_LIBS
1574 SANE_CFLAGS
1575 SANE_LIBS
1576 GPHOTO2_CFLAGS
1577 GPHOTO2_LIBS
1578 GPHOTO2_PORT_CFLAGS
1579 GPHOTO2_PORT_LIBS
1580 LCMS2_CFLAGS
1581 LCMS2_LIBS
1582 FREETYPE_CFLAGS
1583 FREETYPE_LIBS
1584 PULSE_CFLAGS
1585 PULSE_LIBS
1586 GSTREAMER_CFLAGS
1587 GSTREAMER_LIBS
1588 CAPI20_CFLAGS
1589 CAPI20_LIBS
1590 FONTCONFIG_CFLAGS
1591 FONTCONFIG_LIBS
1592 JPEG_CFLAGS
1593 JPEG_LIBS
1594 PNG_CFLAGS
1595 PNG_LIBS
1596 TIFF_CFLAGS
1597 TIFF_LIBS
1598 MPG123_CFLAGS
1599 MPG123_LIBS
1600 NETAPI_CFLAGS
1601 NETAPI_LIBS'
1604 # Initialize some variables set by options.
1605 ac_init_help=
1606 ac_init_version=false
1607 ac_unrecognized_opts=
1608 ac_unrecognized_sep=
1609 # The variables have the same names as the options, with
1610 # dashes changed to underlines.
1611 cache_file=/dev/null
1612 exec_prefix=NONE
1613 no_create=
1614 no_recursion=
1615 prefix=NONE
1616 program_prefix=NONE
1617 program_suffix=NONE
1618 program_transform_name=s,x,x,
1619 silent=
1620 site=
1621 srcdir=
1622 verbose=
1623 x_includes=NONE
1624 x_libraries=NONE
1626 # Installation directory options.
1627 # These are left unexpanded so users can "make install exec_prefix=/foo"
1628 # and all the variables that are supposed to be based on exec_prefix
1629 # by default will actually change.
1630 # Use braces instead of parens because sh, perl, etc. also accept them.
1631 # (The list follows the same order as the GNU Coding Standards.)
1632 bindir='${exec_prefix}/bin'
1633 sbindir='${exec_prefix}/sbin'
1634 libexecdir='${exec_prefix}/libexec'
1635 datarootdir='${prefix}/share'
1636 datadir='${datarootdir}'
1637 sysconfdir='${prefix}/etc'
1638 sharedstatedir='${prefix}/com'
1639 localstatedir='${prefix}/var'
1640 runstatedir='${localstatedir}/run'
1641 includedir='${prefix}/include'
1642 oldincludedir='/usr/include'
1643 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1644 infodir='${datarootdir}/info'
1645 htmldir='${docdir}'
1646 dvidir='${docdir}'
1647 pdfdir='${docdir}'
1648 psdir='${docdir}'
1649 libdir='${exec_prefix}/lib'
1650 localedir='${datarootdir}/locale'
1651 mandir='${datarootdir}/man'
1653 ac_prev=
1654 ac_dashdash=
1655 for ac_option
1657 # If the previous option needs an argument, assign it.
1658 if test -n "$ac_prev"; then
1659 eval $ac_prev=\$ac_option
1660 ac_prev=
1661 continue
1664 case $ac_option in
1665 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1666 *=) ac_optarg= ;;
1667 *) ac_optarg=yes ;;
1668 esac
1670 # Accept the important Cygnus configure options, so we can diagnose typos.
1672 case $ac_dashdash$ac_option in
1674 ac_dashdash=yes ;;
1676 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1677 ac_prev=bindir ;;
1678 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1679 bindir=$ac_optarg ;;
1681 -build | --build | --buil | --bui | --bu)
1682 ac_prev=build_alias ;;
1683 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1684 build_alias=$ac_optarg ;;
1686 -cache-file | --cache-file | --cache-fil | --cache-fi \
1687 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1688 ac_prev=cache_file ;;
1689 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1690 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1691 cache_file=$ac_optarg ;;
1693 --config-cache | -C)
1694 cache_file=config.cache ;;
1696 -datadir | --datadir | --datadi | --datad)
1697 ac_prev=datadir ;;
1698 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1699 datadir=$ac_optarg ;;
1701 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1702 | --dataroo | --dataro | --datar)
1703 ac_prev=datarootdir ;;
1704 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1705 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1706 datarootdir=$ac_optarg ;;
1708 -disable-* | --disable-*)
1709 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1710 # Reject names that are not valid shell variable names.
1711 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1712 as_fn_error $? "invalid feature name: $ac_useropt"
1713 ac_useropt_orig=$ac_useropt
1714 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1715 case $ac_user_opts in
1717 "enable_$ac_useropt"
1718 "*) ;;
1719 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1720 ac_unrecognized_sep=', ';;
1721 esac
1722 eval enable_$ac_useropt=no ;;
1724 -docdir | --docdir | --docdi | --doc | --do)
1725 ac_prev=docdir ;;
1726 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1727 docdir=$ac_optarg ;;
1729 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1730 ac_prev=dvidir ;;
1731 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1732 dvidir=$ac_optarg ;;
1734 -enable-* | --enable-*)
1735 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1736 # Reject names that are not valid shell variable names.
1737 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1738 as_fn_error $? "invalid feature name: $ac_useropt"
1739 ac_useropt_orig=$ac_useropt
1740 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1741 case $ac_user_opts in
1743 "enable_$ac_useropt"
1744 "*) ;;
1745 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1746 ac_unrecognized_sep=', ';;
1747 esac
1748 eval enable_$ac_useropt=\$ac_optarg ;;
1750 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1751 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1752 | --exec | --exe | --ex)
1753 ac_prev=exec_prefix ;;
1754 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1755 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1756 | --exec=* | --exe=* | --ex=*)
1757 exec_prefix=$ac_optarg ;;
1759 -gas | --gas | --ga | --g)
1760 # Obsolete; use --with-gas.
1761 with_gas=yes ;;
1763 -help | --help | --hel | --he | -h)
1764 ac_init_help=long ;;
1765 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1766 ac_init_help=recursive ;;
1767 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1768 ac_init_help=short ;;
1770 -host | --host | --hos | --ho)
1771 ac_prev=host_alias ;;
1772 -host=* | --host=* | --hos=* | --ho=*)
1773 host_alias=$ac_optarg ;;
1775 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1776 ac_prev=htmldir ;;
1777 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1778 | --ht=*)
1779 htmldir=$ac_optarg ;;
1781 -includedir | --includedir | --includedi | --included | --include \
1782 | --includ | --inclu | --incl | --inc)
1783 ac_prev=includedir ;;
1784 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1785 | --includ=* | --inclu=* | --incl=* | --inc=*)
1786 includedir=$ac_optarg ;;
1788 -infodir | --infodir | --infodi | --infod | --info | --inf)
1789 ac_prev=infodir ;;
1790 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1791 infodir=$ac_optarg ;;
1793 -libdir | --libdir | --libdi | --libd)
1794 ac_prev=libdir ;;
1795 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1796 libdir=$ac_optarg ;;
1798 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1799 | --libexe | --libex | --libe)
1800 ac_prev=libexecdir ;;
1801 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1802 | --libexe=* | --libex=* | --libe=*)
1803 libexecdir=$ac_optarg ;;
1805 -localedir | --localedir | --localedi | --localed | --locale)
1806 ac_prev=localedir ;;
1807 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1808 localedir=$ac_optarg ;;
1810 -localstatedir | --localstatedir | --localstatedi | --localstated \
1811 | --localstate | --localstat | --localsta | --localst | --locals)
1812 ac_prev=localstatedir ;;
1813 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1814 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1815 localstatedir=$ac_optarg ;;
1817 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1818 ac_prev=mandir ;;
1819 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1820 mandir=$ac_optarg ;;
1822 -nfp | --nfp | --nf)
1823 # Obsolete; use --without-fp.
1824 with_fp=no ;;
1826 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1827 | --no-cr | --no-c | -n)
1828 no_create=yes ;;
1830 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1831 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1832 no_recursion=yes ;;
1834 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1835 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1836 | --oldin | --oldi | --old | --ol | --o)
1837 ac_prev=oldincludedir ;;
1838 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1839 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1840 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1841 oldincludedir=$ac_optarg ;;
1843 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1844 ac_prev=prefix ;;
1845 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1846 prefix=$ac_optarg ;;
1848 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1849 | --program-pre | --program-pr | --program-p)
1850 ac_prev=program_prefix ;;
1851 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1852 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1853 program_prefix=$ac_optarg ;;
1855 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1856 | --program-suf | --program-su | --program-s)
1857 ac_prev=program_suffix ;;
1858 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1859 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1860 program_suffix=$ac_optarg ;;
1862 -program-transform-name | --program-transform-name \
1863 | --program-transform-nam | --program-transform-na \
1864 | --program-transform-n | --program-transform- \
1865 | --program-transform | --program-transfor \
1866 | --program-transfo | --program-transf \
1867 | --program-trans | --program-tran \
1868 | --progr-tra | --program-tr | --program-t)
1869 ac_prev=program_transform_name ;;
1870 -program-transform-name=* | --program-transform-name=* \
1871 | --program-transform-nam=* | --program-transform-na=* \
1872 | --program-transform-n=* | --program-transform-=* \
1873 | --program-transform=* | --program-transfor=* \
1874 | --program-transfo=* | --program-transf=* \
1875 | --program-trans=* | --program-tran=* \
1876 | --progr-tra=* | --program-tr=* | --program-t=*)
1877 program_transform_name=$ac_optarg ;;
1879 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1880 ac_prev=pdfdir ;;
1881 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1882 pdfdir=$ac_optarg ;;
1884 -psdir | --psdir | --psdi | --psd | --ps)
1885 ac_prev=psdir ;;
1886 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1887 psdir=$ac_optarg ;;
1889 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1890 | -silent | --silent | --silen | --sile | --sil)
1891 silent=yes ;;
1893 -runstatedir | --runstatedir | --runstatedi | --runstated \
1894 | --runstate | --runstat | --runsta | --runst | --runs \
1895 | --run | --ru | --r)
1896 ac_prev=runstatedir ;;
1897 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1898 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1899 | --run=* | --ru=* | --r=*)
1900 runstatedir=$ac_optarg ;;
1902 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1903 ac_prev=sbindir ;;
1904 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1905 | --sbi=* | --sb=*)
1906 sbindir=$ac_optarg ;;
1908 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1909 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1910 | --sharedst | --shareds | --shared | --share | --shar \
1911 | --sha | --sh)
1912 ac_prev=sharedstatedir ;;
1913 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1914 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1915 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1916 | --sha=* | --sh=*)
1917 sharedstatedir=$ac_optarg ;;
1919 -site | --site | --sit)
1920 ac_prev=site ;;
1921 -site=* | --site=* | --sit=*)
1922 site=$ac_optarg ;;
1924 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1925 ac_prev=srcdir ;;
1926 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1927 srcdir=$ac_optarg ;;
1929 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1930 | --syscon | --sysco | --sysc | --sys | --sy)
1931 ac_prev=sysconfdir ;;
1932 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1933 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1934 sysconfdir=$ac_optarg ;;
1936 -target | --target | --targe | --targ | --tar | --ta | --t)
1937 ac_prev=target_alias ;;
1938 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1939 target_alias=$ac_optarg ;;
1941 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1942 verbose=yes ;;
1944 -version | --version | --versio | --versi | --vers | -V)
1945 ac_init_version=: ;;
1947 -with-* | --with-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid package name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "with_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval with_$ac_useropt=\$ac_optarg ;;
1963 -without-* | --without-*)
1964 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1965 # Reject names that are not valid shell variable names.
1966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1967 as_fn_error $? "invalid package name: $ac_useropt"
1968 ac_useropt_orig=$ac_useropt
1969 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1970 case $ac_user_opts in
1972 "with_$ac_useropt"
1973 "*) ;;
1974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1975 ac_unrecognized_sep=', ';;
1976 esac
1977 eval with_$ac_useropt=no ;;
1979 --x)
1980 # Obsolete; use --with-x.
1981 with_x=yes ;;
1983 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1984 | --x-incl | --x-inc | --x-in | --x-i)
1985 ac_prev=x_includes ;;
1986 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1987 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1988 x_includes=$ac_optarg ;;
1990 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1991 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1992 ac_prev=x_libraries ;;
1993 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1994 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1995 x_libraries=$ac_optarg ;;
1997 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1998 Try \`$0 --help' for more information"
2001 *=*)
2002 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2003 # Reject names that are not valid shell variable names.
2004 case $ac_envvar in #(
2005 '' | [0-9]* | *[!_$as_cr_alnum]* )
2006 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2007 esac
2008 eval $ac_envvar=\$ac_optarg
2009 export $ac_envvar ;;
2012 # FIXME: should be removed in autoconf 3.0.
2013 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2014 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2015 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2016 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2019 esac
2020 done
2022 if test -n "$ac_prev"; then
2023 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2024 as_fn_error $? "missing argument to $ac_option"
2027 if test -n "$ac_unrecognized_opts"; then
2028 case $enable_option_checking in
2029 no) ;;
2030 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2031 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2032 esac
2035 # Check all directory arguments for consistency.
2036 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2037 datadir sysconfdir sharedstatedir localstatedir includedir \
2038 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2039 libdir localedir mandir runstatedir
2041 eval ac_val=\$$ac_var
2042 # Remove trailing slashes.
2043 case $ac_val in
2044 */ )
2045 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2046 eval $ac_var=\$ac_val;;
2047 esac
2048 # Be sure to have absolute directory names.
2049 case $ac_val in
2050 [\\/$]* | ?:[\\/]* ) continue;;
2051 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2052 esac
2053 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2054 done
2056 # There might be people who depend on the old broken behavior: `$host'
2057 # used to hold the argument of --host etc.
2058 # FIXME: To remove some day.
2059 build=$build_alias
2060 host=$host_alias
2061 target=$target_alias
2063 # FIXME: To remove some day.
2064 if test "x$host_alias" != x; then
2065 if test "x$build_alias" = x; then
2066 cross_compiling=maybe
2067 elif test "x$build_alias" != "x$host_alias"; then
2068 cross_compiling=yes
2072 ac_tool_prefix=
2073 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2075 test "$silent" = yes && exec 6>/dev/null
2078 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2079 ac_ls_di=`ls -di .` &&
2080 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2081 as_fn_error $? "working directory cannot be determined"
2082 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2083 as_fn_error $? "pwd does not report name of working directory"
2086 # Find the source files, if location was not specified.
2087 if test -z "$srcdir"; then
2088 ac_srcdir_defaulted=yes
2089 # Try the directory containing this script, then the parent directory.
2090 ac_confdir=`$as_dirname -- "$as_myself" ||
2091 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2092 X"$as_myself" : 'X\(//\)[^/]' \| \
2093 X"$as_myself" : 'X\(//\)$' \| \
2094 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2095 $as_echo X"$as_myself" |
2096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2097 s//\1/
2100 /^X\(\/\/\)[^/].*/{
2101 s//\1/
2104 /^X\(\/\/\)$/{
2105 s//\1/
2108 /^X\(\/\).*/{
2109 s//\1/
2112 s/.*/./; q'`
2113 srcdir=$ac_confdir
2114 if test ! -r "$srcdir/$ac_unique_file"; then
2115 srcdir=..
2117 else
2118 ac_srcdir_defaulted=no
2120 if test ! -r "$srcdir/$ac_unique_file"; then
2121 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2122 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2124 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2125 ac_abs_confdir=`(
2126 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2127 pwd)`
2128 # When building in place, set srcdir=.
2129 if test "$ac_abs_confdir" = "$ac_pwd"; then
2130 srcdir=.
2132 # Remove unnecessary trailing slashes from srcdir.
2133 # Double slashes in file names in object file debugging info
2134 # mess up M-x gdb in Emacs.
2135 case $srcdir in
2136 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2137 esac
2138 for ac_var in $ac_precious_vars; do
2139 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2140 eval ac_env_${ac_var}_value=\$${ac_var}
2141 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2142 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2143 done
2146 # Report the --help message.
2148 if test "$ac_init_help" = "long"; then
2149 # Omit some internal or obsolete options to make the list less imposing.
2150 # This message is too long to be a string in the A/UX 3.1 sh.
2151 cat <<_ACEOF
2152 \`configure' configures Wine 1.9.17 to adapt to many kinds of systems.
2154 Usage: $0 [OPTION]... [VAR=VALUE]...
2156 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2157 VAR=VALUE. See below for descriptions of some of the useful variables.
2159 Defaults for the options are specified in brackets.
2161 Configuration:
2162 -h, --help display this help and exit
2163 --help=short display options specific to this package
2164 --help=recursive display the short help of all the included packages
2165 -V, --version display version information and exit
2166 -q, --quiet, --silent do not print \`checking ...' messages
2167 --cache-file=FILE cache test results in FILE [disabled]
2168 -C, --config-cache alias for \`--cache-file=config.cache'
2169 -n, --no-create do not create output files
2170 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2172 Installation directories:
2173 --prefix=PREFIX install architecture-independent files in PREFIX
2174 [$ac_default_prefix]
2175 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2176 [PREFIX]
2178 By default, \`make install' will install all the files in
2179 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2180 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2181 for instance \`--prefix=\$HOME'.
2183 For better control, use the options below.
2185 Fine tuning of the installation directories:
2186 --bindir=DIR user executables [EPREFIX/bin]
2187 --sbindir=DIR system admin executables [EPREFIX/sbin]
2188 --libexecdir=DIR program executables [EPREFIX/libexec]
2189 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2190 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2191 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2192 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2193 --libdir=DIR object code libraries [EPREFIX/lib]
2194 --includedir=DIR C header files [PREFIX/include]
2195 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2196 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2197 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2198 --infodir=DIR info documentation [DATAROOTDIR/info]
2199 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2200 --mandir=DIR man documentation [DATAROOTDIR/man]
2201 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2202 --htmldir=DIR html documentation [DOCDIR]
2203 --dvidir=DIR dvi documentation [DOCDIR]
2204 --pdfdir=DIR pdf documentation [DOCDIR]
2205 --psdir=DIR ps documentation [DOCDIR]
2206 _ACEOF
2208 cat <<\_ACEOF
2210 X features:
2211 --x-includes=DIR X include files are in DIR
2212 --x-libraries=DIR X library files are in DIR
2214 System types:
2215 --build=BUILD configure for building on BUILD [guessed]
2216 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2217 _ACEOF
2220 if test -n "$ac_init_help"; then
2221 case $ac_init_help in
2222 short | recursive ) echo "Configuration of Wine 1.9.17:";;
2223 esac
2224 cat <<\_ACEOF
2226 Optional Features:
2227 --disable-option-checking ignore unrecognized --enable/--with options
2228 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2229 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2230 --disable-win16 do not include Win16 support
2231 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2232 binaries)
2233 --disable-tests do not build the regression tests
2234 --enable-maintainer-mode
2235 enable maintainer-specific build rules
2236 --disable-largefile omit support for large files
2238 Optional Packages:
2239 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2240 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2241 --without-alsa do not use the Alsa sound support
2242 --without-capi do not use CAPI (ISDN support)
2243 --without-cms do not use CMS (color management support)
2244 --without-coreaudio do not use the CoreAudio sound support
2245 --without-cups do not use CUPS
2246 --without-curses do not use (n)curses
2247 --without-dbus do not use DBus (dynamic device support)
2248 --without-fontconfig do not use fontconfig
2249 --without-freetype do not use the FreeType library
2250 --without-gettext do not use gettext
2251 --with-gettextpo use the GetTextPO library to rebuild po files
2252 --without-gphoto do not use gphoto (Digital Camera support)
2253 --without-glu do not use the GLU library
2254 --without-gnutls do not use GnuTLS (schannel support)
2255 --without-gsm do not use libgsm (GSM 06.10 codec support)
2256 --without-gstreamer do not use GStreamer (codecs support)
2257 --without-hal do not use HAL (dynamic device support)
2258 --without-jpeg do not use JPEG
2259 --without-ldap do not use LDAP
2260 --without-mpg123 do not use the mpg123 library
2261 --without-netapi do not use the Samba NetAPI library
2262 --without-openal do not use OpenAL
2263 --without-opencl do not use OpenCL
2264 --without-opengl do not use OpenGL
2265 --without-osmesa do not use the OSMesa library
2266 --without-oss do not use the OSS sound support
2267 --without-pcap do not use the Packet Capture library
2268 --without-png do not use PNG
2269 --without-pthread do not use the pthread library
2270 --without-pulse do not use PulseAudio sound support
2271 --without-sane do not use SANE (scanner support)
2272 --without-tiff do not use TIFF
2273 --without-v4l do not use v4l1 (v4l support)
2274 --without-xcomposite do not use the Xcomposite extension
2275 --without-xcursor do not use the Xcursor extension
2276 --without-xinerama do not use Xinerama (multi-monitor support)
2277 --without-xinput do not use the Xinput extension
2278 --without-xinput2 do not use the Xinput 2 extension
2279 --without-xml do not use XML
2280 --without-xrandr do not use Xrandr (resolution changes)
2281 --without-xrender do not use the Xrender extension
2282 --without-xshape do not use the Xshape extension
2283 --without-xshm do not use XShm (shared memory extension)
2284 --without-xslt do not use XSLT
2285 --without-xxf86vm do not use XFree video mode extension
2286 --without-zlib do not use Zlib (data compression)
2287 --with-wine-tools=DIR use Wine tools from directory DIR
2288 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2289 --with-x use the X Window System
2291 Some influential environment variables:
2292 CC C compiler command
2293 CFLAGS C compiler flags
2294 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2295 nonstandard directory <lib dir>
2296 LIBS libraries to pass to the linker, e.g. -l<library>
2297 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2298 you have headers in a nonstandard directory <include dir>
2299 CXX C++ compiler command
2300 CXXFLAGS C++ compiler flags
2301 CPP C preprocessor
2302 XMKMF Path to xmkmf, Makefile generator for X Window System
2303 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2304 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2305 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2306 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2307 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2308 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2309 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2310 HAL_LIBS Linker flags for hal, overriding pkg-config
2311 GNUTLS_CFLAGS
2312 C compiler flags for gnutls, overriding pkg-config
2313 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2314 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2315 SANE_LIBS Linker flags for libsane, overriding pkg-config
2316 GPHOTO2_CFLAGS
2317 C compiler flags for libgphoto2, overriding pkg-config
2318 GPHOTO2_LIBS
2319 Linker flags for libgphoto2, overriding pkg-config
2320 GPHOTO2_PORT_CFLAGS
2321 C compiler flags for libgphoto2_port, overriding pkg-config
2322 GPHOTO2_PORT_LIBS
2323 Linker flags for libgphoto2_port, overriding pkg-config
2324 LCMS2_CFLAGS
2325 C compiler flags for lcms2, overriding pkg-config
2326 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2327 FREETYPE_CFLAGS
2328 C compiler flags for freetype2, overriding pkg-config
2329 FREETYPE_LIBS
2330 Linker flags for freetype2, overriding pkg-config
2331 PULSE_CFLAGS
2332 C compiler flags for libpulse, overriding pkg-config
2333 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2334 GSTREAMER_CFLAGS
2335 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2336 gstreamer-audio-1.0, overriding pkg-config
2337 GSTREAMER_LIBS
2338 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2339 gstreamer-audio-1.0, overriding pkg-config
2340 CAPI20_CFLAGS
2341 C compiler flags for capi20, overriding pkg-config
2342 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2343 FONTCONFIG_CFLAGS
2344 C compiler flags for fontconfig, overriding pkg-config
2345 FONTCONFIG_LIBS
2346 Linker flags for fontconfig, overriding pkg-config
2347 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2348 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2349 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2350 PNG_LIBS Linker flags for libpng, overriding pkg-config
2351 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2352 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2353 MPG123_CFLAGS
2354 C compiler flags for libmpg123, overriding pkg-config
2355 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2356 NETAPI_CFLAGS
2357 C compiler flags for netapi, overriding pkg-config
2358 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2360 Use these variables to override the choices made by `configure' or to help
2361 it to find libraries and programs with nonstandard names/locations.
2363 Report bugs to <wine-devel@winehq.org>.
2364 Wine home page: <http://www.winehq.org>.
2365 _ACEOF
2366 ac_status=$?
2369 if test "$ac_init_help" = "recursive"; then
2370 # If there are subdirs, report their specific --help.
2371 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2372 test -d "$ac_dir" ||
2373 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2374 continue
2375 ac_builddir=.
2377 case "$ac_dir" in
2378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2380 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2381 # A ".." for each directory in $ac_dir_suffix.
2382 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2383 case $ac_top_builddir_sub in
2384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2386 esac ;;
2387 esac
2388 ac_abs_top_builddir=$ac_pwd
2389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2390 # for backward compatibility:
2391 ac_top_builddir=$ac_top_build_prefix
2393 case $srcdir in
2394 .) # We are building in place.
2395 ac_srcdir=.
2396 ac_top_srcdir=$ac_top_builddir_sub
2397 ac_abs_top_srcdir=$ac_pwd ;;
2398 [\\/]* | ?:[\\/]* ) # Absolute name.
2399 ac_srcdir=$srcdir$ac_dir_suffix;
2400 ac_top_srcdir=$srcdir
2401 ac_abs_top_srcdir=$srcdir ;;
2402 *) # Relative name.
2403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2404 ac_top_srcdir=$ac_top_build_prefix$srcdir
2405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2406 esac
2407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2409 cd "$ac_dir" || { ac_status=$?; continue; }
2410 # Check for guested configure.
2411 if test -f "$ac_srcdir/configure.gnu"; then
2412 echo &&
2413 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2414 elif test -f "$ac_srcdir/configure"; then
2415 echo &&
2416 $SHELL "$ac_srcdir/configure" --help=recursive
2417 else
2418 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2419 fi || ac_status=$?
2420 cd "$ac_pwd" || { ac_status=$?; break; }
2421 done
2424 test -n "$ac_init_help" && exit $ac_status
2425 if $ac_init_version; then
2426 cat <<\_ACEOF
2427 Wine configure 1.9.17
2428 generated by GNU Autoconf 2.69
2430 Copyright (C) 2012 Free Software Foundation, Inc.
2431 This configure script is free software; the Free Software Foundation
2432 gives unlimited permission to copy, distribute and modify it.
2433 _ACEOF
2434 exit
2437 ## ------------------------ ##
2438 ## Autoconf initialization. ##
2439 ## ------------------------ ##
2441 # ac_fn_c_try_compile LINENO
2442 # --------------------------
2443 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2444 ac_fn_c_try_compile ()
2446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2447 rm -f conftest.$ac_objext
2448 if { { ac_try="$ac_compile"
2449 case "(($ac_try" in
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2452 esac
2453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454 $as_echo "$ac_try_echo"; } >&5
2455 (eval "$ac_compile") 2>conftest.err
2456 ac_status=$?
2457 if test -s conftest.err; then
2458 grep -v '^ *+' conftest.err >conftest.er1
2459 cat conftest.er1 >&5
2460 mv -f conftest.er1 conftest.err
2462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2463 test $ac_status = 0; } && {
2464 test -z "$ac_c_werror_flag" ||
2465 test ! -s conftest.err
2466 } && test -s conftest.$ac_objext; then :
2467 ac_retval=0
2468 else
2469 $as_echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2472 ac_retval=1
2474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2475 as_fn_set_status $ac_retval
2477 } # ac_fn_c_try_compile
2479 # ac_fn_cxx_try_compile LINENO
2480 # ----------------------------
2481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2482 ac_fn_cxx_try_compile ()
2484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2485 rm -f conftest.$ac_objext
2486 if { { ac_try="$ac_compile"
2487 case "(($ac_try" in
2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;;
2490 esac
2491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2492 $as_echo "$ac_try_echo"; } >&5
2493 (eval "$ac_compile") 2>conftest.err
2494 ac_status=$?
2495 if test -s conftest.err; then
2496 grep -v '^ *+' conftest.err >conftest.er1
2497 cat conftest.er1 >&5
2498 mv -f conftest.er1 conftest.err
2500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2501 test $ac_status = 0; } && {
2502 test -z "$ac_cxx_werror_flag" ||
2503 test ! -s conftest.err
2504 } && test -s conftest.$ac_objext; then :
2505 ac_retval=0
2506 else
2507 $as_echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.$ac_ext >&5
2510 ac_retval=1
2512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2513 as_fn_set_status $ac_retval
2515 } # ac_fn_cxx_try_compile
2517 # ac_fn_c_try_link LINENO
2518 # -----------------------
2519 # Try to link conftest.$ac_ext, and return whether this succeeded.
2520 ac_fn_c_try_link ()
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 rm -f conftest.$ac_objext conftest$ac_exeext
2524 if { { ac_try="$ac_link"
2525 case "(($ac_try" in
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2528 esac
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_link") 2>conftest.err
2532 ac_status=$?
2533 if test -s conftest.err; then
2534 grep -v '^ *+' conftest.err >conftest.er1
2535 cat conftest.er1 >&5
2536 mv -f conftest.er1 conftest.err
2538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539 test $ac_status = 0; } && {
2540 test -z "$ac_c_werror_flag" ||
2541 test ! -s conftest.err
2542 } && test -s conftest$ac_exeext && {
2543 test "$cross_compiling" = yes ||
2544 test -x conftest$ac_exeext
2545 }; then :
2546 ac_retval=0
2547 else
2548 $as_echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.$ac_ext >&5
2551 ac_retval=1
2553 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2554 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2555 # interfere with the next link command; also delete a directory that is
2556 # left behind by Apple's compiler. We do this before executing the actions.
2557 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 as_fn_set_status $ac_retval
2561 } # ac_fn_c_try_link
2563 # ac_fn_c_try_cpp LINENO
2564 # ----------------------
2565 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2566 ac_fn_c_try_cpp ()
2568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2569 if { { ac_try="$ac_cpp conftest.$ac_ext"
2570 case "(($ac_try" in
2571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2573 esac
2574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2575 $as_echo "$ac_try_echo"; } >&5
2576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2577 ac_status=$?
2578 if test -s conftest.err; then
2579 grep -v '^ *+' conftest.err >conftest.er1
2580 cat conftest.er1 >&5
2581 mv -f conftest.er1 conftest.err
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; } > conftest.i && {
2585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2586 test ! -s conftest.err
2587 }; then :
2588 ac_retval=0
2589 else
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 ac_retval=1
2595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2596 as_fn_set_status $ac_retval
2598 } # ac_fn_c_try_cpp
2600 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2601 # -------------------------------------------------------
2602 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2603 # the include files in INCLUDES and setting the cache variable VAR
2604 # accordingly.
2605 ac_fn_c_check_header_mongrel ()
2607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2608 if eval \${$3+:} false; then :
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2610 $as_echo_n "checking for $2... " >&6; }
2611 if eval \${$3+:} false; then :
2612 $as_echo_n "(cached) " >&6
2614 eval ac_res=\$$3
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2616 $as_echo "$ac_res" >&6; }
2617 else
2618 # Is the header compilable?
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2620 $as_echo_n "checking $2 usability... " >&6; }
2621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2622 /* end confdefs.h. */
2624 #include <$2>
2625 _ACEOF
2626 if ac_fn_c_try_compile "$LINENO"; then :
2627 ac_header_compiler=yes
2628 else
2629 ac_header_compiler=no
2631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2633 $as_echo "$ac_header_compiler" >&6; }
2635 # Is the header present?
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2637 $as_echo_n "checking $2 presence... " >&6; }
2638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2639 /* end confdefs.h. */
2640 #include <$2>
2641 _ACEOF
2642 if ac_fn_c_try_cpp "$LINENO"; then :
2643 ac_header_preproc=yes
2644 else
2645 ac_header_preproc=no
2647 rm -f conftest.err conftest.i conftest.$ac_ext
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2649 $as_echo "$ac_header_preproc" >&6; }
2651 # So? What about this header?
2652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2653 yes:no: )
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2655 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2657 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2659 no:yes:* )
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2661 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2663 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2665 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2667 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2669 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2670 ( $as_echo "## ------------------------------------ ##
2671 ## Report this to wine-devel@winehq.org ##
2672 ## ------------------------------------ ##"
2673 ) | sed "s/^/$as_me: WARNING: /" >&2
2675 esac
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2677 $as_echo_n "checking for $2... " >&6; }
2678 if eval \${$3+:} false; then :
2679 $as_echo_n "(cached) " >&6
2680 else
2681 eval "$3=\$ac_header_compiler"
2683 eval ac_res=\$$3
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2685 $as_echo "$ac_res" >&6; }
2687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2689 } # ac_fn_c_check_header_mongrel
2691 # ac_fn_c_try_run LINENO
2692 # ----------------------
2693 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2694 # that executables *can* be run.
2695 ac_fn_c_try_run ()
2697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2698 if { { ac_try="$ac_link"
2699 case "(($ac_try" in
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2702 esac
2703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2704 $as_echo "$ac_try_echo"; } >&5
2705 (eval "$ac_link") 2>&5
2706 ac_status=$?
2707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2708 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2709 { { case "(($ac_try" in
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2712 esac
2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2714 $as_echo "$ac_try_echo"; } >&5
2715 (eval "$ac_try") 2>&5
2716 ac_status=$?
2717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2718 test $ac_status = 0; }; }; then :
2719 ac_retval=0
2720 else
2721 $as_echo "$as_me: program exited with status $ac_status" >&5
2722 $as_echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2725 ac_retval=$ac_status
2727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2729 as_fn_set_status $ac_retval
2731 } # ac_fn_c_try_run
2733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2734 # -------------------------------------------------------
2735 # Tests whether HEADER exists and can be compiled using the include files in
2736 # INCLUDES, setting the cache variable VAR accordingly.
2737 ac_fn_c_check_header_compile ()
2739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2741 $as_echo_n "checking for $2... " >&6; }
2742 if eval \${$3+:} false; then :
2743 $as_echo_n "(cached) " >&6
2744 else
2745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2746 /* end confdefs.h. */
2748 #include <$2>
2749 _ACEOF
2750 if ac_fn_c_try_compile "$LINENO"; then :
2751 eval "$3=yes"
2752 else
2753 eval "$3=no"
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 eval ac_res=\$$3
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 } # ac_fn_c_check_header_compile
2764 # ac_fn_c_check_func LINENO FUNC VAR
2765 # ----------------------------------
2766 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2767 ac_fn_c_check_func ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2771 $as_echo_n "checking for $2... " >&6; }
2772 if eval \${$3+:} false; then :
2773 $as_echo_n "(cached) " >&6
2774 else
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2777 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2779 #define $2 innocuous_$2
2781 /* System header to define __stub macros and hopefully few prototypes,
2782 which can conflict with char $2 (); below.
2783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2784 <limits.h> exists even on freestanding compilers. */
2786 #ifdef __STDC__
2787 # include <limits.h>
2788 #else
2789 # include <assert.h>
2790 #endif
2792 #undef $2
2794 /* Override any GCC internal prototype to avoid an error.
2795 Use char because int might match the return type of a GCC
2796 builtin and then its argument prototype would still apply. */
2797 #ifdef __cplusplus
2798 extern "C"
2799 #endif
2800 char $2 ();
2801 /* The GNU C library defines this for functions which it implements
2802 to always fail with ENOSYS. Some functions are actually named
2803 something starting with __ and the normal name is an alias. */
2804 #if defined __stub_$2 || defined __stub___$2
2805 choke me
2806 #endif
2809 main ()
2811 return $2 ();
2813 return 0;
2815 _ACEOF
2816 if ac_fn_c_try_link "$LINENO"; then :
2817 eval "$3=yes"
2818 else
2819 eval "$3=no"
2821 rm -f core conftest.err conftest.$ac_objext \
2822 conftest$ac_exeext conftest.$ac_ext
2824 eval ac_res=\$$3
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2826 $as_echo "$ac_res" >&6; }
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829 } # ac_fn_c_check_func
2831 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2832 # ----------------------------------------------------
2833 # Tries to find if the field MEMBER exists in type AGGR, after including
2834 # INCLUDES, setting cache variable VAR accordingly.
2835 ac_fn_c_check_member ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2839 $as_echo_n "checking for $2.$3... " >&6; }
2840 if eval \${$4+:} false; then :
2841 $as_echo_n "(cached) " >&6
2842 else
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2847 main ()
2849 static $2 ac_aggr;
2850 if (ac_aggr.$3)
2851 return 0;
2853 return 0;
2855 _ACEOF
2856 if ac_fn_c_try_compile "$LINENO"; then :
2857 eval "$4=yes"
2858 else
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2863 main ()
2865 static $2 ac_aggr;
2866 if (sizeof ac_aggr.$3)
2867 return 0;
2869 return 0;
2871 _ACEOF
2872 if ac_fn_c_try_compile "$LINENO"; then :
2873 eval "$4=yes"
2874 else
2875 eval "$4=no"
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881 eval ac_res=\$$4
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2883 $as_echo "$ac_res" >&6; }
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2886 } # ac_fn_c_check_member
2888 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2889 # -------------------------------------------
2890 # Tests whether TYPE exists after having included INCLUDES, setting cache
2891 # variable VAR accordingly.
2892 ac_fn_c_check_type ()
2894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2896 $as_echo_n "checking for $2... " >&6; }
2897 if eval \${$3+:} false; then :
2898 $as_echo_n "(cached) " >&6
2899 else
2900 eval "$3=no"
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2905 main ()
2907 if (sizeof ($2))
2908 return 0;
2910 return 0;
2912 _ACEOF
2913 if ac_fn_c_try_compile "$LINENO"; then :
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2918 main ()
2920 if (sizeof (($2)))
2921 return 0;
2923 return 0;
2925 _ACEOF
2926 if ac_fn_c_try_compile "$LINENO"; then :
2928 else
2929 eval "$3=yes"
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 eval ac_res=\$$3
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2937 $as_echo "$ac_res" >&6; }
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 } # ac_fn_c_check_type
2941 cat >config.log <<_ACEOF
2942 This file contains any messages produced by compilers while
2943 running configure, to aid debugging if configure makes a mistake.
2945 It was created by Wine $as_me 1.9.17, which was
2946 generated by GNU Autoconf 2.69. Invocation command line was
2948 $ $0 $@
2950 _ACEOF
2951 exec 5>>config.log
2953 cat <<_ASUNAME
2954 ## --------- ##
2955 ## Platform. ##
2956 ## --------- ##
2958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2959 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2960 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2961 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2962 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2970 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2975 _ASUNAME
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 for as_dir in $PATH
2980 IFS=$as_save_IFS
2981 test -z "$as_dir" && as_dir=.
2982 $as_echo "PATH: $as_dir"
2983 done
2984 IFS=$as_save_IFS
2986 } >&5
2988 cat >&5 <<_ACEOF
2991 ## ----------- ##
2992 ## Core tests. ##
2993 ## ----------- ##
2995 _ACEOF
2998 # Keep a trace of the command line.
2999 # Strip out --no-create and --no-recursion so they do not pile up.
3000 # Strip out --silent because we don't want to record it for future runs.
3001 # Also quote any args containing shell meta-characters.
3002 # Make two passes to allow for proper duplicate-argument suppression.
3003 ac_configure_args=
3004 ac_configure_args0=
3005 ac_configure_args1=
3006 ac_must_keep_next=false
3007 for ac_pass in 1 2
3009 for ac_arg
3011 case $ac_arg in
3012 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3014 | -silent | --silent | --silen | --sile | --sil)
3015 continue ;;
3016 *\'*)
3017 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3018 esac
3019 case $ac_pass in
3020 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3022 as_fn_append ac_configure_args1 " '$ac_arg'"
3023 if test $ac_must_keep_next = true; then
3024 ac_must_keep_next=false # Got value, back to normal.
3025 else
3026 case $ac_arg in
3027 *=* | --config-cache | -C | -disable-* | --disable-* \
3028 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3029 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3030 | -with-* | --with-* | -without-* | --without-* | --x)
3031 case "$ac_configure_args0 " in
3032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3033 esac
3035 -* ) ac_must_keep_next=true ;;
3036 esac
3038 as_fn_append ac_configure_args " '$ac_arg'"
3040 esac
3041 done
3042 done
3043 { ac_configure_args0=; unset ac_configure_args0;}
3044 { ac_configure_args1=; unset ac_configure_args1;}
3046 # When interrupted or exit'd, cleanup temporary files, and complete
3047 # config.log. We remove comments because anyway the quotes in there
3048 # would cause problems or look ugly.
3049 # WARNING: Use '\'' to represent an apostrophe within the trap.
3050 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3051 trap 'exit_status=$?
3052 # Save into config.log some information that might help in debugging.
3054 echo
3056 $as_echo "## ---------------- ##
3057 ## Cache variables. ##
3058 ## ---------------- ##"
3059 echo
3060 # The following way of writing the cache mishandles newlines in values,
3062 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3063 eval ac_val=\$$ac_var
3064 case $ac_val in #(
3065 *${as_nl}*)
3066 case $ac_var in #(
3067 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3068 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3069 esac
3070 case $ac_var in #(
3071 _ | IFS | as_nl) ;; #(
3072 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3073 *) { eval $ac_var=; unset $ac_var;} ;;
3074 esac ;;
3075 esac
3076 done
3077 (set) 2>&1 |
3078 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3079 *${as_nl}ac_space=\ *)
3080 sed -n \
3081 "s/'\''/'\''\\\\'\'''\''/g;
3082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3083 ;; #(
3085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3087 esac |
3088 sort
3090 echo
3092 $as_echo "## ----------------- ##
3093 ## Output variables. ##
3094 ## ----------------- ##"
3095 echo
3096 for ac_var in $ac_subst_vars
3098 eval ac_val=\$$ac_var
3099 case $ac_val in
3100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3101 esac
3102 $as_echo "$ac_var='\''$ac_val'\''"
3103 done | sort
3104 echo
3106 if test -n "$ac_subst_files"; then
3107 $as_echo "## ------------------- ##
3108 ## File substitutions. ##
3109 ## ------------------- ##"
3110 echo
3111 for ac_var in $ac_subst_files
3113 eval ac_val=\$$ac_var
3114 case $ac_val in
3115 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3116 esac
3117 $as_echo "$ac_var='\''$ac_val'\''"
3118 done | sort
3119 echo
3122 if test -s confdefs.h; then
3123 $as_echo "## ----------- ##
3124 ## confdefs.h. ##
3125 ## ----------- ##"
3126 echo
3127 cat confdefs.h
3128 echo
3130 test "$ac_signal" != 0 &&
3131 $as_echo "$as_me: caught signal $ac_signal"
3132 $as_echo "$as_me: exit $exit_status"
3133 } >&5
3134 rm -f core *.core core.conftest.* &&
3135 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3136 exit $exit_status
3138 for ac_signal in 1 2 13 15; do
3139 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3140 done
3141 ac_signal=0
3143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3144 rm -f -r conftest* confdefs.h
3146 $as_echo "/* confdefs.h */" > confdefs.h
3148 # Predefined preprocessor variables.
3150 cat >>confdefs.h <<_ACEOF
3151 #define PACKAGE_NAME "$PACKAGE_NAME"
3152 _ACEOF
3154 cat >>confdefs.h <<_ACEOF
3155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3156 _ACEOF
3158 cat >>confdefs.h <<_ACEOF
3159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3160 _ACEOF
3162 cat >>confdefs.h <<_ACEOF
3163 #define PACKAGE_STRING "$PACKAGE_STRING"
3164 _ACEOF
3166 cat >>confdefs.h <<_ACEOF
3167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3168 _ACEOF
3170 cat >>confdefs.h <<_ACEOF
3171 #define PACKAGE_URL "$PACKAGE_URL"
3172 _ACEOF
3175 # Let the site file select an alternate cache file if it wants to.
3176 # Prefer an explicitly selected file to automatically selected ones.
3177 ac_site_file1=NONE
3178 ac_site_file2=NONE
3179 if test -n "$CONFIG_SITE"; then
3180 # We do not want a PATH search for config.site.
3181 case $CONFIG_SITE in #((
3182 -*) ac_site_file1=./$CONFIG_SITE;;
3183 */*) ac_site_file1=$CONFIG_SITE;;
3184 *) ac_site_file1=./$CONFIG_SITE;;
3185 esac
3186 elif test "x$prefix" != xNONE; then
3187 ac_site_file1=$prefix/share/config.site
3188 ac_site_file2=$prefix/etc/config.site
3189 else
3190 ac_site_file1=$ac_default_prefix/share/config.site
3191 ac_site_file2=$ac_default_prefix/etc/config.site
3193 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3195 test "x$ac_site_file" = xNONE && continue
3196 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3198 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3199 sed 's/^/| /' "$ac_site_file" >&5
3200 . "$ac_site_file" \
3201 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203 as_fn_error $? "failed to load site script $ac_site_file
3204 See \`config.log' for more details" "$LINENO" 5; }
3206 done
3208 if test -r "$cache_file"; then
3209 # Some versions of bash will fail to source /dev/null (special files
3210 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3211 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3213 $as_echo "$as_me: loading cache $cache_file" >&6;}
3214 case $cache_file in
3215 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3216 *) . "./$cache_file";;
3217 esac
3219 else
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3221 $as_echo "$as_me: creating cache $cache_file" >&6;}
3222 >$cache_file
3225 # Check that the precious variables saved in the cache have kept the same
3226 # value.
3227 ac_cache_corrupted=false
3228 for ac_var in $ac_precious_vars; do
3229 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3230 eval ac_new_set=\$ac_env_${ac_var}_set
3231 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3232 eval ac_new_val=\$ac_env_${ac_var}_value
3233 case $ac_old_set,$ac_new_set in
3234 set,)
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3236 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3237 ac_cache_corrupted=: ;;
3238 ,set)
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3240 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3241 ac_cache_corrupted=: ;;
3242 ,);;
3244 if test "x$ac_old_val" != "x$ac_new_val"; then
3245 # differences in whitespace do not lead to failure.
3246 ac_old_val_w=`echo x $ac_old_val`
3247 ac_new_val_w=`echo x $ac_new_val`
3248 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3250 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3251 ac_cache_corrupted=:
3252 else
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3254 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3255 eval $ac_var=\$ac_old_val
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3258 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3260 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3261 fi;;
3262 esac
3263 # Pass precious variables to config.status.
3264 if test "$ac_new_set" = set; then
3265 case $ac_new_val in
3266 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3267 *) ac_arg=$ac_var=$ac_new_val ;;
3268 esac
3269 case " $ac_configure_args " in
3270 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3271 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3272 esac
3274 done
3275 if $ac_cache_corrupted; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3279 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3280 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3282 ## -------------------- ##
3283 ## Main body of script. ##
3284 ## -------------------- ##
3286 ac_ext=c
3287 ac_cpp='$CPP $CPPFLAGS'
3288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3294 ac_config_headers="$ac_config_headers include/config.h"
3296 ac_aux_dir=
3297 for ac_dir in tools "$srcdir"/tools; do
3298 if test -f "$ac_dir/install-sh"; then
3299 ac_aux_dir=$ac_dir
3300 ac_install_sh="$ac_aux_dir/install-sh -c"
3301 break
3302 elif test -f "$ac_dir/install.sh"; then
3303 ac_aux_dir=$ac_dir
3304 ac_install_sh="$ac_aux_dir/install.sh -c"
3305 break
3306 elif test -f "$ac_dir/shtool"; then
3307 ac_aux_dir=$ac_dir
3308 ac_install_sh="$ac_aux_dir/shtool install -c"
3309 break
3311 done
3312 if test -z "$ac_aux_dir"; then
3313 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3316 # These three variables are undocumented and unsupported,
3317 # and are intended to be withdrawn in a future Autoconf release.
3318 # They can cause serious problems if a builder's source tree is in a directory
3319 # whose full name contains unusual characters.
3320 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3321 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3322 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3326 libwine_version="1.0"
3330 # Check whether --enable-win16 was given.
3331 if test "${enable_win16+set}" = set; then :
3332 enableval=$enable_win16;
3335 # Check whether --enable-win64 was given.
3336 if test "${enable_win64+set}" = set; then :
3337 enableval=$enable_win64;
3340 # Check whether --enable-tests was given.
3341 if test "${enable_tests+set}" = set; then :
3342 enableval=$enable_tests;
3345 # Check whether --enable-maintainer-mode was given.
3346 if test "${enable_maintainer_mode+set}" = set; then :
3347 enableval=$enable_maintainer_mode;
3352 # Check whether --with-alsa was given.
3353 if test "${with_alsa+set}" = set; then :
3354 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3358 # Check whether --with-capi was given.
3359 if test "${with_capi+set}" = set; then :
3360 withval=$with_capi;
3364 # Check whether --with-cms was given.
3365 if test "${with_cms+set}" = set; then :
3366 withval=$with_cms;
3370 # Check whether --with-coreaudio was given.
3371 if test "${with_coreaudio+set}" = set; then :
3372 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3376 # Check whether --with-cups was given.
3377 if test "${with_cups+set}" = set; then :
3378 withval=$with_cups;
3382 # Check whether --with-curses was given.
3383 if test "${with_curses+set}" = set; then :
3384 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3388 # Check whether --with-dbus was given.
3389 if test "${with_dbus+set}" = set; then :
3390 withval=$with_dbus;
3394 # Check whether --with-fontconfig was given.
3395 if test "${with_fontconfig+set}" = set; then :
3396 withval=$with_fontconfig;
3400 # Check whether --with-freetype was given.
3401 if test "${with_freetype+set}" = set; then :
3402 withval=$with_freetype;
3406 # Check whether --with-gettext was given.
3407 if test "${with_gettext+set}" = set; then :
3408 withval=$with_gettext;
3412 # Check whether --with-gettextpo was given.
3413 if test "${with_gettextpo+set}" = set; then :
3414 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3418 # Check whether --with-gphoto was given.
3419 if test "${with_gphoto+set}" = set; then :
3420 withval=$with_gphoto;
3424 # Check whether --with-glu was given.
3425 if test "${with_glu+set}" = set; then :
3426 withval=$with_glu;
3430 # Check whether --with-gnutls was given.
3431 if test "${with_gnutls+set}" = set; then :
3432 withval=$with_gnutls;
3436 # Check whether --with-gsm was given.
3437 if test "${with_gsm+set}" = set; then :
3438 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3442 # Check whether --with-gstreamer was given.
3443 if test "${with_gstreamer+set}" = set; then :
3444 withval=$with_gstreamer;
3448 # Check whether --with-hal was given.
3449 if test "${with_hal+set}" = set; then :
3450 withval=$with_hal;
3454 # Check whether --with-jpeg was given.
3455 if test "${with_jpeg+set}" = set; then :
3456 withval=$with_jpeg;
3460 # Check whether --with-ldap was given.
3461 if test "${with_ldap+set}" = set; then :
3462 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3466 # Check whether --with-mpg123 was given.
3467 if test "${with_mpg123+set}" = set; then :
3468 withval=$with_mpg123;
3472 # Check whether --with-netapi was given.
3473 if test "${with_netapi+set}" = set; then :
3474 withval=$with_netapi;
3478 # Check whether --with-openal was given.
3479 if test "${with_openal+set}" = set; then :
3480 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3484 # Check whether --with-opencl was given.
3485 if test "${with_opencl+set}" = set; then :
3486 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3490 # Check whether --with-opengl was given.
3491 if test "${with_opengl+set}" = set; then :
3492 withval=$with_opengl;
3496 # Check whether --with-osmesa was given.
3497 if test "${with_osmesa+set}" = set; then :
3498 withval=$with_osmesa;
3502 # Check whether --with-oss was given.
3503 if test "${with_oss+set}" = set; then :
3504 withval=$with_oss;
3508 # Check whether --with-pcap was given.
3509 if test "${with_pcap+set}" = set; then :
3510 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3514 # Check whether --with-png was given.
3515 if test "${with_png+set}" = set; then :
3516 withval=$with_png;
3520 # Check whether --with-pthread was given.
3521 if test "${with_pthread+set}" = set; then :
3522 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3526 # Check whether --with-pulse was given.
3527 if test "${with_pulse+set}" = set; then :
3528 withval=$with_pulse;
3532 # Check whether --with-sane was given.
3533 if test "${with_sane+set}" = set; then :
3534 withval=$with_sane;
3538 # Check whether --with-tiff was given.
3539 if test "${with_tiff+set}" = set; then :
3540 withval=$with_tiff;
3544 # Check whether --with-v4l was given.
3545 if test "${with_v4l+set}" = set; then :
3546 withval=$with_v4l;
3550 # Check whether --with-xcomposite was given.
3551 if test "${with_xcomposite+set}" = set; then :
3552 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3556 # Check whether --with-xcursor was given.
3557 if test "${with_xcursor+set}" = set; then :
3558 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3562 # Check whether --with-xinerama was given.
3563 if test "${with_xinerama+set}" = set; then :
3564 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3568 # Check whether --with-xinput was given.
3569 if test "${with_xinput+set}" = set; then :
3570 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3574 # Check whether --with-xinput2 was given.
3575 if test "${with_xinput2+set}" = set; then :
3576 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3580 # Check whether --with-xml was given.
3581 if test "${with_xml+set}" = set; then :
3582 withval=$with_xml;
3586 # Check whether --with-xrandr was given.
3587 if test "${with_xrandr+set}" = set; then :
3588 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3592 # Check whether --with-xrender was given.
3593 if test "${with_xrender+set}" = set; then :
3594 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3598 # Check whether --with-xshape was given.
3599 if test "${with_xshape+set}" = set; then :
3600 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3604 # Check whether --with-xshm was given.
3605 if test "${with_xshm+set}" = set; then :
3606 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3610 # Check whether --with-xslt was given.
3611 if test "${with_xslt+set}" = set; then :
3612 withval=$with_xslt;
3616 # Check whether --with-xxf86vm was given.
3617 if test "${with_xxf86vm+set}" = set; then :
3618 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
3622 # Check whether --with-zlib was given.
3623 if test "${with_zlib+set}" = set; then :
3624 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3629 # Check whether --with-wine-tools was given.
3630 if test "${with_wine_tools+set}" = set; then :
3631 withval=$with_wine_tools;
3635 # Check whether --with-wine64 was given.
3636 if test "${with_wine64+set}" = set; then :
3637 withval=$with_wine64;
3641 # Make sure we can run config.sub.
3642 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3643 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3646 $as_echo_n "checking build system type... " >&6; }
3647 if ${ac_cv_build+:} false; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 ac_build_alias=$build_alias
3651 test "x$ac_build_alias" = x &&
3652 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3653 test "x$ac_build_alias" = x &&
3654 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3655 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3656 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3660 $as_echo "$ac_cv_build" >&6; }
3661 case $ac_cv_build in
3662 *-*-*) ;;
3663 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3664 esac
3665 build=$ac_cv_build
3666 ac_save_IFS=$IFS; IFS='-'
3667 set x $ac_cv_build
3668 shift
3669 build_cpu=$1
3670 build_vendor=$2
3671 shift; shift
3672 # Remember, the first character of IFS is used to create $*,
3673 # except with old shells:
3674 build_os=$*
3675 IFS=$ac_save_IFS
3676 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3680 $as_echo_n "checking host system type... " >&6; }
3681 if ${ac_cv_host+:} false; then :
3682 $as_echo_n "(cached) " >&6
3683 else
3684 if test "x$host_alias" = x; then
3685 ac_cv_host=$ac_cv_build
3686 else
3687 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3688 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3693 $as_echo "$ac_cv_host" >&6; }
3694 case $ac_cv_host in
3695 *-*-*) ;;
3696 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3697 esac
3698 host=$ac_cv_host
3699 ac_save_IFS=$IFS; IFS='-'
3700 set x $ac_cv_host
3701 shift
3702 host_cpu=$1
3703 host_vendor=$2
3704 shift; shift
3705 # Remember, the first character of IFS is used to create $*,
3706 # except with old shells:
3707 host_os=$*
3708 IFS=$ac_save_IFS
3709 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3713 case "$srcdir" in
3714 .) ;;
3715 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3716 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3717 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3718 fi ;;
3719 esac
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3723 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3724 set x ${MAKE-make}
3725 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3726 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3727 $as_echo_n "(cached) " >&6
3728 else
3729 cat >conftest.make <<\_ACEOF
3730 SHELL = /bin/sh
3731 all:
3732 @echo '@@@%%%=$(MAKE)=@@@%%%'
3733 _ACEOF
3734 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3735 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3736 *@@@%%%=?*=@@@%%%*)
3737 eval ac_cv_prog_make_${ac_make}_set=yes;;
3739 eval ac_cv_prog_make_${ac_make}_set=no;;
3740 esac
3741 rm -f conftest.make
3743 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3745 $as_echo "yes" >&6; }
3746 SET_MAKE=
3747 else
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 $as_echo "no" >&6; }
3750 SET_MAKE="MAKE=${MAKE-make}"
3753 ac_ext=c
3754 ac_cpp='$CPP $CPPFLAGS'
3755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3758 if test -n "$ac_tool_prefix"; then
3759 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3760 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3762 $as_echo_n "checking for $ac_word... " >&6; }
3763 if ${ac_cv_prog_CC+:} false; then :
3764 $as_echo_n "(cached) " >&6
3765 else
3766 if test -n "$CC"; then
3767 ac_cv_prog_CC="$CC" # Let the user override the test.
3768 else
3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3770 for as_dir in $PATH
3772 IFS=$as_save_IFS
3773 test -z "$as_dir" && as_dir=.
3774 for ac_exec_ext in '' $ac_executable_extensions; do
3775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3776 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 break 2
3780 done
3781 done
3782 IFS=$as_save_IFS
3786 CC=$ac_cv_prog_CC
3787 if test -n "$CC"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3789 $as_echo "$CC" >&6; }
3790 else
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 $as_echo "no" >&6; }
3797 if test -z "$ac_cv_prog_CC"; then
3798 ac_ct_CC=$CC
3799 # Extract the first word of "gcc", so it can be a program name with args.
3800 set dummy gcc; ac_word=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3804 $as_echo_n "(cached) " >&6
3805 else
3806 if test -n "$ac_ct_CC"; then
3807 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3808 else
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810 for as_dir in $PATH
3812 IFS=$as_save_IFS
3813 test -z "$as_dir" && as_dir=.
3814 for ac_exec_ext in '' $ac_executable_extensions; do
3815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_prog_ac_ct_CC="gcc"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 break 2
3820 done
3821 done
3822 IFS=$as_save_IFS
3826 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3827 if test -n "$ac_ct_CC"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3829 $as_echo "$ac_ct_CC" >&6; }
3830 else
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3835 if test "x$ac_ct_CC" = x; then
3836 CC=""
3837 else
3838 case $cross_compiling:$ac_tool_warned in
3839 yes:)
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3842 ac_tool_warned=yes ;;
3843 esac
3844 CC=$ac_ct_CC
3846 else
3847 CC="$ac_cv_prog_CC"
3850 if test -z "$CC"; then
3851 if test -n "$ac_tool_prefix"; then
3852 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3853 set dummy ${ac_tool_prefix}cc; ac_word=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_CC+:} false; then :
3857 $as_echo_n "(cached) " >&6
3858 else
3859 if test -n "$CC"; then
3860 ac_cv_prog_CC="$CC" # Let the user override the test.
3861 else
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH
3865 IFS=$as_save_IFS
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_CC="${ac_tool_prefix}cc"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 break 2
3873 done
3874 done
3875 IFS=$as_save_IFS
3879 CC=$ac_cv_prog_CC
3880 if test -n "$CC"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3882 $as_echo "$CC" >&6; }
3883 else
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3891 if test -z "$CC"; then
3892 # Extract the first word of "cc", so it can be a program name with args.
3893 set dummy cc; ac_word=$2
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3895 $as_echo_n "checking for $ac_word... " >&6; }
3896 if ${ac_cv_prog_CC+:} false; then :
3897 $as_echo_n "(cached) " >&6
3898 else
3899 if test -n "$CC"; then
3900 ac_cv_prog_CC="$CC" # Let the user override the test.
3901 else
3902 ac_prog_rejected=no
3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904 for as_dir in $PATH
3906 IFS=$as_save_IFS
3907 test -z "$as_dir" && as_dir=.
3908 for ac_exec_ext in '' $ac_executable_extensions; do
3909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3910 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3911 ac_prog_rejected=yes
3912 continue
3914 ac_cv_prog_CC="cc"
3915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 break 2
3918 done
3919 done
3920 IFS=$as_save_IFS
3922 if test $ac_prog_rejected = yes; then
3923 # We found a bogon in the path, so make sure we never use it.
3924 set dummy $ac_cv_prog_CC
3925 shift
3926 if test $# != 0; then
3927 # We chose a different compiler from the bogus one.
3928 # However, it has the same basename, so the bogon will be chosen
3929 # first if we set CC to just the basename; use the full file name.
3930 shift
3931 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3936 CC=$ac_cv_prog_CC
3937 if test -n "$CC"; then
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3939 $as_echo "$CC" >&6; }
3940 else
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942 $as_echo "no" >&6; }
3947 if test -z "$CC"; then
3948 if test -n "$ac_tool_prefix"; then
3949 for ac_prog in cl.exe
3951 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3952 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3954 $as_echo_n "checking for $ac_word... " >&6; }
3955 if ${ac_cv_prog_CC+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
3958 if test -n "$CC"; then
3959 ac_cv_prog_CC="$CC" # Let the user override the test.
3960 else
3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962 for as_dir in $PATH
3964 IFS=$as_save_IFS
3965 test -z "$as_dir" && as_dir=.
3966 for ac_exec_ext in '' $ac_executable_extensions; do
3967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3968 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 break 2
3972 done
3973 done
3974 IFS=$as_save_IFS
3978 CC=$ac_cv_prog_CC
3979 if test -n "$CC"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3981 $as_echo "$CC" >&6; }
3982 else
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3988 test -n "$CC" && break
3989 done
3991 if test -z "$CC"; then
3992 ac_ct_CC=$CC
3993 for ac_prog in cl.exe
3995 # Extract the first word of "$ac_prog", so it can be a program name with args.
3996 set dummy $ac_prog; ac_word=$2
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3998 $as_echo_n "checking for $ac_word... " >&6; }
3999 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4000 $as_echo_n "(cached) " >&6
4001 else
4002 if test -n "$ac_ct_CC"; then
4003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4004 else
4005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006 for as_dir in $PATH
4008 IFS=$as_save_IFS
4009 test -z "$as_dir" && as_dir=.
4010 for ac_exec_ext in '' $ac_executable_extensions; do
4011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4012 ac_cv_prog_ac_ct_CC="$ac_prog"
4013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014 break 2
4016 done
4017 done
4018 IFS=$as_save_IFS
4022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4023 if test -n "$ac_ct_CC"; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4025 $as_echo "$ac_ct_CC" >&6; }
4026 else
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4032 test -n "$ac_ct_CC" && break
4033 done
4035 if test "x$ac_ct_CC" = x; then
4036 CC=""
4037 else
4038 case $cross_compiling:$ac_tool_warned in
4039 yes:)
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4042 ac_tool_warned=yes ;;
4043 esac
4044 CC=$ac_ct_CC
4051 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error $? "no acceptable C compiler found in \$PATH
4054 See \`config.log' for more details" "$LINENO" 5; }
4056 # Provide some information about the compiler.
4057 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4058 set X $ac_compile
4059 ac_compiler=$2
4060 for ac_option in --version -v -V -qversion; do
4061 { { ac_try="$ac_compiler $ac_option >&5"
4062 case "(($ac_try" in
4063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4065 esac
4066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4067 $as_echo "$ac_try_echo"; } >&5
4068 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4069 ac_status=$?
4070 if test -s conftest.err; then
4071 sed '10a\
4072 ... rest of stderr output deleted ...
4073 10q' conftest.err >conftest.er1
4074 cat conftest.er1 >&5
4076 rm -f conftest.er1 conftest.err
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; }
4079 done
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4085 main ()
4089 return 0;
4091 _ACEOF
4092 ac_clean_files_save=$ac_clean_files
4093 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4094 # Try to create an executable without -o first, disregard a.out.
4095 # It will help us diagnose broken compilers, and finding out an intuition
4096 # of exeext.
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4098 $as_echo_n "checking whether the C compiler works... " >&6; }
4099 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4101 # The possible output files:
4102 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4104 ac_rmfiles=
4105 for ac_file in $ac_files
4107 case $ac_file in
4108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4109 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4110 esac
4111 done
4112 rm -f $ac_rmfiles
4114 if { { ac_try="$ac_link_default"
4115 case "(($ac_try" in
4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4118 esac
4119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4120 $as_echo "$ac_try_echo"; } >&5
4121 (eval "$ac_link_default") 2>&5
4122 ac_status=$?
4123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4124 test $ac_status = 0; }; then :
4125 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4126 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4127 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4128 # so that the user can short-circuit this test for compilers unknown to
4129 # Autoconf.
4130 for ac_file in $ac_files ''
4132 test -f "$ac_file" || continue
4133 case $ac_file in
4134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4136 [ab].out )
4137 # We found the default executable, but exeext='' is most
4138 # certainly right.
4139 break;;
4140 *.* )
4141 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4142 then :; else
4143 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4145 # We set ac_cv_exeext here because the later test for it is not
4146 # safe: cross compilers may not add the suffix if given an `-o'
4147 # argument, so we may need to know it at that point already.
4148 # Even if this section looks crufty: it has the advantage of
4149 # actually working.
4150 break;;
4152 break;;
4153 esac
4154 done
4155 test "$ac_cv_exeext" = no && ac_cv_exeext=
4157 else
4158 ac_file=''
4160 if test -z "$ac_file"; then :
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162 $as_echo "no" >&6; }
4163 $as_echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4168 as_fn_error 77 "C compiler cannot create executables
4169 See \`config.log' for more details" "$LINENO" 5; }
4170 else
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4172 $as_echo "yes" >&6; }
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4175 $as_echo_n "checking for C compiler default output file name... " >&6; }
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4177 $as_echo "$ac_file" >&6; }
4178 ac_exeext=$ac_cv_exeext
4180 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4181 ac_clean_files=$ac_clean_files_save
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4183 $as_echo_n "checking for suffix of executables... " >&6; }
4184 if { { ac_try="$ac_link"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4190 $as_echo "$ac_try_echo"; } >&5
4191 (eval "$ac_link") 2>&5
4192 ac_status=$?
4193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194 test $ac_status = 0; }; then :
4195 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4196 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4197 # work properly (i.e., refer to `conftest.exe'), while it won't with
4198 # `rm'.
4199 for ac_file in conftest.exe conftest conftest.*; do
4200 test -f "$ac_file" || continue
4201 case $ac_file in
4202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4203 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4204 break;;
4205 * ) break;;
4206 esac
4207 done
4208 else
4209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4211 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4212 See \`config.log' for more details" "$LINENO" 5; }
4214 rm -f conftest conftest$ac_cv_exeext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4216 $as_echo "$ac_cv_exeext" >&6; }
4218 rm -f conftest.$ac_ext
4219 EXEEXT=$ac_cv_exeext
4220 ac_exeext=$EXEEXT
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4223 #include <stdio.h>
4225 main ()
4227 FILE *f = fopen ("conftest.out", "w");
4228 return ferror (f) || fclose (f) != 0;
4231 return 0;
4233 _ACEOF
4234 ac_clean_files="$ac_clean_files conftest.out"
4235 # Check that the compiler produces executables we can run. If not, either
4236 # the compiler is broken, or we cross compile.
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4238 $as_echo_n "checking whether we are cross compiling... " >&6; }
4239 if test "$cross_compiling" != yes; then
4240 { { ac_try="$ac_link"
4241 case "(($ac_try" in
4242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4243 *) ac_try_echo=$ac_try;;
4244 esac
4245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4246 $as_echo "$ac_try_echo"; } >&5
4247 (eval "$ac_link") 2>&5
4248 ac_status=$?
4249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4250 test $ac_status = 0; }
4251 if { ac_try='./conftest$ac_cv_exeext'
4252 { { case "(($ac_try" in
4253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4254 *) ac_try_echo=$ac_try;;
4255 esac
4256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4257 $as_echo "$ac_try_echo"; } >&5
4258 (eval "$ac_try") 2>&5
4259 ac_status=$?
4260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4261 test $ac_status = 0; }; }; then
4262 cross_compiling=no
4263 else
4264 if test "$cross_compiling" = maybe; then
4265 cross_compiling=yes
4266 else
4267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4269 as_fn_error $? "cannot run C compiled programs.
4270 If you meant to cross compile, use \`--host'.
4271 See \`config.log' for more details" "$LINENO" 5; }
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4276 $as_echo "$cross_compiling" >&6; }
4278 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4279 ac_clean_files=$ac_clean_files_save
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4281 $as_echo_n "checking for suffix of object files... " >&6; }
4282 if ${ac_cv_objext+:} false; then :
4283 $as_echo_n "(cached) " >&6
4284 else
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4289 main ()
4293 return 0;
4295 _ACEOF
4296 rm -f conftest.o conftest.obj
4297 if { { ac_try="$ac_compile"
4298 case "(($ac_try" in
4299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300 *) ac_try_echo=$ac_try;;
4301 esac
4302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4303 $as_echo "$ac_try_echo"; } >&5
4304 (eval "$ac_compile") 2>&5
4305 ac_status=$?
4306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4307 test $ac_status = 0; }; then :
4308 for ac_file in conftest.o conftest.obj conftest.*; do
4309 test -f "$ac_file" || continue;
4310 case $ac_file in
4311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4312 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4313 break;;
4314 esac
4315 done
4316 else
4317 $as_echo "$as_me: failed program was:" >&5
4318 sed 's/^/| /' conftest.$ac_ext >&5
4320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4322 as_fn_error $? "cannot compute suffix of object files: cannot compile
4323 See \`config.log' for more details" "$LINENO" 5; }
4325 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4328 $as_echo "$ac_cv_objext" >&6; }
4329 OBJEXT=$ac_cv_objext
4330 ac_objext=$OBJEXT
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4332 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4333 if ${ac_cv_c_compiler_gnu+:} false; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4340 main ()
4342 #ifndef __GNUC__
4343 choke me
4344 #endif
4347 return 0;
4349 _ACEOF
4350 if ac_fn_c_try_compile "$LINENO"; then :
4351 ac_compiler_gnu=yes
4352 else
4353 ac_compiler_gnu=no
4355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4356 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4360 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4361 if test $ac_compiler_gnu = yes; then
4362 GCC=yes
4363 else
4364 GCC=
4366 ac_test_CFLAGS=${CFLAGS+set}
4367 ac_save_CFLAGS=$CFLAGS
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4369 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4370 if ${ac_cv_prog_cc_g+:} false; then :
4371 $as_echo_n "(cached) " >&6
4372 else
4373 ac_save_c_werror_flag=$ac_c_werror_flag
4374 ac_c_werror_flag=yes
4375 ac_cv_prog_cc_g=no
4376 CFLAGS="-g"
4377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4381 main ()
4385 return 0;
4387 _ACEOF
4388 if ac_fn_c_try_compile "$LINENO"; then :
4389 ac_cv_prog_cc_g=yes
4390 else
4391 CFLAGS=""
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4396 main ()
4400 return 0;
4402 _ACEOF
4403 if ac_fn_c_try_compile "$LINENO"; then :
4405 else
4406 ac_c_werror_flag=$ac_save_c_werror_flag
4407 CFLAGS="-g"
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4412 main ()
4416 return 0;
4418 _ACEOF
4419 if ac_fn_c_try_compile "$LINENO"; then :
4420 ac_cv_prog_cc_g=yes
4422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4427 ac_c_werror_flag=$ac_save_c_werror_flag
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4430 $as_echo "$ac_cv_prog_cc_g" >&6; }
4431 if test "$ac_test_CFLAGS" = set; then
4432 CFLAGS=$ac_save_CFLAGS
4433 elif test $ac_cv_prog_cc_g = yes; then
4434 if test "$GCC" = yes; then
4435 CFLAGS="-g -O2"
4436 else
4437 CFLAGS="-g"
4439 else
4440 if test "$GCC" = yes; then
4441 CFLAGS="-O2"
4442 else
4443 CFLAGS=
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4447 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4448 if ${ac_cv_prog_cc_c89+:} false; then :
4449 $as_echo_n "(cached) " >&6
4450 else
4451 ac_cv_prog_cc_c89=no
4452 ac_save_CC=$CC
4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4455 #include <stdarg.h>
4456 #include <stdio.h>
4457 struct stat;
4458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4459 struct buf { int x; };
4460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4461 static char *e (p, i)
4462 char **p;
4463 int i;
4465 return p[i];
4467 static char *f (char * (*g) (char **, int), char **p, ...)
4469 char *s;
4470 va_list v;
4471 va_start (v,p);
4472 s = g (p, va_arg (v,int));
4473 va_end (v);
4474 return s;
4477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4478 function prototypes and stuff, but not '\xHH' hex character constants.
4479 These don't provoke an error unfortunately, instead are silently treated
4480 as 'x'. The following induces an error, until -std is added to get
4481 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4482 array size at least. It's necessary to write '\x00'==0 to get something
4483 that's true only with -std. */
4484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4486 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4487 inside strings and character constants. */
4488 #define FOO(x) 'x'
4489 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4491 int test (int i, double x);
4492 struct s1 {int (*f) (int a);};
4493 struct s2 {int (*f) (double a);};
4494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4495 int argc;
4496 char **argv;
4498 main ()
4500 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4502 return 0;
4504 _ACEOF
4505 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4506 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4508 CC="$ac_save_CC $ac_arg"
4509 if ac_fn_c_try_compile "$LINENO"; then :
4510 ac_cv_prog_cc_c89=$ac_arg
4512 rm -f core conftest.err conftest.$ac_objext
4513 test "x$ac_cv_prog_cc_c89" != "xno" && break
4514 done
4515 rm -f conftest.$ac_ext
4516 CC=$ac_save_CC
4519 # AC_CACHE_VAL
4520 case "x$ac_cv_prog_cc_c89" in
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4523 $as_echo "none needed" >&6; } ;;
4524 xno)
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4526 $as_echo "unsupported" >&6; } ;;
4528 CC="$CC $ac_cv_prog_cc_c89"
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4530 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4531 esac
4532 if test "x$ac_cv_prog_cc_c89" != xno; then :
4536 ac_ext=c
4537 ac_cpp='$CPP $CPPFLAGS'
4538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4542 ac_ext=cpp
4543 ac_cpp='$CXXCPP $CPPFLAGS'
4544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4547 if test -z "$CXX"; then
4548 if test -n "$CCC"; then
4549 CXX=$CCC
4550 else
4551 if test -n "$ac_tool_prefix"; then
4552 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4555 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_CXX+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 if test -n "$CXX"; then
4562 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4563 else
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH
4567 IFS=$as_save_IFS
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 break 2
4575 done
4576 done
4577 IFS=$as_save_IFS
4581 CXX=$ac_cv_prog_CXX
4582 if test -n "$CXX"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4584 $as_echo "$CXX" >&6; }
4585 else
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4591 test -n "$CXX" && break
4592 done
4594 if test -z "$CXX"; then
4595 ac_ct_CXX=$CXX
4596 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4598 # Extract the first word of "$ac_prog", so it can be a program name with args.
4599 set dummy $ac_prog; ac_word=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 if test -n "$ac_ct_CXX"; then
4606 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4607 else
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 for as_dir in $PATH
4611 IFS=$as_save_IFS
4612 test -z "$as_dir" && as_dir=.
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_ac_ct_CXX="$ac_prog"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 break 2
4619 done
4620 done
4621 IFS=$as_save_IFS
4625 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4626 if test -n "$ac_ct_CXX"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4628 $as_echo "$ac_ct_CXX" >&6; }
4629 else
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4635 test -n "$ac_ct_CXX" && break
4636 done
4638 if test "x$ac_ct_CXX" = x; then
4639 CXX="g++"
4640 else
4641 case $cross_compiling:$ac_tool_warned in
4642 yes:)
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4645 ac_tool_warned=yes ;;
4646 esac
4647 CXX=$ac_ct_CXX
4653 # Provide some information about the compiler.
4654 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4655 set X $ac_compile
4656 ac_compiler=$2
4657 for ac_option in --version -v -V -qversion; do
4658 { { ac_try="$ac_compiler $ac_option >&5"
4659 case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4664 $as_echo "$ac_try_echo"; } >&5
4665 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4666 ac_status=$?
4667 if test -s conftest.err; then
4668 sed '10a\
4669 ... rest of stderr output deleted ...
4670 10q' conftest.err >conftest.er1
4671 cat conftest.er1 >&5
4673 rm -f conftest.er1 conftest.err
4674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4675 test $ac_status = 0; }
4676 done
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4679 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4680 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4681 $as_echo_n "(cached) " >&6
4682 else
4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4687 main ()
4689 #ifndef __GNUC__
4690 choke me
4691 #endif
4694 return 0;
4696 _ACEOF
4697 if ac_fn_cxx_try_compile "$LINENO"; then :
4698 ac_compiler_gnu=yes
4699 else
4700 ac_compiler_gnu=no
4702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4703 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4707 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4708 if test $ac_compiler_gnu = yes; then
4709 GXX=yes
4710 else
4711 GXX=
4713 ac_test_CXXFLAGS=${CXXFLAGS+set}
4714 ac_save_CXXFLAGS=$CXXFLAGS
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4716 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4717 if ${ac_cv_prog_cxx_g+:} false; then :
4718 $as_echo_n "(cached) " >&6
4719 else
4720 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4721 ac_cxx_werror_flag=yes
4722 ac_cv_prog_cxx_g=no
4723 CXXFLAGS="-g"
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4728 main ()
4732 return 0;
4734 _ACEOF
4735 if ac_fn_cxx_try_compile "$LINENO"; then :
4736 ac_cv_prog_cxx_g=yes
4737 else
4738 CXXFLAGS=""
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4743 main ()
4747 return 0;
4749 _ACEOF
4750 if ac_fn_cxx_try_compile "$LINENO"; then :
4752 else
4753 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4754 CXXFLAGS="-g"
4755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4759 main ()
4763 return 0;
4765 _ACEOF
4766 if ac_fn_cxx_try_compile "$LINENO"; then :
4767 ac_cv_prog_cxx_g=yes
4769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4777 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4778 if test "$ac_test_CXXFLAGS" = set; then
4779 CXXFLAGS=$ac_save_CXXFLAGS
4780 elif test $ac_cv_prog_cxx_g = yes; then
4781 if test "$GXX" = yes; then
4782 CXXFLAGS="-g -O2"
4783 else
4784 CXXFLAGS="-g"
4786 else
4787 if test "$GXX" = yes; then
4788 CXXFLAGS="-O2"
4789 else
4790 CXXFLAGS=
4793 ac_ext=c
4794 ac_cpp='$CPP $CPPFLAGS'
4795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4799 if test -n "$ac_tool_prefix"; then
4800 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4801 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4803 $as_echo_n "checking for $ac_word... " >&6; }
4804 if ${ac_cv_prog_CPPBIN+:} false; then :
4805 $as_echo_n "(cached) " >&6
4806 else
4807 if test -n "$CPPBIN"; then
4808 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4809 else
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 for as_dir in $PATH
4813 IFS=$as_save_IFS
4814 test -z "$as_dir" && as_dir=.
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4817 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 break 2
4821 done
4822 done
4823 IFS=$as_save_IFS
4827 CPPBIN=$ac_cv_prog_CPPBIN
4828 if test -n "$CPPBIN"; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4830 $as_echo "$CPPBIN" >&6; }
4831 else
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4838 if test -z "$ac_cv_prog_CPPBIN"; then
4839 ac_ct_CPPBIN=$CPPBIN
4840 # Extract the first word of "cpp", so it can be a program name with args.
4841 set dummy cpp; ac_word=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4845 $as_echo_n "(cached) " >&6
4846 else
4847 if test -n "$ac_ct_CPPBIN"; then
4848 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4849 else
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 for as_dir in $PATH
4853 IFS=$as_save_IFS
4854 test -z "$as_dir" && as_dir=.
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_ac_ct_CPPBIN="cpp"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 break 2
4861 done
4862 done
4863 IFS=$as_save_IFS
4867 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4868 if test -n "$ac_ct_CPPBIN"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4870 $as_echo "$ac_ct_CPPBIN" >&6; }
4871 else
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4876 if test "x$ac_ct_CPPBIN" = x; then
4877 CPPBIN="cpp"
4878 else
4879 case $cross_compiling:$ac_tool_warned in
4880 yes:)
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4883 ac_tool_warned=yes ;;
4884 esac
4885 CPPBIN=$ac_ct_CPPBIN
4887 else
4888 CPPBIN="$ac_cv_prog_CPPBIN"
4892 cat >>confdefs.h <<_ACEOF
4893 #define EXEEXT "$ac_exeext"
4894 _ACEOF
4896 if test -n "$ac_tool_prefix"; then
4897 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4898 set dummy ${ac_tool_prefix}ld; ac_word=$2
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 $as_echo_n "checking for $ac_word... " >&6; }
4901 if ${ac_cv_prog_LD+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 if test -n "$LD"; then
4905 ac_cv_prog_LD="$LD" # Let the user override the test.
4906 else
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH
4910 IFS=$as_save_IFS
4911 test -z "$as_dir" && as_dir=.
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4914 ac_cv_prog_LD="${ac_tool_prefix}ld"
4915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 break 2
4918 done
4919 done
4920 IFS=$as_save_IFS
4924 LD=$ac_cv_prog_LD
4925 if test -n "$LD"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4927 $as_echo "$LD" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4935 if test -z "$ac_cv_prog_LD"; then
4936 ac_ct_LD=$LD
4937 # Extract the first word of "ld", so it can be a program name with args.
4938 set dummy ld; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 if test -n "$ac_ct_LD"; then
4945 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4946 else
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 for as_dir in $PATH
4950 IFS=$as_save_IFS
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_ac_ct_LD="ld"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956 break 2
4958 done
4959 done
4960 IFS=$as_save_IFS
4964 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4965 if test -n "$ac_ct_LD"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4967 $as_echo "$ac_ct_LD" >&6; }
4968 else
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4973 if test "x$ac_ct_LD" = x; then
4974 LD=""
4975 else
4976 case $cross_compiling:$ac_tool_warned in
4977 yes:)
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4980 ac_tool_warned=yes ;;
4981 esac
4982 LD=$ac_ct_LD
4984 else
4985 LD="$ac_cv_prog_LD"
4989 case $host in
4990 *-darwin*)
4991 with_fontconfig=${with_fontconfig:-no}
4993 *-mingw32*|*-cygwin*)
4994 enable_win16=${enable_win16:-no}
4995 CFLAGS="$CFLAGS -D_WIN32"
4997 esac
4999 case $host in
5000 x86_64*|amd64*)
5001 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5002 then
5003 CC="$CC -m32"
5004 CXX="$CXX -m32"
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5006 $as_echo_n "checking whether $CC works... " >&6; }
5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5012 main ()
5016 return 0;
5018 _ACEOF
5019 if ac_fn_c_try_link "$LINENO"; then :
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5021 $as_echo "yes" >&6; }
5022 else
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5025 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5027 rm -f core conftest.err conftest.$ac_objext \
5028 conftest$ac_exeext conftest.$ac_ext
5029 host_cpu="i386"
5030 notice_platform="32-bit "
5031 TARGETFLAGS="-m32"
5033 enable_win16=${enable_win16:-yes}
5034 else
5035 if test "x${GCC}" = "xyes"
5036 then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5038 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5041 #include <stdarg.h>
5043 main ()
5045 void func(__builtin_ms_va_list *args);
5047 return 0;
5049 _ACEOF
5050 if ac_fn_c_try_compile "$LINENO"; then :
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5052 $as_echo "yes" >&6; }
5053 else
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5056 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5060 CC="$CC -m64"
5061 CXX="$CXX -m64"
5062 host_cpu="x86_64"
5063 notice_platform="64-bit "
5064 TARGETFLAGS="-m64"
5068 arm*)
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5070 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5073 int ac_test(int i) { return i; }
5075 main ()
5077 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5079 return 0;
5081 _ACEOF
5082 if ac_fn_c_try_link "$LINENO"; then :
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5084 $as_echo "yes" >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5088 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5090 rm -f core conftest.err conftest.$ac_objext \
5091 conftest$ac_exeext conftest.$ac_ext
5092 CFLAGS="$CFLAGS -marm"
5093 TARGETFLAGS="-marm"
5096 i[3456789]86*)
5097 enable_win16=${enable_win16:-yes}
5099 esac
5101 enable_win16=${enable_win16:-no}
5102 enable_win64=${enable_win64:-no}
5104 enable_winetest=${enable_winetest:-$enable_tests}
5106 if test -n "$with_wine64"
5107 then
5108 if test "x$enable_win64" = "xyes"
5109 then
5110 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5111 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5113 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5114 You should create a separate build directory and run configure from there." "$LINENO" 5
5115 enable_fonts=${enable_fonts:-no}
5116 enable_server=${enable_server:-no}
5117 elif test "x$enable_win64" = "xyes"
5118 then
5119 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5123 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5124 if ${wine_cv_toolsdir+:} false; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 wine_cv_toolsdir="$with_wine_tools"
5128 if test -z "$with_wine_tools"; then
5129 if test "$cross_compiling" = "yes"; then
5130 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5131 elif test -n "$with_wine64"; then
5132 wine_cv_toolsdir="$with_wine64"
5135 if test -z "$wine_cv_toolsdir"; then
5136 wine_makedep=tools/makedep
5137 wine_cv_toolsdir="\$(top_builddir)"
5138 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5139 wine_makedep=$wine_cv_toolsdir/tools/makedep
5140 case "$wine_cv_toolsdir" in
5141 /*) ;;
5142 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5143 esac
5144 enable_tools=${enable_tools:-no}
5145 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5146 else
5147 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5151 $as_echo "$wine_cv_toolsdir" >&6; }
5152 TOOLSDIR=$wine_cv_toolsdir
5154 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5155 then
5156 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5160 for ac_prog in flex
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy $ac_prog; ac_word=$2
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 $as_echo_n "checking for $ac_word... " >&6; }
5166 if ${ac_cv_prog_FLEX+:} false; then :
5167 $as_echo_n "(cached) " >&6
5168 else
5169 if test -n "$FLEX"; then
5170 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5171 else
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH
5175 IFS=$as_save_IFS
5176 test -z "$as_dir" && as_dir=.
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5179 ac_cv_prog_FLEX="$ac_prog"
5180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 break 2
5183 done
5184 done
5185 IFS=$as_save_IFS
5189 FLEX=$ac_cv_prog_FLEX
5190 if test -n "$FLEX"; then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5192 $as_echo "$FLEX" >&6; }
5193 else
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5199 test -n "$FLEX" && break
5200 done
5201 test -n "$FLEX" || FLEX="none"
5203 if test "$FLEX" = "none"
5204 then
5205 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5208 $as_echo_n "checking whether flex is recent enough... " >&6; }
5209 cat >conftest.l <<EOF
5210 %top{
5211 #include "prediluvian.h"
5215 if $FLEX -t conftest.l >/dev/null 2>&5
5216 then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5218 $as_echo "yes" >&6; }
5219 else
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5222 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5225 for ac_prog in bison
5227 # Extract the first word of "$ac_prog", so it can be a program name with args.
5228 set dummy $ac_prog; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_BISON+:} false; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 if test -n "$BISON"; then
5235 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_BISON="$ac_prog"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5250 IFS=$as_save_IFS
5254 BISON=$ac_cv_prog_BISON
5255 if test -n "$BISON"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5257 $as_echo "$BISON" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5264 test -n "$BISON" && break
5265 done
5266 test -n "$BISON" || BISON="none"
5268 if test "$BISON" = "none"
5269 then
5270 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5273 if test -n "$ac_tool_prefix"; then
5274 for ac_prog in ar gar
5276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if ${ac_cv_prog_AR+:} false; then :
5281 $as_echo_n "(cached) " >&6
5282 else
5283 if test -n "$AR"; then
5284 ac_cv_prog_AR="$AR" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 break 2
5297 done
5298 done
5299 IFS=$as_save_IFS
5303 AR=$ac_cv_prog_AR
5304 if test -n "$AR"; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5306 $as_echo "$AR" >&6; }
5307 else
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 $as_echo "no" >&6; }
5313 test -n "$AR" && break
5314 done
5316 if test -z "$AR"; then
5317 ac_ct_AR=$AR
5318 for ac_prog in ar gar
5320 # Extract the first word of "$ac_prog", so it can be a program name with args.
5321 set dummy $ac_prog; ac_word=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5323 $as_echo_n "checking for $ac_word... " >&6; }
5324 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 if test -n "$ac_ct_AR"; then
5328 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5329 else
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 for as_dir in $PATH
5333 IFS=$as_save_IFS
5334 test -z "$as_dir" && as_dir=.
5335 for ac_exec_ext in '' $ac_executable_extensions; do
5336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5337 ac_cv_prog_ac_ct_AR="$ac_prog"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 break 2
5341 done
5342 done
5343 IFS=$as_save_IFS
5347 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5348 if test -n "$ac_ct_AR"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5350 $as_echo "$ac_ct_AR" >&6; }
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5357 test -n "$ac_ct_AR" && break
5358 done
5360 if test "x$ac_ct_AR" = x; then
5361 AR="ar"
5362 else
5363 case $cross_compiling:$ac_tool_warned in
5364 yes:)
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5367 ac_tool_warned=yes ;;
5368 esac
5369 AR=$ac_ct_AR
5373 if test -n "$ac_tool_prefix"; then
5374 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5375 set dummy ${ac_tool_prefix}strip; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_STRIP+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if test -n "$STRIP"; then
5382 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5395 done
5396 done
5397 IFS=$as_save_IFS
5401 STRIP=$ac_cv_prog_STRIP
5402 if test -n "$STRIP"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5404 $as_echo "$STRIP" >&6; }
5405 else
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5412 if test -z "$ac_cv_prog_STRIP"; then
5413 ac_ct_STRIP=$STRIP
5414 # Extract the first word of "strip", so it can be a program name with args.
5415 set dummy strip; ac_word=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5419 $as_echo_n "(cached) " >&6
5420 else
5421 if test -n "$ac_ct_STRIP"; then
5422 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5423 else
5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 for as_dir in $PATH
5427 IFS=$as_save_IFS
5428 test -z "$as_dir" && as_dir=.
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5431 ac_cv_prog_ac_ct_STRIP="strip"
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 break 2
5435 done
5436 done
5437 IFS=$as_save_IFS
5441 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5442 if test -n "$ac_ct_STRIP"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5444 $as_echo "$ac_ct_STRIP" >&6; }
5445 else
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5450 if test "x$ac_ct_STRIP" = x; then
5451 STRIP="strip"
5452 else
5453 case $cross_compiling:$ac_tool_warned in
5454 yes:)
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5457 ac_tool_warned=yes ;;
5458 esac
5459 STRIP=$ac_ct_STRIP
5461 else
5462 STRIP="$ac_cv_prog_STRIP"
5465 ARFLAGS=rc
5467 if test -n "$ac_tool_prefix"; then
5468 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5469 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_RANLIB+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$RANLIB"; then
5476 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 RANLIB=$ac_cv_prog_RANLIB
5496 if test -n "$RANLIB"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5498 $as_echo "$RANLIB" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5506 if test -z "$ac_cv_prog_RANLIB"; then
5507 ac_ct_RANLIB=$RANLIB
5508 # Extract the first word of "ranlib", so it can be a program name with args.
5509 set dummy ranlib; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$ac_ct_RANLIB"; then
5516 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_ac_ct_RANLIB="ranlib"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5536 if test -n "$ac_ct_RANLIB"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5538 $as_echo "$ac_ct_RANLIB" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5544 if test "x$ac_ct_RANLIB" = x; then
5545 RANLIB=":"
5546 else
5547 case $cross_compiling:$ac_tool_warned in
5548 yes:)
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5551 ac_tool_warned=yes ;;
5552 esac
5553 RANLIB=$ac_ct_RANLIB
5555 else
5556 RANLIB="$ac_cv_prog_RANLIB"
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5560 $as_echo_n "checking whether ln -s works... " >&6; }
5561 LN_S=$as_ln_s
5562 if test "$LN_S" = "ln -s"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5564 $as_echo "yes" >&6; }
5565 else
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5567 $as_echo "no, using $LN_S" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5571 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5572 if ${ac_cv_path_GREP+:} false; then :
5573 $as_echo_n "(cached) " >&6
5574 else
5575 if test -z "$GREP"; then
5576 ac_path_GREP_found=false
5577 # Loop through the user's path and test for each of PROGNAME-LIST
5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5581 IFS=$as_save_IFS
5582 test -z "$as_dir" && as_dir=.
5583 for ac_prog in grep ggrep; do
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5586 as_fn_executable_p "$ac_path_GREP" || continue
5587 # Check for GNU ac_path_GREP and select it if it is found.
5588 # Check for GNU $ac_path_GREP
5589 case `"$ac_path_GREP" --version 2>&1` in
5590 *GNU*)
5591 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5593 ac_count=0
5594 $as_echo_n 0123456789 >"conftest.in"
5595 while :
5597 cat "conftest.in" "conftest.in" >"conftest.tmp"
5598 mv "conftest.tmp" "conftest.in"
5599 cp "conftest.in" "conftest.nl"
5600 $as_echo 'GREP' >> "conftest.nl"
5601 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5602 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5603 as_fn_arith $ac_count + 1 && ac_count=$as_val
5604 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5605 # Best one so far, save it but keep looking for a better one
5606 ac_cv_path_GREP="$ac_path_GREP"
5607 ac_path_GREP_max=$ac_count
5609 # 10*(2^10) chars as input seems more than enough
5610 test $ac_count -gt 10 && break
5611 done
5612 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5613 esac
5615 $ac_path_GREP_found && break 3
5616 done
5617 done
5618 done
5619 IFS=$as_save_IFS
5620 if test -z "$ac_cv_path_GREP"; then
5621 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5623 else
5624 ac_cv_path_GREP=$GREP
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5629 $as_echo "$ac_cv_path_GREP" >&6; }
5630 GREP="$ac_cv_path_GREP"
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5634 $as_echo_n "checking for egrep... " >&6; }
5635 if ${ac_cv_path_EGREP+:} false; then :
5636 $as_echo_n "(cached) " >&6
5637 else
5638 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5639 then ac_cv_path_EGREP="$GREP -E"
5640 else
5641 if test -z "$EGREP"; then
5642 ac_path_EGREP_found=false
5643 # Loop through the user's path and test for each of PROGNAME-LIST
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_prog in egrep; do
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5652 as_fn_executable_p "$ac_path_EGREP" || continue
5653 # Check for GNU ac_path_EGREP and select it if it is found.
5654 # Check for GNU $ac_path_EGREP
5655 case `"$ac_path_EGREP" --version 2>&1` in
5656 *GNU*)
5657 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5659 ac_count=0
5660 $as_echo_n 0123456789 >"conftest.in"
5661 while :
5663 cat "conftest.in" "conftest.in" >"conftest.tmp"
5664 mv "conftest.tmp" "conftest.in"
5665 cp "conftest.in" "conftest.nl"
5666 $as_echo 'EGREP' >> "conftest.nl"
5667 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5668 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5669 as_fn_arith $ac_count + 1 && ac_count=$as_val
5670 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5671 # Best one so far, save it but keep looking for a better one
5672 ac_cv_path_EGREP="$ac_path_EGREP"
5673 ac_path_EGREP_max=$ac_count
5675 # 10*(2^10) chars as input seems more than enough
5676 test $ac_count -gt 10 && break
5677 done
5678 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5679 esac
5681 $ac_path_EGREP_found && break 3
5682 done
5683 done
5684 done
5685 IFS=$as_save_IFS
5686 if test -z "$ac_cv_path_EGREP"; then
5687 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5689 else
5690 ac_cv_path_EGREP=$EGREP
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5696 $as_echo "$ac_cv_path_EGREP" >&6; }
5697 EGREP="$ac_cv_path_EGREP"
5700 # Extract the first word of "ldconfig", so it can be a program name with args.
5701 set dummy ldconfig; ac_word=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_path_LDCONFIG+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 case $LDCONFIG in
5708 [\\/]* | ?:[\\/]*)
5709 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in /sbin /usr/sbin $PATH
5715 IFS=$as_save_IFS
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5719 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 break 2
5723 done
5724 done
5725 IFS=$as_save_IFS
5727 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5729 esac
5731 LDCONFIG=$ac_cv_path_LDCONFIG
5732 if test -n "$LDCONFIG"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5734 $as_echo "$LDCONFIG" >&6; }
5735 else
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5741 for ac_prog in msgfmt
5743 # Extract the first word of "$ac_prog", so it can be a program name with args.
5744 set dummy $ac_prog; ac_word=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if ${ac_cv_prog_MSGFMT+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 if test -n "$MSGFMT"; then
5751 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5752 else
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 for as_dir in $PATH
5756 IFS=$as_save_IFS
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5760 ac_cv_prog_MSGFMT="$ac_prog"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 break 2
5764 done
5765 done
5766 IFS=$as_save_IFS
5770 MSGFMT=$ac_cv_prog_MSGFMT
5771 if test -n "$MSGFMT"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5773 $as_echo "$MSGFMT" >&6; }
5774 else
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5780 test -n "$MSGFMT" && break
5781 done
5782 test -n "$MSGFMT" || MSGFMT="false"
5784 if ${ac_tool_prefix+:} false; then :
5785 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5786 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5790 $as_echo_n "(cached) " >&6
5791 else
5792 if test -n "$PKG_CONFIG"; then
5793 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5794 else
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 for as_dir in $PATH
5798 IFS=$as_save_IFS
5799 test -z "$as_dir" && as_dir=.
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5802 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 break 2
5806 done
5807 done
5808 IFS=$as_save_IFS
5812 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5813 if test -n "$PKG_CONFIG"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5815 $as_echo "$PKG_CONFIG" >&6; }
5816 else
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5823 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5824 if test "x$cross_compiling" = xyes; then :
5826 else
5827 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5828 # Extract the first word of "pkg-config", so it can be a program name with args.
5829 set dummy pkg-config; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 if test -n "$PKG_CONFIG"; then
5836 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5837 else
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 for as_dir in $PATH
5841 IFS=$as_save_IFS
5842 test -z "$as_dir" && as_dir=.
5843 for ac_exec_ext in '' $ac_executable_extensions; do
5844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_PKG_CONFIG="pkg-config"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 break 2
5849 done
5850 done
5851 IFS=$as_save_IFS
5855 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5856 if test -n "$PKG_CONFIG"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5858 $as_echo "$PKG_CONFIG" >&6; }
5859 else
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5866 else
5867 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5870 if test "x$enable_maintainer_mode" != "xyes"
5871 then
5872 FONTFORGE=""
5873 RSVG=""
5874 CONVERT=""
5875 ICOTOOL=""
5876 else
5877 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5878 for ac_prog in fontforge
5880 # Extract the first word of "$ac_prog", so it can be a program name with args.
5881 set dummy $ac_prog; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_FONTFORGE+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if test -n "$FONTFORGE"; then
5888 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5889 else
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH
5893 IFS=$as_save_IFS
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_FONTFORGE="$ac_prog"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 break 2
5901 done
5902 done
5903 IFS=$as_save_IFS
5907 FONTFORGE=$ac_cv_prog_FONTFORGE
5908 if test -n "$FONTFORGE"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5910 $as_echo "$FONTFORGE" >&6; }
5911 else
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5917 test -n "$FONTFORGE" && break
5918 done
5919 test -n "$FONTFORGE" || FONTFORGE="false"
5921 for ac_prog in rsvg-convert rsvg
5923 # Extract the first word of "$ac_prog", so it can be a program name with args.
5924 set dummy $ac_prog; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_prog_RSVG+:} false; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 if test -n "$RSVG"; then
5931 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5936 IFS=$as_save_IFS
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_prog_RSVG="$ac_prog"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 break 2
5944 done
5945 done
5946 IFS=$as_save_IFS
5950 RSVG=$ac_cv_prog_RSVG
5951 if test -n "$RSVG"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5953 $as_echo "$RSVG" >&6; }
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5960 test -n "$RSVG" && break
5961 done
5962 test -n "$RSVG" || RSVG="false"
5964 for ac_prog in convert
5966 # Extract the first word of "$ac_prog", so it can be a program name with args.
5967 set dummy $ac_prog; ac_word=$2
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5969 $as_echo_n "checking for $ac_word... " >&6; }
5970 if ${ac_cv_prog_CONVERT+:} false; then :
5971 $as_echo_n "(cached) " >&6
5972 else
5973 if test -n "$CONVERT"; then
5974 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5975 else
5976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 for as_dir in $PATH
5979 IFS=$as_save_IFS
5980 test -z "$as_dir" && as_dir=.
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5983 ac_cv_prog_CONVERT="$ac_prog"
5984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 break 2
5987 done
5988 done
5989 IFS=$as_save_IFS
5993 CONVERT=$ac_cv_prog_CONVERT
5994 if test -n "$CONVERT"; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5996 $as_echo "$CONVERT" >&6; }
5997 else
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6003 test -n "$CONVERT" && break
6004 done
6005 test -n "$CONVERT" || CONVERT="false"
6007 for ac_prog in icotool
6009 # Extract the first word of "$ac_prog", so it can be a program name with args.
6010 set dummy $ac_prog; ac_word=$2
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 $as_echo_n "checking for $ac_word... " >&6; }
6013 if ${ac_cv_prog_ICOTOOL+:} false; then :
6014 $as_echo_n "(cached) " >&6
6015 else
6016 if test -n "$ICOTOOL"; then
6017 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6018 else
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 for as_dir in $PATH
6022 IFS=$as_save_IFS
6023 test -z "$as_dir" && as_dir=.
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_ICOTOOL="$ac_prog"
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6028 break 2
6030 done
6031 done
6032 IFS=$as_save_IFS
6036 ICOTOOL=$ac_cv_prog_ICOTOOL
6037 if test -n "$ICOTOOL"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6039 $as_echo "$ICOTOOL" >&6; }
6040 else
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 $as_echo "no" >&6; }
6046 test -n "$ICOTOOL" && break
6047 done
6048 test -n "$ICOTOOL" || ICOTOOL="false"
6050 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6051 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6053 if test "$CONVERT" = false
6054 then
6055 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6058 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6059 convert_version=`convert --version | head -n1`
6060 if test "x$convert_version" != "x"
6061 then
6062 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6063 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6064 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6065 then
6066 CONVERT=false
6069 if test "$CONVERT" = false
6070 then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6072 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6073 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6076 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6080 if test "$ICOTOOL" = false
6081 then
6082 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6085 $as_echo_n "checking for recent enough icotool... " >&6; }
6086 icotool_version=`icotool --version | head -n1`
6087 if test "x$icotool_version" != "x"
6088 then
6089 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6090 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6091 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6092 then
6093 ICOTOOL=false
6094 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6097 if test "$ICOTOOL" = false
6098 then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6100 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6101 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6104 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6108 with_gettext=yes
6109 with_gettextpo=yes
6110 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6113 test "x$with_gettext" != xno || MSGFMT=false
6114 if test "$MSGFMT" != "false"
6115 then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6117 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6118 cat >conftest.po <<EOF
6119 # comment
6120 msgctxt "ctxt"
6121 msgid "id"
6122 msgstr "str"
6124 if $MSGFMT -o /dev/null conftest.po 2>&5
6125 then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6127 $as_echo "yes" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6131 MSGFMT=false
6134 if test "$MSGFMT" = false; then :
6135 case "x$with_gettext" in
6136 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6137 xno) ;;
6138 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6139 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6140 esac
6141 enable_po=${enable_po:-no}
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6146 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6147 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6148 $as_echo_n "(cached) " >&6
6149 else
6150 ac_check_lib_save_LIBS=$LIBS
6151 LIBS="-li386 $LIBS"
6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6155 /* Override any GCC internal prototype to avoid an error.
6156 Use char because int might match the return type of a GCC
6157 builtin and then its argument prototype would still apply. */
6158 #ifdef __cplusplus
6159 extern "C"
6160 #endif
6161 char i386_set_ldt ();
6163 main ()
6165 return i386_set_ldt ();
6167 return 0;
6169 _ACEOF
6170 if ac_fn_c_try_link "$LINENO"; then :
6171 ac_cv_lib_i386_i386_set_ldt=yes
6172 else
6173 ac_cv_lib_i386_i386_set_ldt=no
6175 rm -f core conftest.err conftest.$ac_objext \
6176 conftest$ac_exeext conftest.$ac_ext
6177 LIBS=$ac_check_lib_save_LIBS
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6180 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6181 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6182 cat >>confdefs.h <<_ACEOF
6183 #define HAVE_LIBI386 1
6184 _ACEOF
6186 LIBS="-li386 $LIBS"
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6191 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6192 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 ac_check_lib_save_LIBS=$LIBS
6196 LIBS="-lossaudio $LIBS"
6197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6200 /* Override any GCC internal prototype to avoid an error.
6201 Use char because int might match the return type of a GCC
6202 builtin and then its argument prototype would still apply. */
6203 #ifdef __cplusplus
6204 extern "C"
6205 #endif
6206 char _oss_ioctl ();
6208 main ()
6210 return _oss_ioctl ();
6212 return 0;
6214 _ACEOF
6215 if ac_fn_c_try_link "$LINENO"; then :
6216 ac_cv_lib_ossaudio__oss_ioctl=yes
6217 else
6218 ac_cv_lib_ossaudio__oss_ioctl=no
6220 rm -f core conftest.err conftest.$ac_objext \
6221 conftest$ac_exeext conftest.$ac_ext
6222 LIBS=$ac_check_lib_save_LIBS
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6225 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6226 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6227 cat >>confdefs.h <<_ACEOF
6228 #define HAVE_LIBOSSAUDIO 1
6229 _ACEOF
6231 LIBS="-lossaudio $LIBS"
6236 OPENGL_LIBS=""
6240 # Check whether --enable-largefile was given.
6241 if test "${enable_largefile+set}" = set; then :
6242 enableval=$enable_largefile;
6245 if test "$enable_largefile" != no; then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6248 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6249 if ${ac_cv_sys_largefile_CC+:} false; then :
6250 $as_echo_n "(cached) " >&6
6251 else
6252 ac_cv_sys_largefile_CC=no
6253 if test "$GCC" != yes; then
6254 ac_save_CC=$CC
6255 while :; do
6256 # IRIX 6.2 and later do not support large files by default,
6257 # so use the C compiler's -n32 option if that helps.
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6260 #include <sys/types.h>
6261 /* Check that off_t can represent 2**63 - 1 correctly.
6262 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6263 since some C++ compilers masquerading as C compilers
6264 incorrectly reject 9223372036854775807. */
6265 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6266 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6267 && LARGE_OFF_T % 2147483647 == 1)
6268 ? 1 : -1];
6270 main ()
6274 return 0;
6276 _ACEOF
6277 if ac_fn_c_try_compile "$LINENO"; then :
6278 break
6280 rm -f core conftest.err conftest.$ac_objext
6281 CC="$CC -n32"
6282 if ac_fn_c_try_compile "$LINENO"; then :
6283 ac_cv_sys_largefile_CC=' -n32'; break
6285 rm -f core conftest.err conftest.$ac_objext
6286 break
6287 done
6288 CC=$ac_save_CC
6289 rm -f conftest.$ac_ext
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6293 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6294 if test "$ac_cv_sys_largefile_CC" != no; then
6295 CC=$CC$ac_cv_sys_largefile_CC
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6299 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6300 if ${ac_cv_sys_file_offset_bits+:} false; then :
6301 $as_echo_n "(cached) " >&6
6302 else
6303 while :; do
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6306 #include <sys/types.h>
6307 /* Check that off_t can represent 2**63 - 1 correctly.
6308 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6309 since some C++ compilers masquerading as C compilers
6310 incorrectly reject 9223372036854775807. */
6311 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6312 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6313 && LARGE_OFF_T % 2147483647 == 1)
6314 ? 1 : -1];
6316 main ()
6320 return 0;
6322 _ACEOF
6323 if ac_fn_c_try_compile "$LINENO"; then :
6324 ac_cv_sys_file_offset_bits=no; break
6326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 #define _FILE_OFFSET_BITS 64
6330 #include <sys/types.h>
6331 /* Check that off_t can represent 2**63 - 1 correctly.
6332 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6333 since some C++ compilers masquerading as C compilers
6334 incorrectly reject 9223372036854775807. */
6335 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6336 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6337 && LARGE_OFF_T % 2147483647 == 1)
6338 ? 1 : -1];
6340 main ()
6344 return 0;
6346 _ACEOF
6347 if ac_fn_c_try_compile "$LINENO"; then :
6348 ac_cv_sys_file_offset_bits=64; break
6350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6351 ac_cv_sys_file_offset_bits=unknown
6352 break
6353 done
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6356 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6357 case $ac_cv_sys_file_offset_bits in #(
6358 no | unknown) ;;
6360 cat >>confdefs.h <<_ACEOF
6361 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6362 _ACEOF
6364 esac
6365 rm -rf conftest*
6366 if test $ac_cv_sys_file_offset_bits = unknown; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6368 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6369 if ${ac_cv_sys_large_files+:} false; then :
6370 $as_echo_n "(cached) " >&6
6371 else
6372 while :; do
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #include <sys/types.h>
6376 /* Check that off_t can represent 2**63 - 1 correctly.
6377 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6378 since some C++ compilers masquerading as C compilers
6379 incorrectly reject 9223372036854775807. */
6380 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6381 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6382 && LARGE_OFF_T % 2147483647 == 1)
6383 ? 1 : -1];
6385 main ()
6389 return 0;
6391 _ACEOF
6392 if ac_fn_c_try_compile "$LINENO"; then :
6393 ac_cv_sys_large_files=no; break
6395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6397 /* end confdefs.h. */
6398 #define _LARGE_FILES 1
6399 #include <sys/types.h>
6400 /* Check that off_t can represent 2**63 - 1 correctly.
6401 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6402 since some C++ compilers masquerading as C compilers
6403 incorrectly reject 9223372036854775807. */
6404 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6405 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6406 && LARGE_OFF_T % 2147483647 == 1)
6407 ? 1 : -1];
6409 main ()
6413 return 0;
6415 _ACEOF
6416 if ac_fn_c_try_compile "$LINENO"; then :
6417 ac_cv_sys_large_files=1; break
6419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6420 ac_cv_sys_large_files=unknown
6421 break
6422 done
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6425 $as_echo "$ac_cv_sys_large_files" >&6; }
6426 case $ac_cv_sys_large_files in #(
6427 no | unknown) ;;
6429 cat >>confdefs.h <<_ACEOF
6430 #define _LARGE_FILES $ac_cv_sys_large_files
6431 _ACEOF
6433 esac
6434 rm -rf conftest*
6441 ac_ext=c
6442 ac_cpp='$CPP $CPPFLAGS'
6443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6447 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6448 # On Suns, sometimes $CPP names a directory.
6449 if test -n "$CPP" && test -d "$CPP"; then
6450 CPP=
6452 if test -z "$CPP"; then
6453 if ${ac_cv_prog_CPP+:} false; then :
6454 $as_echo_n "(cached) " >&6
6455 else
6456 # Double quotes because CPP needs to be expanded
6457 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6459 ac_preproc_ok=false
6460 for ac_c_preproc_warn_flag in '' yes
6462 # Use a header file that comes with gcc, so configuring glibc
6463 # with a fresh cross-compiler works.
6464 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6465 # <limits.h> exists even on freestanding compilers.
6466 # On the NeXT, cc -E runs the code through the compiler's parser,
6467 # not just through cpp. "Syntax error" is here to catch this case.
6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6470 #ifdef __STDC__
6471 # include <limits.h>
6472 #else
6473 # include <assert.h>
6474 #endif
6475 Syntax error
6476 _ACEOF
6477 if ac_fn_c_try_cpp "$LINENO"; then :
6479 else
6480 # Broken: fails on valid input.
6481 continue
6483 rm -f conftest.err conftest.i conftest.$ac_ext
6485 # OK, works on sane cases. Now check whether nonexistent headers
6486 # can be detected and how.
6487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6489 #include <ac_nonexistent.h>
6490 _ACEOF
6491 if ac_fn_c_try_cpp "$LINENO"; then :
6492 # Broken: success on invalid input.
6493 continue
6494 else
6495 # Passes both tests.
6496 ac_preproc_ok=:
6497 break
6499 rm -f conftest.err conftest.i conftest.$ac_ext
6501 done
6502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6503 rm -f conftest.i conftest.err conftest.$ac_ext
6504 if $ac_preproc_ok; then :
6505 break
6508 done
6509 ac_cv_prog_CPP=$CPP
6512 CPP=$ac_cv_prog_CPP
6513 else
6514 ac_cv_prog_CPP=$CPP
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6517 $as_echo "$CPP" >&6; }
6518 ac_preproc_ok=false
6519 for ac_c_preproc_warn_flag in '' yes
6521 # Use a header file that comes with gcc, so configuring glibc
6522 # with a fresh cross-compiler works.
6523 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6524 # <limits.h> exists even on freestanding compilers.
6525 # On the NeXT, cc -E runs the code through the compiler's parser,
6526 # not just through cpp. "Syntax error" is here to catch this case.
6527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528 /* end confdefs.h. */
6529 #ifdef __STDC__
6530 # include <limits.h>
6531 #else
6532 # include <assert.h>
6533 #endif
6534 Syntax error
6535 _ACEOF
6536 if ac_fn_c_try_cpp "$LINENO"; then :
6538 else
6539 # Broken: fails on valid input.
6540 continue
6542 rm -f conftest.err conftest.i conftest.$ac_ext
6544 # OK, works on sane cases. Now check whether nonexistent headers
6545 # can be detected and how.
6546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6547 /* end confdefs.h. */
6548 #include <ac_nonexistent.h>
6549 _ACEOF
6550 if ac_fn_c_try_cpp "$LINENO"; then :
6551 # Broken: success on invalid input.
6552 continue
6553 else
6554 # Passes both tests.
6555 ac_preproc_ok=:
6556 break
6558 rm -f conftest.err conftest.i conftest.$ac_ext
6560 done
6561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6562 rm -f conftest.i conftest.err conftest.$ac_ext
6563 if $ac_preproc_ok; then :
6565 else
6566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6568 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6569 See \`config.log' for more details" "$LINENO" 5; }
6572 ac_ext=c
6573 ac_cpp='$CPP $CPPFLAGS'
6574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6580 $as_echo_n "checking for ANSI C header files... " >&6; }
6581 if ${ac_cv_header_stdc+:} false; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6586 #include <stdlib.h>
6587 #include <stdarg.h>
6588 #include <string.h>
6589 #include <float.h>
6592 main ()
6596 return 0;
6598 _ACEOF
6599 if ac_fn_c_try_compile "$LINENO"; then :
6600 ac_cv_header_stdc=yes
6601 else
6602 ac_cv_header_stdc=no
6604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6606 if test $ac_cv_header_stdc = yes; then
6607 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6610 #include <string.h>
6612 _ACEOF
6613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6614 $EGREP "memchr" >/dev/null 2>&1; then :
6616 else
6617 ac_cv_header_stdc=no
6619 rm -f conftest*
6623 if test $ac_cv_header_stdc = yes; then
6624 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6626 /* end confdefs.h. */
6627 #include <stdlib.h>
6629 _ACEOF
6630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6631 $EGREP "free" >/dev/null 2>&1; then :
6633 else
6634 ac_cv_header_stdc=no
6636 rm -f conftest*
6640 if test $ac_cv_header_stdc = yes; then
6641 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6642 if test "$cross_compiling" = yes; then :
6644 else
6645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6647 #include <ctype.h>
6648 #include <stdlib.h>
6649 #if ((' ' & 0x0FF) == 0x020)
6650 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6651 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6652 #else
6653 # define ISLOWER(c) \
6654 (('a' <= (c) && (c) <= 'i') \
6655 || ('j' <= (c) && (c) <= 'r') \
6656 || ('s' <= (c) && (c) <= 'z'))
6657 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6658 #endif
6660 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6662 main ()
6664 int i;
6665 for (i = 0; i < 256; i++)
6666 if (XOR (islower (i), ISLOWER (i))
6667 || toupper (i) != TOUPPER (i))
6668 return 2;
6669 return 0;
6671 _ACEOF
6672 if ac_fn_c_try_run "$LINENO"; then :
6674 else
6675 ac_cv_header_stdc=no
6677 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6678 conftest.$ac_objext conftest.beam conftest.$ac_ext
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6684 $as_echo "$ac_cv_header_stdc" >&6; }
6685 if test $ac_cv_header_stdc = yes; then
6687 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6691 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6692 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6693 inttypes.h stdint.h unistd.h
6694 do :
6695 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6696 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6698 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6699 cat >>confdefs.h <<_ACEOF
6700 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6701 _ACEOF
6705 done
6708 for ac_header in \
6709 AL/al.h \
6710 ApplicationServices/ApplicationServices.h \
6711 AudioToolbox/AudioConverter.h \
6712 AudioUnit/AudioUnit.h \
6713 AudioUnit/AudioComponent.h \
6714 CL/cl.h \
6715 Carbon/Carbon.h \
6716 CommonCrypto/CommonDigest.h \
6717 CoreAudio/CoreAudio.h \
6718 CoreServices/CoreServices.h \
6719 DiskArbitration/DiskArbitration.h \
6720 IOKit/IOKitLib.h \
6721 IOKit/hid/IOHIDLib.h \
6722 OpenAL/al.h \
6723 OpenCL/opencl.h \
6724 QuickTime/ImageCompression.h \
6725 Security/Security.h \
6726 alias.h \
6727 alsa/asoundlib.h \
6728 arpa/inet.h \
6729 arpa/nameser.h \
6730 asm/types.h \
6731 asm/user.h \
6732 curses.h \
6733 direct.h \
6734 dirent.h \
6735 dlfcn.h \
6736 elf.h \
6737 float.h \
6738 fnmatch.h \
6739 getopt.h \
6740 gettext-po.h \
6741 grp.h \
6742 gsm.h \
6743 gsm/gsm.h \
6744 ieeefp.h \
6745 inet/mib2.h \
6746 io.h \
6747 kstat.h \
6748 lber.h \
6749 ldap.h \
6750 libproc.h \
6751 link.h \
6752 linux/cdrom.h \
6753 linux/compiler.h \
6754 linux/filter.h \
6755 linux/hdreg.h \
6756 linux/input.h \
6757 linux/ioctl.h \
6758 linux/joystick.h \
6759 linux/major.h \
6760 linux/param.h \
6761 linux/serial.h \
6762 linux/types.h \
6763 linux/ucdrom.h \
6764 lwp.h \
6765 mach-o/nlist.h \
6766 mach-o/loader.h \
6767 mach/mach.h \
6768 mach/machine.h \
6769 machine/cpu.h \
6770 machine/limits.h \
6771 machine/sysarch.h \
6772 mntent.h \
6773 ncurses.h \
6774 netdb.h \
6775 netinet/in.h \
6776 netinet/in_systm.h \
6777 netinet/tcp.h \
6778 netinet/tcp_fsm.h \
6779 pcap/pcap.h \
6780 poll.h \
6781 port.h \
6782 process.h \
6783 pthread.h \
6784 pwd.h \
6785 sched.h \
6786 scsi/scsi.h \
6787 scsi/scsi_ioctl.h \
6788 scsi/sg.h \
6789 stdbool.h \
6790 stdint.h \
6791 stropts.h \
6792 sys/asoundlib.h \
6793 sys/attr.h \
6794 sys/cdio.h \
6795 sys/elf32.h \
6796 sys/epoll.h \
6797 sys/event.h \
6798 sys/exec_elf.h \
6799 sys/filio.h \
6800 sys/inotify.h \
6801 sys/ioctl.h \
6802 sys/ipc.h \
6803 sys/limits.h \
6804 sys/link.h \
6805 sys/mman.h \
6806 sys/modem.h \
6807 sys/msg.h \
6808 sys/mtio.h \
6809 sys/param.h \
6810 sys/poll.h \
6811 sys/prctl.h \
6812 sys/protosw.h \
6813 sys/ptrace.h \
6814 sys/queue.h \
6815 sys/resource.h \
6816 sys/scsiio.h \
6817 sys/shm.h \
6818 sys/signal.h \
6819 sys/socket.h \
6820 sys/socketvar.h \
6821 sys/sockio.h \
6822 sys/statvfs.h \
6823 sys/strtio.h \
6824 sys/syscall.h \
6825 sys/sysinfo.h \
6826 sys/tihdr.h \
6827 sys/time.h \
6828 sys/timeout.h \
6829 sys/times.h \
6830 sys/uio.h \
6831 sys/user.h \
6832 sys/utsname.h \
6833 sys/vm86.h \
6834 sys/vnode.h \
6835 sys/wait.h \
6836 syscall.h \
6837 termios.h \
6838 unistd.h \
6839 utime.h \
6840 valgrind/memcheck.h \
6841 valgrind/valgrind.h \
6842 zlib.h
6844 do :
6845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6846 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6847 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6848 cat >>confdefs.h <<_ACEOF
6849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6850 _ACEOF
6854 done
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6857 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6858 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6859 $as_echo_n "(cached) " >&6
6860 else
6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6862 /* end confdefs.h. */
6863 #include <sys/types.h>
6865 main ()
6867 return makedev(0, 0);
6869 return 0;
6871 _ACEOF
6872 if ac_fn_c_try_link "$LINENO"; then :
6873 ac_cv_header_sys_types_h_makedev=yes
6874 else
6875 ac_cv_header_sys_types_h_makedev=no
6877 rm -f core conftest.err conftest.$ac_objext \
6878 conftest$ac_exeext conftest.$ac_ext
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6882 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6884 if test $ac_cv_header_sys_types_h_makedev = no; then
6885 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6886 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6888 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6894 if test $ac_cv_header_sys_mkdev_h = no; then
6895 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6896 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6898 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6907 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6908 if ${ac_cv_header_stat_broken+:} false; then :
6909 $as_echo_n "(cached) " >&6
6910 else
6911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6913 #include <sys/types.h>
6914 #include <sys/stat.h>
6916 #if defined S_ISBLK && defined S_IFDIR
6917 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6918 #endif
6920 #if defined S_ISBLK && defined S_IFCHR
6921 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6922 #endif
6924 #if defined S_ISLNK && defined S_IFREG
6925 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6926 #endif
6928 #if defined S_ISSOCK && defined S_IFREG
6929 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6930 #endif
6932 _ACEOF
6933 if ac_fn_c_try_compile "$LINENO"; then :
6934 ac_cv_header_stat_broken=no
6935 else
6936 ac_cv_header_stat_broken=yes
6938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6941 $as_echo "$ac_cv_header_stat_broken" >&6; }
6942 if test $ac_cv_header_stat_broken = yes; then
6944 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6950 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6951 do :
6952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6953 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6954 #ifdef HAVE_SYS_PARAM_H
6955 # include <sys/param.h>
6956 #endif
6958 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6959 cat >>confdefs.h <<_ACEOF
6960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6961 _ACEOF
6965 done
6968 for ac_header in \
6969 netinet/ip.h \
6970 net/if.h \
6971 net/if_arp.h \
6972 net/if_dl.h \
6973 net/if_types.h \
6974 net/route.h \
6975 netinet/if_ether.h \
6976 netinet/if_inarp.h \
6977 netinet/in_pcb.h \
6978 netinet/ip_icmp.h \
6979 netinet/ip_var.h \
6980 netinet/udp.h \
6981 netipx/ipx.h \
6982 sys/un.h \
6984 do :
6985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6987 #ifdef HAVE_SYS_SOCKET_H
6988 # include <sys/socket.h>
6989 #endif
6990 #ifdef HAVE_SYS_SOCKETVAR_H
6991 # include <sys/socketvar.h>
6992 #endif
6993 #ifdef HAVE_NET_ROUTE_H
6994 # include <net/route.h>
6995 #endif
6996 #ifdef HAVE_NETINET_IN_H
6997 # include <netinet/in.h>
6998 #endif
6999 #ifdef HAVE_NETINET_IN_SYSTM_H
7000 # include <netinet/in_systm.h>
7001 #endif
7002 #ifdef HAVE_NET_IF_H
7003 # include <net/if.h>
7004 #endif
7005 #ifdef HAVE_NETINET_IP_H
7006 # include <netinet/ip.h>
7007 #endif
7009 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7010 cat >>confdefs.h <<_ACEOF
7011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7012 _ACEOF
7016 done
7019 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7020 do :
7021 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7022 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7023 #ifdef HAVE_ALIAS_H
7024 # include <alias.h>
7025 #endif
7026 #ifdef HAVE_SYS_SOCKET_H
7027 # include <sys/socket.h>
7028 #endif
7029 #ifdef HAVE_SYS_SOCKETVAR_H
7030 # include <sys/socketvar.h>
7031 #endif
7032 #ifdef HAVE_SYS_TIMEOUT_H
7033 # include <sys/timeout.h>
7034 #endif
7035 #ifdef HAVE_NETINET_IN_H
7036 # include <netinet/in.h>
7037 #endif
7038 #ifdef HAVE_NETINET_IN_SYSTM_H
7039 # include <netinet/in_systm.h>
7040 #endif
7041 #ifdef HAVE_NETINET_IP_H
7042 # include <netinet/ip.h>
7043 #endif
7044 #ifdef HAVE_NETINET_IP_VAR_H
7045 # include <netinet/ip_var.h>
7046 #endif
7047 #ifdef HAVE_NETINET_IP_ICMP_H
7048 # include <netinet/ip_icmp.h>
7049 #endif
7050 #ifdef HAVE_NETINET_UDP_H
7051 # include <netinet/udp.h>
7052 #endif
7053 #ifdef HAVE_NETINET_TCP_H
7054 # include <netinet/tcp.h>
7055 #endif
7056 #ifdef HAVE_NETINET_TCP_TIMER_H
7057 #include <netinet/tcp_timer.h>
7058 #endif
7060 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7061 cat >>confdefs.h <<_ACEOF
7062 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7063 _ACEOF
7067 done
7070 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7071 do :
7072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7073 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7074 #ifdef HAVE_ASM_TYPES_H
7075 # include <asm/types.h>
7076 #endif
7077 #ifdef HAVE_SYS_SOCKET_H
7078 # include <sys/socket.h>
7079 #endif
7080 #ifdef HAVE_LINUX_TYPES_H
7081 # include <linux/types.h>
7082 #endif
7084 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7085 cat >>confdefs.h <<_ACEOF
7086 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7087 _ACEOF
7091 done
7094 for ac_header in mach-o/dyld_images.h
7095 do :
7096 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7097 # include <stdbool.h>
7098 #endif
7099 #ifdef HAVE_STDINT_H
7100 # include <stdint.h>
7101 #endif
7103 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7104 cat >>confdefs.h <<_ACEOF
7105 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7106 _ACEOF
7110 done
7113 for ac_header in resolv.h
7114 do :
7115 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7116 #ifdef HAVE_SYS_SOCKET_H
7117 # include <sys/socket.h>
7118 #endif
7119 #ifdef HAVE_NETINET_IN_H
7120 # include <netinet/in.h>
7121 #endif
7122 #ifdef HAVE_ARPA_NAMESER_H
7123 # include <arpa/nameser.h>
7124 #endif
7126 if test "x$ac_cv_header_resolv_h" = xyes; then :
7127 cat >>confdefs.h <<_ACEOF
7128 #define HAVE_RESOLV_H 1
7129 _ACEOF
7133 done
7136 for ac_header in ifaddrs.h
7137 do :
7138 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7140 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7141 cat >>confdefs.h <<_ACEOF
7142 #define HAVE_IFADDRS_H 1
7143 _ACEOF
7147 done
7150 for ac_header in sys/ucontext.h
7151 do :
7152 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7154 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7155 cat >>confdefs.h <<_ACEOF
7156 #define HAVE_SYS_UCONTEXT_H 1
7157 _ACEOF
7161 done
7164 for ac_header in sys/thr.h
7165 do :
7166 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7167 #ifdef HAVE_SYS_UCONTEXT_H
7168 #include <sys/ucontext.h>
7169 #endif
7171 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7172 cat >>confdefs.h <<_ACEOF
7173 #define HAVE_SYS_THR_H 1
7174 _ACEOF
7178 done
7181 for ac_header in pthread_np.h
7182 do :
7183 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7184 #include <pthread.h>
7185 #endif
7187 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7188 cat >>confdefs.h <<_ACEOF
7189 #define HAVE_PTHREAD_NP_H 1
7190 _ACEOF
7194 done
7197 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7198 do :
7199 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7200 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7201 #include <sys/time.h>
7202 #endif
7203 #include <sys/types.h>
7204 #ifdef HAVE_ASM_TYPES_H
7205 #include <asm/types.h>
7206 #endif
7208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7209 cat >>confdefs.h <<_ACEOF
7210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7211 _ACEOF
7215 done
7218 for ac_header in libprocstat.h
7219 do :
7220 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7221 #include <sys/param.h>
7222 #endif
7223 #ifdef HAVE_SYS_QUEUE_H
7224 #include <sys/queue.h>
7225 #endif
7226 #ifdef HAVE_SYS_SOCKET_H
7227 #include <sys/socket.h>
7228 #endif
7230 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7231 cat >>confdefs.h <<_ACEOF
7232 #define HAVE_LIBPROCSTAT_H 1
7233 _ACEOF
7237 done
7241 dlldir="\${libdir}/wine"
7243 DLLFLAGS="-D_REENTRANT"
7245 LDRPATH_INSTALL=""
7247 LDRPATH_LOCAL=""
7249 LDEXECFLAGS=""
7251 LIBEXT="so"
7252 DLLEXT=".so"
7253 IMPLIBEXT="def"
7254 # Extract the first word of "ldd", so it can be a program name with args.
7255 set dummy ldd; ac_word=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257 $as_echo_n "checking for $ac_word... " >&6; }
7258 if ${ac_cv_path_LDD+:} false; then :
7259 $as_echo_n "(cached) " >&6
7260 else
7261 case $LDD in
7262 [\\/]* | ?:[\\/]*)
7263 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 as_dummy="/sbin:/usr/sbin:$PATH"
7268 for as_dir in $as_dummy
7270 IFS=$as_save_IFS
7271 test -z "$as_dir" && as_dir=.
7272 for ac_exec_ext in '' $ac_executable_extensions; do
7273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7274 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7276 break 2
7278 done
7279 done
7280 IFS=$as_save_IFS
7282 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7284 esac
7286 LDD=$ac_cv_path_LDD
7287 if test -n "$LDD"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7289 $as_echo "$LDD" >&6; }
7290 else
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7296 if test -n "$ac_tool_prefix"; then
7297 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7298 set dummy ${ac_tool_prefix}otool; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if ${ac_cv_prog_OTOOL+:} false; then :
7302 $as_echo_n "(cached) " >&6
7303 else
7304 if test -n "$OTOOL"; then
7305 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7306 else
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH
7310 IFS=$as_save_IFS
7311 test -z "$as_dir" && as_dir=.
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 OTOOL=$ac_cv_prog_OTOOL
7325 if test -n "$OTOOL"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7327 $as_echo "$OTOOL" >&6; }
7328 else
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7335 if test -z "$ac_cv_prog_OTOOL"; then
7336 ac_ct_OTOOL=$OTOOL
7337 # Extract the first word of "otool", so it can be a program name with args.
7338 set dummy otool; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 $as_echo_n "checking for $ac_word... " >&6; }
7341 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7342 $as_echo_n "(cached) " >&6
7343 else
7344 if test -n "$ac_ct_OTOOL"; then
7345 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7350 IFS=$as_save_IFS
7351 test -z "$as_dir" && as_dir=.
7352 for ac_exec_ext in '' $ac_executable_extensions; do
7353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7354 ac_cv_prog_ac_ct_OTOOL="otool"
7355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356 break 2
7358 done
7359 done
7360 IFS=$as_save_IFS
7364 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7365 if test -n "$ac_ct_OTOOL"; then
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7367 $as_echo "$ac_ct_OTOOL" >&6; }
7368 else
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 $as_echo "no" >&6; }
7373 if test "x$ac_ct_OTOOL" = x; then
7374 OTOOL="otool"
7375 else
7376 case $cross_compiling:$ac_tool_warned in
7377 yes:)
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7380 ac_tool_warned=yes ;;
7381 esac
7382 OTOOL=$ac_ct_OTOOL
7384 else
7385 OTOOL="$ac_cv_prog_OTOOL"
7388 if test -n "$ac_tool_prefix"; then
7389 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7390 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if ${ac_cv_prog_READELF+:} false; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 if test -n "$READELF"; then
7397 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 READELF=$ac_cv_prog_READELF
7417 if test -n "$READELF"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7419 $as_echo "$READELF" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7427 if test -z "$ac_cv_prog_READELF"; then
7428 ac_ct_READELF=$READELF
7429 # Extract the first word of "readelf", so it can be a program name with args.
7430 set dummy readelf; ac_word=$2
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7432 $as_echo_n "checking for $ac_word... " >&6; }
7433 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7434 $as_echo_n "(cached) " >&6
7435 else
7436 if test -n "$ac_ct_READELF"; then
7437 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7438 else
7439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7440 for as_dir in $PATH
7442 IFS=$as_save_IFS
7443 test -z "$as_dir" && as_dir=.
7444 for ac_exec_ext in '' $ac_executable_extensions; do
7445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7446 ac_cv_prog_ac_ct_READELF="readelf"
7447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7448 break 2
7450 done
7451 done
7452 IFS=$as_save_IFS
7456 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7457 if test -n "$ac_ct_READELF"; then
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7459 $as_echo "$ac_ct_READELF" >&6; }
7460 else
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 $as_echo "no" >&6; }
7465 if test "x$ac_ct_READELF" = x; then
7466 READELF="true"
7467 else
7468 case $cross_compiling:$ac_tool_warned in
7469 yes:)
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7472 ac_tool_warned=yes ;;
7473 esac
7474 READELF=$ac_ct_READELF
7476 else
7477 READELF="$ac_cv_prog_READELF"
7480 wine_rules_file=conf$$rules.make
7481 rm -f $wine_rules_file
7482 SUBDIRS=""
7484 DISABLED_SUBDIRS=""
7486 CONFIGURE_TARGETS=""
7488 ALL_TEST_RESOURCES=""
7491 wine_fn_append_file ()
7493 as_fn_append $1 " \\$as_nl $2"
7496 wine_fn_append_rule ()
7498 $as_echo "$1" >>$wine_rules_file
7501 wine_fn_has_flag ()
7503 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7506 wine_fn_all_rules ()
7508 wine_fn_append_file SUBDIRS $ac_dir
7509 wine_fn_append_rule \
7510 "all: $ac_dir
7511 .PHONY: $ac_dir
7512 $ac_dir: dummy
7513 @cd $ac_dir && \$(MAKE)"
7516 wine_fn_install_rules ()
7518 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7520 wine_fn_append_rule \
7521 ".PHONY: $ac_dir/install $ac_dir/uninstall
7522 $ac_dir/install:: $ac_dir
7523 @cd $ac_dir && \$(MAKE) install
7524 $ac_dir/uninstall::
7525 @cd $ac_dir && \$(MAKE) uninstall
7526 install:: $ac_dir/install
7527 __uninstall__: $ac_dir/uninstall"
7529 if wine_fn_has_flag install-lib
7530 then
7531 wine_fn_append_rule \
7532 ".PHONY: $ac_dir/install-lib
7533 $ac_dir/install-lib:: $ac_dir
7534 @cd $ac_dir && \$(MAKE) install-lib
7535 install-lib:: $ac_dir/install-lib"
7538 if wine_fn_has_flag install-dev
7539 then
7540 wine_fn_append_rule \
7541 ".PHONY: $ac_dir/install-dev
7542 $ac_dir/install-dev:: $ac_dir
7543 @cd $ac_dir && \$(MAKE) install-dev
7544 install-dev:: $ac_dir/install-dev"
7548 wine_fn_clean_rules ()
7550 ac_clean=$@
7552 if wine_fn_has_flag clean
7553 then
7554 wine_fn_append_rule \
7555 "$ac_dir/clean: dummy
7556 @cd $ac_dir && \$(MAKE) clean"
7557 else
7558 wine_fn_append_rule \
7559 "$ac_dir/clean: dummy
7560 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7562 wine_fn_append_rule \
7563 "__clean__: $ac_dir/clean
7564 .PHONY: $ac_dir/clean"
7567 wine_fn_disabled_rules ()
7569 ac_clean=$@
7571 wine_fn_append_file SUBDIRS $ac_dir
7572 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7573 wine_fn_append_rule \
7574 "__clean__: $ac_dir/clean
7575 .PHONY: $ac_dir/clean
7576 $ac_dir/clean: dummy
7577 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7580 wine_fn_config_makefile ()
7582 ac_dir=$1
7583 ac_enable=$2
7584 ac_flags=$3
7586 case $ac_dir in
7587 fonts|server) test -z "$with_wine64" || return ;;
7588 esac
7589 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7590 wine_fn_disabled_rules; return
7592 wine_fn_all_rules
7593 wine_fn_install_rules
7594 wine_fn_clean_rules
7597 wine_fn_config_lib ()
7599 ac_name=$1
7600 ac_flags=$2
7601 ac_dir=dlls/$ac_name
7602 ac_deps="include"
7604 if test "x$enable_tools" = xno; then :
7606 else
7607 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7609 wine_fn_all_rules
7610 wine_fn_clean_rules
7612 wine_fn_append_rule \
7613 ".PHONY: $ac_dir/install $ac_dir/uninstall
7614 $ac_dir/install:: $ac_dir
7615 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7616 $ac_dir/uninstall::
7617 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7618 install install-dev:: $ac_dir/install
7619 __uninstall__: $ac_dir/uninstall
7620 __builddeps__: $ac_dir
7621 $ac_dir: $ac_deps"
7624 wine_fn_config_dll ()
7626 ac_name=$1
7627 ac_dir=dlls/$ac_name
7628 ac_enable=$2
7629 ac_flags=$3
7630 ac_implib=${4:-$ac_name}
7631 ac_file=$ac_dir/lib$ac_implib
7632 ac_dll=$ac_name
7633 ac_deps="include"
7634 ac_implibflags=""
7636 if test "x$enable_tools" = xno; then :
7638 else
7639 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7641 case $ac_name in
7642 *16) ac_implibflags=" -m16" ;;
7643 *.*) ;;
7644 *) ac_dll=$ac_dll.dll ;;
7645 esac
7647 ac_clean=
7648 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7649 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7651 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7652 if test "$ac_enable" != enable_win16
7653 then
7654 wine_fn_clean_rules $ac_clean
7655 wine_fn_append_file SUBDIRS $ac_dir
7656 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7657 else
7658 wine_fn_disabled_rules $ac_clean
7659 return
7661 else
7662 wine_fn_all_rules
7663 wine_fn_clean_rules $ac_clean
7664 wine_fn_append_rule \
7665 "$ac_dir: __builddeps__
7666 manpages htmlpages sgmlpages xmlpages::
7667 @cd $ac_dir && \$(MAKE) \$@
7668 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7669 install install-lib:: $ac_dir/install-lib
7670 __uninstall__: $ac_dir/uninstall"
7671 if test -n "$DLLEXT"
7672 then
7673 wine_fn_append_rule \
7674 "$ac_dir/install-lib:: $ac_dir
7675 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7676 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7677 $ac_dir/uninstall::
7678 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7679 else
7680 wine_fn_append_rule \
7681 "$ac_dir/install-lib:: $ac_dir
7682 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7683 $ac_dir/uninstall::
7684 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7688 if wine_fn_has_flag staticimplib
7689 then
7690 wine_fn_append_rule \
7691 "__builddeps__: $ac_file.a
7692 $ac_file.a $ac_file.cross.a: $ac_deps
7693 $ac_file.a: dummy
7694 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7695 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7696 $ac_dir/install-dev:: $ac_file.a
7697 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7698 $ac_dir/uninstall::
7699 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7700 install install-dev:: $ac_dir/install-dev
7701 __uninstall__: $ac_dir/uninstall"
7703 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7704 then
7705 wine_fn_append_rule \
7706 "__builddeps__: $ac_file.cross.a
7707 $ac_file.cross.a: dummy
7708 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7711 elif wine_fn_has_flag implib
7712 then
7713 wine_fn_append_rule \
7714 "__builddeps__: $ac_file.$IMPLIBEXT
7715 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7716 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7717 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7718 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7719 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7720 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7721 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7722 $ac_dir/uninstall::
7723 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7724 install install-dev:: $ac_dir/install-dev
7725 __uninstall__: $ac_dir/uninstall"
7726 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7727 then
7728 wine_fn_append_rule \
7729 "__builddeps__: $ac_file.cross.a
7730 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7731 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7736 wine_fn_config_program ()
7738 ac_name=$1
7739 ac_dir=programs/$ac_name
7740 ac_enable=$2
7741 ac_flags=$3
7742 ac_program=$ac_name
7744 case $ac_name in
7745 *.*) ;;
7746 *) ac_program=$ac_program.exe ;;
7747 esac
7749 ac_clean=
7750 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7751 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7753 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7754 wine_fn_disabled_rules $ac_clean; return
7757 wine_fn_all_rules
7758 wine_fn_clean_rules $ac_clean
7759 wine_fn_append_rule "$ac_dir: __builddeps__"
7761 wine_fn_has_flag install || return
7762 wine_fn_append_rule \
7763 ".PHONY: $ac_dir/install $ac_dir/uninstall
7764 install install-lib:: $ac_dir/install
7765 __uninstall__: $ac_dir/uninstall"
7767 if test -n "$DLLEXT"
7768 then
7769 wine_fn_append_rule \
7770 "$ac_dir/install:: $ac_dir
7771 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7772 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7776 if test -z "$with_wine64" && wine_fn_has_flag installbin
7777 then
7778 wine_fn_append_rule \
7779 "$ac_dir/install:: __tooldeps__
7780 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7781 $ac_dir/uninstall::
7782 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7784 else
7785 wine_fn_append_rule \
7786 "$ac_dir/install:: $ac_dir
7787 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7788 $ac_dir/uninstall::
7789 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7792 if test -z "$with_wine64" && wine_fn_has_flag manpage
7793 then
7794 wine_fn_append_rule \
7795 "$ac_dir/install:: $ac_dir
7796 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7797 $ac_dir/uninstall::
7798 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7802 wine_fn_config_test ()
7804 ac_dir=$1
7805 ac_name=$2
7806 ac_flags=$3
7808 ac_clean=
7809 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7810 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7812 if test "x$enable_tests" = xno; then :
7813 wine_fn_disabled_rules $ac_clean; return
7816 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7817 wine_fn_all_rules
7818 wine_fn_clean_rules $ac_clean
7820 wine_fn_append_rule \
7821 "$ac_dir: __builddeps__
7822 programs/winetest: $ac_dir
7823 check test: $ac_dir/test
7824 .PHONY: $ac_dir/test
7825 $ac_dir/test: dummy
7826 @cd $ac_dir && \$(MAKE) test
7827 testclean::
7828 \$(RM) $ac_dir/*.ok"
7830 if test -n "$CROSSTARGET"
7831 then
7832 wine_fn_append_rule \
7833 "crosstest: $ac_dir/crosstest
7834 .PHONY: $ac_dir/crosstest
7835 $ac_dir/crosstest: __builddeps__ dummy
7836 @cd $ac_dir && \$(MAKE) crosstest"
7840 wine_fn_config_tool ()
7842 ac_dir=$1
7843 ac_flags=$2
7844 if test "x$enable_tools" = xno; then :
7845 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7848 wine_fn_all_rules
7849 wine_fn_install_rules
7850 wine_fn_clean_rules
7852 wine_fn_append_rule "__tooldeps__: $ac_dir"
7853 wine_fn_append_rule "$ac_dir: libs/port"
7854 case $ac_dir in
7855 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7856 esac
7859 wine_fn_config_symlink ()
7861 ac_linkdir=
7862 if test "x$1" = "x-d"
7863 then
7864 ac_linkdir=$2
7865 shift; shift
7867 ac_links=$@
7868 wine_fn_append_rule \
7869 "$ac_links:
7870 @./config.status \$@"
7871 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7872 test -n "$ac_linkdir" || return
7873 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7876 wine_binary="wine"
7877 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7878 WINELOADER_PROGRAMS="$wine_binary"
7880 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7882 case $host_os in
7883 cygwin*|mingw32*)
7884 if test -n "$ac_tool_prefix"; then
7885 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7886 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7888 $as_echo_n "checking for $ac_word... " >&6; }
7889 if ${ac_cv_prog_DLLTOOL+:} false; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 if test -n "$DLLTOOL"; then
7893 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7894 else
7895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 for as_dir in $PATH
7898 IFS=$as_save_IFS
7899 test -z "$as_dir" && as_dir=.
7900 for ac_exec_ext in '' $ac_executable_extensions; do
7901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7902 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7904 break 2
7906 done
7907 done
7908 IFS=$as_save_IFS
7912 DLLTOOL=$ac_cv_prog_DLLTOOL
7913 if test -n "$DLLTOOL"; then
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7915 $as_echo "$DLLTOOL" >&6; }
7916 else
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918 $as_echo "no" >&6; }
7923 if test -z "$ac_cv_prog_DLLTOOL"; then
7924 ac_ct_DLLTOOL=$DLLTOOL
7925 # Extract the first word of "dlltool", so it can be a program name with args.
7926 set dummy dlltool; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7930 $as_echo_n "(cached) " >&6
7931 else
7932 if test -n "$ac_ct_DLLTOOL"; then
7933 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7934 else
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 for as_dir in $PATH
7938 IFS=$as_save_IFS
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 break 2
7946 done
7947 done
7948 IFS=$as_save_IFS
7952 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7953 if test -n "$ac_ct_DLLTOOL"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7955 $as_echo "$ac_ct_DLLTOOL" >&6; }
7956 else
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7961 if test "x$ac_ct_DLLTOOL" = x; then
7962 DLLTOOL="false"
7963 else
7964 case $cross_compiling:$ac_tool_warned in
7965 yes:)
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7968 ac_tool_warned=yes ;;
7969 esac
7970 DLLTOOL=$ac_ct_DLLTOOL
7972 else
7973 DLLTOOL="$ac_cv_prog_DLLTOOL"
7976 LIBEXT="dll"
7977 DLLEXT=""
7978 IMPLIBEXT="a"
7979 enable_iphlpapi=${enable_iphlpapi:-no}
7980 enable_kernel32=${enable_kernel32:-no}
7981 enable_msvcrt=${enable_msvcrt:-no}
7982 enable_ntdll=${enable_ntdll:-no}
7983 enable_ws2_32=${enable_ws2_32:-no}
7984 enable_loader=${enable_loader:-no}
7985 enable_server=${enable_server:-no}
7986 with_x=${with_x:-no}
7987 with_pthread=${with_pthread:-no}
7989 crtlibs=""
7990 case $host_os in
7991 mingw32*)
7992 crtlibs="-lmsvcrt"
7993 SOCKET_LIBS="-lws2_32"
7995 esac
7997 LIBWINE_SHAREDLIB="libwine.dll"
7999 LIBWINE_IMPORTLIB="libwine.a"
8001 LIBWINE_INSTALL_LIB="libwine.dll"
8003 LIBWINE_INSTALL_DEV="libwine.a"
8005 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8007 LIBWINE_DEPENDS="wine.def"
8011 darwin*|macosx*)
8012 for ac_header in libunwind.h
8013 do :
8014 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8016 cat >>confdefs.h <<_ACEOF
8017 #define HAVE_LIBUNWIND_H 1
8018 _ACEOF
8022 done
8024 LIBEXT="dylib"
8025 DLLFLAGS="$DLLFLAGS -fPIC"
8026 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8027 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8028 COREFOUNDATION_LIBS="-framework CoreFoundation"
8030 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8032 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8034 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8036 CORESERVICES_LIBS="-framework CoreServices"
8038 APPKIT_LIBS="-framework AppKit"
8040 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8042 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8043 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8044 $as_echo_n "(cached) " >&6
8045 else
8046 ac_wine_try_cflags_saved=$CFLAGS
8047 CFLAGS="$CFLAGS -Wl,-no_pie"
8048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8049 /* end confdefs.h. */
8050 int main(int argc, char **argv) { return 0; }
8051 _ACEOF
8052 if ac_fn_c_try_link "$LINENO"; then :
8053 ac_cv_cflags__Wl__no_pie=yes
8054 else
8055 ac_cv_cflags__Wl__no_pie=no
8057 rm -f core conftest.err conftest.$ac_objext \
8058 conftest$ac_exeext conftest.$ac_ext
8059 CFLAGS=$ac_wine_try_cflags_saved
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8062 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8063 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8064 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8066 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8067 then
8068 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8071 if test "$ac_cv_header_Security_Security_h" = "yes"
8072 then
8073 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8075 ac_save_LIBS="$LIBS"
8076 LIBS="$LIBS $SECURITY_LIBS"
8077 for ac_func in SSLCopyPeerCertificates
8078 do :
8079 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8080 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8081 cat >>confdefs.h <<_ACEOF
8082 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8083 _ACEOF
8086 done
8088 LIBS="$ac_save_LIBS"
8089 with_gnutls=${with_gnutls:-no}
8091 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8092 then
8093 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8094 then
8095 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8097 else
8098 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8101 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8102 ac_save_LIBS="$LIBS"
8103 LIBS="$LIBS $COREAUDIO_LIBS"
8104 for ac_func in AUGraphAddNode
8105 do :
8106 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8107 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8108 cat >>confdefs.h <<_ACEOF
8109 #define HAVE_AUGRAPHADDNODE 1
8110 _ACEOF
8113 done
8115 LIBS="$ac_save_LIBS"
8117 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8118 then
8119 OPENAL_LIBS="-framework OpenAL"
8122 cat >>confdefs.h <<_ACEOF
8123 #define HAVE_OPENAL 1
8124 _ACEOF
8126 ac_cv_lib_openal=yes
8128 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8129 then
8130 OPENCL_LIBS="-framework OpenCL"
8132 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8134 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8135 then
8136 ac_save_LIBS="$LIBS"
8137 LIBS="$LIBS $IOKIT_LIBS"
8138 for ac_func in IOHIDManagerCreate
8139 do :
8140 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8141 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8142 cat >>confdefs.h <<_ACEOF
8143 #define HAVE_IOHIDMANAGERCREATE 1
8144 _ACEOF
8147 done
8149 LIBS="$ac_save_LIBS"
8151 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8152 then
8153 ac_save_LIBS="$LIBS"
8154 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8156 $as_echo_n "checking for the QuickTime framework... " >&6; }
8157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8159 #include <QuickTime/ImageCompression.h>
8161 main ()
8163 CodecManagerVersion(NULL);
8165 return 0;
8167 _ACEOF
8168 if ac_fn_c_try_link "$LINENO"; then :
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8170 $as_echo "yes" >&6; }
8171 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8173 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8174 else
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176 $as_echo "no" >&6; }
8177 ac_cv_header_QuickTime_ImageCompression_h=no
8179 rm -f core conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181 LIBS="$ac_save_LIBS"
8183 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8184 then
8185 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8187 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8188 then
8189 CARBON_LIBS="-framework Carbon"
8193 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8194 then
8195 ac_save_LIBS="$LIBS"
8196 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8197 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8198 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8199 enable_winemac_drv=${enable_winemac_drv:-yes}
8202 LIBS="$ac_save_LIBS"
8205 if test "x$enable_win16" = "xyes"
8206 then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8208 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8209 if test "$cross_compiling" = yes; then :
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8211 $as_echo "cross-compiling, assuming yes" >&6; }
8212 else
8213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 asm(".text\n"
8216 "bad:\tnop;nop\n"
8217 "good:\tnop;nop\n\t"
8218 ".globl _testfunc\n"
8219 "_testfunc:\tcallw good");
8220 extern void testfunc();
8222 main ()
8224 unsigned short *p = (unsigned short *)testfunc;
8225 return p[0] != 0xe866 || p[1] != 0xfffa
8227 return 0;
8229 _ACEOF
8230 if ac_fn_c_try_run "$LINENO"; then :
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8232 $as_echo "yes" >&6; }
8233 else
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
8236 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
8238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8239 conftest.$ac_objext conftest.beam conftest.$ac_ext
8244 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8246 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8248 LIBWINE_INSTALL_DEV="libwine.dylib"
8250 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8252 WINELOADER_DEPENDS="wine_info.plist"
8256 linux-android*)
8257 DLLFLAGS="$DLLFLAGS -fPIC"
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8259 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8260 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8261 $as_echo_n "(cached) " >&6
8262 else
8263 ac_wine_try_cflags_saved=$CFLAGS
8264 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 int main(int argc, char **argv) { return 0; }
8268 _ACEOF
8269 if ac_fn_c_try_link "$LINENO"; then :
8270 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8271 else
8272 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8274 rm -f core conftest.err conftest.$ac_objext \
8275 conftest$ac_exeext conftest.$ac_ext
8276 CFLAGS=$ac_wine_try_cflags_saved
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8279 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8280 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8281 LDEXECFLAGS="-Wl,--export-dynamic"
8283 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8285 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8286 if eval \${$as_ac_var+:} false; then :
8287 $as_echo_n "(cached) " >&6
8288 else
8289 ac_wine_try_cflags_saved=$CFLAGS
8290 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8292 /* end confdefs.h. */
8293 int main(int argc, char **argv) { return 0; }
8294 _ACEOF
8295 if ac_fn_c_try_link "$LINENO"; then :
8296 eval "$as_ac_var=yes"
8297 else
8298 eval "$as_ac_var=no"
8300 rm -f core conftest.err conftest.$ac_objext \
8301 conftest$ac_exeext conftest.$ac_ext
8302 CFLAGS=$ac_wine_try_cflags_saved
8304 eval ac_res=\$$as_ac_var
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8306 $as_echo "$ac_res" >&6; }
8307 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8308 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8309 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8310 else
8311 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8313 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8314 if eval \${$as_ac_var+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 ac_wine_try_cflags_saved=$CFLAGS
8318 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8321 int main(int argc, char **argv) { return 0; }
8322 _ACEOF
8323 if ac_fn_c_try_link "$LINENO"; then :
8324 eval "$as_ac_var=yes"
8325 else
8326 eval "$as_ac_var=no"
8328 rm -f core conftest.err conftest.$ac_objext \
8329 conftest$ac_exeext conftest.$ac_ext
8330 CFLAGS=$ac_wine_try_cflags_saved
8332 eval ac_res=\$$as_ac_var
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8334 $as_echo "$ac_res" >&6; }
8335 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8336 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8337 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8342 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8343 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 ac_wine_try_cflags_saved=$CFLAGS
8347 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 int main(int argc, char **argv) { return 0; }
8351 _ACEOF
8352 if ac_fn_c_try_link "$LINENO"; then :
8353 ac_cv_cflags__Wl___enable_new_dtags=yes
8354 else
8355 ac_cv_cflags__Wl___enable_new_dtags=no
8357 rm -f core conftest.err conftest.$ac_objext \
8358 conftest$ac_exeext conftest.$ac_ext
8359 CFLAGS=$ac_wine_try_cflags_saved
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8362 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8363 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8364 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8367 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8368 if ${ac_cv_cflags__Wl__pie+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370 else
8371 ac_wine_try_cflags_saved=$CFLAGS
8372 CFLAGS="$CFLAGS -Wl,-pie"
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8375 int main(int argc, char **argv) { return 0; }
8376 _ACEOF
8377 if ac_fn_c_try_link "$LINENO"; then :
8378 ac_cv_cflags__Wl__pie=yes
8379 else
8380 ac_cv_cflags__Wl__pie=no
8382 rm -f core conftest.err conftest.$ac_objext \
8383 conftest$ac_exeext conftest.$ac_ext
8384 CFLAGS=$ac_wine_try_cflags_saved
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8387 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8388 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8389 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8392 LIBWINE_SHAREDLIB="libwine.so"
8394 LIBWINE_INSTALL_LIB="libwine.so"
8396 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8401 DLLFLAGS="$DLLFLAGS -fPIC"
8402 LDEXECFLAGS=""
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8404 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8405 if ${ac_cv_c_dll_gnuelf+:} false; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 ac_wine_try_cflags_saved=$CFLAGS
8409 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8412 void myfunc() {}
8413 _ACEOF
8414 if ac_fn_c_try_link "$LINENO"; then :
8415 ac_cv_c_dll_gnuelf="yes"
8416 else
8417 ac_cv_c_dll_gnuelf="no"
8419 rm -f core conftest.err conftest.$ac_objext \
8420 conftest$ac_exeext conftest.$ac_ext
8421 CFLAGS=$ac_wine_try_cflags_saved
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8424 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8425 if test "$ac_cv_c_dll_gnuelf" = "yes"
8426 then
8427 LIBWINE_LDFLAGS="-shared"
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8429 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8430 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 ac_wine_try_cflags_saved=$CFLAGS
8434 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8437 int main(int argc, char **argv) { return 0; }
8438 _ACEOF
8439 if ac_fn_c_try_link "$LINENO"; then :
8440 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8441 else
8442 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8444 rm -f core conftest.err conftest.$ac_objext \
8445 conftest$ac_exeext conftest.$ac_ext
8446 CFLAGS=$ac_wine_try_cflags_saved
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8449 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8450 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8451 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8452 else
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8454 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8455 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_wine_try_cflags_saved=$CFLAGS
8459 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 int main(int argc, char **argv) { return 0; }
8463 _ACEOF
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8466 else
8467 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 CFLAGS=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8474 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8475 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8476 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8480 echo '{ global: *; };' >conftest.map
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8482 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8483 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8484 $as_echo_n "(cached) " >&6
8485 else
8486 ac_wine_try_cflags_saved=$CFLAGS
8487 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8491 _ACEOF
8492 if ac_fn_c_try_link "$LINENO"; then :
8493 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8494 else
8495 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8497 rm -f core conftest.err conftest.$ac_objext \
8498 conftest$ac_exeext conftest.$ac_ext
8499 CFLAGS=$ac_wine_try_cflags_saved
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8502 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8503 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8504 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8506 rm -f conftest.map
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8509 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8510 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8511 $as_echo_n "(cached) " >&6
8512 else
8513 ac_wine_try_cflags_saved=$CFLAGS
8514 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8517 int main(int argc, char **argv) { return 0; }
8518 _ACEOF
8519 if ac_fn_c_try_link "$LINENO"; then :
8520 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8521 else
8522 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8524 rm -f core conftest.err conftest.$ac_objext \
8525 conftest$ac_exeext conftest.$ac_ext
8526 CFLAGS=$ac_wine_try_cflags_saved
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8529 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8530 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8531 LDEXECFLAGS="-Wl,--export-dynamic"
8534 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8536 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8537 if eval \${$as_ac_var+:} false; then :
8538 $as_echo_n "(cached) " >&6
8539 else
8540 ac_wine_try_cflags_saved=$CFLAGS
8541 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8544 int main(int argc, char **argv) { return 0; }
8545 _ACEOF
8546 if ac_fn_c_try_link "$LINENO"; then :
8547 eval "$as_ac_var=yes"
8548 else
8549 eval "$as_ac_var=no"
8551 rm -f core conftest.err conftest.$ac_objext \
8552 conftest$ac_exeext conftest.$ac_ext
8553 CFLAGS=$ac_wine_try_cflags_saved
8555 eval ac_res=\$$as_ac_var
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8557 $as_echo "$ac_res" >&6; }
8558 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8559 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8560 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8561 else
8562 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8564 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8565 if eval \${$as_ac_var+:} false; then :
8566 $as_echo_n "(cached) " >&6
8567 else
8568 ac_wine_try_cflags_saved=$CFLAGS
8569 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8572 int main(int argc, char **argv) { return 0; }
8573 _ACEOF
8574 if ac_fn_c_try_link "$LINENO"; then :
8575 eval "$as_ac_var=yes"
8576 else
8577 eval "$as_ac_var=no"
8579 rm -f core conftest.err conftest.$ac_objext \
8580 conftest$ac_exeext conftest.$ac_ext
8581 CFLAGS=$ac_wine_try_cflags_saved
8583 eval ac_res=\$$as_ac_var
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8585 $as_echo "$ac_res" >&6; }
8586 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8587 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8588 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8593 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8594 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 ac_wine_try_cflags_saved=$CFLAGS
8598 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 int main(int argc, char **argv) { return 0; }
8602 _ACEOF
8603 if ac_fn_c_try_link "$LINENO"; then :
8604 ac_cv_cflags__Wl___enable_new_dtags=yes
8605 else
8606 ac_cv_cflags__Wl___enable_new_dtags=no
8608 rm -f core conftest.err conftest.$ac_objext \
8609 conftest$ac_exeext conftest.$ac_ext
8610 CFLAGS=$ac_wine_try_cflags_saved
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8613 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8614 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8615 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8618 case $host_cpu in
8619 *i[3456789]86* | x86_64)
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8621 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8622 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 ac_wine_try_cflags_saved=$CFLAGS
8626 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8629 int main(int argc, char **argv) { return 0; }
8630 _ACEOF
8631 if ac_fn_c_try_link "$LINENO"; then :
8632 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8633 else
8634 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8636 rm -f core conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8638 CFLAGS=$ac_wine_try_cflags_saved
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8641 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8642 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8643 case $host_os in
8644 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8645 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8646 esac
8647 else
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8649 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8650 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8651 $as_echo_n "(cached) " >&6
8652 else
8653 ac_wine_try_cflags_saved=$CFLAGS
8654 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 int main(int argc, char **argv) { return 0; }
8658 _ACEOF
8659 if ac_fn_c_try_link "$LINENO"; then :
8660 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8661 else
8662 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8664 rm -f core conftest.err conftest.$ac_objext \
8665 conftest$ac_exeext conftest.$ac_ext
8666 CFLAGS=$ac_wine_try_cflags_saved
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8669 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8670 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8671 case $host_os in
8672 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8673 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8674 esac
8676 # Extract the first word of "prelink", so it can be a program name with args.
8677 set dummy prelink; ac_word=$2
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8679 $as_echo_n "checking for $ac_word... " >&6; }
8680 if ${ac_cv_path_PRELINK+:} false; then :
8681 $as_echo_n "(cached) " >&6
8682 else
8683 case $PRELINK in
8684 [\\/]* | ?:[\\/]*)
8685 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8689 for as_dir in /sbin /usr/sbin $PATH
8691 IFS=$as_save_IFS
8692 test -z "$as_dir" && as_dir=.
8693 for ac_exec_ext in '' $ac_executable_extensions; do
8694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8695 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8697 break 2
8699 done
8700 done
8701 IFS=$as_save_IFS
8703 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8705 esac
8707 PRELINK=$ac_cv_path_PRELINK
8708 if test -n "$PRELINK"; then
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8710 $as_echo "$PRELINK" >&6; }
8711 else
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8713 $as_echo "no" >&6; }
8717 if test "x$PRELINK" = xfalse
8718 then
8719 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8723 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8724 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8725 $as_echo_n "(cached) " >&6
8726 else
8727 ac_wine_try_cflags_saved=$CFLAGS
8728 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 int main(int argc, char **argv) { return 0; }
8732 _ACEOF
8733 if ac_fn_c_try_link "$LINENO"; then :
8734 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8735 else
8736 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8738 rm -f core conftest.err conftest.$ac_objext \
8739 conftest$ac_exeext conftest.$ac_ext
8740 CFLAGS=$ac_wine_try_cflags_saved
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8743 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8744 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8745 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8748 esac
8750 else
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8752 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8753 if ${ac_cv_c_dll_unixware+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 ac_wine_try_cflags_saved=$CFLAGS
8757 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8759 /* end confdefs.h. */
8760 void myfunc() {}
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"; then :
8763 ac_cv_c_dll_unixware="yes"
8764 else
8765 ac_cv_c_dll_unixware="no"
8767 rm -f core conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 CFLAGS=$ac_wine_try_cflags_saved
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8772 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8773 if test "$ac_cv_c_dll_unixware" = "yes"
8774 then
8775 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8778 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8780 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8782 LIBWINE_INSTALL_DEV="libwine.so"
8784 LIBWINE_DEPENDS="wine.map"
8787 esac
8789 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8790 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8791 enable_winemac_drv=${enable_winemac_drv:-no}
8792 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8794 CROSSTARGET=""
8796 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8797 then
8798 case "$host_cpu" in
8799 arm*)
8800 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8801 i[3456789]86*)
8802 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
8803 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8804 mingw32-gcc" ;;
8805 x86_64)
8806 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
8807 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8809 ac_prefix_list="" ;;
8810 esac
8811 for ac_prog in $ac_prefix_list
8813 # Extract the first word of "$ac_prog", so it can be a program name with args.
8814 set dummy $ac_prog; ac_word=$2
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8816 $as_echo_n "checking for $ac_word... " >&6; }
8817 if ${ac_cv_prog_CROSSCC+:} false; then :
8818 $as_echo_n "(cached) " >&6
8819 else
8820 if test -n "$CROSSCC"; then
8821 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8822 else
8823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8824 for as_dir in $PATH
8826 IFS=$as_save_IFS
8827 test -z "$as_dir" && as_dir=.
8828 for ac_exec_ext in '' $ac_executable_extensions; do
8829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8830 ac_cv_prog_CROSSCC="$ac_prog"
8831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832 break 2
8834 done
8835 done
8836 IFS=$as_save_IFS
8840 CROSSCC=$ac_cv_prog_CROSSCC
8841 if test -n "$CROSSCC"; then
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8843 $as_echo "$CROSSCC" >&6; }
8844 else
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8846 $as_echo "no" >&6; }
8850 test -n "$CROSSCC" && break
8851 done
8852 test -n "$CROSSCC" || CROSSCC="false"
8854 if test "$CROSSCC" != "false"
8855 then
8856 ac_save_CC="$CC"
8857 CC="$CROSSCC"
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8859 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8864 main ()
8868 return 0;
8870 _ACEOF
8871 if ac_fn_c_try_compile "$LINENO"; then :
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8873 $as_echo "yes" >&6; }
8874 set x $CROSSCC
8875 shift
8876 while test $# -ge 1
8878 case "$1" in
8879 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8880 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8881 esac
8882 shift
8883 done
8884 else
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8886 $as_echo "no" >&6; }
8888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8889 CC="$ac_save_CC"
8894 if test "$ac_cv_header_pthread_h" = "yes"
8895 then
8896 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8897 if test "x$ac_cv_func_pthread_create" = xyes; then :
8899 else
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8901 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8902 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 ac_check_lib_save_LIBS=$LIBS
8906 LIBS="-lpthread $LIBS"
8907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8910 /* Override any GCC internal prototype to avoid an error.
8911 Use char because int might match the return type of a GCC
8912 builtin and then its argument prototype would still apply. */
8913 #ifdef __cplusplus
8914 extern "C"
8915 #endif
8916 char pthread_create ();
8918 main ()
8920 return pthread_create ();
8922 return 0;
8924 _ACEOF
8925 if ac_fn_c_try_link "$LINENO"; then :
8926 ac_cv_lib_pthread_pthread_create=yes
8927 else
8928 ac_cv_lib_pthread_pthread_create=no
8930 rm -f core conftest.err conftest.$ac_objext \
8931 conftest$ac_exeext conftest.$ac_ext
8932 LIBS=$ac_check_lib_save_LIBS
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8935 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8936 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8937 PTHREAD_LIBS="-lpthread"
8944 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8945 case "x$with_pthread" in
8946 xno) ;;
8947 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8948 Wine cannot support threads without libpthread.
8949 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8950 esac
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8956 $as_echo_n "checking for X... " >&6; }
8959 # Check whether --with-x was given.
8960 if test "${with_x+set}" = set; then :
8961 withval=$with_x;
8964 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8965 if test "x$with_x" = xno; then
8966 # The user explicitly disabled X.
8967 have_x=disabled
8968 else
8969 case $x_includes,$x_libraries in #(
8970 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8971 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8972 $as_echo_n "(cached) " >&6
8973 else
8974 # One or both of the vars are not set, and there is no cached value.
8975 ac_x_includes=no ac_x_libraries=no
8976 rm -f -r conftest.dir
8977 if mkdir conftest.dir; then
8978 cd conftest.dir
8979 cat >Imakefile <<'_ACEOF'
8980 incroot:
8981 @echo incroot='${INCROOT}'
8982 usrlibdir:
8983 @echo usrlibdir='${USRLIBDIR}'
8984 libdir:
8985 @echo libdir='${LIBDIR}'
8986 _ACEOF
8987 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8988 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8989 for ac_var in incroot usrlibdir libdir; do
8990 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8991 done
8992 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8993 for ac_extension in a so sl dylib la dll; do
8994 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8995 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8996 ac_im_usrlibdir=$ac_im_libdir; break
8998 done
8999 # Screen out bogus values from the imake configuration. They are
9000 # bogus both because they are the default anyway, and because
9001 # using them would break gcc on systems where it needs fixed includes.
9002 case $ac_im_incroot in
9003 /usr/include) ac_x_includes= ;;
9004 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9005 esac
9006 case $ac_im_usrlibdir in
9007 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9008 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9009 esac
9011 cd ..
9012 rm -f -r conftest.dir
9015 # Standard set of common directories for X headers.
9016 # Check X11 before X11Rn because it is often a symlink to the current release.
9017 ac_x_header_dirs='
9018 /usr/X11/include
9019 /usr/X11R7/include
9020 /usr/X11R6/include
9021 /usr/X11R5/include
9022 /usr/X11R4/include
9024 /usr/include/X11
9025 /usr/include/X11R7
9026 /usr/include/X11R6
9027 /usr/include/X11R5
9028 /usr/include/X11R4
9030 /usr/local/X11/include
9031 /usr/local/X11R7/include
9032 /usr/local/X11R6/include
9033 /usr/local/X11R5/include
9034 /usr/local/X11R4/include
9036 /usr/local/include/X11
9037 /usr/local/include/X11R7
9038 /usr/local/include/X11R6
9039 /usr/local/include/X11R5
9040 /usr/local/include/X11R4
9042 /usr/X386/include
9043 /usr/x386/include
9044 /usr/XFree86/include/X11
9046 /usr/include
9047 /usr/local/include
9048 /usr/unsupported/include
9049 /usr/athena/include
9050 /usr/local/x11r5/include
9051 /usr/lpp/Xamples/include
9053 /usr/openwin/include
9054 /usr/openwin/share/include'
9056 if test "$ac_x_includes" = no; then
9057 # Guess where to find include files, by looking for Xlib.h.
9058 # First, try using that file with no special directory specified.
9059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9060 /* end confdefs.h. */
9061 #include <X11/Xlib.h>
9062 _ACEOF
9063 if ac_fn_c_try_cpp "$LINENO"; then :
9064 # We can compile using X headers with no special include directory.
9065 ac_x_includes=
9066 else
9067 for ac_dir in $ac_x_header_dirs; do
9068 if test -r "$ac_dir/X11/Xlib.h"; then
9069 ac_x_includes=$ac_dir
9070 break
9072 done
9074 rm -f conftest.err conftest.i conftest.$ac_ext
9075 fi # $ac_x_includes = no
9077 if test "$ac_x_libraries" = no; then
9078 # Check for the libraries.
9079 # See if we find them without any special options.
9080 # Don't add to $LIBS permanently.
9081 ac_save_LIBS=$LIBS
9082 LIBS="-lX11 $LIBS"
9083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9085 #include <X11/Xlib.h>
9087 main ()
9089 XrmInitialize ()
9091 return 0;
9093 _ACEOF
9094 if ac_fn_c_try_link "$LINENO"; then :
9095 LIBS=$ac_save_LIBS
9096 # We can link X programs with no special library path.
9097 ac_x_libraries=
9098 else
9099 LIBS=$ac_save_LIBS
9100 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9102 # Don't even attempt the hair of trying to link an X program!
9103 for ac_extension in a so sl dylib la dll; do
9104 if test -r "$ac_dir/libX11.$ac_extension"; then
9105 ac_x_libraries=$ac_dir
9106 break 2
9108 done
9109 done
9111 rm -f core conftest.err conftest.$ac_objext \
9112 conftest$ac_exeext conftest.$ac_ext
9113 fi # $ac_x_libraries = no
9115 case $ac_x_includes,$ac_x_libraries in #(
9116 no,* | *,no | *\'*)
9117 # Didn't find X, or a directory has "'" in its name.
9118 ac_cv_have_x="have_x=no";; #(
9120 # Record where we found X for the cache.
9121 ac_cv_have_x="have_x=yes\
9122 ac_x_includes='$ac_x_includes'\
9123 ac_x_libraries='$ac_x_libraries'"
9124 esac
9126 ;; #(
9127 *) have_x=yes;;
9128 esac
9129 eval "$ac_cv_have_x"
9130 fi # $with_x != no
9132 if test "$have_x" != yes; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9134 $as_echo "$have_x" >&6; }
9135 no_x=yes
9136 else
9137 # If each of the values was on the command line, it overrides each guess.
9138 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9139 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9140 # Update the cache value to reflect the command line values.
9141 ac_cv_have_x="have_x=yes\
9142 ac_x_includes='$x_includes'\
9143 ac_x_libraries='$x_libraries'"
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9145 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9148 if test "$no_x" = yes; then
9149 # Not all programs may use this symbol, but it does not hurt to define it.
9151 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9153 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9154 else
9155 if test -n "$x_includes"; then
9156 X_CFLAGS="$X_CFLAGS -I$x_includes"
9159 # It would also be nice to do this for all -L options, not just this one.
9160 if test -n "$x_libraries"; then
9161 X_LIBS="$X_LIBS -L$x_libraries"
9162 # For Solaris; some versions of Sun CC require a space after -R and
9163 # others require no space. Words are not sufficient . . . .
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9165 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9166 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9167 ac_xsave_c_werror_flag=$ac_c_werror_flag
9168 ac_c_werror_flag=yes
9169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9173 main ()
9177 return 0;
9179 _ACEOF
9180 if ac_fn_c_try_link "$LINENO"; then :
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9182 $as_echo "no" >&6; }
9183 X_LIBS="$X_LIBS -R$x_libraries"
9184 else
9185 LIBS="$ac_xsave_LIBS -R $x_libraries"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9190 main ()
9194 return 0;
9196 _ACEOF
9197 if ac_fn_c_try_link "$LINENO"; then :
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9199 $as_echo "yes" >&6; }
9200 X_LIBS="$X_LIBS -R $x_libraries"
9201 else
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9203 $as_echo "neither works" >&6; }
9205 rm -f core conftest.err conftest.$ac_objext \
9206 conftest$ac_exeext conftest.$ac_ext
9208 rm -f core conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 ac_c_werror_flag=$ac_xsave_c_werror_flag
9211 LIBS=$ac_xsave_LIBS
9214 # Check for system-dependent libraries X programs must link with.
9215 # Do this before checking for the system-independent R6 libraries
9216 # (-lICE), since we may need -lsocket or whatever for X linking.
9218 if test "$ISC" = yes; then
9219 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9220 else
9221 # Martyn Johnson says this is needed for Ultrix, if the X
9222 # libraries were built with DECnet support. And Karl Berry says
9223 # the Alpha needs dnet_stub (dnet does not exist).
9224 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9228 /* Override any GCC internal prototype to avoid an error.
9229 Use char because int might match the return type of a GCC
9230 builtin and then its argument prototype would still apply. */
9231 #ifdef __cplusplus
9232 extern "C"
9233 #endif
9234 char XOpenDisplay ();
9236 main ()
9238 return XOpenDisplay ();
9240 return 0;
9242 _ACEOF
9243 if ac_fn_c_try_link "$LINENO"; then :
9245 else
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9247 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9248 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9249 $as_echo_n "(cached) " >&6
9250 else
9251 ac_check_lib_save_LIBS=$LIBS
9252 LIBS="-ldnet $LIBS"
9253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9256 /* Override any GCC internal prototype to avoid an error.
9257 Use char because int might match the return type of a GCC
9258 builtin and then its argument prototype would still apply. */
9259 #ifdef __cplusplus
9260 extern "C"
9261 #endif
9262 char dnet_ntoa ();
9264 main ()
9266 return dnet_ntoa ();
9268 return 0;
9270 _ACEOF
9271 if ac_fn_c_try_link "$LINENO"; then :
9272 ac_cv_lib_dnet_dnet_ntoa=yes
9273 else
9274 ac_cv_lib_dnet_dnet_ntoa=no
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9278 LIBS=$ac_check_lib_save_LIBS
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9281 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9282 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9283 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9286 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9288 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9289 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9290 $as_echo_n "(cached) " >&6
9291 else
9292 ac_check_lib_save_LIBS=$LIBS
9293 LIBS="-ldnet_stub $LIBS"
9294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9295 /* end confdefs.h. */
9297 /* Override any GCC internal prototype to avoid an error.
9298 Use char because int might match the return type of a GCC
9299 builtin and then its argument prototype would still apply. */
9300 #ifdef __cplusplus
9301 extern "C"
9302 #endif
9303 char dnet_ntoa ();
9305 main ()
9307 return dnet_ntoa ();
9309 return 0;
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9314 else
9315 ac_cv_lib_dnet_stub_dnet_ntoa=no
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 LIBS=$ac_check_lib_save_LIBS
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9322 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9323 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9324 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9329 rm -f core conftest.err conftest.$ac_objext \
9330 conftest$ac_exeext conftest.$ac_ext
9331 LIBS="$ac_xsave_LIBS"
9333 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9334 # to get the SysV transport functions.
9335 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9336 # needs -lnsl.
9337 # The nsl library prevents programs from opening the X display
9338 # on Irix 5.2, according to T.E. Dickey.
9339 # The functions gethostbyname, getservbyname, and inet_addr are
9340 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9341 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9342 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9346 if test $ac_cv_func_gethostbyname = no; then
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9348 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9349 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9350 $as_echo_n "(cached) " >&6
9351 else
9352 ac_check_lib_save_LIBS=$LIBS
9353 LIBS="-lnsl $LIBS"
9354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9357 /* Override any GCC internal prototype to avoid an error.
9358 Use char because int might match the return type of a GCC
9359 builtin and then its argument prototype would still apply. */
9360 #ifdef __cplusplus
9361 extern "C"
9362 #endif
9363 char gethostbyname ();
9365 main ()
9367 return gethostbyname ();
9369 return 0;
9371 _ACEOF
9372 if ac_fn_c_try_link "$LINENO"; then :
9373 ac_cv_lib_nsl_gethostbyname=yes
9374 else
9375 ac_cv_lib_nsl_gethostbyname=no
9377 rm -f core conftest.err conftest.$ac_objext \
9378 conftest$ac_exeext conftest.$ac_ext
9379 LIBS=$ac_check_lib_save_LIBS
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9382 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9383 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9387 if test $ac_cv_lib_nsl_gethostbyname = no; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9389 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9390 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9391 $as_echo_n "(cached) " >&6
9392 else
9393 ac_check_lib_save_LIBS=$LIBS
9394 LIBS="-lbsd $LIBS"
9395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9396 /* end confdefs.h. */
9398 /* Override any GCC internal prototype to avoid an error.
9399 Use char because int might match the return type of a GCC
9400 builtin and then its argument prototype would still apply. */
9401 #ifdef __cplusplus
9402 extern "C"
9403 #endif
9404 char gethostbyname ();
9406 main ()
9408 return gethostbyname ();
9410 return 0;
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 ac_cv_lib_bsd_gethostbyname=yes
9415 else
9416 ac_cv_lib_bsd_gethostbyname=no
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 LIBS=$ac_check_lib_save_LIBS
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9423 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9424 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9425 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9431 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9432 # socket/setsockopt and other routines are undefined under SCO ODT
9433 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9434 # on later versions), says Simon Leinen: it contains gethostby*
9435 # variants that don't use the name server (or something). -lsocket
9436 # must be given before -lnsl if both are needed. We assume that
9437 # if connect needs -lnsl, so does gethostbyname.
9438 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9439 if test "x$ac_cv_func_connect" = xyes; then :
9443 if test $ac_cv_func_connect = no; then
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9445 $as_echo_n "checking for connect in -lsocket... " >&6; }
9446 if ${ac_cv_lib_socket_connect+:} false; then :
9447 $as_echo_n "(cached) " >&6
9448 else
9449 ac_check_lib_save_LIBS=$LIBS
9450 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9454 /* Override any GCC internal prototype to avoid an error.
9455 Use char because int might match the return type of a GCC
9456 builtin and then its argument prototype would still apply. */
9457 #ifdef __cplusplus
9458 extern "C"
9459 #endif
9460 char connect ();
9462 main ()
9464 return connect ();
9466 return 0;
9468 _ACEOF
9469 if ac_fn_c_try_link "$LINENO"; then :
9470 ac_cv_lib_socket_connect=yes
9471 else
9472 ac_cv_lib_socket_connect=no
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 LIBS=$ac_check_lib_save_LIBS
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9479 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9480 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9481 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9486 # Guillermo Gomez says -lposix is necessary on A/UX.
9487 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9488 if test "x$ac_cv_func_remove" = xyes; then :
9492 if test $ac_cv_func_remove = no; then
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9494 $as_echo_n "checking for remove in -lposix... " >&6; }
9495 if ${ac_cv_lib_posix_remove+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 ac_check_lib_save_LIBS=$LIBS
9499 LIBS="-lposix $LIBS"
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 /* end confdefs.h. */
9503 /* Override any GCC internal prototype to avoid an error.
9504 Use char because int might match the return type of a GCC
9505 builtin and then its argument prototype would still apply. */
9506 #ifdef __cplusplus
9507 extern "C"
9508 #endif
9509 char remove ();
9511 main ()
9513 return remove ();
9515 return 0;
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"; then :
9519 ac_cv_lib_posix_remove=yes
9520 else
9521 ac_cv_lib_posix_remove=no
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 LIBS=$ac_check_lib_save_LIBS
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9528 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9529 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9530 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9535 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9536 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9537 if test "x$ac_cv_func_shmat" = xyes; then :
9541 if test $ac_cv_func_shmat = no; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9543 $as_echo_n "checking for shmat in -lipc... " >&6; }
9544 if ${ac_cv_lib_ipc_shmat+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_check_lib_save_LIBS=$LIBS
9548 LIBS="-lipc $LIBS"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9552 /* Override any GCC internal prototype to avoid an error.
9553 Use char because int might match the return type of a GCC
9554 builtin and then its argument prototype would still apply. */
9555 #ifdef __cplusplus
9556 extern "C"
9557 #endif
9558 char shmat ();
9560 main ()
9562 return shmat ();
9564 return 0;
9566 _ACEOF
9567 if ac_fn_c_try_link "$LINENO"; then :
9568 ac_cv_lib_ipc_shmat=yes
9569 else
9570 ac_cv_lib_ipc_shmat=no
9572 rm -f core conftest.err conftest.$ac_objext \
9573 conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_lib_save_LIBS
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9577 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9578 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9579 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9585 # Check for libraries that X11R6 Xt/Xaw programs need.
9586 ac_save_LDFLAGS=$LDFLAGS
9587 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9588 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9589 # check for ICE first), but we must link in the order -lSM -lICE or
9590 # we get undefined symbols. So assume we have SM if we have ICE.
9591 # These have to be linked with before -lX11, unlike the other
9592 # libraries we check for below, so use a different variable.
9593 # John Interrante, Karl Berry
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9595 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9596 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9607 #ifdef __cplusplus
9608 extern "C"
9609 #endif
9610 char IceConnectionNumber ();
9612 main ()
9614 return IceConnectionNumber ();
9616 return 0;
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_lib_ICE_IceConnectionNumber=yes
9621 else
9622 ac_cv_lib_ICE_IceConnectionNumber=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9629 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9630 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9631 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9634 LDFLAGS=$ac_save_LDFLAGS
9639 if test "$have_x" = "yes"
9640 then
9641 ac_save_CPPFLAGS="$CPPFLAGS"
9642 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9645 $as_echo_n "checking for -lX11... " >&6; }
9646 if ${ac_cv_lib_soname_X11+:} false; then :
9647 $as_echo_n "(cached) " >&6
9648 else
9649 ac_check_soname_save_LIBS=$LIBS
9650 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9657 #ifdef __cplusplus
9658 extern "C"
9659 #endif
9660 char XCreateWindow ();
9662 main ()
9664 return XCreateWindow ();
9666 return 0;
9668 _ACEOF
9669 if ac_fn_c_try_link "$LINENO"; then :
9670 case "$LIBEXT" in
9671 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9672 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'` ;;
9673 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9674 if ${ac_cv_lib_soname_X11:+false} :; then :
9675 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9676 fi ;;
9677 esac
9679 rm -f core conftest.err conftest.$ac_objext \
9680 conftest$ac_exeext conftest.$ac_ext
9681 LIBS=$ac_check_soname_save_LIBS
9683 if ${ac_cv_lib_soname_X11:+false} :; then :
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9685 $as_echo "not found" >&6; }
9687 else
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9689 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9691 cat >>confdefs.h <<_ACEOF
9692 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9693 _ACEOF
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9698 $as_echo_n "checking for -lXext... " >&6; }
9699 if ${ac_cv_lib_soname_Xext+:} false; then :
9700 $as_echo_n "(cached) " >&6
9701 else
9702 ac_check_soname_save_LIBS=$LIBS
9703 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9707 /* Override any GCC internal prototype to avoid an error.
9708 Use char because int might match the return type of a GCC
9709 builtin and then its argument prototype would still apply. */
9710 #ifdef __cplusplus
9711 extern "C"
9712 #endif
9713 char XextCreateExtension ();
9715 main ()
9717 return XextCreateExtension ();
9719 return 0;
9721 _ACEOF
9722 if ac_fn_c_try_link "$LINENO"; then :
9723 case "$LIBEXT" in
9724 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9725 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'` ;;
9726 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9727 if ${ac_cv_lib_soname_Xext:+false} :; then :
9728 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9729 fi ;;
9730 esac
9732 rm -f core conftest.err conftest.$ac_objext \
9733 conftest$ac_exeext conftest.$ac_ext
9734 LIBS=$ac_check_soname_save_LIBS
9736 if ${ac_cv_lib_soname_Xext:+false} :; then :
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9738 $as_echo "not found" >&6; }
9740 else
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9742 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9744 cat >>confdefs.h <<_ACEOF
9745 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9746 _ACEOF
9748 X_LIBS="$X_LIBS -lXext"
9750 X_LIBS="$X_LIBS -lX11"
9752 for ac_header in X11/Xlib.h \
9753 X11/XKBlib.h \
9754 X11/Xutil.h \
9755 X11/Xcursor/Xcursor.h \
9756 X11/extensions/shape.h \
9757 X11/extensions/XInput.h \
9758 X11/extensions/XInput2.h \
9759 X11/extensions/XShm.h \
9760 X11/extensions/Xcomposite.h \
9761 X11/extensions/Xinerama.h \
9762 X11/extensions/Xrandr.h \
9763 X11/extensions/Xrender.h \
9764 X11/extensions/xf86vmode.h \
9765 X11/extensions/xf86vmproto.h
9766 do :
9767 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9768 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9769 # include <X11/Xlib.h>
9770 #endif
9771 #ifdef HAVE_X11_XUTIL_H
9772 # include <X11/Xutil.h>
9773 #endif
9775 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9776 cat >>confdefs.h <<_ACEOF
9777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9778 _ACEOF
9782 done
9785 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9786 then
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9788 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9789 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9790 $as_echo_n "(cached) " >&6
9791 else
9792 ac_check_lib_save_LIBS=$LIBS
9793 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9797 /* Override any GCC internal prototype to avoid an error.
9798 Use char because int might match the return type of a GCC
9799 builtin and then its argument prototype would still apply. */
9800 #ifdef __cplusplus
9801 extern "C"
9802 #endif
9803 char XkbQueryExtension ();
9805 main ()
9807 return XkbQueryExtension ();
9809 return 0;
9811 _ACEOF
9812 if ac_fn_c_try_link "$LINENO"; then :
9813 ac_cv_lib_X11_XkbQueryExtension=yes
9814 else
9815 ac_cv_lib_X11_XkbQueryExtension=no
9817 rm -f core conftest.err conftest.$ac_objext \
9818 conftest$ac_exeext conftest.$ac_ext
9819 LIBS=$ac_check_lib_save_LIBS
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9822 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9823 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9825 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9831 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9832 then
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9834 $as_echo_n "checking for -lXcursor... " >&6; }
9835 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_check_soname_save_LIBS=$LIBS
9839 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9846 #ifdef __cplusplus
9847 extern "C"
9848 #endif
9849 char XcursorImageLoadCursor ();
9851 main ()
9853 return XcursorImageLoadCursor ();
9855 return 0;
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 case "$LIBEXT" in
9860 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9861 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'` ;;
9862 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9863 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9864 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9865 fi ;;
9866 esac
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 LIBS=$ac_check_soname_save_LIBS
9872 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9874 $as_echo "not found" >&6; }
9876 else
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9878 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9880 cat >>confdefs.h <<_ACEOF
9881 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9882 _ACEOF
9887 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9888 case "x$with_xcursor" in
9889 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9890 xno) ;;
9891 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9892 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9893 esac
9897 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9898 then
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9900 $as_echo_n "checking for -lXi... " >&6; }
9901 if ${ac_cv_lib_soname_Xi+:} false; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 ac_check_soname_save_LIBS=$LIBS
9905 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9909 /* Override any GCC internal prototype to avoid an error.
9910 Use char because int might match the return type of a GCC
9911 builtin and then its argument prototype would still apply. */
9912 #ifdef __cplusplus
9913 extern "C"
9914 #endif
9915 char XOpenDevice ();
9917 main ()
9919 return XOpenDevice ();
9921 return 0;
9923 _ACEOF
9924 if ac_fn_c_try_link "$LINENO"; then :
9925 case "$LIBEXT" in
9926 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9927 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'` ;;
9928 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9929 if ${ac_cv_lib_soname_Xi:+false} :; then :
9930 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9931 fi ;;
9932 esac
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 LIBS=$ac_check_soname_save_LIBS
9938 if ${ac_cv_lib_soname_Xi:+false} :; then :
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9940 $as_echo "not found" >&6; }
9942 else
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9944 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9946 cat >>confdefs.h <<_ACEOF
9947 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9948 _ACEOF
9953 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9954 case "x$with_xinput" in
9955 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9956 xno) ;;
9957 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9958 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9959 esac
9963 if test "x$ac_cv_lib_soname_Xi" != x
9964 then
9965 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9966 case "x$with_xinput2" in
9967 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9968 xno) ;;
9969 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9970 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9971 esac
9976 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9977 then
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9979 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9980 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9981 $as_echo_n "(cached) " >&6
9982 else
9983 ac_check_lib_save_LIBS=$LIBS
9984 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9986 /* end confdefs.h. */
9988 /* Override any GCC internal prototype to avoid an error.
9989 Use char because int might match the return type of a GCC
9990 builtin and then its argument prototype would still apply. */
9991 #ifdef __cplusplus
9992 extern "C"
9993 #endif
9994 char XShmQueryExtension ();
9996 main ()
9998 return XShmQueryExtension ();
10000 return 0;
10002 _ACEOF
10003 if ac_fn_c_try_link "$LINENO"; then :
10004 ac_cv_lib_Xext_XShmQueryExtension=yes
10005 else
10006 ac_cv_lib_Xext_XShmQueryExtension=no
10008 rm -f core conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 LIBS=$ac_check_lib_save_LIBS
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10013 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10014 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10016 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10021 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10022 case "x$with_xshm" in
10023 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10024 xno) ;;
10025 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10026 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10027 esac
10031 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10032 then
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10034 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10035 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10036 $as_echo_n "(cached) " >&6
10037 else
10038 ac_check_lib_save_LIBS=$LIBS
10039 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10046 #ifdef __cplusplus
10047 extern "C"
10048 #endif
10049 char XShapeQueryExtension ();
10051 main ()
10053 return XShapeQueryExtension ();
10055 return 0;
10057 _ACEOF
10058 if ac_fn_c_try_link "$LINENO"; then :
10059 ac_cv_lib_Xext_XShapeQueryExtension=yes
10060 else
10061 ac_cv_lib_Xext_XShapeQueryExtension=no
10063 rm -f core conftest.err conftest.$ac_objext \
10064 conftest$ac_exeext conftest.$ac_ext
10065 LIBS=$ac_check_lib_save_LIBS
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10068 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10069 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10071 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10076 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10077 case "x$with_xshape" in
10078 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10079 xno) ;;
10080 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10081 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10082 esac
10086 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10087 then
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10089 $as_echo_n "checking for -lXxf86vm... " >&6; }
10090 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10091 $as_echo_n "(cached) " >&6
10092 else
10093 ac_check_soname_save_LIBS=$LIBS
10094 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10101 #ifdef __cplusplus
10102 extern "C"
10103 #endif
10104 char XF86VidModeQueryExtension ();
10106 main ()
10108 return XF86VidModeQueryExtension ();
10110 return 0;
10112 _ACEOF
10113 if ac_fn_c_try_link "$LINENO"; then :
10114 case "$LIBEXT" in
10115 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10116 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'` ;;
10117 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10118 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10119 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10120 fi ;;
10121 esac
10123 rm -f core conftest.err conftest.$ac_objext \
10124 conftest$ac_exeext conftest.$ac_ext
10125 LIBS=$ac_check_soname_save_LIBS
10127 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10129 $as_echo "not found" >&6; }
10131 else
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10133 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10135 cat >>confdefs.h <<_ACEOF
10136 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10137 _ACEOF
10142 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10143 case "x$with_xxf86vm" in
10144 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10145 xno) ;;
10146 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10147 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10148 esac
10152 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10153 then
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10155 $as_echo_n "checking for -lXrender... " >&6; }
10156 if ${ac_cv_lib_soname_Xrender+:} false; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 ac_check_soname_save_LIBS=$LIBS
10160 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10164 /* Override any GCC internal prototype to avoid an error.
10165 Use char because int might match the return type of a GCC
10166 builtin and then its argument prototype would still apply. */
10167 #ifdef __cplusplus
10168 extern "C"
10169 #endif
10170 char XRenderQueryExtension ();
10172 main ()
10174 return XRenderQueryExtension ();
10176 return 0;
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"; then :
10180 case "$LIBEXT" in
10181 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10182 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'` ;;
10183 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10184 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10185 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10186 fi ;;
10187 esac
10189 rm -f core conftest.err conftest.$ac_objext \
10190 conftest$ac_exeext conftest.$ac_ext
10191 LIBS=$ac_check_soname_save_LIBS
10193 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10195 $as_echo "not found" >&6; }
10197 else
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10199 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10201 cat >>confdefs.h <<_ACEOF
10202 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10203 _ACEOF
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10206 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10207 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10208 $as_echo_n "(cached) " >&6
10209 else
10210 ac_check_lib_save_LIBS=$LIBS
10211 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10218 #ifdef __cplusplus
10219 extern "C"
10220 #endif
10221 char XRenderSetPictureTransform ();
10223 main ()
10225 return XRenderSetPictureTransform ();
10227 return 0;
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"; then :
10231 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10232 else
10233 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 LIBS=$ac_check_lib_save_LIBS
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10240 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10241 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10243 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10248 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10249 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_check_lib_save_LIBS=$LIBS
10253 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10260 #ifdef __cplusplus
10261 extern "C"
10262 #endif
10263 char XRenderCreateLinearGradient ();
10265 main ()
10267 return XRenderCreateLinearGradient ();
10269 return 0;
10271 _ACEOF
10272 if ac_fn_c_try_link "$LINENO"; then :
10273 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10274 else
10275 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10277 rm -f core conftest.err conftest.$ac_objext \
10278 conftest$ac_exeext conftest.$ac_ext
10279 LIBS=$ac_check_lib_save_LIBS
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10282 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10283 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10285 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10292 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10293 case "x$with_xrender" in
10294 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10295 xno) ;;
10296 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10297 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10298 esac
10302 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10303 then
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10306 #include <X11/Xlib.h>
10307 #include <X11/extensions/Xrandr.h>
10309 main ()
10311 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10313 return 0;
10315 _ACEOF
10316 if ac_fn_c_try_compile "$LINENO"; then :
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10318 $as_echo_n "checking for -lXrandr... " >&6; }
10319 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_check_soname_save_LIBS=$LIBS
10323 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10327 /* Override any GCC internal prototype to avoid an error.
10328 Use char because int might match the return type of a GCC
10329 builtin and then its argument prototype would still apply. */
10330 #ifdef __cplusplus
10331 extern "C"
10332 #endif
10333 char XRRQueryExtension ();
10335 main ()
10337 return XRRQueryExtension ();
10339 return 0;
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 case "$LIBEXT" in
10344 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10345 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'` ;;
10346 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10347 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10348 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10349 fi ;;
10350 esac
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 LIBS=$ac_check_soname_save_LIBS
10356 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10358 $as_echo "not found" >&6; }
10360 else
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10362 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10364 cat >>confdefs.h <<_ACEOF
10365 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10366 _ACEOF
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10370 #include <X11/Xlib.h>
10371 #include <X11/extensions/Xrandr.h>
10373 main ()
10375 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10377 return 0;
10379 _ACEOF
10380 if ac_fn_c_try_compile "$LINENO"; then :
10382 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10390 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10391 case "x$with_xrandr" in
10392 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10393 xno) ;;
10394 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10395 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10396 esac
10400 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10401 then
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10404 #include <X11/Xlib.h>
10405 #include <X11/extensions/Xinerama.h>
10407 main ()
10409 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10411 return 0;
10413 _ACEOF
10414 if ac_fn_c_try_compile "$LINENO"; then :
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10416 $as_echo_n "checking for -lXinerama... " >&6; }
10417 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10418 $as_echo_n "(cached) " >&6
10419 else
10420 ac_check_soname_save_LIBS=$LIBS
10421 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10425 /* Override any GCC internal prototype to avoid an error.
10426 Use char because int might match the return type of a GCC
10427 builtin and then its argument prototype would still apply. */
10428 #ifdef __cplusplus
10429 extern "C"
10430 #endif
10431 char XineramaQueryScreens ();
10433 main ()
10435 return XineramaQueryScreens ();
10437 return 0;
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10441 case "$LIBEXT" in
10442 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10443 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'` ;;
10444 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10445 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10446 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10447 fi ;;
10448 esac
10450 rm -f core conftest.err conftest.$ac_objext \
10451 conftest$ac_exeext conftest.$ac_ext
10452 LIBS=$ac_check_soname_save_LIBS
10454 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10456 $as_echo "not found" >&6; }
10458 else
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10460 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10462 cat >>confdefs.h <<_ACEOF
10463 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10464 _ACEOF
10469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10471 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10472 case "x$with_xinerama" in
10473 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10474 xno) ;;
10475 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10476 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10477 esac
10481 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10482 then
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10484 $as_echo_n "checking for -lXcomposite... " >&6; }
10485 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10486 $as_echo_n "(cached) " >&6
10487 else
10488 ac_check_soname_save_LIBS=$LIBS
10489 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10491 /* end confdefs.h. */
10493 /* Override any GCC internal prototype to avoid an error.
10494 Use char because int might match the return type of a GCC
10495 builtin and then its argument prototype would still apply. */
10496 #ifdef __cplusplus
10497 extern "C"
10498 #endif
10499 char XCompositeRedirectWindow ();
10501 main ()
10503 return XCompositeRedirectWindow ();
10505 return 0;
10507 _ACEOF
10508 if ac_fn_c_try_link "$LINENO"; then :
10509 case "$LIBEXT" in
10510 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10511 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'` ;;
10512 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10513 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10514 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10515 fi ;;
10516 esac
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 LIBS=$ac_check_soname_save_LIBS
10522 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10524 $as_echo "not found" >&6; }
10526 else
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10528 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10530 cat >>confdefs.h <<_ACEOF
10531 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10532 _ACEOF
10537 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10538 case "x$with_xcomposite" in
10539 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10540 xno) ;;
10541 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10542 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10543 esac
10547 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10548 #include <X11/Xlib.h>
10549 #endif
10551 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10553 cat >>confdefs.h <<_ACEOF
10554 #define HAVE_XICCALLBACK_CALLBACK 1
10555 _ACEOF
10559 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10560 #include <X11/Xlib.h>
10561 #endif
10563 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10565 cat >>confdefs.h <<_ACEOF
10566 #define HAVE_XEVENT_XCOOKIE 1
10567 _ACEOF
10574 opengl_msg=""
10575 if test "x$with_opengl" != "xno"
10576 then
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10578 $as_echo_n "checking for -lGL... " >&6; }
10579 if ${ac_cv_lib_soname_GL+:} false; then :
10580 $as_echo_n "(cached) " >&6
10581 else
10582 ac_check_soname_save_LIBS=$LIBS
10583 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10585 /* end confdefs.h. */
10587 /* Override any GCC internal prototype to avoid an error.
10588 Use char because int might match the return type of a GCC
10589 builtin and then its argument prototype would still apply. */
10590 #ifdef __cplusplus
10591 extern "C"
10592 #endif
10593 char glXCreateContext ();
10595 main ()
10597 return glXCreateContext ();
10599 return 0;
10601 _ACEOF
10602 if ac_fn_c_try_link "$LINENO"; then :
10603 case "$LIBEXT" in
10604 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10605 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'` ;;
10606 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10607 if ${ac_cv_lib_soname_GL:+false} :; then :
10608 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10609 fi ;;
10610 esac
10612 rm -f core conftest.err conftest.$ac_objext \
10613 conftest$ac_exeext conftest.$ac_ext
10614 LIBS=$ac_check_soname_save_LIBS
10616 if ${ac_cv_lib_soname_GL:+false} :; then :
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10618 $as_echo "not found" >&6; }
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10620 $as_echo_n "checking for -lGL... " >&6; }
10621 if ${ac_cv_lib_soname_GL+:} false; then :
10622 $as_echo_n "(cached) " >&6
10623 else
10624 ac_check_soname_save_LIBS=$LIBS
10625 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"
10626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10627 /* end confdefs.h. */
10629 /* Override any GCC internal prototype to avoid an error.
10630 Use char because int might match the return type of a GCC
10631 builtin and then its argument prototype would still apply. */
10632 #ifdef __cplusplus
10633 extern "C"
10634 #endif
10635 char glXCreateContext ();
10637 main ()
10639 return glXCreateContext ();
10641 return 0;
10643 _ACEOF
10644 if ac_fn_c_try_link "$LINENO"; then :
10645 case "$LIBEXT" in
10646 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10647 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'` ;;
10648 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10649 if ${ac_cv_lib_soname_GL:+false} :; then :
10650 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10651 fi ;;
10652 esac
10654 rm -f core conftest.err conftest.$ac_objext \
10655 conftest$ac_exeext conftest.$ac_ext
10656 LIBS=$ac_check_soname_save_LIBS
10658 if ${ac_cv_lib_soname_GL:+false} :; then :
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10660 $as_echo "not found" >&6; }
10661 if test -f /usr/X11R6/lib/libGL.a
10662 then
10663 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10664 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10665 else
10666 opengl_msg="No OpenGL library found on this system."
10668 else
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10670 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10672 cat >>confdefs.h <<_ACEOF
10673 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10674 _ACEOF
10676 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"
10678 else
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10680 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10682 cat >>confdefs.h <<_ACEOF
10683 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10684 _ACEOF
10686 OPENGL_LIBS="-lGL"
10688 if test "x$with_glu" != "xno"
10689 then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10691 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10692 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10693 $as_echo_n "(cached) " >&6
10694 else
10695 ac_check_lib_save_LIBS=$LIBS
10696 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10703 #ifdef __cplusplus
10704 extern "C"
10705 #endif
10706 char gluLookAt ();
10708 main ()
10710 return gluLookAt ();
10712 return 0;
10714 _ACEOF
10715 if ac_fn_c_try_link "$LINENO"; then :
10716 ac_cv_lib_GLU_gluLookAt=yes
10717 else
10718 ac_cv_lib_GLU_gluLookAt=no
10720 rm -f core conftest.err conftest.$ac_objext \
10721 conftest$ac_exeext conftest.$ac_ext
10722 LIBS=$ac_check_lib_save_LIBS
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10725 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10726 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10730 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10731 case "x$with_glu" in
10732 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10733 xno) ;;
10734 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10735 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10736 esac
10741 if test "x$with_osmesa" != "xno"
10742 then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10744 $as_echo_n "checking for -lOSMesa... " >&6; }
10745 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_soname_save_LIBS=$LIBS
10749 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char glAccum ();
10761 main ()
10763 return glAccum ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 case "$LIBEXT" in
10770 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10771 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'` ;;
10772 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10773 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10774 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10775 fi ;;
10776 esac
10778 rm -f core conftest.err conftest.$ac_objext \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_soname_save_LIBS
10782 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10784 $as_echo "not found" >&6; }
10786 else
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10788 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10790 cat >>confdefs.h <<_ACEOF
10791 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10792 _ACEOF
10796 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10797 case "x$with_osmesa" in
10798 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10799 xno) ;;
10800 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10801 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10802 esac
10807 if test -n "$opengl_msg"; then :
10808 case "x$with_opengl" in
10809 x) as_fn_append wine_warnings "|$opengl_msg
10810 OpenGL and Direct3D won't be supported." ;;
10811 xno) ;;
10812 *) as_fn_error $? "$opengl_msg
10813 OpenGL and Direct3D won't be supported.
10814 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10815 esac
10819 CPPFLAGS="$ac_save_CPPFLAGS"
10820 else
10821 X_CFLAGS=""
10822 X_LIBS=""
10824 if test "x$X_LIBS" = "x"; then :
10825 case "x$with_x" in
10826 xno) ;;
10827 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10828 without X support, which probably isn't what you want. You will need
10829 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10830 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10831 esac
10832 enable_winex11_drv=${enable_winex11_drv:-no}
10835 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10837 if test "$ac_cv_header_CL_cl_h" = "yes"
10838 then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10840 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10841 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10842 $as_echo_n "(cached) " >&6
10843 else
10844 ac_check_lib_save_LIBS=$LIBS
10845 LIBS="-lOpenCL $LIBS"
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10849 /* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10852 #ifdef __cplusplus
10853 extern "C"
10854 #endif
10855 char clGetPlatformInfo ();
10857 main ()
10859 return clGetPlatformInfo ();
10861 return 0;
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"; then :
10865 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10866 else
10867 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10869 rm -f core conftest.err conftest.$ac_objext \
10870 conftest$ac_exeext conftest.$ac_ext
10871 LIBS=$ac_check_lib_save_LIBS
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10874 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10875 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10876 OPENCL_LIBS="-lOpenCL"
10881 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10882 case "x$with_opencl" in
10883 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10884 xno) ;;
10885 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10886 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10887 esac
10888 enable_opencl=${enable_opencl:-no}
10891 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10892 then
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10894 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10895 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10896 $as_echo_n "(cached) " >&6
10897 else
10898 ac_check_lib_save_LIBS=$LIBS
10899 LIBS="-lpcap $LIBS"
10900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10903 /* Override any GCC internal prototype to avoid an error.
10904 Use char because int might match the return type of a GCC
10905 builtin and then its argument prototype would still apply. */
10906 #ifdef __cplusplus
10907 extern "C"
10908 #endif
10909 char pcap_create ();
10911 main ()
10913 return pcap_create ();
10915 return 0;
10917 _ACEOF
10918 if ac_fn_c_try_link "$LINENO"; then :
10919 ac_cv_lib_pcap_pcap_create=yes
10920 else
10921 ac_cv_lib_pcap_pcap_create=no
10923 rm -f core conftest.err conftest.$ac_objext \
10924 conftest$ac_exeext conftest.$ac_ext
10925 LIBS=$ac_check_lib_save_LIBS
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10928 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10929 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10930 PCAP_LIBS="-lpcap"
10935 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10936 case "x$with_pcap" in
10937 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10938 xno) ;;
10939 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10940 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10941 esac
10942 enable_wpcap=${enable_wpcap:-no}
10946 if test "x$with_xml" != "xno"
10947 then
10948 if ${XML2_CFLAGS:+false} :; then :
10949 if ${PKG_CONFIG+:} false; then :
10950 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10953 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10954 if ${XML2_LIBS:+false} :; then :
10955 if ${PKG_CONFIG+:} false; then :
10956 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10959 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10960 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10961 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10962 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10963 ac_save_CPPFLAGS=$CPPFLAGS
10964 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10965 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10966 do :
10967 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10968 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10969 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10970 cat >>confdefs.h <<_ACEOF
10971 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10972 _ACEOF
10976 done
10978 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"
10979 then
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10981 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10982 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10983 $as_echo_n "(cached) " >&6
10984 else
10985 ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lxml2 $XML2_LIBS $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char xmlParseMemory ();
10998 main ()
11000 return xmlParseMemory ();
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 ac_cv_lib_xml2_xmlParseMemory=yes
11007 else
11008 ac_cv_lib_xml2_xmlParseMemory=no
11010 rm -f core conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11012 LIBS=$ac_check_lib_save_LIBS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11015 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11016 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11018 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11020 else
11021 XML2_LIBS=""
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11025 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11026 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11027 $as_echo_n "(cached) " >&6
11028 else
11029 ac_check_lib_save_LIBS=$LIBS
11030 LIBS="-lxml2 $XML2_LIBS $LIBS"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11037 #ifdef __cplusplus
11038 extern "C"
11039 #endif
11040 char xmlReadMemory ();
11042 main ()
11044 return xmlReadMemory ();
11046 return 0;
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"; then :
11050 ac_cv_lib_xml2_xmlReadMemory=yes
11051 else
11052 ac_cv_lib_xml2_xmlReadMemory=no
11054 rm -f core conftest.err conftest.$ac_objext \
11055 conftest$ac_exeext conftest.$ac_ext
11056 LIBS=$ac_check_lib_save_LIBS
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11059 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11060 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11062 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11067 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11068 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_lib_save_LIBS=$LIBS
11072 LIBS="-lxml2 $XML2_LIBS $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char xmlNewDocPI ();
11084 main ()
11086 return xmlNewDocPI ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 ac_cv_lib_xml2_xmlNewDocPI=yes
11093 else
11094 ac_cv_lib_xml2_xmlNewDocPI=no
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_lib_save_LIBS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11101 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11102 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11104 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11109 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11110 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11111 $as_echo_n "(cached) " >&6
11112 else
11113 ac_check_lib_save_LIBS=$LIBS
11114 LIBS="-lxml2 $XML2_LIBS $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char xmlSchemaSetParserStructuredErrors ();
11126 main ()
11128 return xmlSchemaSetParserStructuredErrors ();
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11135 else
11136 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11143 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11144 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11146 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11151 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11152 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 ac_check_lib_save_LIBS=$LIBS
11156 LIBS="-lxml2 $XML2_LIBS $LIBS"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char xmlSchemaSetValidStructuredErrors ();
11168 main ()
11170 return xmlSchemaSetValidStructuredErrors ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11176 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11177 else
11178 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11180 rm -f core conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 LIBS=$ac_check_lib_save_LIBS
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11185 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11186 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11188 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11193 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11194 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11195 $as_echo_n "(cached) " >&6
11196 else
11197 ac_check_lib_save_LIBS=$LIBS
11198 LIBS="-lxml2 $XML2_LIBS $LIBS"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11202 /* Override any GCC internal prototype to avoid an error.
11203 Use char because int might match the return type of a GCC
11204 builtin and then its argument prototype would still apply. */
11205 #ifdef __cplusplus
11206 extern "C"
11207 #endif
11208 char xmlFirstElementChild ();
11210 main ()
11212 return xmlFirstElementChild ();
11214 return 0;
11216 _ACEOF
11217 if ac_fn_c_try_link "$LINENO"; then :
11218 ac_cv_lib_xml2_xmlFirstElementChild=yes
11219 else
11220 ac_cv_lib_xml2_xmlFirstElementChild=no
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11227 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11228 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11230 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11234 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11236 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11238 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11242 else
11243 XML2_CFLAGS=""
11244 XML2_LIBS=""
11246 CPPFLAGS=$ac_save_CPPFLAGS
11247 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11248 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11251 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11252 case "x$with_xml" in
11253 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11254 xno) ;;
11255 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11256 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11257 esac
11261 if test "x$with_xslt" != "xno"
11262 then
11263 if ${XSLT_CFLAGS:+false} :; then :
11264 if ${PKG_CONFIG+:} false; then :
11265 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11268 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11269 if ${XSLT_LIBS:+false} :; then :
11270 if ${PKG_CONFIG+:} false; then :
11271 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11274 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11275 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11276 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11277 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11278 ac_save_CPPFLAGS=$CPPFLAGS
11279 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11280 for ac_header in libxslt/pattern.h libxslt/transform.h
11281 do :
11282 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11283 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11284 # include <libxslt/pattern.h>
11285 #endif
11287 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11288 cat >>confdefs.h <<_ACEOF
11289 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11290 _ACEOF
11294 done
11296 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11297 then
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11299 $as_echo_n "checking for -lxslt... " >&6; }
11300 if ${ac_cv_lib_soname_xslt+:} false; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 ac_check_soname_save_LIBS=$LIBS
11304 LIBS="-lxslt $XSLT_LIBS $LIBS"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11311 #ifdef __cplusplus
11312 extern "C"
11313 #endif
11314 char xsltCompilePattern ();
11316 main ()
11318 return xsltCompilePattern ();
11320 return 0;
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"; then :
11324 case "$LIBEXT" in
11325 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11326 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'` ;;
11327 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11328 if ${ac_cv_lib_soname_xslt:+false} :; then :
11329 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11330 fi ;;
11331 esac
11333 rm -f core conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 LIBS=$ac_check_soname_save_LIBS
11337 if ${ac_cv_lib_soname_xslt:+false} :; then :
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11339 $as_echo "not found" >&6; }
11341 else
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11343 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11345 cat >>confdefs.h <<_ACEOF
11346 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11347 _ACEOF
11351 else
11352 XSLT_CFLAGS=""
11354 CPPFLAGS=$ac_save_CPPFLAGS
11355 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11356 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11359 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11360 case "x$with_xslt" in
11361 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11362 xno) ;;
11363 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11364 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11365 esac
11369 if test "x$with_dbus" != "xno"
11370 then
11371 if ${DBUS_CFLAGS:+false} :; then :
11372 if ${PKG_CONFIG+:} false; then :
11373 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11377 if ${DBUS_LIBS:+false} :; then :
11378 if ${PKG_CONFIG+:} false; then :
11379 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11384 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11385 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11386 ac_save_CPPFLAGS=$CPPFLAGS
11387 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11388 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11389 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11391 $as_echo_n "checking for -ldbus-1... " >&6; }
11392 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11393 $as_echo_n "(cached) " >&6
11394 else
11395 ac_check_soname_save_LIBS=$LIBS
11396 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11400 /* Override any GCC internal prototype to avoid an error.
11401 Use char because int might match the return type of a GCC
11402 builtin and then its argument prototype would still apply. */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 char dbus_connection_close ();
11408 main ()
11410 return dbus_connection_close ();
11412 return 0;
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"; then :
11416 case "$LIBEXT" in
11417 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11418 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'` ;;
11419 *) 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'`
11420 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11421 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11422 fi ;;
11423 esac
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_soname_save_LIBS
11429 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11431 $as_echo "not found" >&6; }
11432 DBUS_CFLAGS=""
11433 else
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11435 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11437 cat >>confdefs.h <<_ACEOF
11438 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11439 _ACEOF
11443 else
11444 DBUS_CFLAGS=""
11448 CPPFLAGS=$ac_save_CPPFLAGS
11449 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11450 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11453 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11454 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11455 case "x$with_dbus" in
11456 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11457 xno) ;;
11458 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11459 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11460 esac
11464 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11465 then
11466 if ${HAL_CFLAGS:+false} :; then :
11467 if ${PKG_CONFIG+:} false; then :
11468 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11472 if ${HAL_LIBS:+false} :; then :
11473 if ${PKG_CONFIG+:} false; then :
11474 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11478 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11479 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11480 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11481 ac_save_CPPFLAGS=$CPPFLAGS
11482 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11483 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11484 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11486 $as_echo_n "checking for -lhal... " >&6; }
11487 if ${ac_cv_lib_soname_hal+:} false; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_soname_save_LIBS=$LIBS
11491 LIBS="-lhal $HAL_LIBS $LIBS"
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11498 #ifdef __cplusplus
11499 extern "C"
11500 #endif
11501 char libhal_ctx_new ();
11503 main ()
11505 return libhal_ctx_new ();
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"; then :
11511 case "$LIBEXT" in
11512 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11513 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'` ;;
11514 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11515 if ${ac_cv_lib_soname_hal:+false} :; then :
11516 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11517 fi ;;
11518 esac
11520 rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_soname_save_LIBS
11524 if ${ac_cv_lib_soname_hal:+false} :; then :
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11526 $as_echo "not found" >&6; }
11527 HAL_CFLAGS=""
11528 else
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11530 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11532 cat >>confdefs.h <<_ACEOF
11533 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11534 _ACEOF
11538 else
11539 HAL_CFLAGS=""
11543 CPPFLAGS=$ac_save_CPPFLAGS
11544 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11545 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11547 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11548 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11549 case "x$with_hal" in
11550 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11551 xno) ;;
11552 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11553 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11554 esac
11559 if test "x$with_gnutls" != "xno"
11560 then
11561 if ${GNUTLS_CFLAGS:+false} :; then :
11562 if ${PKG_CONFIG+:} false; then :
11563 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11567 if ${GNUTLS_LIBS:+false} :; then :
11568 if ${PKG_CONFIG+:} false; then :
11569 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11574 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11575 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11576 ac_save_CPPFLAGS=$CPPFLAGS
11577 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11578 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11579 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11582 #include <gnutls/gnutls.h>
11583 #include <gnutls/crypto.h>
11585 main ()
11587 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11589 return 0;
11591 _ACEOF
11592 if ac_fn_c_try_compile "$LINENO"; then :
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11594 $as_echo_n "checking for -lgnutls... " >&6; }
11595 if ${ac_cv_lib_soname_gnutls+:} false; then :
11596 $as_echo_n "(cached) " >&6
11597 else
11598 ac_check_soname_save_LIBS=$LIBS
11599 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11606 #ifdef __cplusplus
11607 extern "C"
11608 #endif
11609 char gnutls_global_init ();
11611 main ()
11613 return gnutls_global_init ();
11615 return 0;
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"; then :
11619 case "$LIBEXT" in
11620 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11621 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'` ;;
11622 *) 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'`
11623 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11624 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'`
11625 fi ;;
11626 esac
11628 rm -f core conftest.err conftest.$ac_objext \
11629 conftest$ac_exeext conftest.$ac_ext
11630 LIBS=$ac_check_soname_save_LIBS
11632 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11634 $as_echo "not found" >&6; }
11635 GNUTLS_CFLAGS=""
11636 else
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11638 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11640 cat >>confdefs.h <<_ACEOF
11641 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11642 _ACEOF
11646 ac_wine_check_funcs_save_LIBS="$LIBS"
11647 LIBS="$LIBS $GNUTLS_LIBS"
11648 for ac_func in gnutls_hash
11649 do :
11650 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11651 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11652 cat >>confdefs.h <<_ACEOF
11653 #define HAVE_GNUTLS_HASH 1
11654 _ACEOF
11656 else
11657 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11659 done
11661 LIBS="$ac_wine_check_funcs_save_LIBS"
11663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11664 else
11665 GNUTLS_CFLAGS=""
11669 CPPFLAGS=$ac_save_CPPFLAGS
11670 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11671 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11674 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11675 case "x$with_gnutls" in
11676 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11677 xno) ;;
11678 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11679 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11680 esac
11684 CURSES_LIBS=""
11685 if test "$ac_cv_header_ncurses_h" = "yes"
11686 then
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11688 $as_echo_n "checking for -lncurses... " >&6; }
11689 if ${ac_cv_lib_soname_ncurses+:} false; then :
11690 $as_echo_n "(cached) " >&6
11691 else
11692 ac_check_soname_save_LIBS=$LIBS
11693 LIBS="-lncurses $LIBS"
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11700 #ifdef __cplusplus
11701 extern "C"
11702 #endif
11703 char waddch ();
11705 main ()
11707 return waddch ();
11709 return 0;
11711 _ACEOF
11712 if ac_fn_c_try_link "$LINENO"; then :
11713 case "$LIBEXT" in
11714 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11715 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'` ;;
11716 *) 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'`
11717 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11718 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11719 fi ;;
11720 esac
11722 rm -f core conftest.err conftest.$ac_objext \
11723 conftest$ac_exeext conftest.$ac_ext
11724 LIBS=$ac_check_soname_save_LIBS
11726 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11728 $as_echo "not found" >&6; }
11730 else
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11732 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11734 cat >>confdefs.h <<_ACEOF
11735 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11736 _ACEOF
11738 CURSES_LIBS="-lncurses"
11740 elif test "$ac_cv_header_curses_h" = "yes"
11741 then
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11743 $as_echo_n "checking for -lcurses... " >&6; }
11744 if ${ac_cv_lib_soname_curses+:} false; then :
11745 $as_echo_n "(cached) " >&6
11746 else
11747 ac_check_soname_save_LIBS=$LIBS
11748 LIBS="-lcurses $LIBS"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11752 /* Override any GCC internal prototype to avoid an error.
11753 Use char because int might match the return type of a GCC
11754 builtin and then its argument prototype would still apply. */
11755 #ifdef __cplusplus
11756 extern "C"
11757 #endif
11758 char waddch ();
11760 main ()
11762 return waddch ();
11764 return 0;
11766 _ACEOF
11767 if ac_fn_c_try_link "$LINENO"; then :
11768 case "$LIBEXT" in
11769 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11770 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'` ;;
11771 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11772 if ${ac_cv_lib_soname_curses:+false} :; then :
11773 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11774 fi ;;
11775 esac
11777 rm -f core conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11779 LIBS=$ac_check_soname_save_LIBS
11781 if ${ac_cv_lib_soname_curses:+false} :; then :
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11783 $as_echo "not found" >&6; }
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11787 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11789 cat >>confdefs.h <<_ACEOF
11790 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11791 _ACEOF
11793 CURSES_LIBS="-lcurses"
11796 ac_save_LIBS="$LIBS"
11797 LIBS="$LIBS $CURSES_LIBS"
11798 for ac_func in mousemask
11799 do :
11800 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11801 if test "x$ac_cv_func_mousemask" = xyes; then :
11802 cat >>confdefs.h <<_ACEOF
11803 #define HAVE_MOUSEMASK 1
11804 _ACEOF
11807 done
11809 LIBS="$ac_save_LIBS"
11810 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11811 case "x$with_curses" in
11812 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11813 xno) ;;
11814 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11815 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11816 esac
11820 if test "x$with_sane" != "xno"
11821 then
11822 if ${SANE_CFLAGS:+false} :; then :
11823 if ${PKG_CONFIG+:} false; then :
11824 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11827 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11828 if ${SANE_LIBS:+false} :; then :
11829 if ${PKG_CONFIG+:} false; then :
11830 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11833 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11835 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11836 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11837 ac_save_CPPFLAGS=$CPPFLAGS
11838 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11839 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11840 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11842 $as_echo_n "checking for -lsane... " >&6; }
11843 if ${ac_cv_lib_soname_sane+:} false; then :
11844 $as_echo_n "(cached) " >&6
11845 else
11846 ac_check_soname_save_LIBS=$LIBS
11847 LIBS="-lsane $SANE_LIBS $LIBS"
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11851 /* Override any GCC internal prototype to avoid an error.
11852 Use char because int might match the return type of a GCC
11853 builtin and then its argument prototype would still apply. */
11854 #ifdef __cplusplus
11855 extern "C"
11856 #endif
11857 char sane_init ();
11859 main ()
11861 return sane_init ();
11863 return 0;
11865 _ACEOF
11866 if ac_fn_c_try_link "$LINENO"; then :
11867 case "$LIBEXT" in
11868 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11869 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'` ;;
11870 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11871 if ${ac_cv_lib_soname_sane:+false} :; then :
11872 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11873 fi ;;
11874 esac
11876 rm -f core conftest.err conftest.$ac_objext \
11877 conftest$ac_exeext conftest.$ac_ext
11878 LIBS=$ac_check_soname_save_LIBS
11880 if ${ac_cv_lib_soname_sane:+false} :; then :
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11882 $as_echo "not found" >&6; }
11883 SANE_CFLAGS=""
11884 else
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11886 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11888 cat >>confdefs.h <<_ACEOF
11889 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11890 _ACEOF
11894 else
11895 SANE_CFLAGS=""
11899 CPPFLAGS=$ac_save_CPPFLAGS
11900 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11901 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11904 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11905 case "x$with_sane" in
11906 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11907 xno) ;;
11908 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11909 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11910 esac
11914 if test "x$with_v4l" != "xno"
11915 then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11917 $as_echo_n "checking for -lv4l1... " >&6; }
11918 if ${ac_cv_lib_soname_v4l1+:} false; then :
11919 $as_echo_n "(cached) " >&6
11920 else
11921 ac_check_soname_save_LIBS=$LIBS
11922 LIBS="-lv4l1 $LIBS"
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11929 #ifdef __cplusplus
11930 extern "C"
11931 #endif
11932 char v4l1_open ();
11934 main ()
11936 return v4l1_open ();
11938 return 0;
11940 _ACEOF
11941 if ac_fn_c_try_link "$LINENO"; then :
11942 case "$LIBEXT" in
11943 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11944 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'` ;;
11945 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11946 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11947 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11948 fi ;;
11949 esac
11951 rm -f core conftest.err conftest.$ac_objext \
11952 conftest$ac_exeext conftest.$ac_ext
11953 LIBS=$ac_check_soname_save_LIBS
11955 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11957 $as_echo "not found" >&6; }
11959 else
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11961 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11963 cat >>confdefs.h <<_ACEOF
11964 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11965 _ACEOF
11970 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11971 case "x$with_v4l" in
11972 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11973 xno) ;;
11974 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11975 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11976 esac
11980 if test "x$with_gphoto" != "xno"
11981 then
11982 if ${GPHOTO2_CFLAGS:+false} :; then :
11983 if ${PKG_CONFIG+:} false; then :
11984 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11987 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11988 if ${GPHOTO2_LIBS:+false} :; then :
11989 if ${PKG_CONFIG+:} false; then :
11990 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11993 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11994 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11995 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11996 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11997 ac_save_CPPFLAGS=$CPPFLAGS
11998 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11999 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12000 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12002 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12003 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12004 $as_echo_n "(cached) " >&6
12005 else
12006 ac_check_lib_save_LIBS=$LIBS
12007 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12011 /* Override any GCC internal prototype to avoid an error.
12012 Use char because int might match the return type of a GCC
12013 builtin and then its argument prototype would still apply. */
12014 #ifdef __cplusplus
12015 extern "C"
12016 #endif
12017 char gp_camera_new ();
12019 main ()
12021 return gp_camera_new ();
12023 return 0;
12025 _ACEOF
12026 if ac_fn_c_try_link "$LINENO"; then :
12027 ac_cv_lib_gphoto2_gp_camera_new=yes
12028 else
12029 ac_cv_lib_gphoto2_gp_camera_new=no
12031 rm -f core conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_lib_save_LIBS
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12036 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12037 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12039 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12041 else
12042 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12045 else
12046 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12050 CPPFLAGS=$ac_save_CPPFLAGS
12051 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12052 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12054 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12055 if ${PKG_CONFIG+:} false; then :
12056 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12059 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12060 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12061 if ${PKG_CONFIG+:} false; then :
12062 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12065 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12066 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12067 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12068 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12069 ac_save_CPPFLAGS=$CPPFLAGS
12070 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12071 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12072 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12074 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12075 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12076 $as_echo_n "(cached) " >&6
12077 else
12078 ac_check_lib_save_LIBS=$LIBS
12079 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12083 /* Override any GCC internal prototype to avoid an error.
12084 Use char because int might match the return type of a GCC
12085 builtin and then its argument prototype would still apply. */
12086 #ifdef __cplusplus
12087 extern "C"
12088 #endif
12089 char gp_port_info_list_new ();
12091 main ()
12093 return gp_port_info_list_new ();
12095 return 0;
12097 _ACEOF
12098 if ac_fn_c_try_link "$LINENO"; then :
12099 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12100 else
12101 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12103 rm -f core conftest.err conftest.$ac_objext \
12104 conftest$ac_exeext conftest.$ac_ext
12105 LIBS=$ac_check_lib_save_LIBS
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12108 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12109 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12111 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12113 else
12114 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12117 else
12118 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12122 CPPFLAGS=$ac_save_CPPFLAGS
12123 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12124 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12127 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12128 case "x$with_gphoto" in
12129 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12130 xno) ;;
12131 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12132 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12133 esac
12136 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12137 case "x$with_gphoto" in
12138 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12139 xno) ;;
12140 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12141 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12142 esac
12147 if test "$ac_cv_header_resolv_h" = "yes"
12148 then
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12150 $as_echo_n "checking for resolver library... " >&6; }
12151 if ${ac_cv_have_resolv+:} false; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 ac_save_LIBS="$LIBS"
12155 for lib in '' -lresolv
12157 LIBS="$lib $ac_save_LIBS"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12160 #ifdef HAVE_NETINET_IN_H
12161 #include <netinet/in.h>
12162 #endif
12163 #include <resolv.h>
12165 main ()
12167 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12169 return 0;
12171 _ACEOF
12172 if ac_fn_c_try_link "$LINENO"; then :
12173 ac_cv_have_resolv=${lib:-"none required"}
12174 else
12175 ac_cv_have_resolv="not found"
12177 rm -f core conftest.err conftest.$ac_objext \
12178 conftest$ac_exeext conftest.$ac_ext
12179 test "x$ac_cv_have_resolv" = "xnot found" || break
12180 done
12181 LIBS="$ac_save_LIBS"
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12184 $as_echo "$ac_cv_have_resolv" >&6; }
12186 case "$ac_cv_have_resolv" in
12187 "not found") ;;
12188 "none required")
12190 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12193 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12195 RESOLV_LIBS=$ac_cv_have_resolv
12197 esac
12200 if test "x$with_cms" != "xno"
12201 then
12202 if ${LCMS2_CFLAGS:+false} :; then :
12203 if ${PKG_CONFIG+:} false; then :
12204 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12208 if ${LCMS2_LIBS:+false} :; then :
12209 if ${PKG_CONFIG+:} false; then :
12210 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12214 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12215 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12216 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12217 ac_save_CPPFLAGS=$CPPFLAGS
12218 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12219 for ac_header in lcms2.h
12220 do :
12221 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12222 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12223 cat >>confdefs.h <<_ACEOF
12224 #define HAVE_LCMS2_H 1
12225 _ACEOF
12229 done
12231 if test "$ac_cv_header_lcms2_h" = "yes"
12232 then
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12234 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12235 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_check_lib_save_LIBS=$LIBS
12239 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12246 #ifdef __cplusplus
12247 extern "C"
12248 #endif
12249 char cmsOpenProfileFromFile ();
12251 main ()
12253 return cmsOpenProfileFromFile ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12260 else
12261 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12263 rm -f core conftest.err conftest.$ac_objext \
12264 conftest$ac_exeext conftest.$ac_ext
12265 LIBS=$ac_check_lib_save_LIBS
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12268 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12269 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12271 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12273 else
12274 LCMS2_LIBS=""
12277 else
12278 LCMS2_CFLAGS=""
12279 LCMS2_LIBS=""
12281 CPPFLAGS=$ac_save_CPPFLAGS
12282 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12283 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12286 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12287 case "x$with_cms" in
12288 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12289 xno) ;;
12290 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12291 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12292 esac
12296 if test "x$with_freetype" != "xno"
12297 then
12298 if ${FREETYPE_CFLAGS:+false} :; then :
12299 if ${PKG_CONFIG+:} false; then :
12300 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12303 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12304 if ${FREETYPE_LIBS:+false} :; then :
12305 if ${PKG_CONFIG+:} false; then :
12306 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12309 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12310 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12311 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12312 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12313 ac_save_CPPFLAGS=$CPPFLAGS
12314 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12315 for ac_header in ft2build.h
12316 do :
12317 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12318 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12319 cat >>confdefs.h <<_ACEOF
12320 #define HAVE_FT2BUILD_H 1
12321 _ACEOF
12325 done
12327 if test "$ac_cv_header_ft2build_h" = "yes"
12328 then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12330 $as_echo_n "checking for -lfreetype... " >&6; }
12331 if ${ac_cv_lib_soname_freetype+:} false; then :
12332 $as_echo_n "(cached) " >&6
12333 else
12334 ac_check_soname_save_LIBS=$LIBS
12335 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 #ifdef __cplusplus
12343 extern "C"
12344 #endif
12345 char FT_Init_FreeType ();
12347 main ()
12349 return FT_Init_FreeType ();
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 case "$LIBEXT" in
12356 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12357 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'` ;;
12358 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12359 if ${ac_cv_lib_soname_freetype:+false} :; then :
12360 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12361 fi ;;
12362 esac
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 LIBS=$ac_check_soname_save_LIBS
12368 if ${ac_cv_lib_soname_freetype:+false} :; then :
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12370 $as_echo "not found" >&6; }
12371 FREETYPE_LIBS=""
12372 else
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12374 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12376 cat >>confdefs.h <<_ACEOF
12377 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12378 _ACEOF
12381 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12383 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12384 #include FT_MODULE_H
12386 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12388 cat >>confdefs.h <<_ACEOF
12389 #define HAVE_FT_TRUETYPEENGINETYPE 1
12390 _ACEOF
12396 else
12397 FREETYPE_CFLAGS=""
12398 FREETYPE_LIBS=""
12400 CPPFLAGS=$ac_save_CPPFLAGS
12401 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12402 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12405 if test "x$ac_cv_lib_soname_freetype" = x; then :
12406 case "x$with_freetype" in
12407 xno) ;;
12408 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12409 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12410 esac
12411 enable_fonts=${enable_fonts:-no}
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12415 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12416 if ${ac_cv_c_ppdev+:} false; then :
12417 $as_echo_n "(cached) " >&6
12418 else
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12421 #ifdef HAVE_SYS_IOCTL_H
12422 # include <sys/ioctl.h>
12423 #endif
12424 #include <linux/ppdev.h>
12426 main ()
12428 ioctl (1,PPCLAIM,0)
12430 return 0;
12432 _ACEOF
12433 if ac_fn_c_try_compile "$LINENO"; then :
12434 ac_cv_c_ppdev="yes"
12435 else
12436 ac_cv_c_ppdev="no"
12438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12441 $as_echo "$ac_cv_c_ppdev" >&6; }
12442 if test "$ac_cv_c_ppdev" = "yes"
12443 then
12445 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12449 ac_wine_check_funcs_save_LIBS="$LIBS"
12450 LIBS="$LIBS $PTHREAD_LIBS"
12451 for ac_func in \
12452 pthread_attr_get_np \
12453 pthread_getattr_np \
12454 pthread_getthreadid_np \
12455 pthread_get_stackaddr_np \
12456 pthread_get_stacksize_np
12457 do :
12458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12461 cat >>confdefs.h <<_ACEOF
12462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12463 _ACEOF
12466 done
12468 LIBS="$ac_wine_check_funcs_save_LIBS"
12470 if test "$ac_cv_header_zlib_h" = "yes"
12471 then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12473 $as_echo_n "checking for inflate in -lz... " >&6; }
12474 if ${ac_cv_lib_z_inflate+:} false; then :
12475 $as_echo_n "(cached) " >&6
12476 else
12477 ac_check_lib_save_LIBS=$LIBS
12478 LIBS="-lz $LIBS"
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 /* Override any GCC internal prototype to avoid an error.
12483 Use char because int might match the return type of a GCC
12484 builtin and then its argument prototype would still apply. */
12485 #ifdef __cplusplus
12486 extern "C"
12487 #endif
12488 char inflate ();
12490 main ()
12492 return inflate ();
12494 return 0;
12496 _ACEOF
12497 if ac_fn_c_try_link "$LINENO"; then :
12498 ac_cv_lib_z_inflate=yes
12499 else
12500 ac_cv_lib_z_inflate=no
12502 rm -f core conftest.err conftest.$ac_objext \
12503 conftest$ac_exeext conftest.$ac_ext
12504 LIBS=$ac_check_lib_save_LIBS
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12507 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12508 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12510 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12512 Z_LIBS="-lz"
12517 if test "x$Z_LIBS" = "x"; then :
12518 case "x$with_zlib" in
12519 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12520 xno) ;;
12521 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12522 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12523 esac
12527 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12528 then
12529 if test "$ac_cv_header_gettext_po_h" = "yes"
12530 then
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12532 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12533 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12534 $as_echo_n "(cached) " >&6
12535 else
12536 ac_check_lib_save_LIBS=$LIBS
12537 LIBS="-lgettextpo $LIBS"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12544 #ifdef __cplusplus
12545 extern "C"
12546 #endif
12547 char po_message_msgctxt ();
12549 main ()
12551 return po_message_msgctxt ();
12553 return 0;
12555 _ACEOF
12556 if ac_fn_c_try_link "$LINENO"; then :
12557 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12558 else
12559 ac_cv_lib_gettextpo_po_message_msgctxt=no
12561 rm -f core conftest.err conftest.$ac_objext \
12562 conftest$ac_exeext conftest.$ac_ext
12563 LIBS=$ac_check_lib_save_LIBS
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12566 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12567 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12569 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12571 GETTEXTPO_LIBS="-lgettextpo"
12576 if test "x$GETTEXTPO_LIBS" = "x"; then :
12577 case "x$with_gettextpo" in
12578 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12579 xno) ;;
12580 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12581 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12582 esac
12585 if test "$srcdir" != .; then :
12586 case "x$with_gettextpo" in
12587 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12588 xno) ;;
12589 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12590 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12591 esac
12596 if test "x$with_pulse" != "xno";
12597 then
12598 if ${PULSE_CFLAGS:+false} :; then :
12599 if ${PKG_CONFIG+:} false; then :
12600 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12604 if ${PULSE_LIBS:+false} :; then :
12605 if ${PKG_CONFIG+:} false; then :
12606 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12611 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12612 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12613 ac_save_CPPFLAGS=$CPPFLAGS
12614 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12615 for ac_header in pulse/pulseaudio.h
12616 do :
12617 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12618 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12619 cat >>confdefs.h <<_ACEOF
12620 #define HAVE_PULSE_PULSEAUDIO_H 1
12621 _ACEOF
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12623 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12624 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12625 $as_echo_n "(cached) " >&6
12626 else
12627 ac_check_lib_save_LIBS=$LIBS
12628 LIBS="-lpulse $PULSE_LIBS $LIBS"
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12635 #ifdef __cplusplus
12636 extern "C"
12637 #endif
12638 char pa_stream_is_corked ();
12640 main ()
12642 return pa_stream_is_corked ();
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_link "$LINENO"; then :
12648 ac_cv_lib_pulse_pa_stream_is_corked=yes
12649 else
12650 ac_cv_lib_pulse_pa_stream_is_corked=no
12652 rm -f core conftest.err conftest.$ac_objext \
12653 conftest$ac_exeext conftest.$ac_ext
12654 LIBS=$ac_check_lib_save_LIBS
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12657 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12658 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12660 else
12661 PULSE_LIBS=""
12664 else
12665 PULSE_LIBS=""
12668 done
12670 CPPFLAGS=$ac_save_CPPFLAGS
12671 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12672 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12675 if test -z "$PULSE_LIBS"; then :
12676 case "x$with_pulse" in
12677 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12678 xno) ;;
12679 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12680 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12681 esac
12682 enable_winepulse_drv=${enable_winepulse_drv:-no}
12685 if test "x$with_gstreamer" != "xno"
12686 then
12687 if ${GSTREAMER_CFLAGS:+false} :; then :
12688 if ${PKG_CONFIG+:} false; then :
12689 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12693 if ${GSTREAMER_LIBS:+false} :; then :
12694 if ${PKG_CONFIG+:} false; then :
12695 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12700 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12701 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12702 ac_save_CPPFLAGS=$CPPFLAGS
12703 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12704 ac_gst_incl=""
12705 for i in $GSTREAMER_CFLAGS
12707 case "$i" in
12708 -I*) ac_gst_incl="$ac_gst_incl $i";;
12709 esac
12710 done
12711 GSTREAMER_CFLAGS=$ac_gst_incl
12712 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12713 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12714 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12716 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12719 #include <gst/gst.h>
12721 main ()
12723 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12725 return 0;
12727 _ACEOF
12728 if ac_fn_c_try_compile "$LINENO"; then :
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12730 $as_echo "yes" >&6; }
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12732 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12733 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12734 $as_echo_n "(cached) " >&6
12735 else
12736 ac_check_lib_save_LIBS=$LIBS
12737 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12744 #ifdef __cplusplus
12745 extern "C"
12746 #endif
12747 char gst_pad_new ();
12749 main ()
12751 return gst_pad_new ();
12753 return 0;
12755 _ACEOF
12756 if ac_fn_c_try_link "$LINENO"; then :
12757 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12758 else
12759 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12761 rm -f core conftest.err conftest.$ac_objext \
12762 conftest$ac_exeext conftest.$ac_ext
12763 LIBS=$ac_check_lib_save_LIBS
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12766 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12767 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12771 else
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12773 $as_echo "no" >&6; }
12774 ac_glib2_broken=yes
12775 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12781 CPPFLAGS=$ac_save_CPPFLAGS
12782 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12783 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12786 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 :
12787 case "x$with_gstreamer" in
12788 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12789 xno) ;;
12790 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12791 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12792 esac
12795 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12797 ALSA_LIBS=""
12799 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12800 then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12802 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12803 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12804 $as_echo_n "(cached) " >&6
12805 else
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lasound $LIBS"
12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12811 /* Override any GCC internal prototype to avoid an error.
12812 Use char because int might match the return type of a GCC
12813 builtin and then its argument prototype would still apply. */
12814 #ifdef __cplusplus
12815 extern "C"
12816 #endif
12817 char snd_pcm_hw_params_get_access_mask ();
12819 main ()
12821 return snd_pcm_hw_params_get_access_mask ();
12823 return 0;
12825 _ACEOF
12826 if ac_fn_c_try_link "$LINENO"; then :
12827 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12828 else
12829 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12831 rm -f core conftest.err conftest.$ac_objext \
12832 conftest$ac_exeext conftest.$ac_ext
12833 LIBS=$ac_check_lib_save_LIBS
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12836 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12837 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12840 #ifdef HAVE_ALSA_ASOUNDLIB_H
12841 #include <alsa/asoundlib.h>
12842 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12843 #include <sys/asoundlib.h>
12844 #endif
12846 main ()
12848 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12850 return 0;
12852 _ACEOF
12853 if ac_fn_c_try_compile "$LINENO"; then :
12854 ALSA_LIBS="-lasound"
12856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12860 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12862 if test "x$with_oss" != xno
12863 then
12864 ac_save_CPPFLAGS="$CPPFLAGS"
12865 if test -f /etc/oss.conf
12866 then
12867 . /etc/oss.conf
12869 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12870 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12871 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12872 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12873 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12875 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12877 cat >>confdefs.h <<_ACEOF
12878 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12879 _ACEOF
12881 OSS4_CFLAGS="$ac_oss_incl"
12888 CPPFLAGS="$ac_save_CPPFLAGS"
12890 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12891 case "x$with_oss" in
12892 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12893 xno) ;;
12894 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12895 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12896 esac
12897 enable_wineoss_drv=${enable_wineoss_drv:-no}
12900 if test "x$with_capi" != "xno"
12901 then
12902 if ${CAPI20_CFLAGS:+false} :; then :
12903 if ${PKG_CONFIG+:} false; then :
12904 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12908 if ${CAPI20_LIBS:+false} :; then :
12909 if ${PKG_CONFIG+:} false; then :
12910 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12915 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12916 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12917 ac_save_CPPFLAGS=$CPPFLAGS
12918 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12919 for ac_header in capi20.h linux/capi.h
12920 do :
12921 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12922 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12924 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12925 cat >>confdefs.h <<_ACEOF
12926 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12927 _ACEOF
12931 done
12933 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12934 then
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12936 $as_echo_n "checking for -lcapi20... " >&6; }
12937 if ${ac_cv_lib_soname_capi20+:} false; then :
12938 $as_echo_n "(cached) " >&6
12939 else
12940 ac_check_soname_save_LIBS=$LIBS
12941 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12943 /* end confdefs.h. */
12945 /* Override any GCC internal prototype to avoid an error.
12946 Use char because int might match the return type of a GCC
12947 builtin and then its argument prototype would still apply. */
12948 #ifdef __cplusplus
12949 extern "C"
12950 #endif
12951 char capi20_register ();
12953 main ()
12955 return capi20_register ();
12957 return 0;
12959 _ACEOF
12960 if ac_fn_c_try_link "$LINENO"; then :
12961 case "$LIBEXT" in
12962 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12963 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'` ;;
12964 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12965 if ${ac_cv_lib_soname_capi20:+false} :; then :
12966 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12967 fi ;;
12968 esac
12970 rm -f core conftest.err conftest.$ac_objext \
12971 conftest$ac_exeext conftest.$ac_ext
12972 LIBS=$ac_check_soname_save_LIBS
12974 if ${ac_cv_lib_soname_capi20:+false} :; then :
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12976 $as_echo "not found" >&6; }
12978 else
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12980 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12982 cat >>confdefs.h <<_ACEOF
12983 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12984 _ACEOF
12989 CPPFLAGS=$ac_save_CPPFLAGS
12990 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12991 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12994 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12995 case "x$with_capi" in
12996 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12997 xno) ;;
12998 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12999 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13000 esac
13004 CUPS_CFLAGS=""
13006 if test "x$with_cups" != "xno"
13007 then
13008 ac_save_CPPFLAGS="$CPPFLAGS"
13009 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13010 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13011 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13012 for ac_header in cups/cups.h
13013 do :
13014 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13015 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13016 cat >>confdefs.h <<_ACEOF
13017 #define HAVE_CUPS_CUPS_H 1
13018 _ACEOF
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13020 $as_echo_n "checking for -lcups... " >&6; }
13021 if ${ac_cv_lib_soname_cups+:} false; then :
13022 $as_echo_n "(cached) " >&6
13023 else
13024 ac_check_soname_save_LIBS=$LIBS
13025 LIBS="-lcups $ac_cups_libs $LIBS"
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13029 /* Override any GCC internal prototype to avoid an error.
13030 Use char because int might match the return type of a GCC
13031 builtin and then its argument prototype would still apply. */
13032 #ifdef __cplusplus
13033 extern "C"
13034 #endif
13035 char cupsGetDefault ();
13037 main ()
13039 return cupsGetDefault ();
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_link "$LINENO"; then :
13045 case "$LIBEXT" in
13046 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13047 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'` ;;
13048 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13049 if ${ac_cv_lib_soname_cups:+false} :; then :
13050 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13051 fi ;;
13052 esac
13054 rm -f core conftest.err conftest.$ac_objext \
13055 conftest$ac_exeext conftest.$ac_ext
13056 LIBS=$ac_check_soname_save_LIBS
13058 if ${ac_cv_lib_soname_cups:+false} :; then :
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13060 $as_echo "not found" >&6; }
13062 else
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13064 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13066 cat >>confdefs.h <<_ACEOF
13067 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13068 _ACEOF
13070 CUPS_CFLAGS="$ac_cups_cflags"
13072 for ac_header in cups/ppd.h
13073 do :
13074 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13075 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13076 cat >>confdefs.h <<_ACEOF
13077 #define HAVE_CUPS_PPD_H 1
13078 _ACEOF
13082 done
13086 done
13088 CPPFLAGS="$ac_save_CPPFLAGS"
13090 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13091 case "x$with_cups" in
13092 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13093 xno) ;;
13094 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13095 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13096 esac
13100 if test "x$with_fontconfig" != "xno"
13101 then
13102 if ${FONTCONFIG_CFLAGS:+false} :; then :
13103 if ${PKG_CONFIG+:} false; then :
13104 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13107 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13108 if ${FONTCONFIG_LIBS:+false} :; then :
13109 if ${PKG_CONFIG+:} false; then :
13110 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13113 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13115 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13116 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13117 ac_save_CPPFLAGS=$CPPFLAGS
13118 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13119 for ac_header in fontconfig/fontconfig.h
13120 do :
13121 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13122 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13123 cat >>confdefs.h <<_ACEOF
13124 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13125 _ACEOF
13129 done
13131 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13132 then
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13134 $as_echo_n "checking for -lfontconfig... " >&6; }
13135 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13136 $as_echo_n "(cached) " >&6
13137 else
13138 ac_check_soname_save_LIBS=$LIBS
13139 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 /* Override any GCC internal prototype to avoid an error.
13144 Use char because int might match the return type of a GCC
13145 builtin and then its argument prototype would still apply. */
13146 #ifdef __cplusplus
13147 extern "C"
13148 #endif
13149 char FcInit ();
13151 main ()
13153 return FcInit ();
13155 return 0;
13157 _ACEOF
13158 if ac_fn_c_try_link "$LINENO"; then :
13159 case "$LIBEXT" in
13160 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13161 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'` ;;
13162 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13163 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13164 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13165 fi ;;
13166 esac
13168 rm -f core conftest.err conftest.$ac_objext \
13169 conftest$ac_exeext conftest.$ac_ext
13170 LIBS=$ac_check_soname_save_LIBS
13172 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13174 $as_echo "not found" >&6; }
13175 FONTCONFIG_CFLAGS=""
13176 else
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13178 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13180 cat >>confdefs.h <<_ACEOF
13181 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13182 _ACEOF
13186 else
13187 FONTCONFIG_CFLAGS=""
13189 CPPFLAGS=$ac_save_CPPFLAGS
13190 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13191 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13194 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13195 case "x$with_fontconfig" in
13196 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13197 xno) ;;
13198 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13199 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13200 esac
13204 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13205 then
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13207 $as_echo_n "checking for -lgsm... " >&6; }
13208 if ${ac_cv_lib_soname_gsm+:} false; then :
13209 $as_echo_n "(cached) " >&6
13210 else
13211 ac_check_soname_save_LIBS=$LIBS
13212 LIBS="-lgsm $LIBS"
13213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13219 #ifdef __cplusplus
13220 extern "C"
13221 #endif
13222 char gsm_create ();
13224 main ()
13226 return gsm_create ();
13228 return 0;
13230 _ACEOF
13231 if ac_fn_c_try_link "$LINENO"; then :
13232 case "$LIBEXT" in
13233 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13234 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'` ;;
13235 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13236 if ${ac_cv_lib_soname_gsm:+false} :; then :
13237 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13238 fi ;;
13239 esac
13241 rm -f core conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13243 LIBS=$ac_check_soname_save_LIBS
13245 if ${ac_cv_lib_soname_gsm:+false} :; then :
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13247 $as_echo "not found" >&6; }
13249 else
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13251 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13253 cat >>confdefs.h <<_ACEOF
13254 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13255 _ACEOF
13260 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13261 case "x$with_gsm" in
13262 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13263 xno) ;;
13264 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13265 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13266 esac
13270 if test "x$with_jpeg" != "xno"
13271 then
13272 if ${JPEG_CFLAGS:+false} :; then :
13273 if ${PKG_CONFIG+:} false; then :
13274 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13278 if ${JPEG_LIBS:+false} :; then :
13279 if ${PKG_CONFIG+:} false; then :
13280 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13285 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13286 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13287 ac_save_CPPFLAGS=$CPPFLAGS
13288 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13289 for ac_header in jpeglib.h
13290 do :
13291 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13292 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13293 cat >>confdefs.h <<_ACEOF
13294 #define HAVE_JPEGLIB_H 1
13295 _ACEOF
13299 done
13301 if test "$ac_cv_header_jpeglib_h" = "yes"
13302 then
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13304 $as_echo_n "checking for -ljpeg... " >&6; }
13305 if ${ac_cv_lib_soname_jpeg+:} false; then :
13306 $as_echo_n "(cached) " >&6
13307 else
13308 ac_check_soname_save_LIBS=$LIBS
13309 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13316 #ifdef __cplusplus
13317 extern "C"
13318 #endif
13319 char jpeg_start_decompress ();
13321 main ()
13323 return jpeg_start_decompress ();
13325 return 0;
13327 _ACEOF
13328 if ac_fn_c_try_link "$LINENO"; then :
13329 case "$LIBEXT" in
13330 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13331 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'` ;;
13332 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13333 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13334 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13335 fi ;;
13336 esac
13338 rm -f core conftest.err conftest.$ac_objext \
13339 conftest$ac_exeext conftest.$ac_ext
13340 LIBS=$ac_check_soname_save_LIBS
13342 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13344 $as_echo "not found" >&6; }
13345 JPEG_CFLAGS=""
13346 else
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13348 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13350 cat >>confdefs.h <<_ACEOF
13351 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13352 _ACEOF
13356 else
13357 JPEG_CFLAGS=""
13359 CPPFLAGS=$ac_save_CPPFLAGS
13360 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13361 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13364 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13365 case "x$with_jpeg" in
13366 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13367 xno) ;;
13368 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13369 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13370 esac
13374 if test "x$with_png" != "xno"
13375 then
13376 if ${PNG_CFLAGS:+false} :; then :
13377 if ${PKG_CONFIG+:} false; then :
13378 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13381 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13382 if ${PNG_LIBS:+false} :; then :
13383 if ${PKG_CONFIG+:} false; then :
13384 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13387 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13389 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13390 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13391 ac_save_CPPFLAGS=$CPPFLAGS
13392 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13393 for ac_header in png.h
13394 do :
13395 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13396 if test "x$ac_cv_header_png_h" = xyes; then :
13397 cat >>confdefs.h <<_ACEOF
13398 #define HAVE_PNG_H 1
13399 _ACEOF
13403 done
13405 if test "$ac_cv_header_png_h" = "yes"
13406 then
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13408 $as_echo_n "checking for -lpng... " >&6; }
13409 if ${ac_cv_lib_soname_png+:} false; then :
13410 $as_echo_n "(cached) " >&6
13411 else
13412 ac_check_soname_save_LIBS=$LIBS
13413 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13415 /* end confdefs.h. */
13417 /* Override any GCC internal prototype to avoid an error.
13418 Use char because int might match the return type of a GCC
13419 builtin and then its argument prototype would still apply. */
13420 #ifdef __cplusplus
13421 extern "C"
13422 #endif
13423 char png_create_read_struct ();
13425 main ()
13427 return png_create_read_struct ();
13429 return 0;
13431 _ACEOF
13432 if ac_fn_c_try_link "$LINENO"; then :
13433 case "$LIBEXT" in
13434 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13435 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'` ;;
13436 *) 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'`
13437 if ${ac_cv_lib_soname_png:+false} :; then :
13438 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13439 fi ;;
13440 esac
13442 rm -f core conftest.err conftest.$ac_objext \
13443 conftest$ac_exeext conftest.$ac_ext
13444 LIBS=$ac_check_soname_save_LIBS
13446 if ${ac_cv_lib_soname_png:+false} :; then :
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13448 $as_echo "not found" >&6; }
13449 PNG_CFLAGS=""
13450 else
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13452 $as_echo "$ac_cv_lib_soname_png" >&6; }
13454 cat >>confdefs.h <<_ACEOF
13455 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13456 _ACEOF
13458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13459 /* end confdefs.h. */
13460 #include <png.h>
13462 main ()
13464 typeof(png_set_expand_gray_1_2_4_to_8) *p
13466 return 0;
13468 _ACEOF
13469 if ac_fn_c_try_compile "$LINENO"; then :
13471 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13476 else
13477 PNG_CFLAGS=""
13479 CPPFLAGS=$ac_save_CPPFLAGS
13480 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13481 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13484 if test "x$ac_cv_lib_soname_png" = "x"; then :
13485 case "x$with_png" in
13486 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13487 xno) ;;
13488 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13489 This is an error since --with-png was requested." "$LINENO" 5 ;;
13490 esac
13494 if test "x$with_tiff" != "xno"
13495 then
13496 if ${TIFF_CFLAGS:+false} :; then :
13497 if ${PKG_CONFIG+:} false; then :
13498 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13502 if ${TIFF_LIBS:+false} :; then :
13503 if ${PKG_CONFIG+:} false; then :
13504 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13509 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13510 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13511 ac_save_CPPFLAGS=$CPPFLAGS
13512 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13513 for ac_header in tiffio.h
13514 do :
13515 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13516 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13517 cat >>confdefs.h <<_ACEOF
13518 #define HAVE_TIFFIO_H 1
13519 _ACEOF
13523 done
13525 if test "$ac_cv_header_tiffio_h" = "yes"
13526 then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13528 $as_echo_n "checking for -ltiff... " >&6; }
13529 if ${ac_cv_lib_soname_tiff+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_check_soname_save_LIBS=$LIBS
13533 LIBS="-ltiff $TIFF_LIBS $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 #ifdef __cplusplus
13541 extern "C"
13542 #endif
13543 char TIFFClientOpen ();
13545 main ()
13547 return TIFFClientOpen ();
13549 return 0;
13551 _ACEOF
13552 if ac_fn_c_try_link "$LINENO"; then :
13553 case "$LIBEXT" in
13554 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13555 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'` ;;
13556 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13557 if ${ac_cv_lib_soname_tiff:+false} :; then :
13558 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13559 fi ;;
13560 esac
13562 rm -f core conftest.err conftest.$ac_objext \
13563 conftest$ac_exeext conftest.$ac_ext
13564 LIBS=$ac_check_soname_save_LIBS
13566 if ${ac_cv_lib_soname_tiff:+false} :; then :
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13568 $as_echo "not found" >&6; }
13570 else
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13572 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13574 cat >>confdefs.h <<_ACEOF
13575 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13576 _ACEOF
13581 CPPFLAGS=$ac_save_CPPFLAGS
13582 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13583 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13586 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13587 case "x$with_tiff" in
13588 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13589 xno) ;;
13590 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13591 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13592 esac
13596 if test "x$with_mpg123" != "xno"
13597 then
13598 if ${MPG123_CFLAGS:+false} :; then :
13599 if ${PKG_CONFIG+:} false; then :
13600 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13604 if ${MPG123_LIBS:+false} :; then :
13605 if ${PKG_CONFIG+:} false; then :
13606 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13610 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13611 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13612 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13613 ac_save_CPPFLAGS=$CPPFLAGS
13614 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13615 for ac_header in mpg123.h
13616 do :
13617 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13618 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13619 cat >>confdefs.h <<_ACEOF
13620 #define HAVE_MPG123_H 1
13621 _ACEOF
13625 done
13627 if test "$ac_cv_header_mpg123_h" = "yes"
13628 then
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13630 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13631 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13632 $as_echo_n "(cached) " >&6
13633 else
13634 ac_check_lib_save_LIBS=$LIBS
13635 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13639 /* Override any GCC internal prototype to avoid an error.
13640 Use char because int might match the return type of a GCC
13641 builtin and then its argument prototype would still apply. */
13642 #ifdef __cplusplus
13643 extern "C"
13644 #endif
13645 char mpg123_feed ();
13647 main ()
13649 return mpg123_feed ();
13651 return 0;
13653 _ACEOF
13654 if ac_fn_c_try_link "$LINENO"; then :
13655 ac_cv_lib_mpg123_mpg123_feed=yes
13656 else
13657 ac_cv_lib_mpg123_mpg123_feed=no
13659 rm -f core conftest.err conftest.$ac_objext \
13660 conftest$ac_exeext conftest.$ac_ext
13661 LIBS=$ac_check_lib_save_LIBS
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13664 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13665 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13667 else
13668 MPG123_LIBS=""
13671 else
13672 MPG123_CFLAGS=""
13673 MPG123_LIBS=""
13675 CPPFLAGS=$ac_save_CPPFLAGS
13676 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13677 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13680 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13681 case "x$with_mpg123" in
13682 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13683 xno) ;;
13684 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13685 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13686 esac
13687 enable_winemp3_acm=${enable_winemp3_acm:-no}
13690 if test "$ac_cv_header_AL_al_h" = "yes"
13691 then
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13693 $as_echo_n "checking for -lopenal... " >&6; }
13694 if ${ac_cv_lib_soname_openal+:} false; then :
13695 $as_echo_n "(cached) " >&6
13696 else
13697 ac_check_soname_save_LIBS=$LIBS
13698 LIBS="-lopenal $LIBS"
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13702 /* Override any GCC internal prototype to avoid an error.
13703 Use char because int might match the return type of a GCC
13704 builtin and then its argument prototype would still apply. */
13705 #ifdef __cplusplus
13706 extern "C"
13707 #endif
13708 char alGetSource3i ();
13710 main ()
13712 return alGetSource3i ();
13714 return 0;
13716 _ACEOF
13717 if ac_fn_c_try_link "$LINENO"; then :
13718 case "$LIBEXT" in
13719 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13720 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'` ;;
13721 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13722 if ${ac_cv_lib_soname_openal:+false} :; then :
13723 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13724 fi ;;
13725 esac
13727 rm -f core conftest.err conftest.$ac_objext \
13728 conftest$ac_exeext conftest.$ac_ext
13729 LIBS=$ac_check_soname_save_LIBS
13731 if ${ac_cv_lib_soname_openal:+false} :; then :
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13733 $as_echo "not found" >&6; }
13735 else
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13737 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13739 cat >>confdefs.h <<_ACEOF
13740 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13741 _ACEOF
13743 OPENAL_LIBS="-lopenal"
13745 ac_cv_lib_openal=yes
13747 cat >>confdefs.h <<_ACEOF
13748 #define HAVE_OPENAL 1
13749 _ACEOF
13753 if test "x$ac_cv_lib_openal" != xyes; then :
13754 case "x$with_openal" in
13755 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13756 xno) ;;
13757 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13758 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13759 esac
13760 enable_openal32=${enable_openal32:-no}
13763 if test "x$ac_cv_lib_openal" = xyes
13764 then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13766 $as_echo_n "checking for openal-soft... " >&6; }
13767 if ${ac_cv_have_openalsoft+:} false; then :
13768 $as_echo_n "(cached) " >&6
13769 else
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 #include <AL/al.h>
13773 #include <AL/alc.h>
13774 #include <AL/alext.h>
13775 LPALCRENDERSAMPLESSOFT x;
13777 main ()
13781 return 0;
13783 _ACEOF
13784 if ac_fn_c_try_compile "$LINENO"; then :
13785 ac_cv_have_openalsoft=yes
13786 else
13787 ac_cv_have_openalsoft=no
13789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13792 $as_echo "$ac_cv_have_openalsoft" >&6; }
13794 if test "x$ac_cv_have_openalsoft" != xyes
13795 then
13796 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13797 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13798 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13799 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13800 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13801 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13802 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13803 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13804 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13805 enable_xapofx1_1=${enable_xapofx1_1:-no}
13806 enable_xapofx1_2=${enable_xapofx1_2:-no}
13807 enable_xapofx1_3=${enable_xapofx1_3:-no}
13808 enable_xapofx1_4=${enable_xapofx1_4:-no}
13809 enable_xapofx1_5=${enable_xapofx1_5:-no}
13810 enable_xaudio2_0=${enable_xaudio2_0:-no}
13811 enable_xaudio2_1=${enable_xaudio2_1:-no}
13812 enable_xaudio2_2=${enable_xaudio2_2:-no}
13813 enable_xaudio2_3=${enable_xaudio2_3:-no}
13814 enable_xaudio2_4=${enable_xaudio2_4:-no}
13815 enable_xaudio2_5=${enable_xaudio2_5:-no}
13816 enable_xaudio2_6=${enable_xaudio2_6:-no}
13817 enable_xaudio2_7=${enable_xaudio2_7:-no}
13818 enable_xaudio2_8=${enable_xaudio2_8:-no}
13819 enable_xaudio2_9=${enable_xaudio2_9:-no}
13822 if test "$ac_cv_header_kstat_h" = "yes"
13823 then
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13825 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13826 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13827 $as_echo_n "(cached) " >&6
13828 else
13829 ac_check_lib_save_LIBS=$LIBS
13830 LIBS="-lkstat $LIBS"
13831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13832 /* end confdefs.h. */
13834 /* Override any GCC internal prototype to avoid an error.
13835 Use char because int might match the return type of a GCC
13836 builtin and then its argument prototype would still apply. */
13837 #ifdef __cplusplus
13838 extern "C"
13839 #endif
13840 char kstat_open ();
13842 main ()
13844 return kstat_open ();
13846 return 0;
13848 _ACEOF
13849 if ac_fn_c_try_link "$LINENO"; then :
13850 ac_cv_lib_kstat_kstat_open=yes
13851 else
13852 ac_cv_lib_kstat_kstat_open=no
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 LIBS=$ac_check_lib_save_LIBS
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13859 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13860 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13862 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13864 KSTAT_LIBS="-lkstat"
13870 if test "$ac_cv_header_libprocstat_h" = "yes"
13871 then
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13873 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13874 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13875 $as_echo_n "(cached) " >&6
13876 else
13877 ac_check_lib_save_LIBS=$LIBS
13878 LIBS="-lprocstat $LIBS"
13879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13880 /* end confdefs.h. */
13882 /* Override any GCC internal prototype to avoid an error.
13883 Use char because int might match the return type of a GCC
13884 builtin and then its argument prototype would still apply. */
13885 #ifdef __cplusplus
13886 extern "C"
13887 #endif
13888 char procstat_open_sysctl ();
13890 main ()
13892 return procstat_open_sysctl ();
13894 return 0;
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"; then :
13898 ac_cv_lib_procstat_procstat_open_sysctl=yes
13899 else
13900 ac_cv_lib_procstat_procstat_open_sysctl=no
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LIBS=$ac_check_lib_save_LIBS
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13907 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13908 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13910 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13912 PROCSTAT_LIBS="-lprocstat"
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13919 $as_echo_n "checking for -lodbc... " >&6; }
13920 if ${ac_cv_lib_soname_odbc+:} false; then :
13921 $as_echo_n "(cached) " >&6
13922 else
13923 ac_check_soname_save_LIBS=$LIBS
13924 LIBS="-lodbc $LIBS"
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13928 /* Override any GCC internal prototype to avoid an error.
13929 Use char because int might match the return type of a GCC
13930 builtin and then its argument prototype would still apply. */
13931 #ifdef __cplusplus
13932 extern "C"
13933 #endif
13934 char SQLConnect ();
13936 main ()
13938 return SQLConnect ();
13940 return 0;
13942 _ACEOF
13943 if ac_fn_c_try_link "$LINENO"; then :
13944 case "$LIBEXT" in
13945 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13946 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'` ;;
13947 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13948 if ${ac_cv_lib_soname_odbc:+false} :; then :
13949 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13950 fi ;;
13951 esac
13953 rm -f core conftest.err conftest.$ac_objext \
13954 conftest$ac_exeext conftest.$ac_ext
13955 LIBS=$ac_check_soname_save_LIBS
13957 if ${ac_cv_lib_soname_odbc:+false} :; then :
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13959 $as_echo "not found" >&6; }
13960 cat >>confdefs.h <<_ACEOF
13961 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13962 _ACEOF
13964 else
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13966 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13968 cat >>confdefs.h <<_ACEOF
13969 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13970 _ACEOF
13975 if test "x$with_netapi" != "xno"
13976 then
13977 if ${NETAPI_CFLAGS:+false} :; then :
13978 if ${PKG_CONFIG+:} false; then :
13979 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13983 if ${NETAPI_LIBS:+false} :; then :
13984 if ${PKG_CONFIG+:} false; then :
13985 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13990 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13991 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13992 ac_save_CPPFLAGS=$CPPFLAGS
13993 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13995 $as_echo_n "checking for -lnetapi... " >&6; }
13996 if ${ac_cv_lib_soname_netapi+:} false; then :
13997 $as_echo_n "(cached) " >&6
13998 else
13999 ac_check_soname_save_LIBS=$LIBS
14000 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14004 /* Override any GCC internal prototype to avoid an error.
14005 Use char because int might match the return type of a GCC
14006 builtin and then its argument prototype would still apply. */
14007 #ifdef __cplusplus
14008 extern "C"
14009 #endif
14010 char libnetapi_init ();
14012 main ()
14014 return libnetapi_init ();
14016 return 0;
14018 _ACEOF
14019 if ac_fn_c_try_link "$LINENO"; then :
14020 case "$LIBEXT" in
14021 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14022 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'` ;;
14023 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14024 if ${ac_cv_lib_soname_netapi:+false} :; then :
14025 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14026 fi ;;
14027 esac
14029 rm -f core conftest.err conftest.$ac_objext \
14030 conftest$ac_exeext conftest.$ac_ext
14031 LIBS=$ac_check_soname_save_LIBS
14033 if ${ac_cv_lib_soname_netapi:+false} :; then :
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14035 $as_echo "not found" >&6; }
14036 cat >>confdefs.h <<_ACEOF
14037 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14038 _ACEOF
14040 else
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14042 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14044 cat >>confdefs.h <<_ACEOF
14045 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14046 _ACEOF
14050 CPPFLAGS=$ac_save_CPPFLAGS
14051 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14052 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14056 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14057 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14058 then
14059 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14063 EXTRACFLAGS=""
14065 if test "x${GCC}" = "xyes"
14066 then
14067 EXTRACFLAGS="-Wall -pipe"
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14070 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14071 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14072 $as_echo_n "(cached) " >&6
14073 else
14074 if test "$cross_compiling" = yes; then :
14075 ac_cv_c_gcc_strength_bug="no"
14076 else
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14079 int L[4] = {0,1,2,3};
14081 main ()
14083 static int Array[3];
14084 unsigned int B = 3;
14085 int i;
14086 for(i=0; i<B; i++) Array[i] = i - 3;
14087 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14088 L[i] = 4;
14089 return (Array[1] != -2 || L[2] != 3)
14091 return 0;
14093 _ACEOF
14094 if ac_fn_c_try_run "$LINENO"; then :
14095 ac_cv_c_gcc_strength_bug="no"
14096 else
14097 ac_cv_c_gcc_strength_bug="yes"
14099 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14100 conftest.$ac_objext conftest.beam conftest.$ac_ext
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14105 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14106 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14107 then
14108 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14112 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14113 if ${ac_cv_cflags__fno_builtin+:} false; then :
14114 $as_echo_n "(cached) " >&6
14115 else
14116 ac_wine_try_cflags_saved=$CFLAGS
14117 CFLAGS="$CFLAGS -fno-builtin"
14118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14119 /* end confdefs.h. */
14120 int main(int argc, char **argv) { return 0; }
14121 _ACEOF
14122 if ac_fn_c_try_link "$LINENO"; then :
14123 ac_cv_cflags__fno_builtin=yes
14124 else
14125 ac_cv_cflags__fno_builtin=no
14127 rm -f core conftest.err conftest.$ac_objext \
14128 conftest$ac_exeext conftest.$ac_ext
14129 CFLAGS=$ac_wine_try_cflags_saved
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14132 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14133 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14134 BUILTINFLAG="-fno-builtin"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14138 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14139 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14140 $as_echo_n "(cached) " >&6
14141 else
14142 ac_wine_try_cflags_saved=$CFLAGS
14143 CFLAGS="$CFLAGS -fno-strict-aliasing"
14144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14146 int main(int argc, char **argv) { return 0; }
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 ac_cv_cflags__fno_strict_aliasing=yes
14150 else
14151 ac_cv_cflags__fno_strict_aliasing=no
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 CFLAGS=$ac_wine_try_cflags_saved
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14158 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14159 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14160 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14163 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14164 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14165 $as_echo_n "(cached) " >&6
14166 else
14167 ac_wine_try_cflags_saved=$CFLAGS
14168 CFLAGS="$CFLAGS -fexcess-precision=standard"
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14171 int main(int argc, char **argv) { return 0; }
14172 _ACEOF
14173 if ac_fn_c_try_link "$LINENO"; then :
14174 ac_cv_cflags__fexcess_precision_standard=yes
14175 else
14176 ac_cv_cflags__fexcess_precision_standard=no
14178 rm -f core conftest.err conftest.$ac_objext \
14179 conftest$ac_exeext conftest.$ac_ext
14180 CFLAGS=$ac_wine_try_cflags_saved
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14183 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14184 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14185 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14188 saved_CFLAGS=$CFLAGS
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14190 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14191 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14192 $as_echo_n "(cached) " >&6
14193 else
14194 ac_wine_try_cflags_saved=$CFLAGS
14195 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 int main(int argc, char **argv) { return 0; }
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"; then :
14201 ac_cv_cflags__Werror_unknown_warning_option=yes
14202 else
14203 ac_cv_cflags__Werror_unknown_warning_option=no
14205 rm -f core conftest.err conftest.$ac_objext \
14206 conftest$ac_exeext conftest.$ac_ext
14207 CFLAGS=$ac_wine_try_cflags_saved
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14210 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14211 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14212 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14215 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14216 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14217 $as_echo_n "(cached) " >&6
14218 else
14219 ac_wine_try_cflags_saved=$CFLAGS
14220 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14223 int main(int argc, char **argv) { return 0; }
14224 _ACEOF
14225 if ac_fn_c_try_link "$LINENO"; then :
14226 ac_cv_cflags__Wdeclaration_after_statement=yes
14227 else
14228 ac_cv_cflags__Wdeclaration_after_statement=no
14230 rm -f core conftest.err conftest.$ac_objext \
14231 conftest$ac_exeext conftest.$ac_ext
14232 CFLAGS=$ac_wine_try_cflags_saved
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14235 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14236 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14237 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14240 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14241 if ${ac_cv_cflags__Wempty_body+:} false; then :
14242 $as_echo_n "(cached) " >&6
14243 else
14244 ac_wine_try_cflags_saved=$CFLAGS
14245 CFLAGS="$CFLAGS -Wempty-body"
14246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14248 int main(int argc, char **argv) { return 0; }
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"; then :
14251 ac_cv_cflags__Wempty_body=yes
14252 else
14253 ac_cv_cflags__Wempty_body=no
14255 rm -f core conftest.err conftest.$ac_objext \
14256 conftest$ac_exeext conftest.$ac_ext
14257 CFLAGS=$ac_wine_try_cflags_saved
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14260 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14261 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14262 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14265 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14266 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14267 $as_echo_n "(cached) " >&6
14268 else
14269 ac_wine_try_cflags_saved=$CFLAGS
14270 CFLAGS="$CFLAGS -Wignored-qualifiers"
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14273 int main(int argc, char **argv) { return 0; }
14274 _ACEOF
14275 if ac_fn_c_try_link "$LINENO"; then :
14276 ac_cv_cflags__Wignored_qualifiers=yes
14277 else
14278 ac_cv_cflags__Wignored_qualifiers=no
14280 rm -f core conftest.err conftest.$ac_objext \
14281 conftest$ac_exeext conftest.$ac_ext
14282 CFLAGS=$ac_wine_try_cflags_saved
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14285 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14286 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14287 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14290 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14291 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 ac_wine_try_cflags_saved=$CFLAGS
14295 CFLAGS="$CFLAGS -Wshift-overflow=2"
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 int main(int argc, char **argv) { return 0; }
14299 _ACEOF
14300 if ac_fn_c_try_link "$LINENO"; then :
14301 ac_cv_cflags__Wshift_overflow_2=yes
14302 else
14303 ac_cv_cflags__Wshift_overflow_2=no
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14307 CFLAGS=$ac_wine_try_cflags_saved
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14310 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14311 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14312 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14315 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14316 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14317 $as_echo_n "(cached) " >&6
14318 else
14319 ac_wine_try_cflags_saved=$CFLAGS
14320 CFLAGS="$CFLAGS -Wstrict-prototypes"
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 int main(int argc, char **argv) { return 0; }
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_cflags__Wstrict_prototypes=yes
14327 else
14328 ac_cv_cflags__Wstrict_prototypes=no
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 CFLAGS=$ac_wine_try_cflags_saved
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14335 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14336 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14337 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14340 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14341 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14342 $as_echo_n "(cached) " >&6
14343 else
14344 ac_wine_try_cflags_saved=$CFLAGS
14345 CFLAGS="$CFLAGS -Wtype-limits"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348 int main(int argc, char **argv) { return 0; }
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"; then :
14351 ac_cv_cflags__Wtype_limits=yes
14352 else
14353 ac_cv_cflags__Wtype_limits=no
14355 rm -f core conftest.err conftest.$ac_objext \
14356 conftest$ac_exeext conftest.$ac_ext
14357 CFLAGS=$ac_wine_try_cflags_saved
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14360 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14361 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14362 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14365 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14366 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14367 $as_echo_n "(cached) " >&6
14368 else
14369 ac_wine_try_cflags_saved=$CFLAGS
14370 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 int main(int argc, char **argv) { return 0; }
14374 _ACEOF
14375 if ac_fn_c_try_link "$LINENO"; then :
14376 ac_cv_cflags__Wunused_but_set_parameter=yes
14377 else
14378 ac_cv_cflags__Wunused_but_set_parameter=no
14380 rm -f core conftest.err conftest.$ac_objext \
14381 conftest$ac_exeext conftest.$ac_ext
14382 CFLAGS=$ac_wine_try_cflags_saved
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14385 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14386 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14387 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14390 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14391 if ${ac_cv_cflags__Wvla+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 ac_wine_try_cflags_saved=$CFLAGS
14395 CFLAGS="$CFLAGS -Wvla"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 int main(int argc, char **argv) { return 0; }
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 ac_cv_cflags__Wvla=yes
14402 else
14403 ac_cv_cflags__Wvla=no
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 CFLAGS=$ac_wine_try_cflags_saved
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14410 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14411 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14412 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14415 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14416 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_wine_try_cflags_saved=$CFLAGS
14420 CFLAGS="$CFLAGS -Wwrite-strings"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 int main(int argc, char **argv) { return 0; }
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_cflags__Wwrite_strings=yes
14427 else
14428 ac_cv_cflags__Wwrite_strings=no
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14432 CFLAGS=$ac_wine_try_cflags_saved
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14435 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14436 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14437 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14441 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14442 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14443 $as_echo_n "(cached) " >&6
14444 else
14445 ac_wine_try_cflags_saved=$CFLAGS
14446 CFLAGS="$CFLAGS -Wpointer-arith"
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 int main(int argc, char **argv) { return 0; }
14450 _ACEOF
14451 if ac_fn_c_try_link "$LINENO"; then :
14452 ac_cv_cflags__Wpointer_arith=yes
14453 else
14454 ac_cv_cflags__Wpointer_arith=no
14456 rm -f core conftest.err conftest.$ac_objext \
14457 conftest$ac_exeext conftest.$ac_ext
14458 CFLAGS=$ac_wine_try_cflags_saved
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14461 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14462 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14463 saved_string_h_CFLAGS=$CFLAGS
14464 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14466 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14467 if ${ac_cv_c_string_h_warnings+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14472 #include <string.h>
14474 main ()
14478 return 0;
14480 _ACEOF
14481 if ac_fn_c_try_compile "$LINENO"; then :
14482 ac_cv_c_string_h_warnings=no
14483 else
14484 ac_cv_c_string_h_warnings=yes
14486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14489 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14490 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14491 CFLAGS=$saved_string_h_CFLAGS
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14495 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14496 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14497 $as_echo_n "(cached) " >&6
14498 else
14499 ac_wine_try_cflags_saved=$CFLAGS
14500 CFLAGS="$CFLAGS -Wlogical-op"
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14503 int main(int argc, char **argv) { return 0; }
14504 _ACEOF
14505 if ac_fn_c_try_link "$LINENO"; then :
14506 ac_cv_cflags__Wlogical_op=yes
14507 else
14508 ac_cv_cflags__Wlogical_op=no
14510 rm -f core conftest.err conftest.$ac_objext \
14511 conftest$ac_exeext conftest.$ac_ext
14512 CFLAGS=$ac_wine_try_cflags_saved
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14515 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14516 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14517 saved_string_h_CFLAGS=$CFLAGS
14518 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14520 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14521 if ${ac_cv_c_logicalop_noisy+:} false; then :
14522 $as_echo_n "(cached) " >&6
14523 else
14524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14526 #include <string.h>
14527 char*f(const char *h,char n) {return strchr(h,n);}
14529 main ()
14533 return 0;
14535 _ACEOF
14536 if ac_fn_c_try_compile "$LINENO"; then :
14537 ac_cv_c_logicalop_noisy=no
14538 else
14539 ac_cv_c_logicalop_noisy=yes
14541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14544 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14545 CFLAGS=$saved_string_h_CFLAGS
14546 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14549 CFLAGS=$saved_CFLAGS
14551 for ac_flag in $CFLAGS; do
14552 case $ac_flag in
14553 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14554 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14555 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 ac_wine_try_cflags_saved=$CFLAGS
14559 CFLAGS="$CFLAGS -gdwarf-2"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14562 int main(int argc, char **argv) { return 0; }
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"; then :
14565 ac_cv_cflags__gdwarf_2=yes
14566 else
14567 ac_cv_cflags__gdwarf_2=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 CFLAGS=$ac_wine_try_cflags_saved
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14574 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14575 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14576 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14579 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14580 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 ac_wine_try_cflags_saved=$CFLAGS
14584 CFLAGS="$CFLAGS -gstrict-dwarf"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 int main(int argc, char **argv) { return 0; }
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"; then :
14590 ac_cv_cflags__gstrict_dwarf=yes
14591 else
14592 ac_cv_cflags__gstrict_dwarf=no
14594 rm -f core conftest.err conftest.$ac_objext \
14595 conftest$ac_exeext conftest.$ac_ext
14596 CFLAGS=$ac_wine_try_cflags_saved
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14599 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14600 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14601 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14602 fi ;;
14603 esac
14604 done
14606 case $host_cpu in
14607 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14608 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14609 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14610 $as_echo_n "(cached) " >&6
14611 else
14612 ac_wine_try_cflags_saved=$CFLAGS
14613 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14616 int main(int argc, char **argv) { return 0; }
14617 _ACEOF
14618 if ac_fn_c_try_link "$LINENO"; then :
14619 ac_cv_cflags__fno_omit_frame_pointer=yes
14620 else
14621 ac_cv_cflags__fno_omit_frame_pointer=no
14623 rm -f core conftest.err conftest.$ac_objext \
14624 conftest$ac_exeext conftest.$ac_ext
14625 CFLAGS=$ac_wine_try_cflags_saved
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14628 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14629 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14630 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14631 fi ;;
14632 esac
14634 case $host in
14635 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14636 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14637 if ${ac_cv_cflags__Wno_format+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 ac_wine_try_cflags_saved=$CFLAGS
14641 CFLAGS="$CFLAGS -Wno-format"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 int main(int argc, char **argv) { return 0; }
14645 _ACEOF
14646 if ac_fn_c_try_link "$LINENO"; then :
14647 ac_cv_cflags__Wno_format=yes
14648 else
14649 ac_cv_cflags__Wno_format=no
14651 rm -f core conftest.err conftest.$ac_objext \
14652 conftest$ac_exeext conftest.$ac_ext
14653 CFLAGS=$ac_wine_try_cflags_saved
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14656 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14657 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14658 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14659 fi ;;
14660 esac
14662 if test "x$enable_maintainer_mode" = "xyes"
14663 then
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14665 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14666 if ${ac_cv_cflags__Werror+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 ac_wine_try_cflags_saved=$CFLAGS
14670 CFLAGS="$CFLAGS -Werror"
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 int main(int argc, char **argv) { return 0; }
14674 _ACEOF
14675 if ac_fn_c_try_link "$LINENO"; then :
14676 ac_cv_cflags__Werror=yes
14677 else
14678 ac_cv_cflags__Werror=no
14680 rm -f core conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14682 CFLAGS=$ac_wine_try_cflags_saved
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14685 $as_echo "$ac_cv_cflags__Werror" >&6; }
14686 if test "x$ac_cv_cflags__Werror" = xyes; then :
14687 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14691 saved_CFLAGS="$CFLAGS"
14692 CFLAGS="$CFLAGS -Werror"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14694 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14695 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14700 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14702 main ()
14706 return 0;
14708 _ACEOF
14709 if ac_fn_c_try_compile "$LINENO"; then :
14710 ac_cv_have_ms_hook_prologue="yes"
14711 else
14712 ac_cv_have_ms_hook_prologue="no"
14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14717 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14718 CFLAGS="$saved_CFLAGS"
14719 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14720 then
14722 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14724 else
14725 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14732 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14733 if ${ac_cv_c_fortify_enabled+:} false; then :
14734 $as_echo_n "(cached) " >&6
14735 else
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14738 #include <string.h>
14740 main ()
14742 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14743 #error Fortify enabled
14744 #endif
14746 return 0;
14748 _ACEOF
14749 if ac_fn_c_try_compile "$LINENO"; then :
14750 ac_cv_c_fortify_enabled=no
14751 else
14752 ac_cv_c_fortify_enabled=yes
14754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14757 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14758 if test "$ac_cv_c_fortify_enabled" = yes
14759 then
14760 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14765 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14766 if ${ac_cv_c_extern_prefix+:} false; then :
14767 $as_echo_n "(cached) " >&6
14768 else
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14771 extern int ac_test;
14773 main ()
14775 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14777 return 0;
14779 _ACEOF
14780 if ac_fn_c_try_link "$LINENO"; then :
14781 ac_cv_c_extern_prefix="yes"
14782 else
14783 ac_cv_c_extern_prefix="no"
14785 rm -f core conftest.err conftest.$ac_objext \
14786 conftest$ac_exeext conftest.$ac_ext
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14789 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14791 case $host_cpu in
14792 *i[3456789]86*)
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14794 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14795 if ${ac_cv_c_stdcall_suffix+:} false; then :
14796 $as_echo_n "(cached) " >&6
14797 else
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14800 #ifndef _MSC_VER
14801 #define __stdcall __attribute__((__stdcall__))
14802 #endif
14803 int __stdcall ac_test(int i) { return i; }
14805 main ()
14807 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14809 return 0;
14811 _ACEOF
14812 if ac_fn_c_try_link "$LINENO"; then :
14813 ac_cv_c_stdcall_suffix="yes"
14814 else
14815 ac_cv_c_stdcall_suffix="no"
14817 rm -f core conftest.err conftest.$ac_objext \
14818 conftest$ac_exeext conftest.$ac_ext
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14821 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14822 *) ac_cv_c_stdcall_suffix="no" ;;
14823 esac
14826 if test "$ac_cv_c_extern_prefix" = "yes"
14827 then
14828 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14830 asm_name_prefix="_"
14831 else
14832 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14834 asm_name_prefix=""
14838 if test "$ac_cv_c_stdcall_suffix" = "yes"
14839 then
14840 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14842 else
14843 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14849 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14850 if ${ac_cv_asm_func_def+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14854 /* end confdefs.h. */
14857 main ()
14859 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"; then :
14865 ac_cv_asm_func_def=".def"
14866 else
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14871 main ()
14873 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14875 return 0;
14877 _ACEOF
14878 if ac_fn_c_try_link "$LINENO"; then :
14879 ac_cv_asm_func_def=".type @function"
14880 else
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14885 main ()
14887 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_link "$LINENO"; then :
14893 ac_cv_asm_func_def=".type 2"
14894 else
14895 ac_cv_asm_func_def="unknown"
14897 rm -f core conftest.err conftest.$ac_objext \
14898 conftest$ac_exeext conftest.$ac_ext
14900 rm -f core conftest.err conftest.$ac_objext \
14901 conftest$ac_exeext conftest.$ac_ext
14903 rm -f core conftest.err conftest.$ac_objext \
14904 conftest$ac_exeext conftest.$ac_ext
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14907 $as_echo "$ac_cv_asm_func_def" >&6; }
14910 case "$ac_cv_asm_func_def" in
14911 ".def")
14912 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14914 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14915 ".type @function")
14916 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14918 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14919 ".type 2")
14920 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14922 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14924 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14926 asm_func_header="" ;;
14927 esac
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14930 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14931 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14932 $as_echo_n "(cached) " >&6
14933 else
14934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14935 /* end confdefs.h. */
14936 asm(".text\n\t.long 0");
14938 main ()
14942 return 0;
14944 _ACEOF
14945 if ac_fn_c_try_compile "$LINENO"; then :
14946 ac_cv_c_asm_outside_funcs="yes"
14947 else
14948 ac_cv_c_asm_outside_funcs="no"
14950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14953 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14956 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14957 if ${ac_cv_c_dot_previous+:} false; then :
14958 $as_echo_n "(cached) " >&6
14959 else
14960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14961 /* end confdefs.h. */
14964 main ()
14966 asm(".text\nac_test:\t.long 0\n\t.previous");
14968 return 0;
14970 _ACEOF
14971 if ac_fn_c_try_link "$LINENO"; then :
14972 ac_cv_c_dot_previous="yes"
14973 else
14974 ac_cv_c_dot_previous="no"
14976 rm -f core conftest.err conftest.$ac_objext \
14977 conftest$ac_exeext conftest.$ac_ext
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14980 $as_echo "$ac_cv_c_dot_previous" >&6; }
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14983 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14984 if ${ac_cv_c_cfi_support+:} false; then :
14985 $as_echo_n "(cached) " >&6
14986 else
14987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14988 /* end confdefs.h. */
14989 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14991 main ()
14995 return 0;
14997 _ACEOF
14998 if ac_fn_c_try_compile "$LINENO"; then :
14999 ac_cv_c_cfi_support="yes"
15000 else
15001 ac_cv_c_cfi_support="no"
15003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15006 $as_echo "$ac_cv_c_cfi_support" >&6; }
15008 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15009 asm_func_trailer=""
15010 if test "$ac_cv_c_dot_previous" = "yes"
15011 then
15012 asm_func_trailer="\\n\\t.previous"
15014 if test "$ac_cv_c_cfi_support" = "yes"
15015 then
15016 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15017 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15019 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15021 UNWINDFLAGS=-fasynchronous-unwind-tables
15023 else
15024 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15026 if test "x$enable_win64" = "xyes"
15027 then
15028 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15032 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15035 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15036 then
15037 cat >>confdefs.h <<_ACEOF
15038 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15039 _ACEOF
15041 else
15042 cat >>confdefs.h <<_ACEOF
15043 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15044 _ACEOF
15048 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15051 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15055 case $build_os in
15056 cygwin*|mingw32*) TOOLSEXT=".exe"
15058 esac
15060 case $host_os in
15061 linux-android*) ;;
15062 linux*)
15063 case $host_cpu in
15064 *i[3456789]86*|x86_64*)
15065 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15066 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15068 esac
15070 esac
15073 ac_save_CFLAGS="$CFLAGS"
15074 CFLAGS="$CFLAGS $BUILTINFLAG"
15075 for ac_func in \
15076 __res_get_state \
15077 __res_getservers \
15078 _finite \
15079 _isnan \
15080 _pclose \
15081 _popen \
15082 _snprintf \
15083 _spawnvp \
15084 _strdup \
15085 _stricmp \
15086 _strnicmp \
15087 _strtoi64 \
15088 _strtoui64 \
15089 _vsnprintf \
15090 asctime_r \
15091 chsize \
15092 dlopen \
15093 epoll_create \
15094 ffs \
15095 finitef \
15096 fnmatch \
15097 fork \
15098 fpclass \
15099 fstatfs \
15100 fstatvfs \
15101 ftruncate \
15102 futimens \
15103 futimes \
15104 futimesat \
15105 getattrlist \
15106 getopt_long_only \
15107 getpwuid \
15108 gettimeofday \
15109 getuid \
15110 if_nameindex \
15111 isnanf \
15112 kqueue \
15113 lstat \
15114 memmove \
15115 mmap \
15116 pclose \
15117 pipe2 \
15118 poll \
15119 popen \
15120 port_create \
15121 prctl \
15122 pread \
15123 proc_pidinfo \
15124 pwrite \
15125 readdir \
15126 readlink \
15127 sched_yield \
15128 select \
15129 setproctitle \
15130 setprogname \
15131 setrlimit \
15132 settimeofday \
15133 sigaltstack \
15134 sigprocmask \
15135 snprintf \
15136 statfs \
15137 statvfs \
15138 strcasecmp \
15139 strdup \
15140 strerror \
15141 strncasecmp \
15142 strtold \
15143 strtoll \
15144 strtoull \
15145 symlink \
15146 sysinfo \
15147 tcdrain \
15148 thr_kill2 \
15149 timegm \
15150 usleep \
15151 vsnprintf
15153 do :
15154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15156 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15157 cat >>confdefs.h <<_ACEOF
15158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15159 _ACEOF
15162 done
15164 CFLAGS="$ac_save_CFLAGS"
15166 if test "$ac_cv_func_dlopen" = no
15167 then
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15169 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15170 if ${ac_cv_lib_dl_dlopen+:} false; then :
15171 $as_echo_n "(cached) " >&6
15172 else
15173 ac_check_lib_save_LIBS=$LIBS
15174 LIBS="-ldl $LIBS"
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15178 /* Override any GCC internal prototype to avoid an error.
15179 Use char because int might match the return type of a GCC
15180 builtin and then its argument prototype would still apply. */
15181 #ifdef __cplusplus
15182 extern "C"
15183 #endif
15184 char dlopen ();
15186 main ()
15188 return dlopen ();
15190 return 0;
15192 _ACEOF
15193 if ac_fn_c_try_link "$LINENO"; then :
15194 ac_cv_lib_dl_dlopen=yes
15195 else
15196 ac_cv_lib_dl_dlopen=no
15198 rm -f core conftest.err conftest.$ac_objext \
15199 conftest$ac_exeext conftest.$ac_ext
15200 LIBS=$ac_check_lib_save_LIBS
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15203 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15204 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15205 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15206 DL_LIBS="-ldl"
15211 ac_wine_check_funcs_save_LIBS="$LIBS"
15212 LIBS="$LIBS $DL_LIBS"
15213 for ac_func in dladdr
15214 do :
15215 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15216 if test "x$ac_cv_func_dladdr" = xyes; then :
15217 cat >>confdefs.h <<_ACEOF
15218 #define HAVE_DLADDR 1
15219 _ACEOF
15222 done
15224 LIBS="$ac_wine_check_funcs_save_LIBS"
15226 if test "$ac_cv_func_poll" = no
15227 then
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15229 $as_echo_n "checking for poll in -lpoll... " >&6; }
15230 if ${ac_cv_lib_poll_poll+:} false; then :
15231 $as_echo_n "(cached) " >&6
15232 else
15233 ac_check_lib_save_LIBS=$LIBS
15234 LIBS="-lpoll $LIBS"
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15238 /* Override any GCC internal prototype to avoid an error.
15239 Use char because int might match the return type of a GCC
15240 builtin and then its argument prototype would still apply. */
15241 #ifdef __cplusplus
15242 extern "C"
15243 #endif
15244 char poll ();
15246 main ()
15248 return poll ();
15250 return 0;
15252 _ACEOF
15253 if ac_fn_c_try_link "$LINENO"; then :
15254 ac_cv_lib_poll_poll=yes
15255 else
15256 ac_cv_lib_poll_poll=no
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15260 LIBS=$ac_check_lib_save_LIBS
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15263 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15264 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15265 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15266 POLL_LIBS="-lpoll"
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15273 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15274 if ${ac_cv_search_gethostbyname+:} false; then :
15275 $as_echo_n "(cached) " >&6
15276 else
15277 ac_func_search_save_LIBS=$LIBS
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15284 #ifdef __cplusplus
15285 extern "C"
15286 #endif
15287 char gethostbyname ();
15289 main ()
15291 return gethostbyname ();
15293 return 0;
15295 _ACEOF
15296 for ac_lib in '' nsl; do
15297 if test -z "$ac_lib"; then
15298 ac_res="none required"
15299 else
15300 ac_res=-l$ac_lib
15301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15303 if ac_fn_c_try_link "$LINENO"; then :
15304 ac_cv_search_gethostbyname=$ac_res
15306 rm -f core conftest.err conftest.$ac_objext \
15307 conftest$ac_exeext
15308 if ${ac_cv_search_gethostbyname+:} false; then :
15309 break
15311 done
15312 if ${ac_cv_search_gethostbyname+:} false; then :
15314 else
15315 ac_cv_search_gethostbyname=no
15317 rm conftest.$ac_ext
15318 LIBS=$ac_func_search_save_LIBS
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15321 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15322 ac_res=$ac_cv_search_gethostbyname
15323 if test "$ac_res" != no; then :
15324 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15330 $as_echo_n "checking for library containing connect... " >&6; }
15331 if ${ac_cv_search_connect+:} false; then :
15332 $as_echo_n "(cached) " >&6
15333 else
15334 ac_func_search_save_LIBS=$LIBS
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15338 /* Override any GCC internal prototype to avoid an error.
15339 Use char because int might match the return type of a GCC
15340 builtin and then its argument prototype would still apply. */
15341 #ifdef __cplusplus
15342 extern "C"
15343 #endif
15344 char connect ();
15346 main ()
15348 return connect ();
15350 return 0;
15352 _ACEOF
15353 for ac_lib in '' socket; do
15354 if test -z "$ac_lib"; then
15355 ac_res="none required"
15356 else
15357 ac_res=-l$ac_lib
15358 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15360 if ac_fn_c_try_link "$LINENO"; then :
15361 ac_cv_search_connect=$ac_res
15363 rm -f core conftest.err conftest.$ac_objext \
15364 conftest$ac_exeext
15365 if ${ac_cv_search_connect+:} false; then :
15366 break
15368 done
15369 if ${ac_cv_search_connect+:} false; then :
15371 else
15372 ac_cv_search_connect=no
15374 rm conftest.$ac_ext
15375 LIBS=$ac_func_search_save_LIBS
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15378 $as_echo "$ac_cv_search_connect" >&6; }
15379 ac_res=$ac_cv_search_connect
15380 if test "$ac_res" != no; then :
15381 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15387 $as_echo_n "checking for library containing inet_aton... " >&6; }
15388 if ${ac_cv_search_inet_aton+:} false; then :
15389 $as_echo_n "(cached) " >&6
15390 else
15391 ac_func_search_save_LIBS=$LIBS
15392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 /* end confdefs.h. */
15395 /* Override any GCC internal prototype to avoid an error.
15396 Use char because int might match the return type of a GCC
15397 builtin and then its argument prototype would still apply. */
15398 #ifdef __cplusplus
15399 extern "C"
15400 #endif
15401 char inet_aton ();
15403 main ()
15405 return inet_aton ();
15407 return 0;
15409 _ACEOF
15410 for ac_lib in '' resolv; do
15411 if test -z "$ac_lib"; then
15412 ac_res="none required"
15413 else
15414 ac_res=-l$ac_lib
15415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15417 if ac_fn_c_try_link "$LINENO"; then :
15418 ac_cv_search_inet_aton=$ac_res
15420 rm -f core conftest.err conftest.$ac_objext \
15421 conftest$ac_exeext
15422 if ${ac_cv_search_inet_aton+:} false; then :
15423 break
15425 done
15426 if ${ac_cv_search_inet_aton+:} false; then :
15428 else
15429 ac_cv_search_inet_aton=no
15431 rm conftest.$ac_ext
15432 LIBS=$ac_func_search_save_LIBS
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15435 $as_echo "$ac_cv_search_inet_aton" >&6; }
15436 ac_res=$ac_cv_search_inet_aton
15437 if test "$ac_res" != no; then :
15438 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15443 for ac_func in \
15444 getaddrinfo \
15445 getnameinfo \
15446 getnetbyname \
15447 getprotobyname \
15448 getprotobynumber \
15449 getservbyport \
15450 inet_addr \
15451 inet_network \
15452 inet_ntop \
15453 inet_pton \
15454 sendmsg \
15455 socketpair \
15457 do :
15458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15460 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15461 cat >>confdefs.h <<_ACEOF
15462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15463 _ACEOF
15466 done
15469 ac_save_LIBS=$LIBS
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15471 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15472 if ${ac_cv_search_clock_gettime+:} false; then :
15473 $as_echo_n "(cached) " >&6
15474 else
15475 ac_func_search_save_LIBS=$LIBS
15476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15477 /* end confdefs.h. */
15479 /* Override any GCC internal prototype to avoid an error.
15480 Use char because int might match the return type of a GCC
15481 builtin and then its argument prototype would still apply. */
15482 #ifdef __cplusplus
15483 extern "C"
15484 #endif
15485 char clock_gettime ();
15487 main ()
15489 return clock_gettime ();
15491 return 0;
15493 _ACEOF
15494 for ac_lib in '' rt; do
15495 if test -z "$ac_lib"; then
15496 ac_res="none required"
15497 else
15498 ac_res=-l$ac_lib
15499 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15501 if ac_fn_c_try_link "$LINENO"; then :
15502 ac_cv_search_clock_gettime=$ac_res
15504 rm -f core conftest.err conftest.$ac_objext \
15505 conftest$ac_exeext
15506 if ${ac_cv_search_clock_gettime+:} false; then :
15507 break
15509 done
15510 if ${ac_cv_search_clock_gettime+:} false; then :
15512 else
15513 ac_cv_search_clock_gettime=no
15515 rm conftest.$ac_ext
15516 LIBS=$ac_func_search_save_LIBS
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15519 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15520 ac_res=$ac_cv_search_clock_gettime
15521 if test "$ac_res" != no; then :
15522 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15524 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15526 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15530 LIBS=$ac_save_LIBS
15532 LDAP_LIBS=""
15534 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15535 then
15536 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15538 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15540 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15541 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15542 $as_echo_n "(cached) " >&6
15543 else
15544 ac_check_lib_save_LIBS=$LIBS
15545 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15549 /* Override any GCC internal prototype to avoid an error.
15550 Use char because int might match the return type of a GCC
15551 builtin and then its argument prototype would still apply. */
15552 #ifdef __cplusplus
15553 extern "C"
15554 #endif
15555 char ldap_initialize ();
15557 main ()
15559 return ldap_initialize ();
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_link "$LINENO"; then :
15565 ac_cv_lib_ldap_r_ldap_initialize=yes
15566 else
15567 ac_cv_lib_ldap_r_ldap_initialize=no
15569 rm -f core conftest.err conftest.$ac_objext \
15570 conftest$ac_exeext conftest.$ac_ext
15571 LIBS=$ac_check_lib_save_LIBS
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15574 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15575 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15577 $as_echo_n "checking for ber_init in -llber... " >&6; }
15578 if ${ac_cv_lib_lber_ber_init+:} false; then :
15579 $as_echo_n "(cached) " >&6
15580 else
15581 ac_check_lib_save_LIBS=$LIBS
15582 LIBS="-llber $PTHREAD_LIBS $LIBS"
15583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15584 /* end confdefs.h. */
15586 /* Override any GCC internal prototype to avoid an error.
15587 Use char because int might match the return type of a GCC
15588 builtin and then its argument prototype would still apply. */
15589 #ifdef __cplusplus
15590 extern "C"
15591 #endif
15592 char ber_init ();
15594 main ()
15596 return ber_init ();
15598 return 0;
15600 _ACEOF
15601 if ac_fn_c_try_link "$LINENO"; then :
15602 ac_cv_lib_lber_ber_init=yes
15603 else
15604 ac_cv_lib_lber_ber_init=no
15606 rm -f core conftest.err conftest.$ac_objext \
15607 conftest$ac_exeext conftest.$ac_ext
15608 LIBS=$ac_check_lib_save_LIBS
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15611 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15612 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15614 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15616 LDAP_LIBS="-lldap_r -llber"
15623 ac_wine_check_funcs_save_LIBS="$LIBS"
15624 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15625 for ac_func in \
15626 ldap_count_references \
15627 ldap_first_reference \
15628 ldap_next_reference \
15629 ldap_parse_reference \
15630 ldap_parse_sort_control \
15631 ldap_parse_sortresponse_control \
15632 ldap_parse_vlv_control \
15633 ldap_parse_vlvresponse_control
15634 do :
15635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15637 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15638 cat >>confdefs.h <<_ACEOF
15639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15640 _ACEOF
15643 done
15645 LIBS="$ac_wine_check_funcs_save_LIBS"
15647 if test "x$LDAP_LIBS" = "x"; then :
15648 case "x$with_ldap" in
15649 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15650 xno) ;;
15651 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15652 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15653 esac
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15658 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15659 if ${wine_cv_one_arg_mkdir+:} false; then :
15660 $as_echo_n "(cached) " >&6
15661 else
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15664 #include <sys/stat.h>
15666 main ()
15668 mkdir("foo");
15670 return 0;
15672 _ACEOF
15673 if ac_fn_c_try_compile "$LINENO"; then :
15674 wine_cv_one_arg_mkdir=yes
15675 else
15676 wine_cv_one_arg_mkdir=no
15678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15681 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15682 if test "$wine_cv_one_arg_mkdir" = "yes"
15683 then
15685 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15690 $as_echo_n "checking for sched_setaffinity... " >&6; }
15691 if ${wine_cv_have_sched_setaffinity+:} false; then :
15692 $as_echo_n "(cached) " >&6
15693 else
15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15696 #define _GNU_SOURCE
15697 #include <sched.h>
15699 main ()
15701 sched_setaffinity(0, 0, 0);
15703 return 0;
15705 _ACEOF
15706 if ac_fn_c_try_link "$LINENO"; then :
15707 wine_cv_have_sched_setaffinity=yes
15708 else
15709 wine_cv_have_sched_setaffinity=no
15711 rm -f core conftest.err conftest.$ac_objext \
15712 conftest$ac_exeext conftest.$ac_ext
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15715 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15716 if test "$wine_cv_have_sched_setaffinity" = "yes"
15717 then
15719 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15724 $as_echo_n "checking for fallocate... " >&6; }
15725 if ${wine_cv_have_fallocate+:} false; then :
15726 $as_echo_n "(cached) " >&6
15727 else
15728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15729 /* end confdefs.h. */
15730 #define _GNU_SOURCE
15731 #include <fcntl.h>
15733 main ()
15735 fallocate(-1, 0, 0, 0);
15737 return 0;
15739 _ACEOF
15740 if ac_fn_c_try_link "$LINENO"; then :
15741 wine_cv_have_fallocate=yes
15742 else
15743 wine_cv_have_fallocate=no
15745 rm -f core conftest.err conftest.$ac_objext \
15746 conftest$ac_exeext conftest.$ac_ext
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15749 $as_echo "$wine_cv_have_fallocate" >&6; }
15750 if test "$wine_cv_have_fallocate" = "yes"
15751 then
15753 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15759 $as_echo_n "checking for inline... " >&6; }
15760 if ${ac_cv_c_inline+:} false; then :
15761 $as_echo_n "(cached) " >&6
15762 else
15763 ac_cv_c_inline=no
15764 for ac_kw in inline __inline__ __inline; do
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15767 #ifndef __cplusplus
15768 typedef int foo_t;
15769 static $ac_kw foo_t static_foo () {return 0; }
15770 $ac_kw foo_t foo () {return 0; }
15771 #endif
15773 _ACEOF
15774 if ac_fn_c_try_compile "$LINENO"; then :
15775 ac_cv_c_inline=$ac_kw
15777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15778 test "$ac_cv_c_inline" != no && break
15779 done
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15783 $as_echo "$ac_cv_c_inline" >&6; }
15785 case $ac_cv_c_inline in
15786 inline | yes) ;;
15788 case $ac_cv_c_inline in
15789 no) ac_val=;;
15790 *) ac_val=$ac_cv_c_inline;;
15791 esac
15792 cat >>confdefs.h <<_ACEOF
15793 #ifndef __cplusplus
15794 #define inline $ac_val
15795 #endif
15796 _ACEOF
15798 esac
15800 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15801 if test "x$ac_cv_type_mode_t" = xyes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define HAVE_MODE_T 1
15805 _ACEOF
15809 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15810 if test "x$ac_cv_type_off_t" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_OFF_T 1
15814 _ACEOF
15818 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15819 if test "x$ac_cv_type_pid_t" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_PID_T 1
15823 _ACEOF
15827 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15828 if test "x$ac_cv_type_size_t" = xyes; then :
15830 cat >>confdefs.h <<_ACEOF
15831 #define HAVE_SIZE_T 1
15832 _ACEOF
15836 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15837 if test "x$ac_cv_type_ssize_t" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_SSIZE_T 1
15841 _ACEOF
15845 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15846 if test "x$ac_cv_type_long_long" = xyes; then :
15848 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_LONG_LONG 1
15850 _ACEOF
15854 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15855 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15857 cat >>confdefs.h <<_ACEOF
15858 #define HAVE_FSBLKCNT_T 1
15859 _ACEOF
15863 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15864 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_FSFILCNT_T 1
15868 _ACEOF
15873 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15874 #include <signal.h>
15876 if test "x$ac_cv_type_sigset_t" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_SIGSET_T 1
15880 _ACEOF
15885 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15887 if test "x$ac_cv_type_request_sense" = xyes; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define HAVE_REQUEST_SENSE 1
15891 _ACEOF
15897 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15898 #ifdef HAVE_SYS_SOCKET_H
15899 #include <sys/socket.h>
15900 #endif
15901 #ifdef HAVE_SYS_SOCKETVAR_H
15902 #include <sys/socketvar.h>
15903 #endif
15904 #ifdef HAVE_NET_ROUTE_H
15905 #include <net/route.h>
15906 #endif
15907 #ifdef HAVE_NETINET_IN_H
15908 #include <netinet/in.h>
15909 #endif
15910 #ifdef HAVE_NETINET_IN_SYSTM_H
15911 #include <netinet/in_systm.h>
15912 #endif
15913 #ifdef HAVE_NETINET_IP_H
15914 #include <netinet/ip.h>
15915 #endif
15916 #ifdef HAVE_NETINET_IN_PCB_H
15917 #include <netinet/in_pcb.h>
15918 #endif
15920 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15922 cat >>confdefs.h <<_ACEOF
15923 #define HAVE_STRUCT_XINPGEN 1
15924 _ACEOF
15930 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15931 #include <link.h>
15932 #endif
15933 #ifdef HAVE_SYS_LINK_H
15934 #include <sys/link.h>
15935 #endif
15937 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_STRUCT_R_DEBUG 1
15941 _ACEOF
15945 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15946 #include <link.h>
15947 #endif
15948 #ifdef HAVE_SYS_LINK_H
15949 #include <sys/link.h>
15950 #endif
15952 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15954 cat >>confdefs.h <<_ACEOF
15955 #define HAVE_STRUCT_LINK_MAP 1
15956 _ACEOF
15962 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15963 #include <linux/input.h>
15964 #endif
15966 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15970 _ACEOF
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15977 $as_echo_n "checking for sigaddset... " >&6; }
15978 if ${wine_cv_have_sigaddset+:} false; then :
15979 $as_echo_n "(cached) " >&6
15980 else
15981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15982 /* end confdefs.h. */
15983 #include <signal.h>
15985 main ()
15987 sigset_t set; sigaddset(&set,SIGTERM);
15989 return 0;
15991 _ACEOF
15992 if ac_fn_c_try_link "$LINENO"; then :
15993 wine_cv_have_sigaddset=yes
15994 else
15995 wine_cv_have_sigaddset=no
15997 rm -f core conftest.err conftest.$ac_objext \
15998 conftest$ac_exeext conftest.$ac_ext
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16001 $as_echo "$wine_cv_have_sigaddset" >&6; }
16002 if test "$wine_cv_have_sigaddset" = "yes"
16003 then
16005 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16011 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16012 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16013 $as_echo_n "(cached) " >&6
16014 else
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16017 #include <netdb.h>
16019 main ()
16022 char *name=0;
16023 struct hostent he;
16024 struct hostent *result;
16025 char *buf=0;
16026 int bufsize=0;
16027 int errnr;
16028 char *addr=0;
16029 int addrlen=0;
16030 int addrtype=0;
16031 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16032 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16035 return 0;
16037 _ACEOF
16038 if ac_fn_c_try_link "$LINENO"; then :
16039 wine_cv_linux_gethostbyname_r_6=yes
16040 else
16041 wine_cv_linux_gethostbyname_r_6=no
16044 rm -f core conftest.err conftest.$ac_objext \
16045 conftest$ac_exeext conftest.$ac_ext
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16049 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16050 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16051 then
16053 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16057 if test "$ac_cv_header_linux_joystick_h" = "yes"
16058 then
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16060 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16061 if ${wine_cv_linux_joystick_22_api+:} false; then :
16062 $as_echo_n "(cached) " >&6
16063 else
16064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16065 /* end confdefs.h. */
16067 #include <sys/ioctl.h>
16068 #include <sys/types.h>
16069 #include <linux/joystick.h>
16071 struct js_event blub;
16072 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16073 #error "no 2.2 header"
16074 #endif
16077 main ()
16079 /*empty*/
16081 return 0;
16083 _ACEOF
16084 if ac_fn_c_try_compile "$LINENO"; then :
16085 wine_cv_linux_joystick_22_api=yes
16086 else
16087 wine_cv_linux_joystick_22_api=no
16089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16093 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16094 if test "$wine_cv_linux_joystick_22_api" = "yes"
16095 then
16097 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16103 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16104 #ifdef HAVE_SYS_PARAM_H
16105 # include <sys/param.h>
16106 #endif
16107 #ifdef HAVE_SYS_MOUNT_H
16108 # include <sys/mount.h>
16109 #endif
16110 #ifdef HAVE_SYS_VFS_H
16111 # include <sys/vfs.h>
16112 #endif
16113 #ifdef HAVE_SYS_STATFS_H
16114 # include <sys/statfs.h>
16115 #endif
16117 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16119 cat >>confdefs.h <<_ACEOF
16120 #define HAVE_STRUCT_STATFS_F_BFREE 1
16121 _ACEOF
16125 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16126 #ifdef HAVE_SYS_PARAM_H
16127 # include <sys/param.h>
16128 #endif
16129 #ifdef HAVE_SYS_MOUNT_H
16130 # include <sys/mount.h>
16131 #endif
16132 #ifdef HAVE_SYS_VFS_H
16133 # include <sys/vfs.h>
16134 #endif
16135 #ifdef HAVE_SYS_STATFS_H
16136 # include <sys/statfs.h>
16137 #endif
16139 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16143 _ACEOF
16147 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16148 #ifdef HAVE_SYS_PARAM_H
16149 # include <sys/param.h>
16150 #endif
16151 #ifdef HAVE_SYS_MOUNT_H
16152 # include <sys/mount.h>
16153 #endif
16154 #ifdef HAVE_SYS_VFS_H
16155 # include <sys/vfs.h>
16156 #endif
16157 #ifdef HAVE_SYS_STATFS_H
16158 # include <sys/statfs.h>
16159 #endif
16161 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16165 _ACEOF
16169 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16170 #ifdef HAVE_SYS_PARAM_H
16171 # include <sys/param.h>
16172 #endif
16173 #ifdef HAVE_SYS_MOUNT_H
16174 # include <sys/mount.h>
16175 #endif
16176 #ifdef HAVE_SYS_VFS_H
16177 # include <sys/vfs.h>
16178 #endif
16179 #ifdef HAVE_SYS_STATFS_H
16180 # include <sys/statfs.h>
16181 #endif
16183 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16185 cat >>confdefs.h <<_ACEOF
16186 #define HAVE_STRUCT_STATFS_F_FFREE 1
16187 _ACEOF
16191 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16192 #ifdef HAVE_SYS_PARAM_H
16193 # include <sys/param.h>
16194 #endif
16195 #ifdef HAVE_SYS_MOUNT_H
16196 # include <sys/mount.h>
16197 #endif
16198 #ifdef HAVE_SYS_VFS_H
16199 # include <sys/vfs.h>
16200 #endif
16201 #ifdef HAVE_SYS_STATFS_H
16202 # include <sys/statfs.h>
16203 #endif
16205 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16207 cat >>confdefs.h <<_ACEOF
16208 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16209 _ACEOF
16213 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16214 #ifdef HAVE_SYS_PARAM_H
16215 # include <sys/param.h>
16216 #endif
16217 #ifdef HAVE_SYS_MOUNT_H
16218 # include <sys/mount.h>
16219 #endif
16220 #ifdef HAVE_SYS_VFS_H
16221 # include <sys/vfs.h>
16222 #endif
16223 #ifdef HAVE_SYS_STATFS_H
16224 # include <sys/statfs.h>
16225 #endif
16227 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16231 _ACEOF
16237 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16238 #include <sys/statvfs.h>
16239 #endif
16241 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16245 _ACEOF
16251 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16252 #include <dirent.h>
16253 #endif
16255 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16257 cat >>confdefs.h <<_ACEOF
16258 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16259 _ACEOF
16265 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16266 #ifdef HAVE_SYS_SOCKET_H
16267 # include <sys/socket.h>
16268 #endif
16269 #ifdef HAVE_SYS_UN_H
16270 # include <sys/un.h>
16271 #endif
16273 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16275 cat >>confdefs.h <<_ACEOF
16276 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16277 _ACEOF
16281 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16282 #ifdef HAVE_SYS_SOCKET_H
16283 # include <sys/socket.h>
16284 #endif
16285 #ifdef HAVE_SYS_UN_H
16286 # include <sys/un.h>
16287 #endif
16289 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16293 _ACEOF
16297 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16298 #ifdef HAVE_SYS_SOCKET_H
16299 # include <sys/socket.h>
16300 #endif
16301 #ifdef HAVE_SYS_UN_H
16302 # include <sys/un.h>
16303 #endif
16305 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16309 _ACEOF
16315 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16316 #ifdef HAVE_SCSI_SG_H
16317 #include <scsi/sg.h>
16318 #endif
16320 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16322 cat >>confdefs.h <<_ACEOF
16323 #define HAVE_SCSIREQ_T_CMD 1
16324 _ACEOF
16328 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>
16329 #ifdef HAVE_SCSI_SG_H
16330 #include <scsi/sg.h>
16331 #endif
16333 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16335 cat >>confdefs.h <<_ACEOF
16336 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16337 _ACEOF
16343 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16345 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_SIGINFO_T_SI_FD 1
16349 _ACEOF
16355 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16356 #ifdef HAVE_SYS_MTIO_H
16357 #include <sys/mtio.h>
16358 #endif
16360 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16364 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16369 #ifdef HAVE_SYS_MTIO_H
16370 #include <sys/mtio.h>
16371 #endif
16373 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16377 _ACEOF
16381 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16382 #ifdef HAVE_SYS_MTIO_H
16383 #include <sys/mtio.h>
16384 #endif
16386 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16388 cat >>confdefs.h <<_ACEOF
16389 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16390 _ACEOF
16396 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16397 #include <getopt.h>
16398 #endif
16400 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_OPTION_NAME 1
16404 _ACEOF
16410 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16411 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16413 cat >>confdefs.h <<_ACEOF
16414 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16415 _ACEOF
16419 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16420 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_STRUCT_STAT_ST_MTIM 1
16424 _ACEOF
16428 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16429 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16431 cat >>confdefs.h <<_ACEOF
16432 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16433 _ACEOF
16437 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16438 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16440 cat >>confdefs.h <<_ACEOF
16441 #define HAVE_STRUCT_STAT_ST_CTIM 1
16442 _ACEOF
16446 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16447 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16451 _ACEOF
16455 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16456 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT_STAT_ST_ATIM 1
16460 _ACEOF
16464 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16465 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16469 _ACEOF
16473 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16474 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16478 _ACEOF
16482 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16483 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16485 cat >>confdefs.h <<_ACEOF
16486 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16487 _ACEOF
16491 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16492 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16496 _ACEOF
16500 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16501 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16505 _ACEOF
16509 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16510 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16512 cat >>confdefs.h <<_ACEOF
16513 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16514 _ACEOF
16520 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
16521 #include <sys/types.h>
16522 #endif
16523 #ifdef HAVE_NETINET_IN_H
16524 #include <netinet/in.h>
16525 #endif
16527 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16531 _ACEOF
16537 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16538 #include <resolv.h>
16539 #endif
16541 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16543 cat >>confdefs.h <<_ACEOF
16544 #define HAVE_STRUCT___RES_STATE 1
16545 _ACEOF
16551 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
16552 #include <resolv.h>
16553 #endif
16555 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16557 cat >>confdefs.h <<_ACEOF
16558 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16559 _ACEOF
16565 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16566 #include <sys/types.h>
16567 #endif
16568 #ifdef HAVE_NETINET_IN_H
16569 # include <netinet/in.h>
16570 #endif
16571 #ifdef HAVE_ARPA_NAMESER_H
16572 # include <arpa/nameser.h>
16573 #endif
16575 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_NS_MSG__MSG_PTR 1
16579 _ACEOF
16585 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16586 #include <sys/types.h>
16587 #endif
16588 #ifdef HAVE_NETINET_IP_H
16589 #include <netinet/ip.h>
16590 #endif
16591 #ifdef HAVE_NETINET_IP_ICMP_H
16592 #include <netinet/ip_icmp.h>
16593 #endif
16594 #ifdef HAVE_NETINET_ICMP_VAR_H
16595 #include <netinet/icmp_var.h>
16596 #endif
16598 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16602 _ACEOF
16608 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16609 #include <sys/types.h>
16610 #endif
16611 #ifdef HAVE_ALIAS_H
16612 #include <alias.h>
16613 #endif
16614 #ifdef HAVE_SYS_SOCKET_H
16615 #include <sys/socket.h>
16616 #endif
16617 #ifdef HAVE_SYS_SOCKETVAR_H
16618 #include <sys/socketvar.h>
16619 #endif
16620 #ifdef HAVE_SYS_TIMEOUT_H
16621 #include <sys/timeout.h>
16622 #endif
16623 #ifdef HAVE_NETINET_IN_H
16624 #include <netinet/in.h>
16625 #endif
16626 #ifdef HAVE_NETINET_IN_SYSTM_H
16627 #include <netinet/in_systm.h>
16628 #endif
16629 #ifdef HAVE_NETINET_IP_H
16630 #include <netinet/ip.h>
16631 #endif
16632 #ifdef HAVE_NETINET_IP_VAR_H
16633 #include <netinet/ip_var.h>
16634 #endif
16635 #ifdef HAVE_NETINET_IP_ICMP_H
16636 #include <netinet/ip_icmp.h>
16637 #endif
16638 #ifdef HAVE_NETINET_ICMP_VAR_H
16639 #include <netinet/icmp_var.h>
16640 #endif
16642 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16644 cat >>confdefs.h <<_ACEOF
16645 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16646 _ACEOF
16652 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16653 #include <sys/types.h>
16654 #endif
16655 #ifdef HAVE_SYS_SOCKETVAR_H
16656 #include <sys/socketvar.h>
16657 #endif
16658 #ifdef HAVE_NETINET_IN_H
16659 #include <netinet/in.h>
16660 #endif
16661 #ifdef HAVE_NETINET_IP_VAR_H
16662 #include <netinet/ip_var.h>
16663 #endif
16665 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16669 _ACEOF
16675 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
16676 #include <netinet/ip_var.h>
16677 #endif
16679 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16683 _ACEOF
16689 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16690 #include <sys/types.h>
16691 #endif
16692 #ifdef HAVE_SYS_SOCKETVAR_H
16693 #include <sys/socketvar.h>
16694 #endif
16695 #ifdef HAVE_NETINET_IN_H
16696 #include <netinet/in.h>
16697 #endif
16698 #ifdef HAVE_NETINET_TCP_H
16699 #include <netinet/tcp.h>
16700 #endif
16701 #ifdef HAVE_NETINET_TCP_VAR_H
16702 #include <netinet/tcp_var.h>
16703 #endif
16705 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16707 cat >>confdefs.h <<_ACEOF
16708 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16709 _ACEOF
16715 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
16716 #include <netinet/tcp_var.h>
16717 #endif
16719 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16721 cat >>confdefs.h <<_ACEOF
16722 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16723 _ACEOF
16729 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16730 #include <sys/types.h>
16731 #endif
16732 #ifdef HAVE_NETINET_IN_H
16733 #include <netinet/in.h>
16734 #endif
16735 #ifdef HAVE_NETINET_IP_VAR_H
16736 #include <netinet/ip_var.h>
16737 #endif
16738 #ifdef HAVE_NETINET_UDP_H
16739 #include <netinet/udp.h>
16740 #endif
16741 #ifdef HAVE_NETINET_UDP_VAR_H
16742 #include <netinet/udp_var.h>
16743 #endif
16745 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16747 cat >>confdefs.h <<_ACEOF
16748 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16749 _ACEOF
16755 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16756 #include <sys/types.h>
16757 #endif
16758 #ifdef HAVE_NET_IF_H
16759 # include <net/if.h>
16760 #endif
16762 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16764 cat >>confdefs.h <<_ACEOF
16765 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16766 _ACEOF
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16773 $as_echo_n "checking for timezone variable... " >&6; }
16774 if ${ac_cv_have_timezone+:} false; then :
16775 $as_echo_n "(cached) " >&6
16776 else
16777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16779 #include <time.h>
16781 main ()
16783 timezone = 1
16785 return 0;
16787 _ACEOF
16788 if ac_fn_c_try_link "$LINENO"; then :
16789 ac_cv_have_timezone="yes"
16790 else
16791 ac_cv_have_timezone="no"
16793 rm -f core conftest.err conftest.$ac_objext \
16794 conftest$ac_exeext conftest.$ac_ext
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16797 $as_echo "$ac_cv_have_timezone" >&6; }
16798 if test "$ac_cv_have_timezone" = "yes"
16799 then
16801 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16805 $as_echo_n "checking for daylight variable... " >&6; }
16806 if ${ac_cv_have_daylight+:} false; then :
16807 $as_echo_n "(cached) " >&6
16808 else
16809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16810 /* end confdefs.h. */
16811 #include <time.h>
16813 main ()
16815 daylight = 1
16817 return 0;
16819 _ACEOF
16820 if ac_fn_c_try_link "$LINENO"; then :
16821 ac_cv_have_daylight="yes"
16822 else
16823 ac_cv_have_daylight="no"
16825 rm -f core conftest.err conftest.$ac_objext \
16826 conftest$ac_exeext conftest.$ac_ext
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16829 $as_echo "$ac_cv_have_daylight" >&6; }
16830 if test "$ac_cv_have_daylight" = "yes"
16831 then
16833 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16837 ac_save_LIBS="$LIBS"
16838 LIBS="$LIBS -lm"
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16840 $as_echo_n "checking for isfinite... " >&6; }
16841 if ${ac_cv_have_isfinite+:} false; then :
16842 $as_echo_n "(cached) " >&6
16843 else
16844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16845 /* end confdefs.h. */
16846 #define _GNU_SOURCE
16847 #include <math.h>
16849 main ()
16851 float f = 0.0; return isfinite(f)
16853 return 0;
16855 _ACEOF
16856 if ac_fn_c_try_link "$LINENO"; then :
16857 ac_cv_have_isfinite="yes"
16858 else
16859 ac_cv_have_isfinite="no"
16861 rm -f core conftest.err conftest.$ac_objext \
16862 conftest$ac_exeext conftest.$ac_ext
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16865 $as_echo "$ac_cv_have_isfinite" >&6; }
16866 if test "$ac_cv_have_isfinite" = "yes"
16867 then
16869 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16874 $as_echo_n "checking for isinf... " >&6; }
16875 if ${ac_cv_have_isinf+:} false; then :
16876 $as_echo_n "(cached) " >&6
16877 else
16878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16879 /* end confdefs.h. */
16880 #include <math.h>
16882 main ()
16884 float f = 0.0; return isinf(f)
16886 return 0;
16888 _ACEOF
16889 if ac_fn_c_try_link "$LINENO"; then :
16890 ac_cv_have_isinf="yes"
16891 else
16892 ac_cv_have_isinf="no"
16894 rm -f core conftest.err conftest.$ac_objext \
16895 conftest$ac_exeext conftest.$ac_ext
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16898 $as_echo "$ac_cv_have_isinf" >&6; }
16899 if test "$ac_cv_have_isinf" = "yes"
16900 then
16902 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16907 $as_echo_n "checking for isnan... " >&6; }
16908 if ${ac_cv_have_isnan+:} false; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16913 #include <math.h>
16915 main ()
16917 float f = 0.0; return isnan(f)
16919 return 0;
16921 _ACEOF
16922 if ac_fn_c_try_link "$LINENO"; then :
16923 ac_cv_have_isnan="yes"
16924 else
16925 ac_cv_have_isnan="no"
16927 rm -f core conftest.err conftest.$ac_objext \
16928 conftest$ac_exeext conftest.$ac_ext
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16931 $as_echo "$ac_cv_have_isnan" >&6; }
16932 if test "$ac_cv_have_isnan" = "yes"
16933 then
16935 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16939 for ac_func in \
16940 asinh \
16941 asinhf \
16942 cbrt \
16943 cbrtf \
16944 erf \
16945 erff \
16946 exp2 \
16947 exp2f \
16948 lgamma \
16949 lgammaf \
16950 llrint \
16951 llrintf \
16952 llround \
16953 llroundf \
16954 log2 \
16955 log2f \
16956 lrint \
16957 lrintf \
16958 lround \
16959 lroundf \
16960 powl \
16961 remainder \
16962 remainderf \
16963 rint \
16964 rintf \
16965 round \
16966 roundf \
16967 trunc \
16968 truncf
16970 do :
16971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16973 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16974 cat >>confdefs.h <<_ACEOF
16975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16976 _ACEOF
16979 done
16981 LIBS="$ac_save_LIBS"
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16984 $as_echo_n "checking for __builtin_clz... " >&6; }
16985 if ${ac_cv_have___builtin_clz+:} false; then :
16986 $as_echo_n "(cached) " >&6
16987 else
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16992 main ()
16994 return __builtin_clz(1)
16996 return 0;
16998 _ACEOF
16999 if ac_fn_c_try_link "$LINENO"; then :
17000 ac_cv_have___builtin_clz="yes"
17001 else
17002 ac_cv_have___builtin_clz="no"
17004 rm -f core conftest.err conftest.$ac_objext \
17005 conftest$ac_exeext conftest.$ac_ext
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17008 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17009 if test "$ac_cv_have___builtin_clz" = "yes"
17010 then
17012 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17017 $as_echo_n "checking for __builtin_popcount... " >&6; }
17018 if ${ac_cv_have___builtin_popcount+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17025 main ()
17027 return __builtin_popcount(1)
17029 return 0;
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_have___builtin_popcount="yes"
17034 else
17035 ac_cv_have___builtin_popcount="no"
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17041 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17042 if test "$ac_cv_have___builtin_popcount" = "yes"
17043 then
17045 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17050 case $host_cpu in
17051 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17052 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17053 if ${ac_cv_cpp_def___i386__+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 #ifndef __i386__
17060 #endif
17061 _ACEOF
17062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17063 $EGREP "yes" >/dev/null 2>&1; then :
17064 ac_cv_cpp_def___i386__=yes
17065 else
17066 ac_cv_cpp_def___i386__=no
17068 rm -f conftest*
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17072 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17073 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17074 CFLAGS="$CFLAGS -D__i386__"
17075 LINTFLAGS="$LINTFLAGS -D__i386__"
17076 fi ;;
17077 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17078 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17079 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 #ifndef __x86_64__
17086 #endif
17087 _ACEOF
17088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17089 $EGREP "yes" >/dev/null 2>&1; then :
17090 ac_cv_cpp_def___x86_64__=yes
17091 else
17092 ac_cv_cpp_def___x86_64__=no
17094 rm -f conftest*
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17098 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17099 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17100 CFLAGS="$CFLAGS -D__x86_64__"
17101 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17102 fi ;;
17103 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17104 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17105 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 #ifndef __sparc64__
17112 #endif
17113 _ACEOF
17114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17115 $EGREP "yes" >/dev/null 2>&1; then :
17116 ac_cv_cpp_def___sparc64__=yes
17117 else
17118 ac_cv_cpp_def___sparc64__=no
17120 rm -f conftest*
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17124 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17125 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17126 CFLAGS="$CFLAGS -D__sparc64__"
17127 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17128 fi ;;
17129 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17130 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17131 if ${ac_cv_cpp_def___sparc__+:} false; then :
17132 $as_echo_n "(cached) " >&6
17133 else
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 #ifndef __sparc__
17138 #endif
17139 _ACEOF
17140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17141 $EGREP "yes" >/dev/null 2>&1; then :
17142 ac_cv_cpp_def___sparc__=yes
17143 else
17144 ac_cv_cpp_def___sparc__=no
17146 rm -f conftest*
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17150 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17151 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17152 CFLAGS="$CFLAGS -D__sparc__"
17153 LINTFLAGS="$LINTFLAGS -D__sparc__"
17154 fi ;;
17155 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17156 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17157 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 #ifndef __powerpc64__
17164 #endif
17165 _ACEOF
17166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17167 $EGREP "yes" >/dev/null 2>&1; then :
17168 ac_cv_cpp_def___powerpc64__=yes
17169 else
17170 ac_cv_cpp_def___powerpc64__=no
17172 rm -f conftest*
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17176 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17177 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17178 CFLAGS="$CFLAGS -D__powerpc64__"
17179 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17180 fi ;;
17181 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17182 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17183 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17188 #ifndef __powerpc__
17190 #endif
17191 _ACEOF
17192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17193 $EGREP "yes" >/dev/null 2>&1; then :
17194 ac_cv_cpp_def___powerpc__=yes
17195 else
17196 ac_cv_cpp_def___powerpc__=no
17198 rm -f conftest*
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17202 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17203 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17204 CFLAGS="$CFLAGS -D__powerpc__"
17205 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17206 fi ;;
17207 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17208 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17209 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17214 #ifndef __aarch64__
17216 #endif
17217 _ACEOF
17218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17219 $EGREP "yes" >/dev/null 2>&1; then :
17220 ac_cv_cpp_def___aarch64__=yes
17221 else
17222 ac_cv_cpp_def___aarch64__=no
17224 rm -f conftest*
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17228 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17229 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17230 CFLAGS="$CFLAGS -D__aarch64__"
17231 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17232 fi ;;
17233 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17234 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17235 if ${ac_cv_cpp_def___arm__+:} false; then :
17236 $as_echo_n "(cached) " >&6
17237 else
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17240 #ifndef __arm__
17242 #endif
17243 _ACEOF
17244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17245 $EGREP "yes" >/dev/null 2>&1; then :
17246 ac_cv_cpp_def___arm__=yes
17247 else
17248 ac_cv_cpp_def___arm__=no
17250 rm -f conftest*
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17254 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17255 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17256 CFLAGS="$CFLAGS -D__arm__"
17257 LINTFLAGS="$LINTFLAGS -D__arm__"
17258 fi ;;
17259 esac
17261 case $host_vendor in
17262 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17263 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17264 if ${ac_cv_cpp_def___sun__+:} false; then :
17265 $as_echo_n "(cached) " >&6
17266 else
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17269 #ifndef __sun__
17271 #endif
17272 _ACEOF
17273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17274 $EGREP "yes" >/dev/null 2>&1; then :
17275 ac_cv_cpp_def___sun__=yes
17276 else
17277 ac_cv_cpp_def___sun__=no
17279 rm -f conftest*
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17283 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17284 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17285 CFLAGS="$CFLAGS -D__sun__"
17286 LINTFLAGS="$LINTFLAGS -D__sun__"
17287 fi ;;
17288 esac
17294 ac_config_commands="$ac_config_commands include/stamp-h"
17296 $as_echo_n "creating Makefile rules..." >&6
17298 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17299 SOCKET_LIBS = $SOCKET_LIBS
17300 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17301 IOKIT_LIBS = $IOKIT_LIBS
17302 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17303 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17304 CORESERVICES_LIBS = $CORESERVICES_LIBS
17305 APPKIT_LIBS = $APPKIT_LIBS
17306 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17307 SECURITY_LIBS = $SECURITY_LIBS
17308 COREAUDIO_LIBS = $COREAUDIO_LIBS
17309 OPENAL_LIBS = $OPENAL_LIBS
17310 OPENCL_LIBS = $OPENCL_LIBS
17311 QUICKTIME_LIBS = $QUICKTIME_LIBS
17312 CARBON_LIBS = $CARBON_LIBS
17313 PTHREAD_LIBS = $PTHREAD_LIBS
17314 X_CFLAGS = $X_CFLAGS
17315 X_PRE_LIBS = $X_PRE_LIBS
17316 X_LIBS = $X_LIBS
17317 X_EXTRA_LIBS = $X_EXTRA_LIBS
17318 PCAP_LIBS = $PCAP_LIBS
17319 XML2_CFLAGS = $XML2_CFLAGS
17320 XML2_LIBS = $XML2_LIBS
17321 XSLT_CFLAGS = $XSLT_CFLAGS
17322 XSLT_LIBS = $XSLT_LIBS
17323 DBUS_CFLAGS = $DBUS_CFLAGS
17324 DBUS_LIBS = $DBUS_LIBS
17325 HAL_CFLAGS = $HAL_CFLAGS
17326 HAL_LIBS = $HAL_LIBS
17327 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17328 GNUTLS_LIBS = $GNUTLS_LIBS
17329 SANE_CFLAGS = $SANE_CFLAGS
17330 SANE_LIBS = $SANE_LIBS
17331 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17332 GPHOTO2_LIBS = $GPHOTO2_LIBS
17333 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17334 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17335 RESOLV_LIBS = $RESOLV_LIBS
17336 LCMS2_CFLAGS = $LCMS2_CFLAGS
17337 LCMS2_LIBS = $LCMS2_LIBS
17338 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17339 FREETYPE_LIBS = $FREETYPE_LIBS
17340 Z_LIBS = $Z_LIBS
17341 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17342 PULSE_CFLAGS = $PULSE_CFLAGS
17343 PULSE_LIBS = $PULSE_LIBS
17344 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17345 GSTREAMER_LIBS = $GSTREAMER_LIBS
17346 ALSA_LIBS = $ALSA_LIBS
17347 OSS4_CFLAGS = $OSS4_CFLAGS
17348 CAPI20_CFLAGS = $CAPI20_CFLAGS
17349 CAPI20_LIBS = $CAPI20_LIBS
17350 CUPS_CFLAGS = $CUPS_CFLAGS
17351 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17352 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17353 JPEG_CFLAGS = $JPEG_CFLAGS
17354 JPEG_LIBS = $JPEG_LIBS
17355 PNG_CFLAGS = $PNG_CFLAGS
17356 PNG_LIBS = $PNG_LIBS
17357 TIFF_CFLAGS = $TIFF_CFLAGS
17358 TIFF_LIBS = $TIFF_LIBS
17359 MPG123_CFLAGS = $MPG123_CFLAGS
17360 MPG123_LIBS = $MPG123_LIBS
17361 KSTAT_LIBS = $KSTAT_LIBS
17362 PROCSTAT_LIBS = $PROCSTAT_LIBS
17363 NETAPI_CFLAGS = $NETAPI_CFLAGS
17364 NETAPI_LIBS = $NETAPI_LIBS
17365 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17366 DL_LIBS = $DL_LIBS
17367 POLL_LIBS = $POLL_LIBS
17368 RT_LIBS = $RT_LIBS
17369 LDAP_LIBS = $LDAP_LIBS
17374 wine_fn_append_rule "
17375 # Rules automatically generated by configure
17377 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17379 .INIT: Makefile
17380 .MAKEFILEDEPS:
17381 all: Makefile
17382 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17383 @./config.status Make.tmp Makefile
17384 depend: \$(MAKEDEP) dummy
17385 \$(MAKEDEP)"
17387 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17388 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17390 if test "x$enable_fonts" != xno; then
17391 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17392 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17393 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17394 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17395 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17396 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17398 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17399 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17400 ac_config_links="$ac_config_links wine:tools/winewrapper"
17401 wine_fn_config_symlink wine
17402 if test "x$enable_win64" != xno; then
17403 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17404 wine_fn_config_symlink wine64
17407 wine_fn_config_dll acledit enable_acledit
17408 wine_fn_config_dll aclui enable_aclui implib
17409 wine_fn_config_dll activeds enable_activeds implib
17410 wine_fn_config_dll actxprxy enable_actxprxy clean
17411 wine_fn_config_lib adsiid
17412 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17413 wine_fn_config_test dlls/advapi32/tests advapi32_test
17414 wine_fn_config_dll advpack enable_advpack implib
17415 wine_fn_config_test dlls/advpack/tests advpack_test
17416 wine_fn_config_dll amstream enable_amstream clean
17417 wine_fn_config_test dlls/amstream/tests amstream_test
17418 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17419 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17420 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17421 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17422 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17423 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17424 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17425 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17426 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17427 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17428 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17429 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17430 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17431 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17432 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17433 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17434 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17435 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17436 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17437 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17438 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17439 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17440 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17442 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17443 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17444 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17446 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17447 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17448 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17450 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17451 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17453 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17454 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17457 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17458 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17459 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17460 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17461 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17462 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17463 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17464 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17465 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17467 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17469 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17470 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17471 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17472 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17475 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17476 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17477 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17478 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17479 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17480 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17481 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17482 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17483 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17484 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17485 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17486 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17487 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17488 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17489 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17490 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17491 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17492 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17493 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17494 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17495 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17496 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17497 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17498 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17499 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17500 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17501 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17502 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17503 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17504 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17505 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17506 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17507 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17508 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17509 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17510 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17511 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17512 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17513 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17514 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17515 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17516 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17517 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17518 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17519 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17520 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17521 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17522 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17523 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17524 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17525 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17526 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17527 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17528 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17529 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17530 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17531 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17532 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17533 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17534 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17535 wine_fn_config_dll apphelp enable_apphelp
17536 wine_fn_config_test dlls/apphelp/tests apphelp_test
17537 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17538 wine_fn_config_dll atl enable_atl clean,implib
17539 wine_fn_config_test dlls/atl/tests atl_test
17540 wine_fn_config_dll atl100 enable_atl100 clean,implib
17541 wine_fn_config_test dlls/atl100/tests atl100_test
17542 wine_fn_config_dll atl110 enable_atl110 clean
17543 wine_fn_config_dll atl80 enable_atl80 clean,implib
17544 wine_fn_config_test dlls/atl80/tests atl80_test
17545 wine_fn_config_dll atl90 enable_atl90 clean
17546 wine_fn_config_dll authz enable_authz
17547 wine_fn_config_dll avicap32 enable_avicap32 implib
17548 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17549 wine_fn_config_test dlls/avifil32/tests avifil32_test
17550 wine_fn_config_dll avifile.dll16 enable_win16
17551 wine_fn_config_dll avrt enable_avrt implib
17552 wine_fn_config_dll bcrypt enable_bcrypt implib
17553 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17554 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17555 wine_fn_config_dll browseui enable_browseui clean
17556 wine_fn_config_test dlls/browseui/tests browseui_test
17557 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17558 wine_fn_config_dll cabinet enable_cabinet implib
17559 wine_fn_config_test dlls/cabinet/tests cabinet_test
17560 wine_fn_config_dll capi2032 enable_capi2032 implib
17561 wine_fn_config_dll cards enable_cards implib
17562 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17563 wine_fn_config_dll clusapi enable_clusapi implib
17564 wine_fn_config_dll combase enable_combase
17565 wine_fn_config_test dlls/combase/tests combase_test
17566 wine_fn_config_dll comcat enable_comcat
17567 wine_fn_config_test dlls/comcat/tests comcat_test
17568 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17569 wine_fn_config_test dlls/comctl32/tests comctl32_test
17570 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17571 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17572 wine_fn_config_dll comm.drv16 enable_win16
17573 wine_fn_config_dll commdlg.dll16 enable_win16
17574 wine_fn_config_dll compobj.dll16 enable_win16
17575 wine_fn_config_dll compstui enable_compstui implib
17576 wine_fn_config_dll comsvcs enable_comsvcs implib
17577 wine_fn_config_dll concrt140 enable_concrt140
17578 wine_fn_config_dll connect enable_connect
17579 wine_fn_config_dll credui enable_credui clean,implib
17580 wine_fn_config_test dlls/credui/tests credui_test
17581 wine_fn_config_dll crtdll enable_crtdll
17582 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17583 wine_fn_config_test dlls/crypt32/tests crypt32_test
17584 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17585 wine_fn_config_dll cryptdll enable_cryptdll implib
17586 wine_fn_config_dll cryptext enable_cryptext
17587 wine_fn_config_dll cryptnet enable_cryptnet implib
17588 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17589 wine_fn_config_dll cryptui enable_cryptui clean,implib
17590 wine_fn_config_test dlls/cryptui/tests cryptui_test
17591 wine_fn_config_dll ctapi32 enable_ctapi32
17592 wine_fn_config_dll ctl3d.dll16 enable_win16
17593 wine_fn_config_dll ctl3d32 enable_ctl3d32
17594 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17595 wine_fn_config_dll d2d1 enable_d2d1 implib
17596 wine_fn_config_test dlls/d2d1/tests d2d1_test
17597 wine_fn_config_dll d3d10 enable_d3d10 implib
17598 wine_fn_config_test dlls/d3d10/tests d3d10_test
17599 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17600 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17601 wine_fn_config_dll d3d10core enable_d3d10core implib
17602 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17603 wine_fn_config_dll d3d11 enable_d3d11 implib
17604 wine_fn_config_test dlls/d3d11/tests d3d11_test
17605 wine_fn_config_dll d3d8 enable_d3d8 implib
17606 wine_fn_config_test dlls/d3d8/tests d3d8_test
17607 wine_fn_config_dll d3d9 enable_d3d9 implib
17608 wine_fn_config_test dlls/d3d9/tests d3d9_test
17609 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17610 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17611 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17612 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17613 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17614 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17615 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17616 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17617 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17618 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17619 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17620 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17621 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17622 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17623 wine_fn_config_dll d3dim enable_d3dim
17624 wine_fn_config_dll d3drm enable_d3drm implib
17625 wine_fn_config_test dlls/d3drm/tests d3drm_test
17626 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17627 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17628 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17629 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17630 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17631 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17632 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17633 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17634 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17635 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17636 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17637 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17638 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17639 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17640 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17641 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17642 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17643 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17644 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17645 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17646 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17647 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17648 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17649 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17650 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17651 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17652 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17653 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17654 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17655 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17656 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17657 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17658 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17659 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17660 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17661 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17662 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17663 wine_fn_config_dll davclnt enable_davclnt
17664 wine_fn_config_dll dbgeng enable_dbgeng implib
17665 wine_fn_config_dll dbghelp enable_dbghelp implib
17666 wine_fn_config_dll dciman32 enable_dciman32 implib
17667 wine_fn_config_dll ddeml.dll16 enable_win16
17668 wine_fn_config_dll ddraw enable_ddraw clean,implib
17669 wine_fn_config_test dlls/ddraw/tests ddraw_test
17670 wine_fn_config_dll ddrawex enable_ddrawex clean
17671 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17672 wine_fn_config_dll devenum enable_devenum clean
17673 wine_fn_config_test dlls/devenum/tests devenum_test
17674 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17675 wine_fn_config_dll difxapi enable_difxapi
17676 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17677 wine_fn_config_test dlls/dinput/tests dinput_test
17678 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17679 wine_fn_config_test dlls/dinput8/tests dinput8_test
17680 wine_fn_config_dll dispdib.dll16 enable_win16
17681 wine_fn_config_dll dispex enable_dispex clean
17682 wine_fn_config_test dlls/dispex/tests dispex_test
17683 wine_fn_config_dll display.drv16 enable_win16
17684 wine_fn_config_dll dmband enable_dmband clean
17685 wine_fn_config_test dlls/dmband/tests dmband_test
17686 wine_fn_config_dll dmcompos enable_dmcompos clean
17687 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17688 wine_fn_config_dll dmime enable_dmime clean
17689 wine_fn_config_test dlls/dmime/tests dmime_test
17690 wine_fn_config_dll dmloader enable_dmloader clean
17691 wine_fn_config_test dlls/dmloader/tests dmloader_test
17692 wine_fn_config_dll dmscript enable_dmscript clean
17693 wine_fn_config_test dlls/dmscript/tests dmscript_test
17694 wine_fn_config_dll dmstyle enable_dmstyle clean
17695 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17696 wine_fn_config_dll dmsynth enable_dmsynth clean
17697 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17698 wine_fn_config_dll dmusic enable_dmusic clean
17699 wine_fn_config_test dlls/dmusic/tests dmusic_test
17700 wine_fn_config_dll dmusic32 enable_dmusic32
17701 wine_fn_config_dll dnsapi enable_dnsapi implib
17702 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17703 wine_fn_config_dll dplay enable_dplay
17704 wine_fn_config_dll dplayx enable_dplayx clean,implib
17705 wine_fn_config_test dlls/dplayx/tests dplayx_test
17706 wine_fn_config_dll dpnaddr enable_dpnaddr
17707 wine_fn_config_dll dpnet enable_dpnet clean,implib
17708 wine_fn_config_test dlls/dpnet/tests dpnet_test
17709 wine_fn_config_dll dpnhpast enable_dpnhpast
17710 wine_fn_config_dll dpnlobby enable_dpnlobby
17711 wine_fn_config_dll dpvoice enable_dpvoice clean
17712 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17713 wine_fn_config_dll dpwsockx enable_dpwsockx
17714 wine_fn_config_dll drmclien enable_drmclien
17715 wine_fn_config_dll dsound enable_dsound clean,implib
17716 wine_fn_config_test dlls/dsound/tests dsound_test
17717 wine_fn_config_dll dssenh enable_dssenh
17718 wine_fn_config_test dlls/dssenh/tests dssenh_test
17719 wine_fn_config_dll dswave enable_dswave clean
17720 wine_fn_config_test dlls/dswave/tests dswave_test
17721 wine_fn_config_dll dwmapi enable_dwmapi implib
17722 wine_fn_config_dll dwrite enable_dwrite implib
17723 wine_fn_config_test dlls/dwrite/tests dwrite_test
17724 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17725 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17726 wine_fn_config_lib dxerr8
17727 wine_fn_config_lib dxerr9
17728 wine_fn_config_dll dxgi enable_dxgi implib
17729 wine_fn_config_test dlls/dxgi/tests dxgi_test
17730 wine_fn_config_lib dxguid
17731 wine_fn_config_dll dxva2 enable_dxva2
17732 wine_fn_config_dll esent enable_esent
17733 wine_fn_config_dll evr enable_evr
17734 wine_fn_config_dll explorerframe enable_explorerframe clean
17735 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17736 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17737 wine_fn_config_dll faultrep enable_faultrep implib
17738 wine_fn_config_test dlls/faultrep/tests faultrep_test
17739 wine_fn_config_dll fltlib enable_fltlib
17740 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17741 wine_fn_config_dll fntcache enable_fntcache
17742 wine_fn_config_dll fontsub enable_fontsub
17743 wine_fn_config_dll fusion enable_fusion
17744 wine_fn_config_test dlls/fusion/tests fusion_test
17745 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17746 wine_fn_config_dll gameux enable_gameux clean
17747 wine_fn_config_test dlls/gameux/tests gameux_test
17748 wine_fn_config_dll gdi.exe16 enable_win16
17749 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17750 wine_fn_config_test dlls/gdi32/tests gdi32_test
17751 wine_fn_config_dll gdiplus enable_gdiplus implib
17752 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17753 wine_fn_config_dll glu32 enable_glu32 implib
17754 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17755 wine_fn_config_dll gpkcsp enable_gpkcsp
17756 wine_fn_config_dll hal enable_hal
17757 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17758 wine_fn_config_dll hid enable_hid implib
17759 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17760 wine_fn_config_dll hlink enable_hlink clean,implib
17761 wine_fn_config_test dlls/hlink/tests hlink_test
17762 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17763 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17764 wine_fn_config_dll httpapi enable_httpapi
17765 wine_fn_config_dll iccvid enable_iccvid clean
17766 wine_fn_config_dll icmp enable_icmp
17767 wine_fn_config_dll ieframe enable_ieframe clean,implib
17768 wine_fn_config_test dlls/ieframe/tests ieframe_test
17769 wine_fn_config_dll ifsmgr.vxd enable_win16
17770 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17771 wine_fn_config_dll imagehlp enable_imagehlp implib
17772 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17773 wine_fn_config_dll imm.dll16 enable_win16
17774 wine_fn_config_dll imm32 enable_imm32 implib
17775 wine_fn_config_test dlls/imm32/tests imm32_test
17776 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17777 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17778 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17779 wine_fn_config_dll inetmib1 enable_inetmib1
17780 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17781 wine_fn_config_dll infosoft enable_infosoft clean
17782 wine_fn_config_test dlls/infosoft/tests infosoft_test
17783 wine_fn_config_dll initpki enable_initpki
17784 wine_fn_config_dll inkobj enable_inkobj
17785 wine_fn_config_dll inseng enable_inseng clean
17786 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17787 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17788 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17789 wine_fn_config_dll itircl enable_itircl
17790 wine_fn_config_dll itss enable_itss clean
17791 wine_fn_config_test dlls/itss/tests itss_test
17792 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17793 wine_fn_config_dll jscript enable_jscript clean
17794 wine_fn_config_test dlls/jscript/tests jscript_test
17795 wine_fn_config_dll jsproxy enable_jsproxy implib
17796 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17797 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17798 wine_fn_config_test dlls/kernel32/tests kernel32_test
17799 wine_fn_config_dll kernelbase enable_kernelbase
17800 wine_fn_config_dll keyboard.drv16 enable_win16
17801 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17802 wine_fn_config_dll ksuser enable_ksuser
17803 wine_fn_config_dll ktmw32 enable_ktmw32
17804 wine_fn_config_dll loadperf enable_loadperf implib
17805 wine_fn_config_dll localspl enable_localspl clean
17806 wine_fn_config_test dlls/localspl/tests localspl_test
17807 wine_fn_config_dll localui enable_localui clean
17808 wine_fn_config_test dlls/localui/tests localui_test
17809 wine_fn_config_dll lz32 enable_lz32 implib
17810 wine_fn_config_test dlls/lz32/tests lz32_test
17811 wine_fn_config_dll lzexpand.dll16 enable_win16
17812 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17813 wine_fn_config_test dlls/mapi32/tests mapi32_test
17814 wine_fn_config_dll mapistub enable_mapistub
17815 wine_fn_config_dll mciavi32 enable_mciavi32
17816 wine_fn_config_dll mcicda enable_mcicda
17817 wine_fn_config_dll mciqtz32 enable_mciqtz32
17818 wine_fn_config_dll mciseq enable_mciseq
17819 wine_fn_config_dll mciwave enable_mciwave
17820 wine_fn_config_dll mf enable_mf
17821 wine_fn_config_dll mfplat enable_mfplat
17822 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17823 wine_fn_config_dll mgmtapi enable_mgmtapi
17824 wine_fn_config_dll midimap enable_midimap
17825 wine_fn_config_dll mlang enable_mlang clean,implib
17826 wine_fn_config_test dlls/mlang/tests mlang_test
17827 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17828 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17829 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17830 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17831 wine_fn_config_dll mmdevldr.vxd enable_win16
17832 wine_fn_config_dll mmsystem.dll16 enable_win16
17833 wine_fn_config_dll monodebg.vxd enable_win16
17834 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17835 wine_fn_config_dll mouse.drv16 enable_win16
17836 wine_fn_config_dll mpr enable_mpr clean,implib
17837 wine_fn_config_test dlls/mpr/tests mpr_test
17838 wine_fn_config_dll mprapi enable_mprapi implib
17839 wine_fn_config_dll msacm.dll16 enable_win16
17840 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17841 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17842 wine_fn_config_test dlls/msacm32/tests msacm32_test
17843 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17844 wine_fn_config_dll msasn1 enable_msasn1 implib
17845 wine_fn_config_dll mscat32 enable_mscat32
17846 wine_fn_config_dll mscms enable_mscms implib
17847 wine_fn_config_test dlls/mscms/tests mscms_test
17848 wine_fn_config_dll mscoree enable_mscoree clean
17849 wine_fn_config_test dlls/mscoree/tests mscoree_test
17850 wine_fn_config_dll msctf enable_msctf clean
17851 wine_fn_config_test dlls/msctf/tests msctf_test
17852 wine_fn_config_dll msctfp enable_msctfp clean
17853 wine_fn_config_dll msdaps enable_msdaps clean
17854 wine_fn_config_dll msdelta enable_msdelta
17855 wine_fn_config_dll msdmo enable_msdmo implib
17856 wine_fn_config_test dlls/msdmo/tests msdmo_test
17857 wine_fn_config_dll msdrm enable_msdrm
17858 wine_fn_config_dll msftedit enable_msftedit
17859 wine_fn_config_dll msg711.acm enable_msg711_acm
17860 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17861 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17862 wine_fn_config_dll mshtml enable_mshtml clean,implib
17863 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17864 wine_fn_config_dll msi enable_msi clean,implib
17865 wine_fn_config_test dlls/msi/tests msi_test
17866 wine_fn_config_dll msident enable_msident clean
17867 wine_fn_config_dll msimg32 enable_msimg32 implib
17868 wine_fn_config_dll msimsg enable_msimsg
17869 wine_fn_config_dll msimtf enable_msimtf clean
17870 wine_fn_config_dll msisip enable_msisip
17871 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17872 wine_fn_config_dll msls31 enable_msls31
17873 wine_fn_config_dll msnet32 enable_msnet32
17874 wine_fn_config_dll mspatcha enable_mspatcha implib
17875 wine_fn_config_dll msrle32 enable_msrle32 clean
17876 wine_fn_config_test dlls/msrle32/tests msrle32_test
17877 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17878 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17879 wine_fn_config_dll mssign32 enable_mssign32
17880 wine_fn_config_dll mssip32 enable_mssip32
17881 wine_fn_config_dll mstask enable_mstask clean
17882 wine_fn_config_test dlls/mstask/tests mstask_test
17883 wine_fn_config_dll msvcirt enable_msvcirt
17884 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17885 wine_fn_config_dll msvcm80 enable_msvcm80
17886 wine_fn_config_dll msvcm90 enable_msvcm90
17887 wine_fn_config_dll msvcp100 enable_msvcp100
17888 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17889 wine_fn_config_dll msvcp110 enable_msvcp110
17890 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17891 wine_fn_config_dll msvcp120 enable_msvcp120
17892 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17893 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17894 wine_fn_config_dll msvcp140 enable_msvcp140
17895 wine_fn_config_dll msvcp60 enable_msvcp60
17896 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17897 wine_fn_config_dll msvcp70 enable_msvcp70
17898 wine_fn_config_dll msvcp71 enable_msvcp71
17899 wine_fn_config_dll msvcp80 enable_msvcp80
17900 wine_fn_config_dll msvcp90 enable_msvcp90
17901 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17902 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17903 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17904 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17905 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17906 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17907 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17908 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17909 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17910 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17911 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17912 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17913 wine_fn_config_dll msvcrt enable_msvcrt implib
17914 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17915 wine_fn_config_dll msvcrt20 enable_msvcrt20
17916 wine_fn_config_dll msvcrt40 enable_msvcrt40
17917 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17918 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17919 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17920 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17921 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17922 wine_fn_config_dll msvideo.dll16 enable_win16
17923 wine_fn_config_dll mswsock enable_mswsock implib
17924 wine_fn_config_dll msxml enable_msxml clean
17925 wine_fn_config_dll msxml2 enable_msxml2 clean
17926 wine_fn_config_dll msxml3 enable_msxml3 clean
17927 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17928 wine_fn_config_dll msxml4 enable_msxml4 clean
17929 wine_fn_config_dll msxml6 enable_msxml6 clean
17930 wine_fn_config_dll ncrypt enable_ncrypt
17931 wine_fn_config_dll nddeapi enable_nddeapi implib
17932 wine_fn_config_dll ndis.sys enable_ndis_sys
17933 wine_fn_config_dll netapi32 enable_netapi32 implib
17934 wine_fn_config_test dlls/netapi32/tests netapi32_test
17935 wine_fn_config_dll netcfgx enable_netcfgx clean
17936 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17937 wine_fn_config_dll netprofm enable_netprofm clean
17938 wine_fn_config_test dlls/netprofm/tests netprofm_test
17939 wine_fn_config_dll newdev enable_newdev implib
17940 wine_fn_config_dll normaliz enable_normaliz implib
17941 wine_fn_config_dll npmshtml enable_npmshtml
17942 wine_fn_config_dll npptools enable_npptools
17943 wine_fn_config_dll ntdll enable_ntdll implib
17944 wine_fn_config_test dlls/ntdll/tests ntdll_test
17945 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17946 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17947 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17948 wine_fn_config_dll ntprint enable_ntprint
17949 wine_fn_config_test dlls/ntprint/tests ntprint_test
17950 wine_fn_config_dll objsel enable_objsel clean
17951 wine_fn_config_dll odbc32 enable_odbc32 implib
17952 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17953 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17954 wine_fn_config_dll odbccu32 enable_odbccu32
17955 wine_fn_config_dll ole2.dll16 enable_win16
17956 wine_fn_config_dll ole2conv.dll16 enable_win16
17957 wine_fn_config_dll ole2disp.dll16 enable_win16
17958 wine_fn_config_dll ole2nls.dll16 enable_win16
17959 wine_fn_config_dll ole2prox.dll16 enable_win16
17960 wine_fn_config_dll ole2thk.dll16 enable_win16
17961 wine_fn_config_dll ole32 enable_ole32 clean,implib
17962 wine_fn_config_test dlls/ole32/tests ole32_test
17963 wine_fn_config_dll oleacc enable_oleacc clean,implib
17964 wine_fn_config_test dlls/oleacc/tests oleacc_test
17965 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17966 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17967 wine_fn_config_dll olecli.dll16 enable_win16
17968 wine_fn_config_dll olecli32 enable_olecli32 implib
17969 wine_fn_config_dll oledb32 enable_oledb32 clean
17970 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17971 wine_fn_config_dll oledlg enable_oledlg clean,implib
17972 wine_fn_config_test dlls/oledlg/tests oledlg_test
17973 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17974 wine_fn_config_dll olesvr.dll16 enable_win16
17975 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17976 wine_fn_config_dll olethk32 enable_olethk32
17977 wine_fn_config_dll openal32 enable_openal32
17978 wine_fn_config_dll opencl enable_opencl
17979 wine_fn_config_dll opengl32 enable_opengl32 implib
17980 wine_fn_config_test dlls/opengl32/tests opengl32_test
17981 wine_fn_config_dll packager enable_packager clean
17982 wine_fn_config_test dlls/packager/tests packager_test
17983 wine_fn_config_dll pdh enable_pdh implib
17984 wine_fn_config_test dlls/pdh/tests pdh_test
17985 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17986 wine_fn_config_dll pidgen enable_pidgen
17987 wine_fn_config_dll powrprof enable_powrprof implib
17988 wine_fn_config_dll printui enable_printui
17989 wine_fn_config_dll prntvpt enable_prntvpt
17990 wine_fn_config_dll propsys enable_propsys clean,implib
17991 wine_fn_config_test dlls/propsys/tests propsys_test
17992 wine_fn_config_dll psapi enable_psapi implib
17993 wine_fn_config_test dlls/psapi/tests psapi_test
17994 wine_fn_config_dll pstorec enable_pstorec clean
17995 wine_fn_config_dll qcap enable_qcap
17996 wine_fn_config_test dlls/qcap/tests qcap_test
17997 wine_fn_config_dll qedit enable_qedit clean
17998 wine_fn_config_test dlls/qedit/tests qedit_test
17999 wine_fn_config_dll qmgr enable_qmgr clean
18000 wine_fn_config_test dlls/qmgr/tests qmgr_test
18001 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18002 wine_fn_config_dll quartz enable_quartz clean,implib
18003 wine_fn_config_test dlls/quartz/tests quartz_test clean
18004 wine_fn_config_dll query enable_query
18005 wine_fn_config_dll rasapi16.dll16 enable_win16
18006 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18007 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18008 wine_fn_config_dll rasdlg enable_rasdlg implib
18009 wine_fn_config_dll regapi enable_regapi
18010 wine_fn_config_dll resutils enable_resutils implib
18011 wine_fn_config_dll riched20 enable_riched20 clean,implib
18012 wine_fn_config_test dlls/riched20/tests riched20_test
18013 wine_fn_config_dll riched32 enable_riched32
18014 wine_fn_config_test dlls/riched32/tests riched32_test
18015 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18016 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18017 wine_fn_config_dll rsabase enable_rsabase
18018 wine_fn_config_dll rsaenh enable_rsaenh implib
18019 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18020 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18021 wine_fn_config_dll rtutils enable_rtutils implib
18022 wine_fn_config_dll samlib enable_samlib
18023 wine_fn_config_dll sane.ds enable_sane_ds clean
18024 wine_fn_config_dll scarddlg enable_scarddlg
18025 wine_fn_config_dll sccbase enable_sccbase
18026 wine_fn_config_dll schannel enable_schannel
18027 wine_fn_config_test dlls/schannel/tests schannel_test
18028 wine_fn_config_dll schedsvc enable_schedsvc clean
18029 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18030 wine_fn_config_dll scrrun enable_scrrun clean
18031 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18032 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18033 wine_fn_config_dll secur32 enable_secur32 implib
18034 wine_fn_config_test dlls/secur32/tests secur32_test
18035 wine_fn_config_dll security enable_security
18036 wine_fn_config_dll sensapi enable_sensapi implib
18037 wine_fn_config_dll serialui enable_serialui clean
18038 wine_fn_config_test dlls/serialui/tests serialui_test
18039 wine_fn_config_dll setupapi enable_setupapi clean,implib
18040 wine_fn_config_test dlls/setupapi/tests setupapi_test
18041 wine_fn_config_dll setupx.dll16 enable_win16
18042 wine_fn_config_dll sfc enable_sfc implib
18043 wine_fn_config_dll sfc_os enable_sfc_os implib
18044 wine_fn_config_dll shdoclc enable_shdoclc clean
18045 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18046 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18047 wine_fn_config_dll shell.dll16 enable_win16
18048 wine_fn_config_dll shell32 enable_shell32 clean,implib
18049 wine_fn_config_test dlls/shell32/tests shell32_test
18050 wine_fn_config_dll shfolder enable_shfolder implib
18051 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18052 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18053 wine_fn_config_dll slbcsp enable_slbcsp
18054 wine_fn_config_dll slc enable_slc implib
18055 wine_fn_config_test dlls/slc/tests slc_test
18056 wine_fn_config_dll snmpapi enable_snmpapi implib
18057 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18058 wine_fn_config_dll softpub enable_softpub
18059 wine_fn_config_dll sound.drv16 enable_win16
18060 wine_fn_config_dll spoolss enable_spoolss implib
18061 wine_fn_config_test dlls/spoolss/tests spoolss_test
18062 wine_fn_config_dll sspicli enable_sspicli
18063 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18064 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18065 wine_fn_config_dll sti enable_sti clean,implib
18066 wine_fn_config_test dlls/sti/tests sti_test
18067 wine_fn_config_dll storage.dll16 enable_win16
18068 wine_fn_config_dll stress.dll16 enable_win16
18069 wine_fn_config_lib strmbase
18070 wine_fn_config_lib strmiids
18071 wine_fn_config_dll svrapi enable_svrapi
18072 wine_fn_config_dll sxs enable_sxs implib
18073 wine_fn_config_test dlls/sxs/tests sxs_test
18074 wine_fn_config_dll system.drv16 enable_win16
18075 wine_fn_config_dll t2embed enable_t2embed implib
18076 wine_fn_config_test dlls/t2embed/tests t2embed_test
18077 wine_fn_config_dll tapi32 enable_tapi32 implib
18078 wine_fn_config_dll taskschd enable_taskschd clean
18079 wine_fn_config_test dlls/taskschd/tests taskschd_test
18080 wine_fn_config_dll tdi.sys enable_tdi_sys
18081 wine_fn_config_dll toolhelp.dll16 enable_win16
18082 wine_fn_config_dll traffic enable_traffic
18083 wine_fn_config_dll twain.dll16 enable_win16
18084 wine_fn_config_dll twain_32 enable_twain_32
18085 wine_fn_config_test dlls/twain_32/tests twain_32_test
18086 wine_fn_config_dll typelib.dll16 enable_win16
18087 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18088 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18089 wine_fn_config_dll unicows enable_unicows implib
18090 wine_fn_config_dll updspapi enable_updspapi
18091 wine_fn_config_dll url enable_url implib
18092 wine_fn_config_dll urlmon enable_urlmon clean,implib
18093 wine_fn_config_test dlls/urlmon/tests urlmon_test
18094 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18095 wine_fn_config_dll user.exe16 enable_win16
18096 wine_fn_config_dll user32 enable_user32 clean,implib
18097 wine_fn_config_test dlls/user32/tests user32_test
18098 wine_fn_config_dll userenv enable_userenv implib
18099 wine_fn_config_test dlls/userenv/tests userenv_test
18100 wine_fn_config_dll usp10 enable_usp10 implib
18101 wine_fn_config_test dlls/usp10/tests usp10_test
18102 wine_fn_config_lib uuid
18103 wine_fn_config_dll uxtheme enable_uxtheme implib
18104 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18105 wine_fn_config_dll vbscript enable_vbscript clean
18106 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18107 wine_fn_config_dll vcomp enable_vcomp
18108 wine_fn_config_test dlls/vcomp/tests vcomp_test
18109 wine_fn_config_dll vcomp100 enable_vcomp100
18110 wine_fn_config_dll vcomp110 enable_vcomp110
18111 wine_fn_config_dll vcomp120 enable_vcomp120
18112 wine_fn_config_dll vcomp140 enable_vcomp140
18113 wine_fn_config_dll vcomp90 enable_vcomp90
18114 wine_fn_config_dll vcruntime140 enable_vcruntime140
18115 wine_fn_config_dll vdhcp.vxd enable_win16
18116 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18117 wine_fn_config_dll ver.dll16 enable_win16
18118 wine_fn_config_dll version enable_version implib
18119 wine_fn_config_test dlls/version/tests version_test
18120 wine_fn_config_dll vmm.vxd enable_win16
18121 wine_fn_config_dll vnbt.vxd enable_win16
18122 wine_fn_config_dll vnetbios.vxd enable_win16
18123 wine_fn_config_dll vssapi enable_vssapi
18124 wine_fn_config_dll vtdapi.vxd enable_win16
18125 wine_fn_config_dll vwin32.vxd enable_win16
18126 wine_fn_config_dll w32skrnl enable_win16
18127 wine_fn_config_dll w32sys.dll16 enable_win16
18128 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18129 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18130 wine_fn_config_dll wbemprox enable_wbemprox clean
18131 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18132 wine_fn_config_dll webservices enable_webservices implib
18133 wine_fn_config_test dlls/webservices/tests webservices_test
18134 wine_fn_config_dll wer enable_wer implib
18135 wine_fn_config_test dlls/wer/tests wer_test
18136 wine_fn_config_dll wevtapi enable_wevtapi
18137 wine_fn_config_dll wiaservc enable_wiaservc clean
18138 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18139 wine_fn_config_dll wimgapi enable_wimgapi
18140 wine_fn_config_dll win32s16.dll16 enable_win16
18141 wine_fn_config_dll win87em.dll16 enable_win16
18142 wine_fn_config_dll winaspi.dll16 enable_win16
18143 wine_fn_config_dll windebug.dll16 enable_win16
18144 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18145 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18146 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18147 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18148 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18149 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18150 wine_fn_config_lib winecrt0
18151 wine_fn_config_dll wined3d enable_wined3d implib
18152 wine_fn_config_dll winegstreamer enable_winegstreamer
18153 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18154 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18155 wine_fn_config_dll winemapi enable_winemapi
18156 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18157 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18158 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18159 wine_fn_config_dll wineps16.drv16 enable_win16
18160 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18161 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18162 wine_fn_config_dll winex11.drv enable_winex11_drv
18163 wine_fn_config_dll wing.dll16 enable_win16
18164 wine_fn_config_dll wing32 enable_wing32
18165 wine_fn_config_dll winhttp enable_winhttp clean,implib
18166 wine_fn_config_test dlls/winhttp/tests winhttp_test
18167 wine_fn_config_dll wininet enable_wininet clean,implib
18168 wine_fn_config_test dlls/wininet/tests wininet_test
18169 wine_fn_config_dll winmm enable_winmm clean,implib
18170 wine_fn_config_test dlls/winmm/tests winmm_test
18171 wine_fn_config_dll winnls.dll16 enable_win16
18172 wine_fn_config_dll winnls32 enable_winnls32 implib
18173 wine_fn_config_dll winscard enable_winscard implib
18174 wine_fn_config_dll winsock.dll16 enable_win16
18175 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18176 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18177 wine_fn_config_dll winsta enable_winsta
18178 wine_fn_config_dll wintab.dll16 enable_win16
18179 wine_fn_config_dll wintab32 enable_wintab32 implib
18180 wine_fn_config_test dlls/wintab32/tests wintab32_test
18181 wine_fn_config_dll wintrust enable_wintrust implib
18182 wine_fn_config_test dlls/wintrust/tests wintrust_test
18183 wine_fn_config_dll wlanapi enable_wlanapi
18184 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18185 wine_fn_config_test dlls/wldap32/tests wldap32_test
18186 wine_fn_config_dll wmasf enable_wmasf
18187 wine_fn_config_dll wmi enable_wmi
18188 wine_fn_config_dll wmiutils enable_wmiutils clean
18189 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18190 wine_fn_config_dll wmp enable_wmp clean
18191 wine_fn_config_test dlls/wmp/tests wmp_test
18192 wine_fn_config_dll wmvcore enable_wmvcore
18193 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18194 wine_fn_config_dll wow32 enable_win16 implib
18195 wine_fn_config_dll wpc enable_wpc clean
18196 wine_fn_config_test dlls/wpc/tests wpc_test
18197 wine_fn_config_dll wpcap enable_wpcap
18198 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18199 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18200 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18201 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18202 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18203 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18204 wine_fn_config_dll wsock32 enable_wsock32 implib
18205 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18206 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18207 wine_fn_config_dll wuapi enable_wuapi clean
18208 wine_fn_config_dll wuaueng enable_wuaueng
18209 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18210 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18211 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18212 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18213 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18214 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18215 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18216 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18217 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18218 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18219 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18220 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18221 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18222 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18223 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18224 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18225 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18226 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18227 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18228 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18229 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18230 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18231 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18232 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18233 wine_fn_config_dll xinput1_1 enable_xinput1_1
18234 wine_fn_config_dll xinput1_2 enable_xinput1_2
18235 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18236 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18237 wine_fn_config_dll xinput1_4 enable_xinput1_4
18238 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18239 wine_fn_config_dll xmllite enable_xmllite implib
18240 wine_fn_config_test dlls/xmllite/tests xmllite_test
18241 wine_fn_config_dll xolehlp enable_xolehlp
18242 wine_fn_config_dll xpsprint enable_xpsprint
18243 wine_fn_config_dll xpssvcs enable_xpssvcs
18244 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18245 wine_fn_config_makefile include enable_include clean,install-dev
18246 wine_fn_config_makefile libs/port enable_libs_port
18247 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18248 wine_fn_config_makefile libs/wpp enable_libs_wpp
18249 wine_fn_config_makefile loader enable_loader clean,install-lib
18250 wine_fn_config_makefile po enable_po clean
18251 wine_fn_config_program arp enable_arp install
18252 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18253 wine_fn_config_program attrib enable_attrib clean,install
18254 wine_fn_config_program cabarc enable_cabarc install
18255 wine_fn_config_program cacls enable_cacls install
18256 wine_fn_config_program clock enable_clock clean,install
18257 wine_fn_config_program cmd enable_cmd clean,install
18258 wine_fn_config_test programs/cmd/tests cmd.exe_test
18259 wine_fn_config_program conhost enable_conhost install
18260 wine_fn_config_program control enable_control install
18261 wine_fn_config_program cscript enable_cscript clean,install
18262 wine_fn_config_program dpnsvr enable_dpnsvr install
18263 wine_fn_config_program dxdiag enable_dxdiag clean,install
18264 wine_fn_config_program eject enable_eject install
18265 wine_fn_config_program expand enable_expand install
18266 wine_fn_config_program explorer enable_explorer clean,install
18267 wine_fn_config_program extrac32 enable_extrac32 install
18268 wine_fn_config_program findstr enable_findstr install
18269 wine_fn_config_program fsutil enable_fsutil install
18270 wine_fn_config_program hh enable_hh install
18271 wine_fn_config_program hostname enable_hostname clean,install
18272 wine_fn_config_program icacls enable_icacls install
18273 wine_fn_config_program icinfo enable_icinfo install
18274 wine_fn_config_program iexplore enable_iexplore install
18275 wine_fn_config_program ipconfig enable_ipconfig clean,install
18276 wine_fn_config_program lodctr enable_lodctr install
18277 wine_fn_config_program mofcomp enable_mofcomp install
18278 wine_fn_config_program mshta enable_mshta install
18279 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18280 wine_fn_config_program net enable_net clean,install
18281 wine_fn_config_program netsh enable_netsh install
18282 wine_fn_config_program netstat enable_netstat clean,install
18283 wine_fn_config_program ngen enable_ngen install
18284 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18285 wine_fn_config_program oleview enable_oleview clean,install
18286 wine_fn_config_program ping enable_ping install
18287 wine_fn_config_program plugplay enable_plugplay install
18288 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18289 wine_fn_config_program progman enable_progman clean,install
18290 wine_fn_config_program reg enable_reg clean,install
18291 wine_fn_config_test programs/reg/tests reg.exe_test
18292 wine_fn_config_program regasm enable_regasm install
18293 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18294 wine_fn_config_test programs/regedit/tests regedit.exe_test
18295 wine_fn_config_program regsvcs enable_regsvcs install
18296 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18297 wine_fn_config_program rpcss enable_rpcss clean,install
18298 wine_fn_config_program rundll.exe16 enable_win16 install
18299 wine_fn_config_program rundll32 enable_rundll32 install
18300 wine_fn_config_program sc enable_sc install
18301 wine_fn_config_program schtasks enable_schtasks install
18302 wine_fn_config_program sdbinst enable_sdbinst install
18303 wine_fn_config_program secedit enable_secedit install
18304 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18305 wine_fn_config_program services enable_services clean,install
18306 wine_fn_config_test programs/services/tests services.exe_test
18307 wine_fn_config_program shutdown enable_shutdown install
18308 wine_fn_config_program spoolsv enable_spoolsv install
18309 wine_fn_config_program start enable_start clean,install
18310 wine_fn_config_program svchost enable_svchost install
18311 wine_fn_config_program systeminfo enable_systeminfo install
18312 wine_fn_config_program taskkill enable_taskkill clean,install
18313 wine_fn_config_program tasklist enable_tasklist install
18314 wine_fn_config_program taskmgr enable_taskmgr clean,install
18315 wine_fn_config_program termsv enable_termsv install
18316 wine_fn_config_program uninstaller enable_uninstaller clean,install
18317 wine_fn_config_program unlodctr enable_unlodctr install
18318 wine_fn_config_program view enable_view clean,install
18319 wine_fn_config_program wevtutil enable_wevtutil install
18320 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18321 wine_fn_config_program winebrowser enable_winebrowser install
18322 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18323 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18324 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18325 wine_fn_config_program winedevice enable_winedevice install
18326 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18327 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18328 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18329 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18330 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18331 wine_fn_config_program winetest enable_winetest clean
18332 wine_fn_config_program winevdm enable_win16 install
18333 wine_fn_config_program winhelp.exe16 enable_win16 install
18334 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18335 wine_fn_config_program winoldap.mod16 enable_win16 install
18336 wine_fn_config_program winver enable_winver install
18337 wine_fn_config_program wmic enable_wmic clean,install
18338 wine_fn_config_program wmplayer enable_wmplayer install
18339 wine_fn_config_program wordpad enable_wordpad clean,install
18340 wine_fn_config_program write enable_write clean,install
18341 wine_fn_config_program wscript enable_wscript clean,install
18342 wine_fn_config_test programs/wscript/tests wscript.exe_test
18343 wine_fn_config_program wusa enable_wusa install
18344 wine_fn_config_program xcopy enable_xcopy clean,install
18345 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18346 wine_fn_config_makefile server enable_server clean,install-lib
18347 wine_fn_config_tool tools clean
18348 wine_fn_config_tool tools/sfnt2fon clean
18349 wine_fn_config_tool tools/widl clean,install-dev
18350 wine_fn_config_tool tools/winebuild clean,install-dev
18351 wine_fn_config_tool tools/winedump clean,install-dev
18352 wine_fn_config_tool tools/winegcc clean,install-dev
18353 wine_fn_config_tool tools/winemaker clean,install-dev
18354 wine_fn_config_tool tools/wmc clean,install-dev
18355 wine_fn_config_tool tools/wrc clean,install-dev
18358 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18359 wine_fn_append_file CONFIGURE_TARGETS "tags"
18360 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18361 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18362 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18363 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18364 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18365 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18367 if test "x$enable_tools" != xno
18368 then
18369 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18370 ac_config_commands="$ac_config_commands tools/makedep"
18374 ac_config_commands="$ac_config_commands Makefile"
18377 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18381 if test "x$enable_maintainer_mode" = xyes
18382 then
18383 wine_fn_append_rule "configure: configure.ac aclocal.m4
18384 autoconf --warnings=all
18385 include/config.h.in: include/stamp-h.in
18386 include/stamp-h.in: configure.ac aclocal.m4
18387 autoheader --warnings=all
18388 @echo timestamp > \$@"
18391 if test "x$enable_tools" != xno
18392 then
18393 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18394 @./config.status tools/makedep
18395 Makefile: tools/makedep$ac_exeext"
18396 else
18397 wine_fn_append_rule "\$(MAKEDEP):
18398 @echo \"You need to run make in $TOOLSDIR first\" && false"
18401 if test -n "$with_wine64"
18402 then
18403 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18404 fonts server:
18405 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18406 $with_wine64/loader/wine:
18407 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18408 $with_wine64/loader/wine-preloader:
18409 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18410 clean::
18411 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18412 else
18413 WINELOADER_INSTALL="wine.inf"
18415 wine_fn_append_rule "install install-lib::
18416 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18417 uninstall::
18418 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18419 case $host_os in
18420 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18421 *) wine_fn_append_rule "install install-lib::
18422 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18423 uninstall::
18424 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18425 esac
18428 $as_echo " done" >&6
18429 cat >confcache <<\_ACEOF
18430 # This file is a shell script that caches the results of configure
18431 # tests run on this system so they can be shared between configure
18432 # scripts and configure runs, see configure's option --config-cache.
18433 # It is not useful on other systems. If it contains results you don't
18434 # want to keep, you may remove or edit it.
18436 # config.status only pays attention to the cache file if you give it
18437 # the --recheck option to rerun configure.
18439 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18440 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18441 # following values.
18443 _ACEOF
18445 # The following way of writing the cache mishandles newlines in values,
18446 # but we know of no workaround that is simple, portable, and efficient.
18447 # So, we kill variables containing newlines.
18448 # Ultrix sh set writes to stderr and can't be redirected directly,
18449 # and sets the high bit in the cache file unless we assign to the vars.
18451 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18452 eval ac_val=\$$ac_var
18453 case $ac_val in #(
18454 *${as_nl}*)
18455 case $ac_var in #(
18456 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18457 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18458 esac
18459 case $ac_var in #(
18460 _ | IFS | as_nl) ;; #(
18461 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18462 *) { eval $ac_var=; unset $ac_var;} ;;
18463 esac ;;
18464 esac
18465 done
18467 (set) 2>&1 |
18468 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18469 *${as_nl}ac_space=\ *)
18470 # `set' does not quote correctly, so add quotes: double-quote
18471 # substitution turns \\\\ into \\, and sed turns \\ into \.
18472 sed -n \
18473 "s/'/'\\\\''/g;
18474 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18475 ;; #(
18477 # `set' quotes correctly as required by POSIX, so do not add quotes.
18478 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18480 esac |
18481 sort
18483 sed '
18484 /^ac_cv_env_/b end
18485 t clear
18486 :clear
18487 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18488 t end
18489 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18490 :end' >>confcache
18491 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18492 if test -w "$cache_file"; then
18493 if test "x$cache_file" != "x/dev/null"; then
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18495 $as_echo "$as_me: updating cache $cache_file" >&6;}
18496 if test ! -f "$cache_file" || test -h "$cache_file"; then
18497 cat confcache >"$cache_file"
18498 else
18499 case $cache_file in #(
18500 */* | ?:*)
18501 mv -f confcache "$cache_file"$$ &&
18502 mv -f "$cache_file"$$ "$cache_file" ;; #(
18504 mv -f confcache "$cache_file" ;;
18505 esac
18508 else
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18510 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18513 rm -f confcache
18515 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18516 # Let make expand exec_prefix.
18517 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18519 DEFS=-DHAVE_CONFIG_H
18521 ac_libobjs=
18522 ac_ltlibobjs=
18524 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18525 # 1. Remove the extension, and $U if already installed.
18526 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18527 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18528 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18529 # will be set to the directory where LIBOBJS objects are built.
18530 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18531 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18532 done
18533 LIBOBJS=$ac_libobjs
18535 LTLIBOBJS=$ac_ltlibobjs
18539 : "${CONFIG_STATUS=./config.status}"
18540 ac_write_fail=0
18541 ac_clean_files_save=$ac_clean_files
18542 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18544 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18545 as_write_fail=0
18546 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18547 #! $SHELL
18548 # Generated by $as_me.
18549 # Run this file to recreate the current configuration.
18550 # Compiler output produced by configure, useful for debugging
18551 # configure, is in config.log if it exists.
18553 debug=false
18554 ac_cs_recheck=false
18555 ac_cs_silent=false
18557 SHELL=\${CONFIG_SHELL-$SHELL}
18558 export SHELL
18559 _ASEOF
18560 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18561 ## -------------------- ##
18562 ## M4sh Initialization. ##
18563 ## -------------------- ##
18565 # Be more Bourne compatible
18566 DUALCASE=1; export DUALCASE # for MKS sh
18567 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18568 emulate sh
18569 NULLCMD=:
18570 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18571 # is contrary to our usage. Disable this feature.
18572 alias -g '${1+"$@"}'='"$@"'
18573 setopt NO_GLOB_SUBST
18574 else
18575 case `(set -o) 2>/dev/null` in #(
18576 *posix*) :
18577 set -o posix ;; #(
18578 *) :
18580 esac
18584 as_nl='
18586 export as_nl
18587 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18588 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18590 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18591 # Prefer a ksh shell builtin over an external printf program on Solaris,
18592 # but without wasting forks for bash or zsh.
18593 if test -z "$BASH_VERSION$ZSH_VERSION" \
18594 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18595 as_echo='print -r --'
18596 as_echo_n='print -rn --'
18597 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18598 as_echo='printf %s\n'
18599 as_echo_n='printf %s'
18600 else
18601 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18602 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18603 as_echo_n='/usr/ucb/echo -n'
18604 else
18605 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18606 as_echo_n_body='eval
18607 arg=$1;
18608 case $arg in #(
18609 *"$as_nl"*)
18610 expr "X$arg" : "X\\(.*\\)$as_nl";
18611 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18612 esac;
18613 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18615 export as_echo_n_body
18616 as_echo_n='sh -c $as_echo_n_body as_echo'
18618 export as_echo_body
18619 as_echo='sh -c $as_echo_body as_echo'
18622 # The user is always right.
18623 if test "${PATH_SEPARATOR+set}" != set; then
18624 PATH_SEPARATOR=:
18625 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18626 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18627 PATH_SEPARATOR=';'
18632 # IFS
18633 # We need space, tab and new line, in precisely that order. Quoting is
18634 # there to prevent editors from complaining about space-tab.
18635 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18636 # splitting by setting IFS to empty value.)
18637 IFS=" "" $as_nl"
18639 # Find who we are. Look in the path if we contain no directory separator.
18640 as_myself=
18641 case $0 in #((
18642 *[\\/]* ) as_myself=$0 ;;
18643 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18644 for as_dir in $PATH
18646 IFS=$as_save_IFS
18647 test -z "$as_dir" && as_dir=.
18648 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18649 done
18650 IFS=$as_save_IFS
18653 esac
18654 # We did not find ourselves, most probably we were run as `sh COMMAND'
18655 # in which case we are not to be found in the path.
18656 if test "x$as_myself" = x; then
18657 as_myself=$0
18659 if test ! -f "$as_myself"; then
18660 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18661 exit 1
18664 # Unset variables that we do not need and which cause bugs (e.g. in
18665 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18666 # suppresses any "Segmentation fault" message there. '((' could
18667 # trigger a bug in pdksh 5.2.14.
18668 for as_var in BASH_ENV ENV MAIL MAILPATH
18669 do eval test x\${$as_var+set} = xset \
18670 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18671 done
18672 PS1='$ '
18673 PS2='> '
18674 PS4='+ '
18676 # NLS nuisances.
18677 LC_ALL=C
18678 export LC_ALL
18679 LANGUAGE=C
18680 export LANGUAGE
18682 # CDPATH.
18683 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18686 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18687 # ----------------------------------------
18688 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18689 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18690 # script with STATUS, using 1 if that was 0.
18691 as_fn_error ()
18693 as_status=$1; test $as_status -eq 0 && as_status=1
18694 if test "$4"; then
18695 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18696 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18698 $as_echo "$as_me: error: $2" >&2
18699 as_fn_exit $as_status
18700 } # as_fn_error
18703 # as_fn_set_status STATUS
18704 # -----------------------
18705 # Set $? to STATUS, without forking.
18706 as_fn_set_status ()
18708 return $1
18709 } # as_fn_set_status
18711 # as_fn_exit STATUS
18712 # -----------------
18713 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18714 as_fn_exit ()
18716 set +e
18717 as_fn_set_status $1
18718 exit $1
18719 } # as_fn_exit
18721 # as_fn_unset VAR
18722 # ---------------
18723 # Portably unset VAR.
18724 as_fn_unset ()
18726 { eval $1=; unset $1;}
18728 as_unset=as_fn_unset
18729 # as_fn_append VAR VALUE
18730 # ----------------------
18731 # Append the text in VALUE to the end of the definition contained in VAR. Take
18732 # advantage of any shell optimizations that allow amortized linear growth over
18733 # repeated appends, instead of the typical quadratic growth present in naive
18734 # implementations.
18735 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18736 eval 'as_fn_append ()
18738 eval $1+=\$2
18740 else
18741 as_fn_append ()
18743 eval $1=\$$1\$2
18745 fi # as_fn_append
18747 # as_fn_arith ARG...
18748 # ------------------
18749 # Perform arithmetic evaluation on the ARGs, and store the result in the
18750 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18751 # must be portable across $(()) and expr.
18752 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18753 eval 'as_fn_arith ()
18755 as_val=$(( $* ))
18757 else
18758 as_fn_arith ()
18760 as_val=`expr "$@" || test $? -eq 1`
18762 fi # as_fn_arith
18765 if expr a : '\(a\)' >/dev/null 2>&1 &&
18766 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18767 as_expr=expr
18768 else
18769 as_expr=false
18772 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18773 as_basename=basename
18774 else
18775 as_basename=false
18778 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18779 as_dirname=dirname
18780 else
18781 as_dirname=false
18784 as_me=`$as_basename -- "$0" ||
18785 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18786 X"$0" : 'X\(//\)$' \| \
18787 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18788 $as_echo X/"$0" |
18789 sed '/^.*\/\([^/][^/]*\)\/*$/{
18790 s//\1/
18793 /^X\/\(\/\/\)$/{
18794 s//\1/
18797 /^X\/\(\/\).*/{
18798 s//\1/
18801 s/.*/./; q'`
18803 # Avoid depending upon Character Ranges.
18804 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18805 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18806 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18807 as_cr_digits='0123456789'
18808 as_cr_alnum=$as_cr_Letters$as_cr_digits
18810 ECHO_C= ECHO_N= ECHO_T=
18811 case `echo -n x` in #(((((
18812 -n*)
18813 case `echo 'xy\c'` in
18814 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18815 xy) ECHO_C='\c';;
18816 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18817 ECHO_T=' ';;
18818 esac;;
18820 ECHO_N='-n';;
18821 esac
18823 rm -f conf$$ conf$$.exe conf$$.file
18824 if test -d conf$$.dir; then
18825 rm -f conf$$.dir/conf$$.file
18826 else
18827 rm -f conf$$.dir
18828 mkdir conf$$.dir 2>/dev/null
18830 if (echo >conf$$.file) 2>/dev/null; then
18831 if ln -s conf$$.file conf$$ 2>/dev/null; then
18832 as_ln_s='ln -s'
18833 # ... but there are two gotchas:
18834 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18835 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18836 # In both cases, we have to default to `cp -pR'.
18837 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18838 as_ln_s='cp -pR'
18839 elif ln conf$$.file conf$$ 2>/dev/null; then
18840 as_ln_s=ln
18841 else
18842 as_ln_s='cp -pR'
18844 else
18845 as_ln_s='cp -pR'
18847 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18848 rmdir conf$$.dir 2>/dev/null
18851 # as_fn_mkdir_p
18852 # -------------
18853 # Create "$as_dir" as a directory, including parents if necessary.
18854 as_fn_mkdir_p ()
18857 case $as_dir in #(
18858 -*) as_dir=./$as_dir;;
18859 esac
18860 test -d "$as_dir" || eval $as_mkdir_p || {
18861 as_dirs=
18862 while :; do
18863 case $as_dir in #(
18864 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18865 *) as_qdir=$as_dir;;
18866 esac
18867 as_dirs="'$as_qdir' $as_dirs"
18868 as_dir=`$as_dirname -- "$as_dir" ||
18869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18870 X"$as_dir" : 'X\(//\)[^/]' \| \
18871 X"$as_dir" : 'X\(//\)$' \| \
18872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18873 $as_echo X"$as_dir" |
18874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18875 s//\1/
18878 /^X\(\/\/\)[^/].*/{
18879 s//\1/
18882 /^X\(\/\/\)$/{
18883 s//\1/
18886 /^X\(\/\).*/{
18887 s//\1/
18890 s/.*/./; q'`
18891 test -d "$as_dir" && break
18892 done
18893 test -z "$as_dirs" || eval "mkdir $as_dirs"
18894 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18897 } # as_fn_mkdir_p
18898 if mkdir -p . 2>/dev/null; then
18899 as_mkdir_p='mkdir -p "$as_dir"'
18900 else
18901 test -d ./-p && rmdir ./-p
18902 as_mkdir_p=false
18906 # as_fn_executable_p FILE
18907 # -----------------------
18908 # Test if FILE is an executable regular file.
18909 as_fn_executable_p ()
18911 test -f "$1" && test -x "$1"
18912 } # as_fn_executable_p
18913 as_test_x='test -x'
18914 as_executable_p=as_fn_executable_p
18916 # Sed expression to map a string onto a valid CPP name.
18917 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18919 # Sed expression to map a string onto a valid variable name.
18920 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18923 exec 6>&1
18924 ## ----------------------------------- ##
18925 ## Main body of $CONFIG_STATUS script. ##
18926 ## ----------------------------------- ##
18927 _ASEOF
18928 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18931 # Save the log message, to keep $0 and so on meaningful, and to
18932 # report actual input values of CONFIG_FILES etc. instead of their
18933 # values after options handling.
18934 ac_log="
18935 This file was extended by Wine $as_me 1.9.17, which was
18936 generated by GNU Autoconf 2.69. Invocation command line was
18938 CONFIG_FILES = $CONFIG_FILES
18939 CONFIG_HEADERS = $CONFIG_HEADERS
18940 CONFIG_LINKS = $CONFIG_LINKS
18941 CONFIG_COMMANDS = $CONFIG_COMMANDS
18942 $ $0 $@
18944 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18947 _ACEOF
18949 case $ac_config_files in *"
18950 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18951 esac
18953 case $ac_config_headers in *"
18954 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18955 esac
18958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18959 # Files that config.status was made for.
18960 config_files="$ac_config_files"
18961 config_headers="$ac_config_headers"
18962 config_links="$ac_config_links"
18963 config_commands="$ac_config_commands"
18965 _ACEOF
18967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18968 ac_cs_usage="\
18969 \`$as_me' instantiates files and other configuration actions
18970 from templates according to the current configuration. Unless the files
18971 and actions are specified as TAGs, all are instantiated by default.
18973 Usage: $0 [OPTION]... [TAG]...
18975 -h, --help print this help, then exit
18976 -V, --version print version number and configuration settings, then exit
18977 --config print configuration, then exit
18978 -q, --quiet, --silent
18979 do not print progress messages
18980 -d, --debug don't remove temporary files
18981 --recheck update $as_me by reconfiguring in the same conditions
18982 --file=FILE[:TEMPLATE]
18983 instantiate the configuration file FILE
18984 --header=FILE[:TEMPLATE]
18985 instantiate the configuration header FILE
18987 Configuration files:
18988 $config_files
18990 Configuration headers:
18991 $config_headers
18993 Configuration links:
18994 $config_links
18996 Configuration commands:
18997 $config_commands
18999 Report bugs to <wine-devel@winehq.org>.
19000 Wine home page: <http://www.winehq.org>."
19002 _ACEOF
19003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19004 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19005 ac_cs_version="\\
19006 Wine config.status 1.9.17
19007 configured by $0, generated by GNU Autoconf 2.69,
19008 with options \\"\$ac_cs_config\\"
19010 Copyright (C) 2012 Free Software Foundation, Inc.
19011 This config.status script is free software; the Free Software Foundation
19012 gives unlimited permission to copy, distribute and modify it."
19014 ac_pwd='$ac_pwd'
19015 srcdir='$srcdir'
19016 test -n "\$AWK" || AWK=awk
19017 _ACEOF
19019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19020 # The default lists apply if the user does not specify any file.
19021 ac_need_defaults=:
19022 while test $# != 0
19024 case $1 in
19025 --*=?*)
19026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19027 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19028 ac_shift=:
19030 --*=)
19031 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19032 ac_optarg=
19033 ac_shift=:
19036 ac_option=$1
19037 ac_optarg=$2
19038 ac_shift=shift
19040 esac
19042 case $ac_option in
19043 # Handling of the options.
19044 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19045 ac_cs_recheck=: ;;
19046 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19047 $as_echo "$ac_cs_version"; exit ;;
19048 --config | --confi | --conf | --con | --co | --c )
19049 $as_echo "$ac_cs_config"; exit ;;
19050 --debug | --debu | --deb | --de | --d | -d )
19051 debug=: ;;
19052 --file | --fil | --fi | --f )
19053 $ac_shift
19054 case $ac_optarg in
19055 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19056 '') as_fn_error $? "missing file argument" ;;
19057 esac
19058 as_fn_append CONFIG_FILES " '$ac_optarg'"
19059 ac_need_defaults=false;;
19060 --header | --heade | --head | --hea )
19061 $ac_shift
19062 case $ac_optarg in
19063 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19064 esac
19065 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19066 ac_need_defaults=false;;
19067 --he | --h)
19068 # Conflict between --help and --header
19069 as_fn_error $? "ambiguous option: \`$1'
19070 Try \`$0 --help' for more information.";;
19071 --help | --hel | -h )
19072 $as_echo "$ac_cs_usage"; exit ;;
19073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19074 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19075 ac_cs_silent=: ;;
19077 # This is an error.
19078 -*) as_fn_error $? "unrecognized option: \`$1'
19079 Try \`$0 --help' for more information." ;;
19081 *) as_fn_append ac_config_targets " $1"
19082 ac_need_defaults=false ;;
19084 esac
19085 shift
19086 done
19088 ac_configure_extra_args=
19090 if $ac_cs_silent; then
19091 exec 6>/dev/null
19092 ac_configure_extra_args="$ac_configure_extra_args --silent"
19095 _ACEOF
19096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19097 if \$ac_cs_recheck; then
19098 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19099 shift
19100 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19101 CONFIG_SHELL='$SHELL'
19102 export CONFIG_SHELL
19103 exec "\$@"
19106 _ACEOF
19107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19108 exec 5>>config.log
19110 echo
19111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19112 ## Running $as_me. ##
19113 _ASBOX
19114 $as_echo "$ac_log"
19115 } >&5
19117 _ACEOF
19118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19120 # INIT-COMMANDS
19122 wine_fn_output_makedep ()
19124 as_dir=tools; as_fn_mkdir_p
19125 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19127 wine_fn_output_makefile ()
19129 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19130 `cat $wine_rules_file`
19131 _WINE_EOF
19132 as_fn_error $? "could not create Makefile" "$LINENO" 5
19135 _ACEOF
19137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19139 # Handling of arguments.
19140 for ac_config_target in $ac_config_targets
19142 case $ac_config_target in
19143 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19144 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19145 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19146 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19147 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19148 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19149 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19150 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19151 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19152 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19153 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19154 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19155 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19157 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19158 esac
19159 done
19162 # If the user did not use the arguments to specify the items to instantiate,
19163 # then the envvar interface is used. Set only those that are not.
19164 # We use the long form for the default assignment because of an extremely
19165 # bizarre bug on SunOS 4.1.3.
19166 if $ac_need_defaults; then
19167 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19168 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19169 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19170 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19173 # Have a temporary directory for convenience. Make it in the build tree
19174 # simply because there is no reason against having it here, and in addition,
19175 # creating and moving files from /tmp can sometimes cause problems.
19176 # Hook for its removal unless debugging.
19177 # Note that there is a small window in which the directory will not be cleaned:
19178 # after its creation but before its name has been assigned to `$tmp'.
19179 $debug ||
19181 tmp= ac_tmp=
19182 trap 'exit_status=$?
19183 : "${ac_tmp:=$tmp}"
19184 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19186 trap 'as_fn_exit 1' 1 2 13 15
19188 # Create a (secure) tmp directory for tmp files.
19191 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19192 test -d "$tmp"
19193 } ||
19195 tmp=./conf$$-$RANDOM
19196 (umask 077 && mkdir "$tmp")
19197 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19198 ac_tmp=$tmp
19200 # Set up the scripts for CONFIG_FILES section.
19201 # No need to generate them if there are no CONFIG_FILES.
19202 # This happens for instance with `./config.status config.h'.
19203 if test -n "$CONFIG_FILES"; then
19206 ac_cr=`echo X | tr X '\015'`
19207 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19208 # But we know of no other shell where ac_cr would be empty at this
19209 # point, so we can use a bashism as a fallback.
19210 if test "x$ac_cr" = x; then
19211 eval ac_cr=\$\'\\r\'
19213 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19214 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19215 ac_cs_awk_cr='\\r'
19216 else
19217 ac_cs_awk_cr=$ac_cr
19220 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19221 _ACEOF
19225 echo "cat >conf$$subs.awk <<_ACEOF" &&
19226 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19227 echo "_ACEOF"
19228 } >conf$$subs.sh ||
19229 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19230 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19231 ac_delim='%!_!# '
19232 for ac_last_try in false false false false false :; do
19233 . ./conf$$subs.sh ||
19234 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19236 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19237 if test $ac_delim_n = $ac_delim_num; then
19238 break
19239 elif $ac_last_try; then
19240 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19241 else
19242 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19244 done
19245 rm -f conf$$subs.sh
19247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19248 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19249 _ACEOF
19250 sed -n '
19252 s/^/S["/; s/!.*/"]=/
19255 s/^[^!]*!//
19256 :repl
19257 t repl
19258 s/'"$ac_delim"'$//
19259 t delim
19262 s/\(.\{148\}\)..*/\1/
19263 t more1
19264 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19267 b repl
19268 :more1
19269 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19272 s/.\{148\}//
19273 t nl
19274 :delim
19276 s/\(.\{148\}\)..*/\1/
19277 t more2
19278 s/["\\]/\\&/g; s/^/"/; s/$/"/
19281 :more2
19282 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19285 s/.\{148\}//
19286 t delim
19287 ' <conf$$subs.awk | sed '
19288 /^[^""]/{
19290 s/\n//
19292 ' >>$CONFIG_STATUS || ac_write_fail=1
19293 rm -f conf$$subs.awk
19294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19295 _ACAWK
19296 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19297 for (key in S) S_is_set[key] = 1
19298 FS = "\a"
19302 line = $ 0
19303 nfields = split(line, field, "@")
19304 substed = 0
19305 len = length(field[1])
19306 for (i = 2; i < nfields; i++) {
19307 key = field[i]
19308 keylen = length(key)
19309 if (S_is_set[key]) {
19310 value = S[key]
19311 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19312 len += length(value) + length(field[++i])
19313 substed = 1
19314 } else
19315 len += 1 + keylen
19318 print line
19321 _ACAWK
19322 _ACEOF
19323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19324 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19325 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19326 else
19328 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19329 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19330 _ACEOF
19332 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19333 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19334 # trailing colons and then remove the whole line if VPATH becomes empty
19335 # (actually we leave an empty line to preserve line numbers).
19336 if test "x$srcdir" = x.; then
19337 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19339 s///
19340 s/^/:/
19341 s/[ ]*$/:/
19342 s/:\$(srcdir):/:/g
19343 s/:\${srcdir}:/:/g
19344 s/:@srcdir@:/:/g
19345 s/^:*//
19346 s/:*$//
19348 s/\(=[ ]*\).*/\1/
19350 s/\n//
19351 s/^[^=]*=[ ]*$//
19355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19356 fi # test -n "$CONFIG_FILES"
19358 # Set up the scripts for CONFIG_HEADERS section.
19359 # No need to generate them if there are no CONFIG_HEADERS.
19360 # This happens for instance with `./config.status Makefile'.
19361 if test -n "$CONFIG_HEADERS"; then
19362 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19363 BEGIN {
19364 _ACEOF
19366 # Transform confdefs.h into an awk script `defines.awk', embedded as
19367 # here-document in config.status, that substitutes the proper values into
19368 # config.h.in to produce config.h.
19370 # Create a delimiter string that does not exist in confdefs.h, to ease
19371 # handling of long lines.
19372 ac_delim='%!_!# '
19373 for ac_last_try in false false :; do
19374 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19375 if test -z "$ac_tt"; then
19376 break
19377 elif $ac_last_try; then
19378 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19379 else
19380 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19382 done
19384 # For the awk script, D is an array of macro values keyed by name,
19385 # likewise P contains macro parameters if any. Preserve backslash
19386 # newline sequences.
19388 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19389 sed -n '
19390 s/.\{148\}/&'"$ac_delim"'/g
19391 t rset
19392 :rset
19393 s/^[ ]*#[ ]*define[ ][ ]*/ /
19394 t def
19396 :def
19397 s/\\$//
19398 t bsnl
19399 s/["\\]/\\&/g
19400 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19401 D["\1"]=" \3"/p
19402 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19404 :bsnl
19405 s/["\\]/\\&/g
19406 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19407 D["\1"]=" \3\\\\\\n"\\/p
19408 t cont
19409 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19410 t cont
19412 :cont
19414 s/.\{148\}/&'"$ac_delim"'/g
19415 t clear
19416 :clear
19417 s/\\$//
19418 t bsnlc
19419 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19421 :bsnlc
19422 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19423 b cont
19424 ' <confdefs.h | sed '
19425 s/'"$ac_delim"'/"\\\
19426 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19429 for (key in D) D_is_set[key] = 1
19430 FS = "\a"
19432 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19433 line = \$ 0
19434 split(line, arg, " ")
19435 if (arg[1] == "#") {
19436 defundef = arg[2]
19437 mac1 = arg[3]
19438 } else {
19439 defundef = substr(arg[1], 2)
19440 mac1 = arg[2]
19442 split(mac1, mac2, "(") #)
19443 macro = mac2[1]
19444 prefix = substr(line, 1, index(line, defundef) - 1)
19445 if (D_is_set[macro]) {
19446 # Preserve the white space surrounding the "#".
19447 print prefix "define", macro P[macro] D[macro]
19448 next
19449 } else {
19450 # Replace #undef with comments. This is necessary, for example,
19451 # in the case of _POSIX_SOURCE, which is predefined and required
19452 # on some systems where configure will not decide to define it.
19453 if (defundef == "undef") {
19454 print "/*", prefix defundef, macro, "*/"
19455 next
19459 { print }
19460 _ACAWK
19461 _ACEOF
19462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19463 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19464 fi # test -n "$CONFIG_HEADERS"
19467 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19468 shift
19469 for ac_tag
19471 case $ac_tag in
19472 :[FHLC]) ac_mode=$ac_tag; continue;;
19473 esac
19474 case $ac_mode$ac_tag in
19475 :[FHL]*:*);;
19476 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19477 :[FH]-) ac_tag=-:-;;
19478 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19479 esac
19480 ac_save_IFS=$IFS
19481 IFS=:
19482 set x $ac_tag
19483 IFS=$ac_save_IFS
19484 shift
19485 ac_file=$1
19486 shift
19488 case $ac_mode in
19489 :L) ac_source=$1;;
19490 :[FH])
19491 ac_file_inputs=
19492 for ac_f
19494 case $ac_f in
19495 -) ac_f="$ac_tmp/stdin";;
19496 *) # Look for the file first in the build tree, then in the source tree
19497 # (if the path is not absolute). The absolute path cannot be DOS-style,
19498 # because $ac_f cannot contain `:'.
19499 test -f "$ac_f" ||
19500 case $ac_f in
19501 [\\/$]*) false;;
19502 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19503 esac ||
19504 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19505 esac
19506 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19507 as_fn_append ac_file_inputs " '$ac_f'"
19508 done
19510 # Let's still pretend it is `configure' which instantiates (i.e., don't
19511 # use $as_me), people would be surprised to read:
19512 # /* config.h. Generated by config.status. */
19513 configure_input='Generated from '`
19514 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19515 `' by configure.'
19516 if test x"$ac_file" != x-; then
19517 configure_input="$ac_file. $configure_input"
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19519 $as_echo "$as_me: creating $ac_file" >&6;}
19521 # Neutralize special characters interpreted by sed in replacement strings.
19522 case $configure_input in #(
19523 *\&* | *\|* | *\\* )
19524 ac_sed_conf_input=`$as_echo "$configure_input" |
19525 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19526 *) ac_sed_conf_input=$configure_input;;
19527 esac
19529 case $ac_tag in
19530 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19531 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19532 esac
19534 esac
19536 ac_dir=`$as_dirname -- "$ac_file" ||
19537 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19538 X"$ac_file" : 'X\(//\)[^/]' \| \
19539 X"$ac_file" : 'X\(//\)$' \| \
19540 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19541 $as_echo X"$ac_file" |
19542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19543 s//\1/
19546 /^X\(\/\/\)[^/].*/{
19547 s//\1/
19550 /^X\(\/\/\)$/{
19551 s//\1/
19554 /^X\(\/\).*/{
19555 s//\1/
19558 s/.*/./; q'`
19559 as_dir="$ac_dir"; as_fn_mkdir_p
19560 ac_builddir=.
19562 case "$ac_dir" in
19563 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19565 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19566 # A ".." for each directory in $ac_dir_suffix.
19567 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19568 case $ac_top_builddir_sub in
19569 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19570 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19571 esac ;;
19572 esac
19573 ac_abs_top_builddir=$ac_pwd
19574 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19575 # for backward compatibility:
19576 ac_top_builddir=$ac_top_build_prefix
19578 case $srcdir in
19579 .) # We are building in place.
19580 ac_srcdir=.
19581 ac_top_srcdir=$ac_top_builddir_sub
19582 ac_abs_top_srcdir=$ac_pwd ;;
19583 [\\/]* | ?:[\\/]* ) # Absolute name.
19584 ac_srcdir=$srcdir$ac_dir_suffix;
19585 ac_top_srcdir=$srcdir
19586 ac_abs_top_srcdir=$srcdir ;;
19587 *) # Relative name.
19588 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19589 ac_top_srcdir=$ac_top_build_prefix$srcdir
19590 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19591 esac
19592 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19595 case $ac_mode in
19598 # CONFIG_FILE
19601 _ACEOF
19603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19604 # If the template does not know about datarootdir, expand it.
19605 # FIXME: This hack should be removed a few years after 2.60.
19606 ac_datarootdir_hack=; ac_datarootdir_seen=
19607 ac_sed_dataroot='
19608 /datarootdir/ {
19612 /@datadir@/p
19613 /@docdir@/p
19614 /@infodir@/p
19615 /@localedir@/p
19616 /@mandir@/p'
19617 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19618 *datarootdir*) ac_datarootdir_seen=yes;;
19619 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19621 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19622 _ACEOF
19623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19624 ac_datarootdir_hack='
19625 s&@datadir@&$datadir&g
19626 s&@docdir@&$docdir&g
19627 s&@infodir@&$infodir&g
19628 s&@localedir@&$localedir&g
19629 s&@mandir@&$mandir&g
19630 s&\\\${datarootdir}&$datarootdir&g' ;;
19631 esac
19632 _ACEOF
19634 # Neutralize VPATH when `$srcdir' = `.'.
19635 # Shell code in configure.ac might set extrasub.
19636 # FIXME: do we really want to maintain this feature?
19637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19638 ac_sed_extra="$ac_vpsub
19639 $extrasub
19640 _ACEOF
19641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19643 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19644 s|@configure_input@|$ac_sed_conf_input|;t t
19645 s&@top_builddir@&$ac_top_builddir_sub&;t t
19646 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19647 s&@srcdir@&$ac_srcdir&;t t
19648 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19649 s&@top_srcdir@&$ac_top_srcdir&;t t
19650 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19651 s&@builddir@&$ac_builddir&;t t
19652 s&@abs_builddir@&$ac_abs_builddir&;t t
19653 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19654 $ac_datarootdir_hack
19656 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19657 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19659 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19660 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19661 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19662 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19664 which seems to be undefined. Please make sure it is defined" >&5
19665 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19666 which seems to be undefined. Please make sure it is defined" >&2;}
19668 rm -f "$ac_tmp/stdin"
19669 case $ac_file in
19670 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19671 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19672 esac \
19673 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19677 # CONFIG_HEADER
19679 if test x"$ac_file" != x-; then
19681 $as_echo "/* $configure_input */" \
19682 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19683 } >"$ac_tmp/config.h" \
19684 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19685 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19687 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19688 else
19689 rm -f "$ac_file"
19690 mv "$ac_tmp/config.h" "$ac_file" \
19691 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19693 else
19694 $as_echo "/* $configure_input */" \
19695 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19696 || as_fn_error $? "could not create -" "$LINENO" 5
19701 # CONFIG_LINK
19704 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19706 else
19707 # Prefer the file from the source tree if names are identical.
19708 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19709 ac_source=$srcdir/$ac_source
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19713 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19715 if test ! -r "$ac_source"; then
19716 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19718 rm -f "$ac_file"
19720 # Try a relative symlink, then a hard link, then a copy.
19721 case $ac_source in
19722 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19723 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19724 esac
19725 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19726 ln "$ac_source" "$ac_file" 2>/dev/null ||
19727 cp -p "$ac_source" "$ac_file" ||
19728 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19731 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19732 $as_echo "$as_me: executing $ac_file commands" >&6;}
19734 esac
19737 case $ac_file$ac_mode in
19738 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19739 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19740 "Makefile":C) wine_fn_output_makefile Makefile ;;
19742 esac
19743 done # for ac_tag
19746 as_fn_exit 0
19747 _ACEOF
19748 ac_clean_files=$ac_clean_files_save
19750 test $ac_write_fail = 0 ||
19751 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19754 # configure is writing to config.log, and then calls config.status.
19755 # config.status does its own redirection, appending to config.log.
19756 # Unfortunately, on DOS this fails, as config.log is still kept open
19757 # by configure, so config.status won't be able to write to it; its
19758 # output is simply discarded. So we exec the FD to /dev/null,
19759 # effectively closing config.log, so it can be properly (re)opened and
19760 # appended to by config.status. When coming back to configure, we
19761 # need to make the FD available again.
19762 if test "$no_create" != yes; then
19763 ac_cs_success=:
19764 ac_config_status_args=
19765 test "$silent" = yes &&
19766 ac_config_status_args="$ac_config_status_args --quiet"
19767 exec 5>/dev/null
19768 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19769 exec 5>>config.log
19770 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19771 # would make configure fail if this is the last instruction.
19772 $ac_cs_success || as_fn_exit 1
19774 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19776 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19780 if test "$no_create" = "yes"
19781 then
19782 exit 0
19785 ac_save_IFS="$IFS"
19786 if test "x$wine_notices" != x; then
19787 echo >&6
19788 IFS="|"
19789 for msg in $wine_notices; do
19790 IFS="$ac_save_IFS"
19791 if ${msg:+false} :; then :
19793 else
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19795 $as_echo "$as_me: $msg" >&6;}
19797 done
19799 IFS="|"
19800 for msg in $wine_warnings; do
19801 IFS="$ac_save_IFS"
19802 if ${msg:+false} :; then :
19804 else
19805 echo >&2
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19807 $as_echo "$as_me: WARNING: $msg" >&2;}
19809 done
19810 IFS="$ac_save_IFS"
19812 $as_echo "
19813 $as_me: Finished. Do '${ac_make}' to compile Wine.
19814 " >&6