user32: Synthesize bitmap clipboard formats on the user32 side.
[wine.git] / configure
blob3ed4a6029d2c8799570b9e503416e78da7818498
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.18.
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.18'
584 PACKAGE_STRING='Wine 1.9.18'
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_shlwapi_obsolete_l1_1_0
933 enable_api_ms_win_core_string_l1_1_0
934 enable_api_ms_win_core_string_l2_1_0
935 enable_api_ms_win_core_string_obsolete_l1_1_0
936 enable_api_ms_win_core_synch_l1_1_0
937 enable_api_ms_win_core_synch_l1_2_0
938 enable_api_ms_win_core_sysinfo_l1_1_0
939 enable_api_ms_win_core_sysinfo_l1_2_0
940 enable_api_ms_win_core_sysinfo_l1_2_1
941 enable_api_ms_win_core_threadpool_l1_2_0
942 enable_api_ms_win_core_threadpool_legacy_l1_1_0
943 enable_api_ms_win_core_timezone_l1_1_0
944 enable_api_ms_win_core_toolhelp_l1_1_0
945 enable_api_ms_win_core_url_l1_1_0
946 enable_api_ms_win_core_util_l1_1_0
947 enable_api_ms_win_core_version_l1_1_0
948 enable_api_ms_win_core_winrt_error_l1_1_0
949 enable_api_ms_win_core_winrt_error_l1_1_1
950 enable_api_ms_win_core_winrt_l1_1_0
951 enable_api_ms_win_core_winrt_registration_l1_1_0
952 enable_api_ms_win_core_winrt_string_l1_1_0
953 enable_api_ms_win_core_wow64_l1_1_0
954 enable_api_ms_win_core_xstate_l2_1_0
955 enable_api_ms_win_crt_conio_l1_1_0
956 enable_api_ms_win_crt_convert_l1_1_0
957 enable_api_ms_win_crt_environment_l1_1_0
958 enable_api_ms_win_crt_filesystem_l1_1_0
959 enable_api_ms_win_crt_heap_l1_1_0
960 enable_api_ms_win_crt_locale_l1_1_0
961 enable_api_ms_win_crt_math_l1_1_0
962 enable_api_ms_win_crt_multibyte_l1_1_0
963 enable_api_ms_win_crt_private_l1_1_0
964 enable_api_ms_win_crt_process_l1_1_0
965 enable_api_ms_win_crt_runtime_l1_1_0
966 enable_api_ms_win_crt_stdio_l1_1_0
967 enable_api_ms_win_crt_string_l1_1_0
968 enable_api_ms_win_crt_time_l1_1_0
969 enable_api_ms_win_crt_utility_l1_1_0
970 enable_api_ms_win_downlevel_advapi32_l1_1_0
971 enable_api_ms_win_downlevel_advapi32_l2_1_0
972 enable_api_ms_win_downlevel_normaliz_l1_1_0
973 enable_api_ms_win_downlevel_ole32_l1_1_0
974 enable_api_ms_win_downlevel_shell32_l1_1_0
975 enable_api_ms_win_downlevel_shlwapi_l1_1_0
976 enable_api_ms_win_downlevel_shlwapi_l2_1_0
977 enable_api_ms_win_downlevel_user32_l1_1_0
978 enable_api_ms_win_downlevel_version_l1_1_0
979 enable_api_ms_win_eventing_classicprovider_l1_1_0
980 enable_api_ms_win_eventing_provider_l1_1_0
981 enable_api_ms_win_eventlog_legacy_l1_1_0
982 enable_api_ms_win_ntuser_dc_access_l1_1_0
983 enable_api_ms_win_security_base_l1_1_0
984 enable_api_ms_win_security_base_l1_2_0
985 enable_api_ms_win_security_lsalookup_l1_1_0
986 enable_api_ms_win_security_lsalookup_l1_1_1
987 enable_api_ms_win_security_sddl_l1_1_0
988 enable_api_ms_win_service_core_l1_1_1
989 enable_api_ms_win_service_management_l1_1_0
990 enable_api_ms_win_service_winsvc_l1_2_0
991 enable_api_ms_win_shell_shellfolders_l1_1_0
992 enable_apphelp
993 enable_appwiz_cpl
994 enable_atl
995 enable_atl100
996 enable_atl110
997 enable_atl80
998 enable_atl90
999 enable_authz
1000 enable_avicap32
1001 enable_avifil32
1002 enable_avrt
1003 enable_bcrypt
1004 enable_bluetoothapis
1005 enable_browseui
1006 enable_bthprops_cpl
1007 enable_cabinet
1008 enable_capi2032
1009 enable_cards
1010 enable_cfgmgr32
1011 enable_clusapi
1012 enable_combase
1013 enable_comcat
1014 enable_comctl32
1015 enable_comdlg32
1016 enable_compstui
1017 enable_comsvcs
1018 enable_concrt140
1019 enable_connect
1020 enable_credui
1021 enable_crtdll
1022 enable_crypt32
1023 enable_cryptdlg
1024 enable_cryptdll
1025 enable_cryptext
1026 enable_cryptnet
1027 enable_cryptui
1028 enable_ctapi32
1029 enable_ctl3d32
1030 enable_d2d1
1031 enable_d3d10
1032 enable_d3d10_1
1033 enable_d3d10core
1034 enable_d3d11
1035 enable_d3d8
1036 enable_d3d9
1037 enable_d3dcompiler_33
1038 enable_d3dcompiler_34
1039 enable_d3dcompiler_35
1040 enable_d3dcompiler_36
1041 enable_d3dcompiler_37
1042 enable_d3dcompiler_38
1043 enable_d3dcompiler_39
1044 enable_d3dcompiler_40
1045 enable_d3dcompiler_41
1046 enable_d3dcompiler_42
1047 enable_d3dcompiler_43
1048 enable_d3dcompiler_46
1049 enable_d3dcompiler_47
1050 enable_d3dim
1051 enable_d3drm
1052 enable_d3dx10_33
1053 enable_d3dx10_34
1054 enable_d3dx10_35
1055 enable_d3dx10_36
1056 enable_d3dx10_37
1057 enable_d3dx10_38
1058 enable_d3dx10_39
1059 enable_d3dx10_40
1060 enable_d3dx10_41
1061 enable_d3dx10_42
1062 enable_d3dx10_43
1063 enable_d3dx11_42
1064 enable_d3dx11_43
1065 enable_d3dx9_24
1066 enable_d3dx9_25
1067 enable_d3dx9_26
1068 enable_d3dx9_27
1069 enable_d3dx9_28
1070 enable_d3dx9_29
1071 enable_d3dx9_30
1072 enable_d3dx9_31
1073 enable_d3dx9_32
1074 enable_d3dx9_33
1075 enable_d3dx9_34
1076 enable_d3dx9_35
1077 enable_d3dx9_36
1078 enable_d3dx9_37
1079 enable_d3dx9_38
1080 enable_d3dx9_39
1081 enable_d3dx9_40
1082 enable_d3dx9_41
1083 enable_d3dx9_42
1084 enable_d3dx9_43
1085 enable_d3dxof
1086 enable_davclnt
1087 enable_dbgeng
1088 enable_dbghelp
1089 enable_dciman32
1090 enable_ddraw
1091 enable_ddrawex
1092 enable_devenum
1093 enable_dhcpcsvc
1094 enable_difxapi
1095 enable_dinput
1096 enable_dinput8
1097 enable_dispex
1098 enable_dmband
1099 enable_dmcompos
1100 enable_dmime
1101 enable_dmloader
1102 enable_dmscript
1103 enable_dmstyle
1104 enable_dmsynth
1105 enable_dmusic
1106 enable_dmusic32
1107 enable_dnsapi
1108 enable_dplay
1109 enable_dplayx
1110 enable_dpnaddr
1111 enable_dpnet
1112 enable_dpnhpast
1113 enable_dpnlobby
1114 enable_dpvoice
1115 enable_dpwsockx
1116 enable_drmclien
1117 enable_dsound
1118 enable_dssenh
1119 enable_dswave
1120 enable_dwmapi
1121 enable_dwrite
1122 enable_dxdiagn
1123 enable_dxgi
1124 enable_dxva2
1125 enable_esent
1126 enable_evr
1127 enable_explorerframe
1128 enable_ext_ms_win_gdi_devcaps_l1_1_0
1129 enable_faultrep
1130 enable_fltlib
1131 enable_fltmgr_sys
1132 enable_fntcache
1133 enable_fontsub
1134 enable_fusion
1135 enable_fwpuclnt
1136 enable_gameux
1137 enable_gdi32
1138 enable_gdiplus
1139 enable_glu32
1140 enable_gphoto2_ds
1141 enable_gpkcsp
1142 enable_hal
1143 enable_hhctrl_ocx
1144 enable_hid
1145 enable_hidclass_sys
1146 enable_hlink
1147 enable_hnetcfg
1148 enable_httpapi
1149 enable_iccvid
1150 enable_icmp
1151 enable_ieframe
1152 enable_imaadp32_acm
1153 enable_imagehlp
1154 enable_imm32
1155 enable_inetcomm
1156 enable_inetcpl_cpl
1157 enable_inetmib1
1158 enable_infosoft
1159 enable_initpki
1160 enable_inkobj
1161 enable_inseng
1162 enable_iphlpapi
1163 enable_irprops_cpl
1164 enable_itircl
1165 enable_itss
1166 enable_joy_cpl
1167 enable_jscript
1168 enable_jsproxy
1169 enable_kernel32
1170 enable_kernelbase
1171 enable_ksuser
1172 enable_ktmw32
1173 enable_loadperf
1174 enable_localspl
1175 enable_localui
1176 enable_lz32
1177 enable_mapi32
1178 enable_mapistub
1179 enable_mciavi32
1180 enable_mcicda
1181 enable_mciqtz32
1182 enable_mciseq
1183 enable_mciwave
1184 enable_mf
1185 enable_mfplat
1186 enable_mfreadwrite
1187 enable_mgmtapi
1188 enable_midimap
1189 enable_mlang
1190 enable_mmcndmgr
1191 enable_mmdevapi
1192 enable_mountmgr_sys
1193 enable_mpr
1194 enable_mprapi
1195 enable_msacm32_drv
1196 enable_msacm32
1197 enable_msadp32_acm
1198 enable_msasn1
1199 enable_mscat32
1200 enable_mscms
1201 enable_mscoree
1202 enable_msctf
1203 enable_msctfp
1204 enable_msdaps
1205 enable_msdelta
1206 enable_msdmo
1207 enable_msdrm
1208 enable_msftedit
1209 enable_msg711_acm
1210 enable_msgsm32_acm
1211 enable_mshtml_tlb
1212 enable_mshtml
1213 enable_msi
1214 enable_msident
1215 enable_msimg32
1216 enable_msimsg
1217 enable_msimtf
1218 enable_msisip
1219 enable_msisys_ocx
1220 enable_msls31
1221 enable_msnet32
1222 enable_mspatcha
1223 enable_msports
1224 enable_msrle32
1225 enable_msscript_ocx
1226 enable_mssign32
1227 enable_mssip32
1228 enable_mstask
1229 enable_msvcirt
1230 enable_msvcm80
1231 enable_msvcm90
1232 enable_msvcp100
1233 enable_msvcp110
1234 enable_msvcp120
1235 enable_msvcp120_app
1236 enable_msvcp140
1237 enable_msvcp60
1238 enable_msvcp70
1239 enable_msvcp71
1240 enable_msvcp80
1241 enable_msvcp90
1242 enable_msvcr100
1243 enable_msvcr110
1244 enable_msvcr120
1245 enable_msvcr120_app
1246 enable_msvcr70
1247 enable_msvcr71
1248 enable_msvcr80
1249 enable_msvcr90
1250 enable_msvcrt
1251 enable_msvcrt20
1252 enable_msvcrt40
1253 enable_msvcrtd
1254 enable_msvfw32
1255 enable_msvidc32
1256 enable_mswsock
1257 enable_msxml
1258 enable_msxml2
1259 enable_msxml3
1260 enable_msxml4
1261 enable_msxml6
1262 enable_ncrypt
1263 enable_nddeapi
1264 enable_ndis_sys
1265 enable_netapi32
1266 enable_netcfgx
1267 enable_netprofm
1268 enable_newdev
1269 enable_normaliz
1270 enable_npmshtml
1271 enable_npptools
1272 enable_ntdll
1273 enable_ntdsapi
1274 enable_ntoskrnl_exe
1275 enable_ntprint
1276 enable_objsel
1277 enable_odbc32
1278 enable_odbccp32
1279 enable_odbccu32
1280 enable_ole32
1281 enable_oleacc
1282 enable_oleaut32
1283 enable_olecli32
1284 enable_oledb32
1285 enable_oledlg
1286 enable_olepro32
1287 enable_olesvr32
1288 enable_olethk32
1289 enable_openal32
1290 enable_opencl
1291 enable_opengl32
1292 enable_packager
1293 enable_pdh
1294 enable_photometadatahandler
1295 enable_pidgen
1296 enable_powrprof
1297 enable_printui
1298 enable_prntvpt
1299 enable_propsys
1300 enable_psapi
1301 enable_pstorec
1302 enable_qcap
1303 enable_qedit
1304 enable_qmgr
1305 enable_qmgrprxy
1306 enable_quartz
1307 enable_query
1308 enable_rasapi32
1309 enable_rasdlg
1310 enable_regapi
1311 enable_resutils
1312 enable_riched20
1313 enable_riched32
1314 enable_rpcrt4
1315 enable_rsabase
1316 enable_rsaenh
1317 enable_rstrtmgr
1318 enable_rtutils
1319 enable_samlib
1320 enable_sane_ds
1321 enable_scarddlg
1322 enable_sccbase
1323 enable_schannel
1324 enable_schedsvc
1325 enable_scrrun
1326 enable_scsiport_sys
1327 enable_secur32
1328 enable_security
1329 enable_sensapi
1330 enable_serialui
1331 enable_setupapi
1332 enable_sfc
1333 enable_sfc_os
1334 enable_shdoclc
1335 enable_shdocvw
1336 enable_shell32
1337 enable_shfolder
1338 enable_shlwapi
1339 enable_slbcsp
1340 enable_slc
1341 enable_snmpapi
1342 enable_softpub
1343 enable_spoolss
1344 enable_sspicli
1345 enable_stdole2_tlb
1346 enable_stdole32_tlb
1347 enable_sti
1348 enable_svrapi
1349 enable_sxs
1350 enable_t2embed
1351 enable_tapi32
1352 enable_taskschd
1353 enable_tdi_sys
1354 enable_traffic
1355 enable_twain_32
1356 enable_ucrtbase
1357 enable_unicows
1358 enable_updspapi
1359 enable_url
1360 enable_urlmon
1361 enable_usbd_sys
1362 enable_user32
1363 enable_userenv
1364 enable_usp10
1365 enable_uxtheme
1366 enable_vbscript
1367 enable_vcomp
1368 enable_vcomp100
1369 enable_vcomp110
1370 enable_vcomp120
1371 enable_vcomp140
1372 enable_vcomp90
1373 enable_vcruntime140
1374 enable_vdmdbg
1375 enable_version
1376 enable_vssapi
1377 enable_wbemdisp
1378 enable_wbemprox
1379 enable_webservices
1380 enable_wer
1381 enable_wevtapi
1382 enable_wiaservc
1383 enable_wimgapi
1384 enable_windowscodecs
1385 enable_windowscodecsext
1386 enable_winealsa_drv
1387 enable_winebus_sys
1388 enable_winecoreaudio_drv
1389 enable_wined3d
1390 enable_winegstreamer
1391 enable_winejoystick_drv
1392 enable_winemac_drv
1393 enable_winemapi
1394 enable_winemp3_acm
1395 enable_wineoss_drv
1396 enable_wineps_drv
1397 enable_winepulse_drv
1398 enable_wineqtdecoder
1399 enable_winex11_drv
1400 enable_wing32
1401 enable_winhttp
1402 enable_wininet
1403 enable_winmm
1404 enable_winnls32
1405 enable_winscard
1406 enable_winspool_drv
1407 enable_winsta
1408 enable_wintab32
1409 enable_wintrust
1410 enable_wlanapi
1411 enable_wldap32
1412 enable_wmasf
1413 enable_wmi
1414 enable_wmiutils
1415 enable_wmp
1416 enable_wmvcore
1417 enable_wnaspi32
1418 enable_wpc
1419 enable_wpcap
1420 enable_ws2_32
1421 enable_wshom_ocx
1422 enable_wsnmp32
1423 enable_wsock32
1424 enable_wtsapi32
1425 enable_wuapi
1426 enable_wuaueng
1427 enable_x3daudio1_0
1428 enable_x3daudio1_1
1429 enable_x3daudio1_2
1430 enable_x3daudio1_3
1431 enable_x3daudio1_4
1432 enable_x3daudio1_5
1433 enable_x3daudio1_6
1434 enable_x3daudio1_7
1435 enable_xapofx1_1
1436 enable_xapofx1_2
1437 enable_xapofx1_3
1438 enable_xapofx1_4
1439 enable_xapofx1_5
1440 enable_xaudio2_0
1441 enable_xaudio2_1
1442 enable_xaudio2_2
1443 enable_xaudio2_3
1444 enable_xaudio2_4
1445 enable_xaudio2_5
1446 enable_xaudio2_6
1447 enable_xaudio2_7
1448 enable_xaudio2_8
1449 enable_xaudio2_9
1450 enable_xinput1_1
1451 enable_xinput1_2
1452 enable_xinput1_3
1453 enable_xinput1_4
1454 enable_xinput9_1_0
1455 enable_xmllite
1456 enable_xolehlp
1457 enable_xpsprint
1458 enable_xpssvcs
1459 enable_fonts
1460 enable_include
1461 enable_libs_port
1462 enable_libs_wine
1463 enable_libs_wpp
1464 enable_loader
1465 enable_po
1466 enable_arp
1467 enable_aspnet_regiis
1468 enable_attrib
1469 enable_cabarc
1470 enable_cacls
1471 enable_clock
1472 enable_cmd
1473 enable_conhost
1474 enable_control
1475 enable_cscript
1476 enable_dpnsvr
1477 enable_dxdiag
1478 enable_eject
1479 enable_expand
1480 enable_explorer
1481 enable_extrac32
1482 enable_findstr
1483 enable_fsutil
1484 enable_hh
1485 enable_hostname
1486 enable_icacls
1487 enable_icinfo
1488 enable_iexplore
1489 enable_ipconfig
1490 enable_lodctr
1491 enable_mofcomp
1492 enable_mshta
1493 enable_msiexec
1494 enable_net
1495 enable_netsh
1496 enable_netstat
1497 enable_ngen
1498 enable_notepad
1499 enable_oleview
1500 enable_ping
1501 enable_plugplay
1502 enable_presentationfontcache
1503 enable_progman
1504 enable_reg
1505 enable_regasm
1506 enable_regedit
1507 enable_regsvcs
1508 enable_regsvr32
1509 enable_rpcss
1510 enable_rundll32
1511 enable_sc
1512 enable_schtasks
1513 enable_sdbinst
1514 enable_secedit
1515 enable_servicemodelreg
1516 enable_services
1517 enable_shutdown
1518 enable_spoolsv
1519 enable_start
1520 enable_svchost
1521 enable_systeminfo
1522 enable_taskkill
1523 enable_tasklist
1524 enable_taskmgr
1525 enable_termsv
1526 enable_uninstaller
1527 enable_unlodctr
1528 enable_view
1529 enable_wevtutil
1530 enable_wineboot
1531 enable_winebrowser
1532 enable_winecfg
1533 enable_wineconsole
1534 enable_winedbg
1535 enable_winedevice
1536 enable_winefile
1537 enable_winemenubuilder
1538 enable_winemine
1539 enable_winemsibuilder
1540 enable_winepath
1541 enable_winetest
1542 enable_winhlp32
1543 enable_winver
1544 enable_wmic
1545 enable_wmplayer
1546 enable_wordpad
1547 enable_write
1548 enable_wscript
1549 enable_wusa
1550 enable_xcopy
1551 enable_server
1552 enable_tools
1554 ac_precious_vars='build_alias
1555 host_alias
1556 target_alias
1558 CFLAGS
1559 LDFLAGS
1560 LIBS
1561 CPPFLAGS
1563 CXXFLAGS
1566 XMKMF
1567 XML2_CFLAGS
1568 XML2_LIBS
1569 XSLT_CFLAGS
1570 XSLT_LIBS
1571 DBUS_CFLAGS
1572 DBUS_LIBS
1573 HAL_CFLAGS
1574 HAL_LIBS
1575 GNUTLS_CFLAGS
1576 GNUTLS_LIBS
1577 SANE_CFLAGS
1578 SANE_LIBS
1579 GPHOTO2_CFLAGS
1580 GPHOTO2_LIBS
1581 GPHOTO2_PORT_CFLAGS
1582 GPHOTO2_PORT_LIBS
1583 LCMS2_CFLAGS
1584 LCMS2_LIBS
1585 FREETYPE_CFLAGS
1586 FREETYPE_LIBS
1587 PULSE_CFLAGS
1588 PULSE_LIBS
1589 GSTREAMER_CFLAGS
1590 GSTREAMER_LIBS
1591 CAPI20_CFLAGS
1592 CAPI20_LIBS
1593 FONTCONFIG_CFLAGS
1594 FONTCONFIG_LIBS
1595 JPEG_CFLAGS
1596 JPEG_LIBS
1597 PNG_CFLAGS
1598 PNG_LIBS
1599 TIFF_CFLAGS
1600 TIFF_LIBS
1601 MPG123_CFLAGS
1602 MPG123_LIBS
1603 NETAPI_CFLAGS
1604 NETAPI_LIBS'
1607 # Initialize some variables set by options.
1608 ac_init_help=
1609 ac_init_version=false
1610 ac_unrecognized_opts=
1611 ac_unrecognized_sep=
1612 # The variables have the same names as the options, with
1613 # dashes changed to underlines.
1614 cache_file=/dev/null
1615 exec_prefix=NONE
1616 no_create=
1617 no_recursion=
1618 prefix=NONE
1619 program_prefix=NONE
1620 program_suffix=NONE
1621 program_transform_name=s,x,x,
1622 silent=
1623 site=
1624 srcdir=
1625 verbose=
1626 x_includes=NONE
1627 x_libraries=NONE
1629 # Installation directory options.
1630 # These are left unexpanded so users can "make install exec_prefix=/foo"
1631 # and all the variables that are supposed to be based on exec_prefix
1632 # by default will actually change.
1633 # Use braces instead of parens because sh, perl, etc. also accept them.
1634 # (The list follows the same order as the GNU Coding Standards.)
1635 bindir='${exec_prefix}/bin'
1636 sbindir='${exec_prefix}/sbin'
1637 libexecdir='${exec_prefix}/libexec'
1638 datarootdir='${prefix}/share'
1639 datadir='${datarootdir}'
1640 sysconfdir='${prefix}/etc'
1641 sharedstatedir='${prefix}/com'
1642 localstatedir='${prefix}/var'
1643 runstatedir='${localstatedir}/run'
1644 includedir='${prefix}/include'
1645 oldincludedir='/usr/include'
1646 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1647 infodir='${datarootdir}/info'
1648 htmldir='${docdir}'
1649 dvidir='${docdir}'
1650 pdfdir='${docdir}'
1651 psdir='${docdir}'
1652 libdir='${exec_prefix}/lib'
1653 localedir='${datarootdir}/locale'
1654 mandir='${datarootdir}/man'
1656 ac_prev=
1657 ac_dashdash=
1658 for ac_option
1660 # If the previous option needs an argument, assign it.
1661 if test -n "$ac_prev"; then
1662 eval $ac_prev=\$ac_option
1663 ac_prev=
1664 continue
1667 case $ac_option in
1668 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1669 *=) ac_optarg= ;;
1670 *) ac_optarg=yes ;;
1671 esac
1673 # Accept the important Cygnus configure options, so we can diagnose typos.
1675 case $ac_dashdash$ac_option in
1677 ac_dashdash=yes ;;
1679 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1680 ac_prev=bindir ;;
1681 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1682 bindir=$ac_optarg ;;
1684 -build | --build | --buil | --bui | --bu)
1685 ac_prev=build_alias ;;
1686 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1687 build_alias=$ac_optarg ;;
1689 -cache-file | --cache-file | --cache-fil | --cache-fi \
1690 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1691 ac_prev=cache_file ;;
1692 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1693 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1694 cache_file=$ac_optarg ;;
1696 --config-cache | -C)
1697 cache_file=config.cache ;;
1699 -datadir | --datadir | --datadi | --datad)
1700 ac_prev=datadir ;;
1701 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1702 datadir=$ac_optarg ;;
1704 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1705 | --dataroo | --dataro | --datar)
1706 ac_prev=datarootdir ;;
1707 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1708 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1709 datarootdir=$ac_optarg ;;
1711 -disable-* | --disable-*)
1712 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1713 # Reject names that are not valid shell variable names.
1714 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1715 as_fn_error $? "invalid feature name: $ac_useropt"
1716 ac_useropt_orig=$ac_useropt
1717 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1718 case $ac_user_opts in
1720 "enable_$ac_useropt"
1721 "*) ;;
1722 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1723 ac_unrecognized_sep=', ';;
1724 esac
1725 eval enable_$ac_useropt=no ;;
1727 -docdir | --docdir | --docdi | --doc | --do)
1728 ac_prev=docdir ;;
1729 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1730 docdir=$ac_optarg ;;
1732 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1733 ac_prev=dvidir ;;
1734 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1735 dvidir=$ac_optarg ;;
1737 -enable-* | --enable-*)
1738 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1739 # Reject names that are not valid shell variable names.
1740 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1741 as_fn_error $? "invalid feature name: $ac_useropt"
1742 ac_useropt_orig=$ac_useropt
1743 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1744 case $ac_user_opts in
1746 "enable_$ac_useropt"
1747 "*) ;;
1748 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1749 ac_unrecognized_sep=', ';;
1750 esac
1751 eval enable_$ac_useropt=\$ac_optarg ;;
1753 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1754 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1755 | --exec | --exe | --ex)
1756 ac_prev=exec_prefix ;;
1757 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1758 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1759 | --exec=* | --exe=* | --ex=*)
1760 exec_prefix=$ac_optarg ;;
1762 -gas | --gas | --ga | --g)
1763 # Obsolete; use --with-gas.
1764 with_gas=yes ;;
1766 -help | --help | --hel | --he | -h)
1767 ac_init_help=long ;;
1768 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1769 ac_init_help=recursive ;;
1770 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1771 ac_init_help=short ;;
1773 -host | --host | --hos | --ho)
1774 ac_prev=host_alias ;;
1775 -host=* | --host=* | --hos=* | --ho=*)
1776 host_alias=$ac_optarg ;;
1778 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1779 ac_prev=htmldir ;;
1780 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1781 | --ht=*)
1782 htmldir=$ac_optarg ;;
1784 -includedir | --includedir | --includedi | --included | --include \
1785 | --includ | --inclu | --incl | --inc)
1786 ac_prev=includedir ;;
1787 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1788 | --includ=* | --inclu=* | --incl=* | --inc=*)
1789 includedir=$ac_optarg ;;
1791 -infodir | --infodir | --infodi | --infod | --info | --inf)
1792 ac_prev=infodir ;;
1793 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1794 infodir=$ac_optarg ;;
1796 -libdir | --libdir | --libdi | --libd)
1797 ac_prev=libdir ;;
1798 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1799 libdir=$ac_optarg ;;
1801 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1802 | --libexe | --libex | --libe)
1803 ac_prev=libexecdir ;;
1804 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1805 | --libexe=* | --libex=* | --libe=*)
1806 libexecdir=$ac_optarg ;;
1808 -localedir | --localedir | --localedi | --localed | --locale)
1809 ac_prev=localedir ;;
1810 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1811 localedir=$ac_optarg ;;
1813 -localstatedir | --localstatedir | --localstatedi | --localstated \
1814 | --localstate | --localstat | --localsta | --localst | --locals)
1815 ac_prev=localstatedir ;;
1816 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1817 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1818 localstatedir=$ac_optarg ;;
1820 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1821 ac_prev=mandir ;;
1822 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1823 mandir=$ac_optarg ;;
1825 -nfp | --nfp | --nf)
1826 # Obsolete; use --without-fp.
1827 with_fp=no ;;
1829 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1830 | --no-cr | --no-c | -n)
1831 no_create=yes ;;
1833 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1834 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1835 no_recursion=yes ;;
1837 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1838 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1839 | --oldin | --oldi | --old | --ol | --o)
1840 ac_prev=oldincludedir ;;
1841 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1842 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1843 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1844 oldincludedir=$ac_optarg ;;
1846 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1847 ac_prev=prefix ;;
1848 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1849 prefix=$ac_optarg ;;
1851 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1852 | --program-pre | --program-pr | --program-p)
1853 ac_prev=program_prefix ;;
1854 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1855 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1856 program_prefix=$ac_optarg ;;
1858 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1859 | --program-suf | --program-su | --program-s)
1860 ac_prev=program_suffix ;;
1861 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1862 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1863 program_suffix=$ac_optarg ;;
1865 -program-transform-name | --program-transform-name \
1866 | --program-transform-nam | --program-transform-na \
1867 | --program-transform-n | --program-transform- \
1868 | --program-transform | --program-transfor \
1869 | --program-transfo | --program-transf \
1870 | --program-trans | --program-tran \
1871 | --progr-tra | --program-tr | --program-t)
1872 ac_prev=program_transform_name ;;
1873 -program-transform-name=* | --program-transform-name=* \
1874 | --program-transform-nam=* | --program-transform-na=* \
1875 | --program-transform-n=* | --program-transform-=* \
1876 | --program-transform=* | --program-transfor=* \
1877 | --program-transfo=* | --program-transf=* \
1878 | --program-trans=* | --program-tran=* \
1879 | --progr-tra=* | --program-tr=* | --program-t=*)
1880 program_transform_name=$ac_optarg ;;
1882 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1883 ac_prev=pdfdir ;;
1884 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1885 pdfdir=$ac_optarg ;;
1887 -psdir | --psdir | --psdi | --psd | --ps)
1888 ac_prev=psdir ;;
1889 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1890 psdir=$ac_optarg ;;
1892 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1893 | -silent | --silent | --silen | --sile | --sil)
1894 silent=yes ;;
1896 -runstatedir | --runstatedir | --runstatedi | --runstated \
1897 | --runstate | --runstat | --runsta | --runst | --runs \
1898 | --run | --ru | --r)
1899 ac_prev=runstatedir ;;
1900 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1901 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1902 | --run=* | --ru=* | --r=*)
1903 runstatedir=$ac_optarg ;;
1905 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1906 ac_prev=sbindir ;;
1907 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1908 | --sbi=* | --sb=*)
1909 sbindir=$ac_optarg ;;
1911 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1912 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1913 | --sharedst | --shareds | --shared | --share | --shar \
1914 | --sha | --sh)
1915 ac_prev=sharedstatedir ;;
1916 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1917 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1918 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1919 | --sha=* | --sh=*)
1920 sharedstatedir=$ac_optarg ;;
1922 -site | --site | --sit)
1923 ac_prev=site ;;
1924 -site=* | --site=* | --sit=*)
1925 site=$ac_optarg ;;
1927 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1928 ac_prev=srcdir ;;
1929 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1930 srcdir=$ac_optarg ;;
1932 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1933 | --syscon | --sysco | --sysc | --sys | --sy)
1934 ac_prev=sysconfdir ;;
1935 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1936 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1937 sysconfdir=$ac_optarg ;;
1939 -target | --target | --targe | --targ | --tar | --ta | --t)
1940 ac_prev=target_alias ;;
1941 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1942 target_alias=$ac_optarg ;;
1944 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1945 verbose=yes ;;
1947 -version | --version | --versio | --versi | --vers | -V)
1948 ac_init_version=: ;;
1950 -with-* | --with-*)
1951 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1952 # Reject names that are not valid shell variable names.
1953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1954 as_fn_error $? "invalid package name: $ac_useropt"
1955 ac_useropt_orig=$ac_useropt
1956 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1957 case $ac_user_opts in
1959 "with_$ac_useropt"
1960 "*) ;;
1961 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1962 ac_unrecognized_sep=', ';;
1963 esac
1964 eval with_$ac_useropt=\$ac_optarg ;;
1966 -without-* | --without-*)
1967 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1968 # Reject names that are not valid shell variable names.
1969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1970 as_fn_error $? "invalid package name: $ac_useropt"
1971 ac_useropt_orig=$ac_useropt
1972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1973 case $ac_user_opts in
1975 "with_$ac_useropt"
1976 "*) ;;
1977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1978 ac_unrecognized_sep=', ';;
1979 esac
1980 eval with_$ac_useropt=no ;;
1982 --x)
1983 # Obsolete; use --with-x.
1984 with_x=yes ;;
1986 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1987 | --x-incl | --x-inc | --x-in | --x-i)
1988 ac_prev=x_includes ;;
1989 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1990 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1991 x_includes=$ac_optarg ;;
1993 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1994 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1995 ac_prev=x_libraries ;;
1996 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1997 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1998 x_libraries=$ac_optarg ;;
2000 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2001 Try \`$0 --help' for more information"
2004 *=*)
2005 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2006 # Reject names that are not valid shell variable names.
2007 case $ac_envvar in #(
2008 '' | [0-9]* | *[!_$as_cr_alnum]* )
2009 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2010 esac
2011 eval $ac_envvar=\$ac_optarg
2012 export $ac_envvar ;;
2015 # FIXME: should be removed in autoconf 3.0.
2016 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2017 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2018 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2019 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2022 esac
2023 done
2025 if test -n "$ac_prev"; then
2026 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2027 as_fn_error $? "missing argument to $ac_option"
2030 if test -n "$ac_unrecognized_opts"; then
2031 case $enable_option_checking in
2032 no) ;;
2033 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2034 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2035 esac
2038 # Check all directory arguments for consistency.
2039 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2040 datadir sysconfdir sharedstatedir localstatedir includedir \
2041 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2042 libdir localedir mandir runstatedir
2044 eval ac_val=\$$ac_var
2045 # Remove trailing slashes.
2046 case $ac_val in
2047 */ )
2048 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2049 eval $ac_var=\$ac_val;;
2050 esac
2051 # Be sure to have absolute directory names.
2052 case $ac_val in
2053 [\\/$]* | ?:[\\/]* ) continue;;
2054 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2055 esac
2056 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2057 done
2059 # There might be people who depend on the old broken behavior: `$host'
2060 # used to hold the argument of --host etc.
2061 # FIXME: To remove some day.
2062 build=$build_alias
2063 host=$host_alias
2064 target=$target_alias
2066 # FIXME: To remove some day.
2067 if test "x$host_alias" != x; then
2068 if test "x$build_alias" = x; then
2069 cross_compiling=maybe
2070 elif test "x$build_alias" != "x$host_alias"; then
2071 cross_compiling=yes
2075 ac_tool_prefix=
2076 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2078 test "$silent" = yes && exec 6>/dev/null
2081 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2082 ac_ls_di=`ls -di .` &&
2083 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2084 as_fn_error $? "working directory cannot be determined"
2085 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2086 as_fn_error $? "pwd does not report name of working directory"
2089 # Find the source files, if location was not specified.
2090 if test -z "$srcdir"; then
2091 ac_srcdir_defaulted=yes
2092 # Try the directory containing this script, then the parent directory.
2093 ac_confdir=`$as_dirname -- "$as_myself" ||
2094 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2095 X"$as_myself" : 'X\(//\)[^/]' \| \
2096 X"$as_myself" : 'X\(//\)$' \| \
2097 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2098 $as_echo X"$as_myself" |
2099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2100 s//\1/
2103 /^X\(\/\/\)[^/].*/{
2104 s//\1/
2107 /^X\(\/\/\)$/{
2108 s//\1/
2111 /^X\(\/\).*/{
2112 s//\1/
2115 s/.*/./; q'`
2116 srcdir=$ac_confdir
2117 if test ! -r "$srcdir/$ac_unique_file"; then
2118 srcdir=..
2120 else
2121 ac_srcdir_defaulted=no
2123 if test ! -r "$srcdir/$ac_unique_file"; then
2124 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2125 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2127 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2128 ac_abs_confdir=`(
2129 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2130 pwd)`
2131 # When building in place, set srcdir=.
2132 if test "$ac_abs_confdir" = "$ac_pwd"; then
2133 srcdir=.
2135 # Remove unnecessary trailing slashes from srcdir.
2136 # Double slashes in file names in object file debugging info
2137 # mess up M-x gdb in Emacs.
2138 case $srcdir in
2139 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2140 esac
2141 for ac_var in $ac_precious_vars; do
2142 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2143 eval ac_env_${ac_var}_value=\$${ac_var}
2144 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2145 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2146 done
2149 # Report the --help message.
2151 if test "$ac_init_help" = "long"; then
2152 # Omit some internal or obsolete options to make the list less imposing.
2153 # This message is too long to be a string in the A/UX 3.1 sh.
2154 cat <<_ACEOF
2155 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2157 Usage: $0 [OPTION]... [VAR=VALUE]...
2159 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2160 VAR=VALUE. See below for descriptions of some of the useful variables.
2162 Defaults for the options are specified in brackets.
2164 Configuration:
2165 -h, --help display this help and exit
2166 --help=short display options specific to this package
2167 --help=recursive display the short help of all the included packages
2168 -V, --version display version information and exit
2169 -q, --quiet, --silent do not print \`checking ...' messages
2170 --cache-file=FILE cache test results in FILE [disabled]
2171 -C, --config-cache alias for \`--cache-file=config.cache'
2172 -n, --no-create do not create output files
2173 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2175 Installation directories:
2176 --prefix=PREFIX install architecture-independent files in PREFIX
2177 [$ac_default_prefix]
2178 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2179 [PREFIX]
2181 By default, \`make install' will install all the files in
2182 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2183 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2184 for instance \`--prefix=\$HOME'.
2186 For better control, use the options below.
2188 Fine tuning of the installation directories:
2189 --bindir=DIR user executables [EPREFIX/bin]
2190 --sbindir=DIR system admin executables [EPREFIX/sbin]
2191 --libexecdir=DIR program executables [EPREFIX/libexec]
2192 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2193 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2194 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2195 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2196 --libdir=DIR object code libraries [EPREFIX/lib]
2197 --includedir=DIR C header files [PREFIX/include]
2198 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2199 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2200 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2201 --infodir=DIR info documentation [DATAROOTDIR/info]
2202 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2203 --mandir=DIR man documentation [DATAROOTDIR/man]
2204 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2205 --htmldir=DIR html documentation [DOCDIR]
2206 --dvidir=DIR dvi documentation [DOCDIR]
2207 --pdfdir=DIR pdf documentation [DOCDIR]
2208 --psdir=DIR ps documentation [DOCDIR]
2209 _ACEOF
2211 cat <<\_ACEOF
2213 X features:
2214 --x-includes=DIR X include files are in DIR
2215 --x-libraries=DIR X library files are in DIR
2217 System types:
2218 --build=BUILD configure for building on BUILD [guessed]
2219 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2220 _ACEOF
2223 if test -n "$ac_init_help"; then
2224 case $ac_init_help in
2225 short | recursive ) echo "Configuration of Wine 1.9.18:";;
2226 esac
2227 cat <<\_ACEOF
2229 Optional Features:
2230 --disable-option-checking ignore unrecognized --enable/--with options
2231 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2232 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2233 --disable-win16 do not include Win16 support
2234 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2235 binaries)
2236 --disable-tests do not build the regression tests
2237 --enable-maintainer-mode
2238 enable maintainer-specific build rules
2239 --disable-largefile omit support for large files
2241 Optional Packages:
2242 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2243 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2244 --without-alsa do not use the Alsa sound support
2245 --without-capi do not use CAPI (ISDN support)
2246 --without-cms do not use CMS (color management support)
2247 --without-coreaudio do not use the CoreAudio sound support
2248 --without-cups do not use CUPS
2249 --without-curses do not use (n)curses
2250 --without-dbus do not use DBus (dynamic device support)
2251 --without-fontconfig do not use fontconfig
2252 --without-freetype do not use the FreeType library
2253 --without-gettext do not use gettext
2254 --with-gettextpo use the GetTextPO library to rebuild po files
2255 --without-gphoto do not use gphoto (Digital Camera support)
2256 --without-glu do not use the GLU library
2257 --without-gnutls do not use GnuTLS (schannel support)
2258 --without-gsm do not use libgsm (GSM 06.10 codec support)
2259 --without-gstreamer do not use GStreamer (codecs support)
2260 --without-hal do not use HAL (dynamic device support)
2261 --without-jpeg do not use JPEG
2262 --without-ldap do not use LDAP
2263 --without-mpg123 do not use the mpg123 library
2264 --without-netapi do not use the Samba NetAPI library
2265 --without-openal do not use OpenAL
2266 --without-opencl do not use OpenCL
2267 --without-opengl do not use OpenGL
2268 --without-osmesa do not use the OSMesa library
2269 --without-oss do not use the OSS sound support
2270 --without-pcap do not use the Packet Capture library
2271 --without-png do not use PNG
2272 --without-pthread do not use the pthread library
2273 --without-pulse do not use PulseAudio sound support
2274 --without-sane do not use SANE (scanner support)
2275 --without-tiff do not use TIFF
2276 --without-v4l do not use v4l1 (v4l support)
2277 --without-xcomposite do not use the Xcomposite extension
2278 --without-xcursor do not use the Xcursor extension
2279 --without-xinerama do not use Xinerama (multi-monitor support)
2280 --without-xinput do not use the Xinput extension
2281 --without-xinput2 do not use the Xinput 2 extension
2282 --without-xml do not use XML
2283 --without-xrandr do not use Xrandr (resolution changes)
2284 --without-xrender do not use the Xrender extension
2285 --without-xshape do not use the Xshape extension
2286 --without-xshm do not use XShm (shared memory extension)
2287 --without-xslt do not use XSLT
2288 --without-xxf86vm do not use XFree video mode extension
2289 --without-zlib do not use Zlib (data compression)
2290 --with-wine-tools=DIR use Wine tools from directory DIR
2291 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2292 --with-x use the X Window System
2294 Some influential environment variables:
2295 CC C compiler command
2296 CFLAGS C compiler flags
2297 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2298 nonstandard directory <lib dir>
2299 LIBS libraries to pass to the linker, e.g. -l<library>
2300 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2301 you have headers in a nonstandard directory <include dir>
2302 CXX C++ compiler command
2303 CXXFLAGS C++ compiler flags
2304 CPP C preprocessor
2305 XMKMF Path to xmkmf, Makefile generator for X Window System
2306 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2307 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2308 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2309 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2310 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2311 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2312 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2313 HAL_LIBS Linker flags for hal, overriding pkg-config
2314 GNUTLS_CFLAGS
2315 C compiler flags for gnutls, overriding pkg-config
2316 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2317 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2318 SANE_LIBS Linker flags for libsane, overriding pkg-config
2319 GPHOTO2_CFLAGS
2320 C compiler flags for libgphoto2, overriding pkg-config
2321 GPHOTO2_LIBS
2322 Linker flags for libgphoto2, overriding pkg-config
2323 GPHOTO2_PORT_CFLAGS
2324 C compiler flags for libgphoto2_port, overriding pkg-config
2325 GPHOTO2_PORT_LIBS
2326 Linker flags for libgphoto2_port, overriding pkg-config
2327 LCMS2_CFLAGS
2328 C compiler flags for lcms2, overriding pkg-config
2329 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2330 FREETYPE_CFLAGS
2331 C compiler flags for freetype2, overriding pkg-config
2332 FREETYPE_LIBS
2333 Linker flags for freetype2, overriding pkg-config
2334 PULSE_CFLAGS
2335 C compiler flags for libpulse, overriding pkg-config
2336 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2337 GSTREAMER_CFLAGS
2338 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2339 gstreamer-audio-1.0, overriding pkg-config
2340 GSTREAMER_LIBS
2341 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2342 gstreamer-audio-1.0, overriding pkg-config
2343 CAPI20_CFLAGS
2344 C compiler flags for capi20, overriding pkg-config
2345 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2346 FONTCONFIG_CFLAGS
2347 C compiler flags for fontconfig, overriding pkg-config
2348 FONTCONFIG_LIBS
2349 Linker flags for fontconfig, overriding pkg-config
2350 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2351 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2352 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2353 PNG_LIBS Linker flags for libpng, overriding pkg-config
2354 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2355 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2356 MPG123_CFLAGS
2357 C compiler flags for libmpg123, overriding pkg-config
2358 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2359 NETAPI_CFLAGS
2360 C compiler flags for netapi, overriding pkg-config
2361 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2363 Use these variables to override the choices made by `configure' or to help
2364 it to find libraries and programs with nonstandard names/locations.
2366 Report bugs to <wine-devel@winehq.org>.
2367 Wine home page: <http://www.winehq.org>.
2368 _ACEOF
2369 ac_status=$?
2372 if test "$ac_init_help" = "recursive"; then
2373 # If there are subdirs, report their specific --help.
2374 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2375 test -d "$ac_dir" ||
2376 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2377 continue
2378 ac_builddir=.
2380 case "$ac_dir" in
2381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2383 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2384 # A ".." for each directory in $ac_dir_suffix.
2385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2386 case $ac_top_builddir_sub in
2387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2389 esac ;;
2390 esac
2391 ac_abs_top_builddir=$ac_pwd
2392 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2393 # for backward compatibility:
2394 ac_top_builddir=$ac_top_build_prefix
2396 case $srcdir in
2397 .) # We are building in place.
2398 ac_srcdir=.
2399 ac_top_srcdir=$ac_top_builddir_sub
2400 ac_abs_top_srcdir=$ac_pwd ;;
2401 [\\/]* | ?:[\\/]* ) # Absolute name.
2402 ac_srcdir=$srcdir$ac_dir_suffix;
2403 ac_top_srcdir=$srcdir
2404 ac_abs_top_srcdir=$srcdir ;;
2405 *) # Relative name.
2406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2407 ac_top_srcdir=$ac_top_build_prefix$srcdir
2408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2409 esac
2410 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2412 cd "$ac_dir" || { ac_status=$?; continue; }
2413 # Check for guested configure.
2414 if test -f "$ac_srcdir/configure.gnu"; then
2415 echo &&
2416 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2417 elif test -f "$ac_srcdir/configure"; then
2418 echo &&
2419 $SHELL "$ac_srcdir/configure" --help=recursive
2420 else
2421 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2422 fi || ac_status=$?
2423 cd "$ac_pwd" || { ac_status=$?; break; }
2424 done
2427 test -n "$ac_init_help" && exit $ac_status
2428 if $ac_init_version; then
2429 cat <<\_ACEOF
2430 Wine configure 1.9.18
2431 generated by GNU Autoconf 2.69
2433 Copyright (C) 2012 Free Software Foundation, Inc.
2434 This configure script is free software; the Free Software Foundation
2435 gives unlimited permission to copy, distribute and modify it.
2436 _ACEOF
2437 exit
2440 ## ------------------------ ##
2441 ## Autoconf initialization. ##
2442 ## ------------------------ ##
2444 # ac_fn_c_try_compile LINENO
2445 # --------------------------
2446 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2447 ac_fn_c_try_compile ()
2449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2450 rm -f conftest.$ac_objext
2451 if { { ac_try="$ac_compile"
2452 case "(($ac_try" in
2453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2454 *) ac_try_echo=$ac_try;;
2455 esac
2456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2457 $as_echo "$ac_try_echo"; } >&5
2458 (eval "$ac_compile") 2>conftest.err
2459 ac_status=$?
2460 if test -s conftest.err; then
2461 grep -v '^ *+' conftest.err >conftest.er1
2462 cat conftest.er1 >&5
2463 mv -f conftest.er1 conftest.err
2465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2466 test $ac_status = 0; } && {
2467 test -z "$ac_c_werror_flag" ||
2468 test ! -s conftest.err
2469 } && test -s conftest.$ac_objext; then :
2470 ac_retval=0
2471 else
2472 $as_echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.$ac_ext >&5
2475 ac_retval=1
2477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2478 as_fn_set_status $ac_retval
2480 } # ac_fn_c_try_compile
2482 # ac_fn_cxx_try_compile LINENO
2483 # ----------------------------
2484 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2485 ac_fn_cxx_try_compile ()
2487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2488 rm -f conftest.$ac_objext
2489 if { { ac_try="$ac_compile"
2490 case "(($ac_try" in
2491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2492 *) ac_try_echo=$ac_try;;
2493 esac
2494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2495 $as_echo "$ac_try_echo"; } >&5
2496 (eval "$ac_compile") 2>conftest.err
2497 ac_status=$?
2498 if test -s conftest.err; then
2499 grep -v '^ *+' conftest.err >conftest.er1
2500 cat conftest.er1 >&5
2501 mv -f conftest.er1 conftest.err
2503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2504 test $ac_status = 0; } && {
2505 test -z "$ac_cxx_werror_flag" ||
2506 test ! -s conftest.err
2507 } && test -s conftest.$ac_objext; then :
2508 ac_retval=0
2509 else
2510 $as_echo "$as_me: failed program was:" >&5
2511 sed 's/^/| /' conftest.$ac_ext >&5
2513 ac_retval=1
2515 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2516 as_fn_set_status $ac_retval
2518 } # ac_fn_cxx_try_compile
2520 # ac_fn_c_try_link LINENO
2521 # -----------------------
2522 # Try to link conftest.$ac_ext, and return whether this succeeded.
2523 ac_fn_c_try_link ()
2525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2526 rm -f conftest.$ac_objext conftest$ac_exeext
2527 if { { ac_try="$ac_link"
2528 case "(($ac_try" in
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2531 esac
2532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2533 $as_echo "$ac_try_echo"; } >&5
2534 (eval "$ac_link") 2>conftest.err
2535 ac_status=$?
2536 if test -s conftest.err; then
2537 grep -v '^ *+' conftest.err >conftest.er1
2538 cat conftest.er1 >&5
2539 mv -f conftest.er1 conftest.err
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; } && {
2543 test -z "$ac_c_werror_flag" ||
2544 test ! -s conftest.err
2545 } && test -s conftest$ac_exeext && {
2546 test "$cross_compiling" = yes ||
2547 test -x conftest$ac_exeext
2548 }; then :
2549 ac_retval=0
2550 else
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2554 ac_retval=1
2556 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2557 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2558 # interfere with the next link command; also delete a directory that is
2559 # left behind by Apple's compiler. We do this before executing the actions.
2560 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2562 as_fn_set_status $ac_retval
2564 } # ac_fn_c_try_link
2566 # ac_fn_c_try_cpp LINENO
2567 # ----------------------
2568 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2569 ac_fn_c_try_cpp ()
2571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2572 if { { ac_try="$ac_cpp conftest.$ac_ext"
2573 case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2580 ac_status=$?
2581 if test -s conftest.err; then
2582 grep -v '^ *+' conftest.err >conftest.er1
2583 cat conftest.er1 >&5
2584 mv -f conftest.er1 conftest.err
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; } > conftest.i && {
2588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2589 test ! -s conftest.err
2590 }; then :
2591 ac_retval=0
2592 else
2593 $as_echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2596 ac_retval=1
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2599 as_fn_set_status $ac_retval
2601 } # ac_fn_c_try_cpp
2603 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2604 # -------------------------------------------------------
2605 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2606 # the include files in INCLUDES and setting the cache variable VAR
2607 # accordingly.
2608 ac_fn_c_check_header_mongrel ()
2610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2611 if eval \${$3+:} false; then :
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2613 $as_echo_n "checking for $2... " >&6; }
2614 if eval \${$3+:} false; then :
2615 $as_echo_n "(cached) " >&6
2617 eval ac_res=\$$3
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2619 $as_echo "$ac_res" >&6; }
2620 else
2621 # Is the header compilable?
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2623 $as_echo_n "checking $2 usability... " >&6; }
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2627 #include <$2>
2628 _ACEOF
2629 if ac_fn_c_try_compile "$LINENO"; then :
2630 ac_header_compiler=yes
2631 else
2632 ac_header_compiler=no
2634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2636 $as_echo "$ac_header_compiler" >&6; }
2638 # Is the header present?
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2640 $as_echo_n "checking $2 presence... " >&6; }
2641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2642 /* end confdefs.h. */
2643 #include <$2>
2644 _ACEOF
2645 if ac_fn_c_try_cpp "$LINENO"; then :
2646 ac_header_preproc=yes
2647 else
2648 ac_header_preproc=no
2650 rm -f conftest.err conftest.i conftest.$ac_ext
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2652 $as_echo "$ac_header_preproc" >&6; }
2654 # So? What about this header?
2655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2656 yes:no: )
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2658 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2662 no:yes:* )
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2664 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2666 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2668 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2670 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2672 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2673 ( $as_echo "## ------------------------------------ ##
2674 ## Report this to wine-devel@winehq.org ##
2675 ## ------------------------------------ ##"
2676 ) | sed "s/^/$as_me: WARNING: /" >&2
2678 esac
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2680 $as_echo_n "checking for $2... " >&6; }
2681 if eval \${$3+:} false; then :
2682 $as_echo_n "(cached) " >&6
2683 else
2684 eval "$3=\$ac_header_compiler"
2686 eval ac_res=\$$3
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2688 $as_echo "$ac_res" >&6; }
2690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2692 } # ac_fn_c_check_header_mongrel
2694 # ac_fn_c_try_run LINENO
2695 # ----------------------
2696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2697 # that executables *can* be run.
2698 ac_fn_c_try_run ()
2700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2701 if { { ac_try="$ac_link"
2702 case "(($ac_try" in
2703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704 *) ac_try_echo=$ac_try;;
2705 esac
2706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2707 $as_echo "$ac_try_echo"; } >&5
2708 (eval "$ac_link") 2>&5
2709 ac_status=$?
2710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2711 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2712 { { case "(($ac_try" in
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2715 esac
2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2717 $as_echo "$ac_try_echo"; } >&5
2718 (eval "$ac_try") 2>&5
2719 ac_status=$?
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2721 test $ac_status = 0; }; }; then :
2722 ac_retval=0
2723 else
2724 $as_echo "$as_me: program exited with status $ac_status" >&5
2725 $as_echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.$ac_ext >&5
2728 ac_retval=$ac_status
2730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2732 as_fn_set_status $ac_retval
2734 } # ac_fn_c_try_run
2736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2737 # -------------------------------------------------------
2738 # Tests whether HEADER exists and can be compiled using the include files in
2739 # INCLUDES, setting the cache variable VAR accordingly.
2740 ac_fn_c_check_header_compile ()
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2744 $as_echo_n "checking for $2... " >&6; }
2745 if eval \${$3+:} false; then :
2746 $as_echo_n "(cached) " >&6
2747 else
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2751 #include <$2>
2752 _ACEOF
2753 if ac_fn_c_try_compile "$LINENO"; then :
2754 eval "$3=yes"
2755 else
2756 eval "$3=no"
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2760 eval ac_res=\$$3
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2762 $as_echo "$ac_res" >&6; }
2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 } # ac_fn_c_check_header_compile
2767 # ac_fn_c_check_func LINENO FUNC VAR
2768 # ----------------------------------
2769 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2770 ac_fn_c_check_func ()
2772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2774 $as_echo_n "checking for $2... " >&6; }
2775 if eval \${$3+:} false; then :
2776 $as_echo_n "(cached) " >&6
2777 else
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2780 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2782 #define $2 innocuous_$2
2784 /* System header to define __stub macros and hopefully few prototypes,
2785 which can conflict with char $2 (); below.
2786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2787 <limits.h> exists even on freestanding compilers. */
2789 #ifdef __STDC__
2790 # include <limits.h>
2791 #else
2792 # include <assert.h>
2793 #endif
2795 #undef $2
2797 /* Override any GCC internal prototype to avoid an error.
2798 Use char because int might match the return type of a GCC
2799 builtin and then its argument prototype would still apply. */
2800 #ifdef __cplusplus
2801 extern "C"
2802 #endif
2803 char $2 ();
2804 /* The GNU C library defines this for functions which it implements
2805 to always fail with ENOSYS. Some functions are actually named
2806 something starting with __ and the normal name is an alias. */
2807 #if defined __stub_$2 || defined __stub___$2
2808 choke me
2809 #endif
2812 main ()
2814 return $2 ();
2816 return 0;
2818 _ACEOF
2819 if ac_fn_c_try_link "$LINENO"; then :
2820 eval "$3=yes"
2821 else
2822 eval "$3=no"
2824 rm -f core conftest.err conftest.$ac_objext \
2825 conftest$ac_exeext conftest.$ac_ext
2827 eval ac_res=\$$3
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2829 $as_echo "$ac_res" >&6; }
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 } # ac_fn_c_check_func
2834 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2835 # ----------------------------------------------------
2836 # Tries to find if the field MEMBER exists in type AGGR, after including
2837 # INCLUDES, setting cache variable VAR accordingly.
2838 ac_fn_c_check_member ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2842 $as_echo_n "checking for $2.$3... " >&6; }
2843 if eval \${$4+:} false; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2850 main ()
2852 static $2 ac_aggr;
2853 if (ac_aggr.$3)
2854 return 0;
2856 return 0;
2858 _ACEOF
2859 if ac_fn_c_try_compile "$LINENO"; then :
2860 eval "$4=yes"
2861 else
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2866 main ()
2868 static $2 ac_aggr;
2869 if (sizeof ac_aggr.$3)
2870 return 0;
2872 return 0;
2874 _ACEOF
2875 if ac_fn_c_try_compile "$LINENO"; then :
2876 eval "$4=yes"
2877 else
2878 eval "$4=no"
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 eval ac_res=\$$4
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2886 $as_echo "$ac_res" >&6; }
2887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2889 } # ac_fn_c_check_member
2891 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2892 # -------------------------------------------
2893 # Tests whether TYPE exists after having included INCLUDES, setting cache
2894 # variable VAR accordingly.
2895 ac_fn_c_check_type ()
2897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2899 $as_echo_n "checking for $2... " >&6; }
2900 if eval \${$3+:} false; then :
2901 $as_echo_n "(cached) " >&6
2902 else
2903 eval "$3=no"
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2908 main ()
2910 if (sizeof ($2))
2911 return 0;
2913 return 0;
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2921 main ()
2923 if (sizeof (($2)))
2924 return 0;
2926 return 0;
2928 _ACEOF
2929 if ac_fn_c_try_compile "$LINENO"; then :
2931 else
2932 eval "$3=yes"
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2938 eval ac_res=\$$3
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2940 $as_echo "$ac_res" >&6; }
2941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2943 } # ac_fn_c_check_type
2944 cat >config.log <<_ACEOF
2945 This file contains any messages produced by compilers while
2946 running configure, to aid debugging if configure makes a mistake.
2948 It was created by Wine $as_me 1.9.18, which was
2949 generated by GNU Autoconf 2.69. Invocation command line was
2951 $ $0 $@
2953 _ACEOF
2954 exec 5>>config.log
2956 cat <<_ASUNAME
2957 ## --------- ##
2958 ## Platform. ##
2959 ## --------- ##
2961 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2962 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2963 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2964 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2965 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2967 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2968 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2970 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2971 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2972 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2973 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2974 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2975 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2976 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2978 _ASUNAME
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 $as_echo "PATH: $as_dir"
2986 done
2987 IFS=$as_save_IFS
2989 } >&5
2991 cat >&5 <<_ACEOF
2994 ## ----------- ##
2995 ## Core tests. ##
2996 ## ----------- ##
2998 _ACEOF
3001 # Keep a trace of the command line.
3002 # Strip out --no-create and --no-recursion so they do not pile up.
3003 # Strip out --silent because we don't want to record it for future runs.
3004 # Also quote any args containing shell meta-characters.
3005 # Make two passes to allow for proper duplicate-argument suppression.
3006 ac_configure_args=
3007 ac_configure_args0=
3008 ac_configure_args1=
3009 ac_must_keep_next=false
3010 for ac_pass in 1 2
3012 for ac_arg
3014 case $ac_arg in
3015 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3017 | -silent | --silent | --silen | --sile | --sil)
3018 continue ;;
3019 *\'*)
3020 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3021 esac
3022 case $ac_pass in
3023 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3025 as_fn_append ac_configure_args1 " '$ac_arg'"
3026 if test $ac_must_keep_next = true; then
3027 ac_must_keep_next=false # Got value, back to normal.
3028 else
3029 case $ac_arg in
3030 *=* | --config-cache | -C | -disable-* | --disable-* \
3031 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3032 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3033 | -with-* | --with-* | -without-* | --without-* | --x)
3034 case "$ac_configure_args0 " in
3035 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3036 esac
3038 -* ) ac_must_keep_next=true ;;
3039 esac
3041 as_fn_append ac_configure_args " '$ac_arg'"
3043 esac
3044 done
3045 done
3046 { ac_configure_args0=; unset ac_configure_args0;}
3047 { ac_configure_args1=; unset ac_configure_args1;}
3049 # When interrupted or exit'd, cleanup temporary files, and complete
3050 # config.log. We remove comments because anyway the quotes in there
3051 # would cause problems or look ugly.
3052 # WARNING: Use '\'' to represent an apostrophe within the trap.
3053 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3054 trap 'exit_status=$?
3055 # Save into config.log some information that might help in debugging.
3057 echo
3059 $as_echo "## ---------------- ##
3060 ## Cache variables. ##
3061 ## ---------------- ##"
3062 echo
3063 # The following way of writing the cache mishandles newlines in values,
3065 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3066 eval ac_val=\$$ac_var
3067 case $ac_val in #(
3068 *${as_nl}*)
3069 case $ac_var in #(
3070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3072 esac
3073 case $ac_var in #(
3074 _ | IFS | as_nl) ;; #(
3075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3076 *) { eval $ac_var=; unset $ac_var;} ;;
3077 esac ;;
3078 esac
3079 done
3080 (set) 2>&1 |
3081 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3082 *${as_nl}ac_space=\ *)
3083 sed -n \
3084 "s/'\''/'\''\\\\'\'''\''/g;
3085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3086 ;; #(
3088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3090 esac |
3091 sort
3093 echo
3095 $as_echo "## ----------------- ##
3096 ## Output variables. ##
3097 ## ----------------- ##"
3098 echo
3099 for ac_var in $ac_subst_vars
3101 eval ac_val=\$$ac_var
3102 case $ac_val in
3103 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3104 esac
3105 $as_echo "$ac_var='\''$ac_val'\''"
3106 done | sort
3107 echo
3109 if test -n "$ac_subst_files"; then
3110 $as_echo "## ------------------- ##
3111 ## File substitutions. ##
3112 ## ------------------- ##"
3113 echo
3114 for ac_var in $ac_subst_files
3116 eval ac_val=\$$ac_var
3117 case $ac_val in
3118 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3119 esac
3120 $as_echo "$ac_var='\''$ac_val'\''"
3121 done | sort
3122 echo
3125 if test -s confdefs.h; then
3126 $as_echo "## ----------- ##
3127 ## confdefs.h. ##
3128 ## ----------- ##"
3129 echo
3130 cat confdefs.h
3131 echo
3133 test "$ac_signal" != 0 &&
3134 $as_echo "$as_me: caught signal $ac_signal"
3135 $as_echo "$as_me: exit $exit_status"
3136 } >&5
3137 rm -f core *.core core.conftest.* &&
3138 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3139 exit $exit_status
3141 for ac_signal in 1 2 13 15; do
3142 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3143 done
3144 ac_signal=0
3146 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3147 rm -f -r conftest* confdefs.h
3149 $as_echo "/* confdefs.h */" > confdefs.h
3151 # Predefined preprocessor variables.
3153 cat >>confdefs.h <<_ACEOF
3154 #define PACKAGE_NAME "$PACKAGE_NAME"
3155 _ACEOF
3157 cat >>confdefs.h <<_ACEOF
3158 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3159 _ACEOF
3161 cat >>confdefs.h <<_ACEOF
3162 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3163 _ACEOF
3165 cat >>confdefs.h <<_ACEOF
3166 #define PACKAGE_STRING "$PACKAGE_STRING"
3167 _ACEOF
3169 cat >>confdefs.h <<_ACEOF
3170 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3171 _ACEOF
3173 cat >>confdefs.h <<_ACEOF
3174 #define PACKAGE_URL "$PACKAGE_URL"
3175 _ACEOF
3178 # Let the site file select an alternate cache file if it wants to.
3179 # Prefer an explicitly selected file to automatically selected ones.
3180 ac_site_file1=NONE
3181 ac_site_file2=NONE
3182 if test -n "$CONFIG_SITE"; then
3183 # We do not want a PATH search for config.site.
3184 case $CONFIG_SITE in #((
3185 -*) ac_site_file1=./$CONFIG_SITE;;
3186 */*) ac_site_file1=$CONFIG_SITE;;
3187 *) ac_site_file1=./$CONFIG_SITE;;
3188 esac
3189 elif test "x$prefix" != xNONE; then
3190 ac_site_file1=$prefix/share/config.site
3191 ac_site_file2=$prefix/etc/config.site
3192 else
3193 ac_site_file1=$ac_default_prefix/share/config.site
3194 ac_site_file2=$ac_default_prefix/etc/config.site
3196 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3198 test "x$ac_site_file" = xNONE && continue
3199 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3201 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3202 sed 's/^/| /' "$ac_site_file" >&5
3203 . "$ac_site_file" \
3204 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206 as_fn_error $? "failed to load site script $ac_site_file
3207 See \`config.log' for more details" "$LINENO" 5; }
3209 done
3211 if test -r "$cache_file"; then
3212 # Some versions of bash will fail to source /dev/null (special files
3213 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3214 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3216 $as_echo "$as_me: loading cache $cache_file" >&6;}
3217 case $cache_file in
3218 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3219 *) . "./$cache_file";;
3220 esac
3222 else
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3224 $as_echo "$as_me: creating cache $cache_file" >&6;}
3225 >$cache_file
3228 # Check that the precious variables saved in the cache have kept the same
3229 # value.
3230 ac_cache_corrupted=false
3231 for ac_var in $ac_precious_vars; do
3232 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3233 eval ac_new_set=\$ac_env_${ac_var}_set
3234 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3235 eval ac_new_val=\$ac_env_${ac_var}_value
3236 case $ac_old_set,$ac_new_set in
3237 set,)
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3240 ac_cache_corrupted=: ;;
3241 ,set)
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3244 ac_cache_corrupted=: ;;
3245 ,);;
3247 if test "x$ac_old_val" != "x$ac_new_val"; then
3248 # differences in whitespace do not lead to failure.
3249 ac_old_val_w=`echo x $ac_old_val`
3250 ac_new_val_w=`echo x $ac_new_val`
3251 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3254 ac_cache_corrupted=:
3255 else
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3258 eval $ac_var=\$ac_old_val
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3261 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3263 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3264 fi;;
3265 esac
3266 # Pass precious variables to config.status.
3267 if test "$ac_new_set" = set; then
3268 case $ac_new_val in
3269 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3270 *) ac_arg=$ac_var=$ac_new_val ;;
3271 esac
3272 case " $ac_configure_args " in
3273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3274 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3275 esac
3277 done
3278 if $ac_cache_corrupted; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3283 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3285 ## -------------------- ##
3286 ## Main body of script. ##
3287 ## -------------------- ##
3289 ac_ext=c
3290 ac_cpp='$CPP $CPPFLAGS'
3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3297 ac_config_headers="$ac_config_headers include/config.h"
3299 ac_aux_dir=
3300 for ac_dir in tools "$srcdir"/tools; do
3301 if test -f "$ac_dir/install-sh"; then
3302 ac_aux_dir=$ac_dir
3303 ac_install_sh="$ac_aux_dir/install-sh -c"
3304 break
3305 elif test -f "$ac_dir/install.sh"; then
3306 ac_aux_dir=$ac_dir
3307 ac_install_sh="$ac_aux_dir/install.sh -c"
3308 break
3309 elif test -f "$ac_dir/shtool"; then
3310 ac_aux_dir=$ac_dir
3311 ac_install_sh="$ac_aux_dir/shtool install -c"
3312 break
3314 done
3315 if test -z "$ac_aux_dir"; then
3316 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3319 # These three variables are undocumented and unsupported,
3320 # and are intended to be withdrawn in a future Autoconf release.
3321 # They can cause serious problems if a builder's source tree is in a directory
3322 # whose full name contains unusual characters.
3323 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3324 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3325 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3329 libwine_version="1.0"
3333 # Check whether --enable-win16 was given.
3334 if test "${enable_win16+set}" = set; then :
3335 enableval=$enable_win16;
3338 # Check whether --enable-win64 was given.
3339 if test "${enable_win64+set}" = set; then :
3340 enableval=$enable_win64;
3343 # Check whether --enable-tests was given.
3344 if test "${enable_tests+set}" = set; then :
3345 enableval=$enable_tests;
3348 # Check whether --enable-maintainer-mode was given.
3349 if test "${enable_maintainer_mode+set}" = set; then :
3350 enableval=$enable_maintainer_mode;
3355 # Check whether --with-alsa was given.
3356 if test "${with_alsa+set}" = set; then :
3357 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3361 # Check whether --with-capi was given.
3362 if test "${with_capi+set}" = set; then :
3363 withval=$with_capi;
3367 # Check whether --with-cms was given.
3368 if test "${with_cms+set}" = set; then :
3369 withval=$with_cms;
3373 # Check whether --with-coreaudio was given.
3374 if test "${with_coreaudio+set}" = set; then :
3375 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3379 # Check whether --with-cups was given.
3380 if test "${with_cups+set}" = set; then :
3381 withval=$with_cups;
3385 # Check whether --with-curses was given.
3386 if test "${with_curses+set}" = set; then :
3387 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3391 # Check whether --with-dbus was given.
3392 if test "${with_dbus+set}" = set; then :
3393 withval=$with_dbus;
3397 # Check whether --with-fontconfig was given.
3398 if test "${with_fontconfig+set}" = set; then :
3399 withval=$with_fontconfig;
3403 # Check whether --with-freetype was given.
3404 if test "${with_freetype+set}" = set; then :
3405 withval=$with_freetype;
3409 # Check whether --with-gettext was given.
3410 if test "${with_gettext+set}" = set; then :
3411 withval=$with_gettext;
3415 # Check whether --with-gettextpo was given.
3416 if test "${with_gettextpo+set}" = set; then :
3417 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3421 # Check whether --with-gphoto was given.
3422 if test "${with_gphoto+set}" = set; then :
3423 withval=$with_gphoto;
3427 # Check whether --with-glu was given.
3428 if test "${with_glu+set}" = set; then :
3429 withval=$with_glu;
3433 # Check whether --with-gnutls was given.
3434 if test "${with_gnutls+set}" = set; then :
3435 withval=$with_gnutls;
3439 # Check whether --with-gsm was given.
3440 if test "${with_gsm+set}" = set; then :
3441 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3445 # Check whether --with-gstreamer was given.
3446 if test "${with_gstreamer+set}" = set; then :
3447 withval=$with_gstreamer;
3451 # Check whether --with-hal was given.
3452 if test "${with_hal+set}" = set; then :
3453 withval=$with_hal;
3457 # Check whether --with-jpeg was given.
3458 if test "${with_jpeg+set}" = set; then :
3459 withval=$with_jpeg;
3463 # Check whether --with-ldap was given.
3464 if test "${with_ldap+set}" = set; then :
3465 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3469 # Check whether --with-mpg123 was given.
3470 if test "${with_mpg123+set}" = set; then :
3471 withval=$with_mpg123;
3475 # Check whether --with-netapi was given.
3476 if test "${with_netapi+set}" = set; then :
3477 withval=$with_netapi;
3481 # Check whether --with-openal was given.
3482 if test "${with_openal+set}" = set; then :
3483 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3487 # Check whether --with-opencl was given.
3488 if test "${with_opencl+set}" = set; then :
3489 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3493 # Check whether --with-opengl was given.
3494 if test "${with_opengl+set}" = set; then :
3495 withval=$with_opengl;
3499 # Check whether --with-osmesa was given.
3500 if test "${with_osmesa+set}" = set; then :
3501 withval=$with_osmesa;
3505 # Check whether --with-oss was given.
3506 if test "${with_oss+set}" = set; then :
3507 withval=$with_oss;
3511 # Check whether --with-pcap was given.
3512 if test "${with_pcap+set}" = set; then :
3513 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3517 # Check whether --with-png was given.
3518 if test "${with_png+set}" = set; then :
3519 withval=$with_png;
3523 # Check whether --with-pthread was given.
3524 if test "${with_pthread+set}" = set; then :
3525 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3529 # Check whether --with-pulse was given.
3530 if test "${with_pulse+set}" = set; then :
3531 withval=$with_pulse;
3535 # Check whether --with-sane was given.
3536 if test "${with_sane+set}" = set; then :
3537 withval=$with_sane;
3541 # Check whether --with-tiff was given.
3542 if test "${with_tiff+set}" = set; then :
3543 withval=$with_tiff;
3547 # Check whether --with-v4l was given.
3548 if test "${with_v4l+set}" = set; then :
3549 withval=$with_v4l;
3553 # Check whether --with-xcomposite was given.
3554 if test "${with_xcomposite+set}" = set; then :
3555 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3559 # Check whether --with-xcursor was given.
3560 if test "${with_xcursor+set}" = set; then :
3561 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3565 # Check whether --with-xinerama was given.
3566 if test "${with_xinerama+set}" = set; then :
3567 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3571 # Check whether --with-xinput was given.
3572 if test "${with_xinput+set}" = set; then :
3573 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3577 # Check whether --with-xinput2 was given.
3578 if test "${with_xinput2+set}" = set; then :
3579 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3583 # Check whether --with-xml was given.
3584 if test "${with_xml+set}" = set; then :
3585 withval=$with_xml;
3589 # Check whether --with-xrandr was given.
3590 if test "${with_xrandr+set}" = set; then :
3591 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3595 # Check whether --with-xrender was given.
3596 if test "${with_xrender+set}" = set; then :
3597 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3601 # Check whether --with-xshape was given.
3602 if test "${with_xshape+set}" = set; then :
3603 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3607 # Check whether --with-xshm was given.
3608 if test "${with_xshm+set}" = set; then :
3609 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3613 # Check whether --with-xslt was given.
3614 if test "${with_xslt+set}" = set; then :
3615 withval=$with_xslt;
3619 # Check whether --with-xxf86vm was given.
3620 if test "${with_xxf86vm+set}" = set; then :
3621 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
3625 # Check whether --with-zlib was given.
3626 if test "${with_zlib+set}" = set; then :
3627 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3632 # Check whether --with-wine-tools was given.
3633 if test "${with_wine_tools+set}" = set; then :
3634 withval=$with_wine_tools;
3638 # Check whether --with-wine64 was given.
3639 if test "${with_wine64+set}" = set; then :
3640 withval=$with_wine64;
3644 # Make sure we can run config.sub.
3645 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3646 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3649 $as_echo_n "checking build system type... " >&6; }
3650 if ${ac_cv_build+:} false; then :
3651 $as_echo_n "(cached) " >&6
3652 else
3653 ac_build_alias=$build_alias
3654 test "x$ac_build_alias" = x &&
3655 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3656 test "x$ac_build_alias" = x &&
3657 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3658 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3659 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3663 $as_echo "$ac_cv_build" >&6; }
3664 case $ac_cv_build in
3665 *-*-*) ;;
3666 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3667 esac
3668 build=$ac_cv_build
3669 ac_save_IFS=$IFS; IFS='-'
3670 set x $ac_cv_build
3671 shift
3672 build_cpu=$1
3673 build_vendor=$2
3674 shift; shift
3675 # Remember, the first character of IFS is used to create $*,
3676 # except with old shells:
3677 build_os=$*
3678 IFS=$ac_save_IFS
3679 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3683 $as_echo_n "checking host system type... " >&6; }
3684 if ${ac_cv_host+:} false; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 if test "x$host_alias" = x; then
3688 ac_cv_host=$ac_cv_build
3689 else
3690 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3691 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3696 $as_echo "$ac_cv_host" >&6; }
3697 case $ac_cv_host in
3698 *-*-*) ;;
3699 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3700 esac
3701 host=$ac_cv_host
3702 ac_save_IFS=$IFS; IFS='-'
3703 set x $ac_cv_host
3704 shift
3705 host_cpu=$1
3706 host_vendor=$2
3707 shift; shift
3708 # Remember, the first character of IFS is used to create $*,
3709 # except with old shells:
3710 host_os=$*
3711 IFS=$ac_save_IFS
3712 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3716 case "$srcdir" in
3717 .) ;;
3718 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3719 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3720 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3721 fi ;;
3722 esac
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3726 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3727 set x ${MAKE-make}
3728 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3729 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 cat >conftest.make <<\_ACEOF
3733 SHELL = /bin/sh
3734 all:
3735 @echo '@@@%%%=$(MAKE)=@@@%%%'
3736 _ACEOF
3737 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3738 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3739 *@@@%%%=?*=@@@%%%*)
3740 eval ac_cv_prog_make_${ac_make}_set=yes;;
3742 eval ac_cv_prog_make_${ac_make}_set=no;;
3743 esac
3744 rm -f conftest.make
3746 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3748 $as_echo "yes" >&6; }
3749 SET_MAKE=
3750 else
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3753 SET_MAKE="MAKE=${MAKE-make}"
3756 ac_ext=c
3757 ac_cpp='$CPP $CPPFLAGS'
3758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3761 if test -n "$ac_tool_prefix"; then
3762 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3763 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3765 $as_echo_n "checking for $ac_word... " >&6; }
3766 if ${ac_cv_prog_CC+:} false; then :
3767 $as_echo_n "(cached) " >&6
3768 else
3769 if test -n "$CC"; then
3770 ac_cv_prog_CC="$CC" # Let the user override the test.
3771 else
3772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773 for as_dir in $PATH
3775 IFS=$as_save_IFS
3776 test -z "$as_dir" && as_dir=.
3777 for ac_exec_ext in '' $ac_executable_extensions; do
3778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3779 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3781 break 2
3783 done
3784 done
3785 IFS=$as_save_IFS
3789 CC=$ac_cv_prog_CC
3790 if test -n "$CC"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3792 $as_echo "$CC" >&6; }
3793 else
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 $as_echo "no" >&6; }
3800 if test -z "$ac_cv_prog_CC"; then
3801 ac_ct_CC=$CC
3802 # Extract the first word of "gcc", so it can be a program name with args.
3803 set dummy gcc; ac_word=$2
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3805 $as_echo_n "checking for $ac_word... " >&6; }
3806 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3807 $as_echo_n "(cached) " >&6
3808 else
3809 if test -n "$ac_ct_CC"; then
3810 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3811 else
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813 for as_dir in $PATH
3815 IFS=$as_save_IFS
3816 test -z "$as_dir" && as_dir=.
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3819 ac_cv_prog_ac_ct_CC="gcc"
3820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 break 2
3823 done
3824 done
3825 IFS=$as_save_IFS
3829 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3830 if test -n "$ac_ct_CC"; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3832 $as_echo "$ac_ct_CC" >&6; }
3833 else
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3838 if test "x$ac_ct_CC" = x; then
3839 CC=""
3840 else
3841 case $cross_compiling:$ac_tool_warned in
3842 yes:)
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3845 ac_tool_warned=yes ;;
3846 esac
3847 CC=$ac_ct_CC
3849 else
3850 CC="$ac_cv_prog_CC"
3853 if test -z "$CC"; then
3854 if test -n "$ac_tool_prefix"; then
3855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3856 set dummy ${ac_tool_prefix}cc; ac_word=$2
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3858 $as_echo_n "checking for $ac_word... " >&6; }
3859 if ${ac_cv_prog_CC+:} false; then :
3860 $as_echo_n "(cached) " >&6
3861 else
3862 if test -n "$CC"; then
3863 ac_cv_prog_CC="$CC" # Let the user override the test.
3864 else
3865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 for as_dir in $PATH
3868 IFS=$as_save_IFS
3869 test -z "$as_dir" && as_dir=.
3870 for ac_exec_ext in '' $ac_executable_extensions; do
3871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3872 ac_cv_prog_CC="${ac_tool_prefix}cc"
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 break 2
3876 done
3877 done
3878 IFS=$as_save_IFS
3882 CC=$ac_cv_prog_CC
3883 if test -n "$CC"; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3885 $as_echo "$CC" >&6; }
3886 else
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3888 $as_echo "no" >&6; }
3894 if test -z "$CC"; then
3895 # Extract the first word of "cc", so it can be a program name with args.
3896 set dummy cc; ac_word=$2
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3898 $as_echo_n "checking for $ac_word... " >&6; }
3899 if ${ac_cv_prog_CC+:} false; then :
3900 $as_echo_n "(cached) " >&6
3901 else
3902 if test -n "$CC"; then
3903 ac_cv_prog_CC="$CC" # Let the user override the test.
3904 else
3905 ac_prog_rejected=no
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 for as_dir in $PATH
3909 IFS=$as_save_IFS
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3914 ac_prog_rejected=yes
3915 continue
3917 ac_cv_prog_CC="cc"
3918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 break 2
3921 done
3922 done
3923 IFS=$as_save_IFS
3925 if test $ac_prog_rejected = yes; then
3926 # We found a bogon in the path, so make sure we never use it.
3927 set dummy $ac_cv_prog_CC
3928 shift
3929 if test $# != 0; then
3930 # We chose a different compiler from the bogus one.
3931 # However, it has the same basename, so the bogon will be chosen
3932 # first if we set CC to just the basename; use the full file name.
3933 shift
3934 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3939 CC=$ac_cv_prog_CC
3940 if test -n "$CC"; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3942 $as_echo "$CC" >&6; }
3943 else
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 $as_echo "no" >&6; }
3950 if test -z "$CC"; then
3951 if test -n "$ac_tool_prefix"; then
3952 for ac_prog in cl.exe
3954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3957 $as_echo_n "checking for $ac_word... " >&6; }
3958 if ${ac_cv_prog_CC+:} false; then :
3959 $as_echo_n "(cached) " >&6
3960 else
3961 if test -n "$CC"; then
3962 ac_cv_prog_CC="$CC" # Let the user override the test.
3963 else
3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3965 for as_dir in $PATH
3967 IFS=$as_save_IFS
3968 test -z "$as_dir" && as_dir=.
3969 for ac_exec_ext in '' $ac_executable_extensions; do
3970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3971 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 break 2
3975 done
3976 done
3977 IFS=$as_save_IFS
3981 CC=$ac_cv_prog_CC
3982 if test -n "$CC"; then
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3984 $as_echo "$CC" >&6; }
3985 else
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3987 $as_echo "no" >&6; }
3991 test -n "$CC" && break
3992 done
3994 if test -z "$CC"; then
3995 ac_ct_CC=$CC
3996 for ac_prog in cl.exe
3998 # Extract the first word of "$ac_prog", so it can be a program name with args.
3999 set dummy $ac_prog; ac_word=$2
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4001 $as_echo_n "checking for $ac_word... " >&6; }
4002 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4003 $as_echo_n "(cached) " >&6
4004 else
4005 if test -n "$ac_ct_CC"; then
4006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4007 else
4008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4009 for as_dir in $PATH
4011 IFS=$as_save_IFS
4012 test -z "$as_dir" && as_dir=.
4013 for ac_exec_ext in '' $ac_executable_extensions; do
4014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4015 ac_cv_prog_ac_ct_CC="$ac_prog"
4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4017 break 2
4019 done
4020 done
4021 IFS=$as_save_IFS
4025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4026 if test -n "$ac_ct_CC"; then
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4028 $as_echo "$ac_ct_CC" >&6; }
4029 else
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4035 test -n "$ac_ct_CC" && break
4036 done
4038 if test "x$ac_ct_CC" = x; then
4039 CC=""
4040 else
4041 case $cross_compiling:$ac_tool_warned in
4042 yes:)
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4045 ac_tool_warned=yes ;;
4046 esac
4047 CC=$ac_ct_CC
4054 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error $? "no acceptable C compiler found in \$PATH
4057 See \`config.log' for more details" "$LINENO" 5; }
4059 # Provide some information about the compiler.
4060 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4061 set X $ac_compile
4062 ac_compiler=$2
4063 for ac_option in --version -v -V -qversion; do
4064 { { ac_try="$ac_compiler $ac_option >&5"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4072 ac_status=$?
4073 if test -s conftest.err; then
4074 sed '10a\
4075 ... rest of stderr output deleted ...
4076 10q' conftest.err >conftest.er1
4077 cat conftest.er1 >&5
4079 rm -f conftest.er1 conftest.err
4080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4081 test $ac_status = 0; }
4082 done
4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4088 main ()
4092 return 0;
4094 _ACEOF
4095 ac_clean_files_save=$ac_clean_files
4096 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4097 # Try to create an executable without -o first, disregard a.out.
4098 # It will help us diagnose broken compilers, and finding out an intuition
4099 # of exeext.
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4101 $as_echo_n "checking whether the C compiler works... " >&6; }
4102 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4104 # The possible output files:
4105 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4107 ac_rmfiles=
4108 for ac_file in $ac_files
4110 case $ac_file in
4111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4112 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4113 esac
4114 done
4115 rm -f $ac_rmfiles
4117 if { { ac_try="$ac_link_default"
4118 case "(($ac_try" in
4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4121 esac
4122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4123 $as_echo "$ac_try_echo"; } >&5
4124 (eval "$ac_link_default") 2>&5
4125 ac_status=$?
4126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4127 test $ac_status = 0; }; then :
4128 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4129 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4130 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4131 # so that the user can short-circuit this test for compilers unknown to
4132 # Autoconf.
4133 for ac_file in $ac_files ''
4135 test -f "$ac_file" || continue
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4139 [ab].out )
4140 # We found the default executable, but exeext='' is most
4141 # certainly right.
4142 break;;
4143 *.* )
4144 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4145 then :; else
4146 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4148 # We set ac_cv_exeext here because the later test for it is not
4149 # safe: cross compilers may not add the suffix if given an `-o'
4150 # argument, so we may need to know it at that point already.
4151 # Even if this section looks crufty: it has the advantage of
4152 # actually working.
4153 break;;
4155 break;;
4156 esac
4157 done
4158 test "$ac_cv_exeext" = no && ac_cv_exeext=
4160 else
4161 ac_file=''
4163 if test -z "$ac_file"; then :
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4165 $as_echo "no" >&6; }
4166 $as_echo "$as_me: failed program was:" >&5
4167 sed 's/^/| /' conftest.$ac_ext >&5
4169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4171 as_fn_error 77 "C compiler cannot create executables
4172 See \`config.log' for more details" "$LINENO" 5; }
4173 else
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4175 $as_echo "yes" >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4178 $as_echo_n "checking for C compiler default output file name... " >&6; }
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4180 $as_echo "$ac_file" >&6; }
4181 ac_exeext=$ac_cv_exeext
4183 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4184 ac_clean_files=$ac_clean_files_save
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4186 $as_echo_n "checking for suffix of executables... " >&6; }
4187 if { { ac_try="$ac_link"
4188 case "(($ac_try" in
4189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190 *) ac_try_echo=$ac_try;;
4191 esac
4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193 $as_echo "$ac_try_echo"; } >&5
4194 (eval "$ac_link") 2>&5
4195 ac_status=$?
4196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }; then :
4198 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4199 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4200 # work properly (i.e., refer to `conftest.exe'), while it won't with
4201 # `rm'.
4202 for ac_file in conftest.exe conftest conftest.*; do
4203 test -f "$ac_file" || continue
4204 case $ac_file in
4205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4206 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4207 break;;
4208 * ) break;;
4209 esac
4210 done
4211 else
4212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4214 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4215 See \`config.log' for more details" "$LINENO" 5; }
4217 rm -f conftest conftest$ac_cv_exeext
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4219 $as_echo "$ac_cv_exeext" >&6; }
4221 rm -f conftest.$ac_ext
4222 EXEEXT=$ac_cv_exeext
4223 ac_exeext=$EXEEXT
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4226 #include <stdio.h>
4228 main ()
4230 FILE *f = fopen ("conftest.out", "w");
4231 return ferror (f) || fclose (f) != 0;
4234 return 0;
4236 _ACEOF
4237 ac_clean_files="$ac_clean_files conftest.out"
4238 # Check that the compiler produces executables we can run. If not, either
4239 # the compiler is broken, or we cross compile.
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4241 $as_echo_n "checking whether we are cross compiling... " >&6; }
4242 if test "$cross_compiling" != yes; then
4243 { { ac_try="$ac_link"
4244 case "(($ac_try" in
4245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4247 esac
4248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4249 $as_echo "$ac_try_echo"; } >&5
4250 (eval "$ac_link") 2>&5
4251 ac_status=$?
4252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4253 test $ac_status = 0; }
4254 if { ac_try='./conftest$ac_cv_exeext'
4255 { { case "(($ac_try" in
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4258 esac
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_try") 2>&5
4262 ac_status=$?
4263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264 test $ac_status = 0; }; }; then
4265 cross_compiling=no
4266 else
4267 if test "$cross_compiling" = maybe; then
4268 cross_compiling=yes
4269 else
4270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4272 as_fn_error $? "cannot run C compiled programs.
4273 If you meant to cross compile, use \`--host'.
4274 See \`config.log' for more details" "$LINENO" 5; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4279 $as_echo "$cross_compiling" >&6; }
4281 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4282 ac_clean_files=$ac_clean_files_save
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4284 $as_echo_n "checking for suffix of object files... " >&6; }
4285 if ${ac_cv_objext+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4292 main ()
4296 return 0;
4298 _ACEOF
4299 rm -f conftest.o conftest.obj
4300 if { { ac_try="$ac_compile"
4301 case "(($ac_try" in
4302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4303 *) ac_try_echo=$ac_try;;
4304 esac
4305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4306 $as_echo "$ac_try_echo"; } >&5
4307 (eval "$ac_compile") 2>&5
4308 ac_status=$?
4309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4310 test $ac_status = 0; }; then :
4311 for ac_file in conftest.o conftest.obj conftest.*; do
4312 test -f "$ac_file" || continue;
4313 case $ac_file in
4314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4315 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4316 break;;
4317 esac
4318 done
4319 else
4320 $as_echo "$as_me: failed program was:" >&5
4321 sed 's/^/| /' conftest.$ac_ext >&5
4323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4325 as_fn_error $? "cannot compute suffix of object files: cannot compile
4326 See \`config.log' for more details" "$LINENO" 5; }
4328 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4331 $as_echo "$ac_cv_objext" >&6; }
4332 OBJEXT=$ac_cv_objext
4333 ac_objext=$OBJEXT
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4335 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4336 if ${ac_cv_c_compiler_gnu+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4340 /* end confdefs.h. */
4343 main ()
4345 #ifndef __GNUC__
4346 choke me
4347 #endif
4350 return 0;
4352 _ACEOF
4353 if ac_fn_c_try_compile "$LINENO"; then :
4354 ac_compiler_gnu=yes
4355 else
4356 ac_compiler_gnu=no
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4363 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4364 if test $ac_compiler_gnu = yes; then
4365 GCC=yes
4366 else
4367 GCC=
4369 ac_test_CFLAGS=${CFLAGS+set}
4370 ac_save_CFLAGS=$CFLAGS
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4372 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4373 if ${ac_cv_prog_cc_g+:} false; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 ac_save_c_werror_flag=$ac_c_werror_flag
4377 ac_c_werror_flag=yes
4378 ac_cv_prog_cc_g=no
4379 CFLAGS="-g"
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4384 main ()
4388 return 0;
4390 _ACEOF
4391 if ac_fn_c_try_compile "$LINENO"; then :
4392 ac_cv_prog_cc_g=yes
4393 else
4394 CFLAGS=""
4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4399 main ()
4403 return 0;
4405 _ACEOF
4406 if ac_fn_c_try_compile "$LINENO"; then :
4408 else
4409 ac_c_werror_flag=$ac_save_c_werror_flag
4410 CFLAGS="-g"
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4415 main ()
4419 return 0;
4421 _ACEOF
4422 if ac_fn_c_try_compile "$LINENO"; then :
4423 ac_cv_prog_cc_g=yes
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4430 ac_c_werror_flag=$ac_save_c_werror_flag
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4433 $as_echo "$ac_cv_prog_cc_g" >&6; }
4434 if test "$ac_test_CFLAGS" = set; then
4435 CFLAGS=$ac_save_CFLAGS
4436 elif test $ac_cv_prog_cc_g = yes; then
4437 if test "$GCC" = yes; then
4438 CFLAGS="-g -O2"
4439 else
4440 CFLAGS="-g"
4442 else
4443 if test "$GCC" = yes; then
4444 CFLAGS="-O2"
4445 else
4446 CFLAGS=
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4450 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4451 if ${ac_cv_prog_cc_c89+:} false; then :
4452 $as_echo_n "(cached) " >&6
4453 else
4454 ac_cv_prog_cc_c89=no
4455 ac_save_CC=$CC
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4458 #include <stdarg.h>
4459 #include <stdio.h>
4460 struct stat;
4461 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4462 struct buf { int x; };
4463 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4464 static char *e (p, i)
4465 char **p;
4466 int i;
4468 return p[i];
4470 static char *f (char * (*g) (char **, int), char **p, ...)
4472 char *s;
4473 va_list v;
4474 va_start (v,p);
4475 s = g (p, va_arg (v,int));
4476 va_end (v);
4477 return s;
4480 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4481 function prototypes and stuff, but not '\xHH' hex character constants.
4482 These don't provoke an error unfortunately, instead are silently treated
4483 as 'x'. The following induces an error, until -std is added to get
4484 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4485 array size at least. It's necessary to write '\x00'==0 to get something
4486 that's true only with -std. */
4487 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4489 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4490 inside strings and character constants. */
4491 #define FOO(x) 'x'
4492 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4494 int test (int i, double x);
4495 struct s1 {int (*f) (int a);};
4496 struct s2 {int (*f) (double a);};
4497 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4498 int argc;
4499 char **argv;
4501 main ()
4503 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4505 return 0;
4507 _ACEOF
4508 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4509 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4511 CC="$ac_save_CC $ac_arg"
4512 if ac_fn_c_try_compile "$LINENO"; then :
4513 ac_cv_prog_cc_c89=$ac_arg
4515 rm -f core conftest.err conftest.$ac_objext
4516 test "x$ac_cv_prog_cc_c89" != "xno" && break
4517 done
4518 rm -f conftest.$ac_ext
4519 CC=$ac_save_CC
4522 # AC_CACHE_VAL
4523 case "x$ac_cv_prog_cc_c89" in
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4526 $as_echo "none needed" >&6; } ;;
4527 xno)
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4529 $as_echo "unsupported" >&6; } ;;
4531 CC="$CC $ac_cv_prog_cc_c89"
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4533 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4534 esac
4535 if test "x$ac_cv_prog_cc_c89" != xno; then :
4539 ac_ext=c
4540 ac_cpp='$CPP $CPPFLAGS'
4541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4545 ac_ext=cpp
4546 ac_cpp='$CXXCPP $CPPFLAGS'
4547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4550 if test -z "$CXX"; then
4551 if test -n "$CCC"; then
4552 CXX=$CCC
4553 else
4554 if test -n "$ac_tool_prefix"; then
4555 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4557 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4558 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if ${ac_cv_prog_CXX+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 if test -n "$CXX"; then
4565 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4566 else
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 for as_dir in $PATH
4570 IFS=$as_save_IFS
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 break 2
4578 done
4579 done
4580 IFS=$as_save_IFS
4584 CXX=$ac_cv_prog_CXX
4585 if test -n "$CXX"; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4587 $as_echo "$CXX" >&6; }
4588 else
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590 $as_echo "no" >&6; }
4594 test -n "$CXX" && break
4595 done
4597 if test -z "$CXX"; then
4598 ac_ct_CXX=$CXX
4599 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4601 # Extract the first word of "$ac_prog", so it can be a program name with args.
4602 set dummy $ac_prog; ac_word=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 if test -n "$ac_ct_CXX"; then
4609 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4610 else
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH
4614 IFS=$as_save_IFS
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4618 ac_cv_prog_ac_ct_CXX="$ac_prog"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 break 2
4622 done
4623 done
4624 IFS=$as_save_IFS
4628 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4629 if test -n "$ac_ct_CXX"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4631 $as_echo "$ac_ct_CXX" >&6; }
4632 else
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4638 test -n "$ac_ct_CXX" && break
4639 done
4641 if test "x$ac_ct_CXX" = x; then
4642 CXX="g++"
4643 else
4644 case $cross_compiling:$ac_tool_warned in
4645 yes:)
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648 ac_tool_warned=yes ;;
4649 esac
4650 CXX=$ac_ct_CXX
4656 # Provide some information about the compiler.
4657 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4658 set X $ac_compile
4659 ac_compiler=$2
4660 for ac_option in --version -v -V -qversion; do
4661 { { ac_try="$ac_compiler $ac_option >&5"
4662 case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4665 esac
4666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4667 $as_echo "$ac_try_echo"; } >&5
4668 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4669 ac_status=$?
4670 if test -s conftest.err; then
4671 sed '10a\
4672 ... rest of stderr output deleted ...
4673 10q' conftest.err >conftest.er1
4674 cat conftest.er1 >&5
4676 rm -f conftest.er1 conftest.err
4677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4678 test $ac_status = 0; }
4679 done
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4682 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4683 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4690 main ()
4692 #ifndef __GNUC__
4693 choke me
4694 #endif
4697 return 0;
4699 _ACEOF
4700 if ac_fn_cxx_try_compile "$LINENO"; then :
4701 ac_compiler_gnu=yes
4702 else
4703 ac_compiler_gnu=no
4705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4706 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4710 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4711 if test $ac_compiler_gnu = yes; then
4712 GXX=yes
4713 else
4714 GXX=
4716 ac_test_CXXFLAGS=${CXXFLAGS+set}
4717 ac_save_CXXFLAGS=$CXXFLAGS
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4719 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4720 if ${ac_cv_prog_cxx_g+:} false; then :
4721 $as_echo_n "(cached) " >&6
4722 else
4723 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4724 ac_cxx_werror_flag=yes
4725 ac_cv_prog_cxx_g=no
4726 CXXFLAGS="-g"
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4731 main ()
4735 return 0;
4737 _ACEOF
4738 if ac_fn_cxx_try_compile "$LINENO"; then :
4739 ac_cv_prog_cxx_g=yes
4740 else
4741 CXXFLAGS=""
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4746 main ()
4750 return 0;
4752 _ACEOF
4753 if ac_fn_cxx_try_compile "$LINENO"; then :
4755 else
4756 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4757 CXXFLAGS="-g"
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4762 main ()
4766 return 0;
4768 _ACEOF
4769 if ac_fn_cxx_try_compile "$LINENO"; then :
4770 ac_cv_prog_cxx_g=yes
4772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4780 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4781 if test "$ac_test_CXXFLAGS" = set; then
4782 CXXFLAGS=$ac_save_CXXFLAGS
4783 elif test $ac_cv_prog_cxx_g = yes; then
4784 if test "$GXX" = yes; then
4785 CXXFLAGS="-g -O2"
4786 else
4787 CXXFLAGS="-g"
4789 else
4790 if test "$GXX" = yes; then
4791 CXXFLAGS="-O2"
4792 else
4793 CXXFLAGS=
4796 ac_ext=c
4797 ac_cpp='$CPP $CPPFLAGS'
4798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4802 if test -n "$ac_tool_prefix"; then
4803 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4804 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 $as_echo_n "checking for $ac_word... " >&6; }
4807 if ${ac_cv_prog_CPPBIN+:} false; then :
4808 $as_echo_n "(cached) " >&6
4809 else
4810 if test -n "$CPPBIN"; then
4811 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4812 else
4813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 for as_dir in $PATH
4816 IFS=$as_save_IFS
4817 test -z "$as_dir" && as_dir=.
4818 for ac_exec_ext in '' $ac_executable_extensions; do
4819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4820 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4822 break 2
4824 done
4825 done
4826 IFS=$as_save_IFS
4830 CPPBIN=$ac_cv_prog_CPPBIN
4831 if test -n "$CPPBIN"; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4833 $as_echo "$CPPBIN" >&6; }
4834 else
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
4841 if test -z "$ac_cv_prog_CPPBIN"; then
4842 ac_ct_CPPBIN=$CPPBIN
4843 # Extract the first word of "cpp", so it can be a program name with args.
4844 set dummy cpp; ac_word=$2
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4846 $as_echo_n "checking for $ac_word... " >&6; }
4847 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4848 $as_echo_n "(cached) " >&6
4849 else
4850 if test -n "$ac_ct_CPPBIN"; then
4851 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4852 else
4853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854 for as_dir in $PATH
4856 IFS=$as_save_IFS
4857 test -z "$as_dir" && as_dir=.
4858 for ac_exec_ext in '' $ac_executable_extensions; do
4859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4860 ac_cv_prog_ac_ct_CPPBIN="cpp"
4861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4862 break 2
4864 done
4865 done
4866 IFS=$as_save_IFS
4870 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4871 if test -n "$ac_ct_CPPBIN"; then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4873 $as_echo "$ac_ct_CPPBIN" >&6; }
4874 else
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 $as_echo "no" >&6; }
4879 if test "x$ac_ct_CPPBIN" = x; then
4880 CPPBIN="cpp"
4881 else
4882 case $cross_compiling:$ac_tool_warned in
4883 yes:)
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4886 ac_tool_warned=yes ;;
4887 esac
4888 CPPBIN=$ac_ct_CPPBIN
4890 else
4891 CPPBIN="$ac_cv_prog_CPPBIN"
4895 cat >>confdefs.h <<_ACEOF
4896 #define EXEEXT "$ac_exeext"
4897 _ACEOF
4899 if test -n "$ac_tool_prefix"; then
4900 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4901 set dummy ${ac_tool_prefix}ld; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_LD+:} false; then :
4905 $as_echo_n "(cached) " >&6
4906 else
4907 if test -n "$LD"; then
4908 ac_cv_prog_LD="$LD" # Let the user override the test.
4909 else
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH
4913 IFS=$as_save_IFS
4914 test -z "$as_dir" && as_dir=.
4915 for ac_exec_ext in '' $ac_executable_extensions; do
4916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4917 ac_cv_prog_LD="${ac_tool_prefix}ld"
4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 break 2
4921 done
4922 done
4923 IFS=$as_save_IFS
4927 LD=$ac_cv_prog_LD
4928 if test -n "$LD"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4930 $as_echo "$LD" >&6; }
4931 else
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4938 if test -z "$ac_cv_prog_LD"; then
4939 ac_ct_LD=$LD
4940 # Extract the first word of "ld", so it can be a program name with args.
4941 set dummy ld; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
4947 if test -n "$ac_ct_LD"; then
4948 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4949 else
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH
4953 IFS=$as_save_IFS
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_ac_ct_LD="ld"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 break 2
4961 done
4962 done
4963 IFS=$as_save_IFS
4967 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4968 if test -n "$ac_ct_LD"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4970 $as_echo "$ac_ct_LD" >&6; }
4971 else
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4976 if test "x$ac_ct_LD" = x; then
4977 LD=""
4978 else
4979 case $cross_compiling:$ac_tool_warned in
4980 yes:)
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4983 ac_tool_warned=yes ;;
4984 esac
4985 LD=$ac_ct_LD
4987 else
4988 LD="$ac_cv_prog_LD"
4992 case $host in
4993 *-darwin*)
4994 with_fontconfig=${with_fontconfig:-no}
4996 *-mingw32*|*-cygwin*)
4997 enable_win16=${enable_win16:-no}
4998 CFLAGS="$CFLAGS -D_WIN32"
5000 esac
5002 case $host in
5003 x86_64*|amd64*)
5004 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5005 then
5006 CC="$CC -m32"
5007 CXX="$CXX -m32"
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5009 $as_echo_n "checking whether $CC works... " >&6; }
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5015 main ()
5019 return 0;
5021 _ACEOF
5022 if ac_fn_c_try_link "$LINENO"; then :
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5024 $as_echo "yes" >&6; }
5025 else
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5028 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5030 rm -f core conftest.err conftest.$ac_objext \
5031 conftest$ac_exeext conftest.$ac_ext
5032 host_cpu="i386"
5033 notice_platform="32-bit "
5034 TARGETFLAGS="-m32"
5036 enable_win16=${enable_win16:-yes}
5037 else
5038 if test "x${GCC}" = "xyes"
5039 then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5041 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5044 #include <stdarg.h>
5046 main ()
5048 void func(__builtin_ms_va_list *args);
5050 return 0;
5052 _ACEOF
5053 if ac_fn_c_try_compile "$LINENO"; then :
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5055 $as_echo "yes" >&6; }
5056 else
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5059 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5063 CC="$CC -m64"
5064 CXX="$CXX -m64"
5065 host_cpu="x86_64"
5066 notice_platform="64-bit "
5067 TARGETFLAGS="-m64"
5071 arm*)
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5073 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5076 int ac_test(int i) { return i; }
5078 main ()
5080 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5082 return 0;
5084 _ACEOF
5085 if ac_fn_c_try_link "$LINENO"; then :
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5087 $as_echo "yes" >&6; }
5088 else
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5091 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5093 rm -f core conftest.err conftest.$ac_objext \
5094 conftest$ac_exeext conftest.$ac_ext
5095 CFLAGS="$CFLAGS -marm"
5096 TARGETFLAGS="-marm"
5099 i[3456789]86*)
5100 enable_win16=${enable_win16:-yes}
5102 esac
5104 enable_win16=${enable_win16:-no}
5105 enable_win64=${enable_win64:-no}
5107 enable_winetest=${enable_winetest:-$enable_tests}
5109 if test -n "$with_wine64"
5110 then
5111 if test "x$enable_win64" = "xyes"
5112 then
5113 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5114 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5116 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5117 You should create a separate build directory and run configure from there." "$LINENO" 5
5118 enable_fonts=${enable_fonts:-no}
5119 enable_server=${enable_server:-no}
5120 elif test "x$enable_win64" = "xyes"
5121 then
5122 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5126 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5127 if ${wine_cv_toolsdir+:} false; then :
5128 $as_echo_n "(cached) " >&6
5129 else
5130 wine_cv_toolsdir="$with_wine_tools"
5131 if test -z "$with_wine_tools"; then
5132 if test "$cross_compiling" = "yes"; then
5133 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5134 elif test -n "$with_wine64"; then
5135 wine_cv_toolsdir="$with_wine64"
5138 if test -z "$wine_cv_toolsdir"; then
5139 wine_makedep=tools/makedep
5140 wine_cv_toolsdir="\$(top_builddir)"
5141 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5142 wine_makedep=$wine_cv_toolsdir/tools/makedep
5143 case "$wine_cv_toolsdir" in
5144 /*) ;;
5145 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5146 esac
5147 enable_tools=${enable_tools:-no}
5148 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5149 else
5150 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5154 $as_echo "$wine_cv_toolsdir" >&6; }
5155 TOOLSDIR=$wine_cv_toolsdir
5157 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5158 then
5159 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5163 for ac_prog in flex
5165 # Extract the first word of "$ac_prog", so it can be a program name with args.
5166 set dummy $ac_prog; ac_word=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_FLEX+:} false; then :
5170 $as_echo_n "(cached) " >&6
5171 else
5172 if test -n "$FLEX"; then
5173 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_FLEX="$ac_prog"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 break 2
5186 done
5187 done
5188 IFS=$as_save_IFS
5192 FLEX=$ac_cv_prog_FLEX
5193 if test -n "$FLEX"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5195 $as_echo "$FLEX" >&6; }
5196 else
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5202 test -n "$FLEX" && break
5203 done
5204 test -n "$FLEX" || FLEX="none"
5206 if test "$FLEX" = "none"
5207 then
5208 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5211 $as_echo_n "checking whether flex is recent enough... " >&6; }
5212 cat >conftest.l <<EOF
5213 %top{
5214 #include "prediluvian.h"
5218 if $FLEX -t conftest.l >/dev/null 2>&5
5219 then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5221 $as_echo "yes" >&6; }
5222 else
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
5225 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5228 for ac_prog in bison
5230 # Extract the first word of "$ac_prog", so it can be a program name with args.
5231 set dummy $ac_prog; ac_word=$2
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5233 $as_echo_n "checking for $ac_word... " >&6; }
5234 if ${ac_cv_prog_BISON+:} false; then :
5235 $as_echo_n "(cached) " >&6
5236 else
5237 if test -n "$BISON"; then
5238 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5239 else
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH
5243 IFS=$as_save_IFS
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_BISON="$ac_prog"
5248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 break 2
5251 done
5252 done
5253 IFS=$as_save_IFS
5257 BISON=$ac_cv_prog_BISON
5258 if test -n "$BISON"; then
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5260 $as_echo "$BISON" >&6; }
5261 else
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5263 $as_echo "no" >&6; }
5267 test -n "$BISON" && break
5268 done
5269 test -n "$BISON" || BISON="none"
5271 if test "$BISON" = "none"
5272 then
5273 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5276 if test -n "$ac_tool_prefix"; then
5277 for ac_prog in ar gar
5279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5280 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_AR+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 if test -n "$AR"; then
5287 ac_cv_prog_AR="$AR" # Let the user override the test.
5288 else
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2
5300 done
5301 done
5302 IFS=$as_save_IFS
5306 AR=$ac_cv_prog_AR
5307 if test -n "$AR"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5309 $as_echo "$AR" >&6; }
5310 else
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5316 test -n "$AR" && break
5317 done
5319 if test -z "$AR"; then
5320 ac_ct_AR=$AR
5321 for ac_prog in ar gar
5323 # Extract the first word of "$ac_prog", so it can be a program name with args.
5324 set dummy $ac_prog; ac_word=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5328 $as_echo_n "(cached) " >&6
5329 else
5330 if test -n "$ac_ct_AR"; then
5331 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5332 else
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $PATH
5336 IFS=$as_save_IFS
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_prog_ac_ct_AR="$ac_prog"
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342 break 2
5344 done
5345 done
5346 IFS=$as_save_IFS
5350 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5351 if test -n "$ac_ct_AR"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5353 $as_echo "$ac_ct_AR" >&6; }
5354 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5360 test -n "$ac_ct_AR" && break
5361 done
5363 if test "x$ac_ct_AR" = x; then
5364 AR="ar"
5365 else
5366 case $cross_compiling:$ac_tool_warned in
5367 yes:)
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5370 ac_tool_warned=yes ;;
5371 esac
5372 AR=$ac_ct_AR
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}strip; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_STRIP+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$STRIP"; then
5385 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 STRIP=$ac_cv_prog_STRIP
5405 if test -n "$STRIP"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5407 $as_echo "$STRIP" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test -z "$ac_cv_prog_STRIP"; then
5416 ac_ct_STRIP=$STRIP
5417 # Extract the first word of "strip", so it can be a program name with args.
5418 set dummy strip; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_STRIP"; then
5425 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_STRIP="strip"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5445 if test -n "$ac_ct_STRIP"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5447 $as_echo "$ac_ct_STRIP" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5453 if test "x$ac_ct_STRIP" = x; then
5454 STRIP="strip"
5455 else
5456 case $cross_compiling:$ac_tool_warned in
5457 yes:)
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460 ac_tool_warned=yes ;;
5461 esac
5462 STRIP=$ac_ct_STRIP
5464 else
5465 STRIP="$ac_cv_prog_STRIP"
5468 ARFLAGS=rc
5470 if test -n "$ac_tool_prefix"; then
5471 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5472 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_RANLIB+:} false; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if test -n "$RANLIB"; then
5479 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5480 else
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH
5484 IFS=$as_save_IFS
5485 test -z "$as_dir" && as_dir=.
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 break 2
5492 done
5493 done
5494 IFS=$as_save_IFS
5498 RANLIB=$ac_cv_prog_RANLIB
5499 if test -n "$RANLIB"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5501 $as_echo "$RANLIB" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5509 if test -z "$ac_cv_prog_RANLIB"; then
5510 ac_ct_RANLIB=$RANLIB
5511 # Extract the first word of "ranlib", so it can be a program name with args.
5512 set dummy ranlib; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if test -n "$ac_ct_RANLIB"; then
5519 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5524 IFS=$as_save_IFS
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5528 ac_cv_prog_ac_ct_RANLIB="ranlib"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 break 2
5532 done
5533 done
5534 IFS=$as_save_IFS
5538 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5539 if test -n "$ac_ct_RANLIB"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5541 $as_echo "$ac_ct_RANLIB" >&6; }
5542 else
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5547 if test "x$ac_ct_RANLIB" = x; then
5548 RANLIB=":"
5549 else
5550 case $cross_compiling:$ac_tool_warned in
5551 yes:)
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5554 ac_tool_warned=yes ;;
5555 esac
5556 RANLIB=$ac_ct_RANLIB
5558 else
5559 RANLIB="$ac_cv_prog_RANLIB"
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5563 $as_echo_n "checking whether ln -s works... " >&6; }
5564 LN_S=$as_ln_s
5565 if test "$LN_S" = "ln -s"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5567 $as_echo "yes" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5570 $as_echo "no, using $LN_S" >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5574 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5575 if ${ac_cv_path_GREP+:} false; then :
5576 $as_echo_n "(cached) " >&6
5577 else
5578 if test -z "$GREP"; then
5579 ac_path_GREP_found=false
5580 # Loop through the user's path and test for each of PROGNAME-LIST
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5584 IFS=$as_save_IFS
5585 test -z "$as_dir" && as_dir=.
5586 for ac_prog in grep ggrep; do
5587 for ac_exec_ext in '' $ac_executable_extensions; do
5588 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5589 as_fn_executable_p "$ac_path_GREP" || continue
5590 # Check for GNU ac_path_GREP and select it if it is found.
5591 # Check for GNU $ac_path_GREP
5592 case `"$ac_path_GREP" --version 2>&1` in
5593 *GNU*)
5594 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5596 ac_count=0
5597 $as_echo_n 0123456789 >"conftest.in"
5598 while :
5600 cat "conftest.in" "conftest.in" >"conftest.tmp"
5601 mv "conftest.tmp" "conftest.in"
5602 cp "conftest.in" "conftest.nl"
5603 $as_echo 'GREP' >> "conftest.nl"
5604 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5605 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5606 as_fn_arith $ac_count + 1 && ac_count=$as_val
5607 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5608 # Best one so far, save it but keep looking for a better one
5609 ac_cv_path_GREP="$ac_path_GREP"
5610 ac_path_GREP_max=$ac_count
5612 # 10*(2^10) chars as input seems more than enough
5613 test $ac_count -gt 10 && break
5614 done
5615 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5616 esac
5618 $ac_path_GREP_found && break 3
5619 done
5620 done
5621 done
5622 IFS=$as_save_IFS
5623 if test -z "$ac_cv_path_GREP"; then
5624 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5626 else
5627 ac_cv_path_GREP=$GREP
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5632 $as_echo "$ac_cv_path_GREP" >&6; }
5633 GREP="$ac_cv_path_GREP"
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5637 $as_echo_n "checking for egrep... " >&6; }
5638 if ${ac_cv_path_EGREP+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5642 then ac_cv_path_EGREP="$GREP -E"
5643 else
5644 if test -z "$EGREP"; then
5645 ac_path_EGREP_found=false
5646 # Loop through the user's path and test for each of PROGNAME-LIST
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5650 IFS=$as_save_IFS
5651 test -z "$as_dir" && as_dir=.
5652 for ac_prog in egrep; do
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5655 as_fn_executable_p "$ac_path_EGREP" || continue
5656 # Check for GNU ac_path_EGREP and select it if it is found.
5657 # Check for GNU $ac_path_EGREP
5658 case `"$ac_path_EGREP" --version 2>&1` in
5659 *GNU*)
5660 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5662 ac_count=0
5663 $as_echo_n 0123456789 >"conftest.in"
5664 while :
5666 cat "conftest.in" "conftest.in" >"conftest.tmp"
5667 mv "conftest.tmp" "conftest.in"
5668 cp "conftest.in" "conftest.nl"
5669 $as_echo 'EGREP' >> "conftest.nl"
5670 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5671 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5672 as_fn_arith $ac_count + 1 && ac_count=$as_val
5673 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5674 # Best one so far, save it but keep looking for a better one
5675 ac_cv_path_EGREP="$ac_path_EGREP"
5676 ac_path_EGREP_max=$ac_count
5678 # 10*(2^10) chars as input seems more than enough
5679 test $ac_count -gt 10 && break
5680 done
5681 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5682 esac
5684 $ac_path_EGREP_found && break 3
5685 done
5686 done
5687 done
5688 IFS=$as_save_IFS
5689 if test -z "$ac_cv_path_EGREP"; then
5690 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5692 else
5693 ac_cv_path_EGREP=$EGREP
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5699 $as_echo "$ac_cv_path_EGREP" >&6; }
5700 EGREP="$ac_cv_path_EGREP"
5703 # Extract the first word of "ldconfig", so it can be a program name with args.
5704 set dummy ldconfig; ac_word=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if ${ac_cv_path_LDCONFIG+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 case $LDCONFIG in
5711 [\\/]* | ?:[\\/]*)
5712 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in /sbin /usr/sbin $PATH
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 break 2
5726 done
5727 done
5728 IFS=$as_save_IFS
5730 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5732 esac
5734 LDCONFIG=$ac_cv_path_LDCONFIG
5735 if test -n "$LDCONFIG"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5737 $as_echo "$LDCONFIG" >&6; }
5738 else
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5744 for ac_prog in msgfmt
5746 # Extract the first word of "$ac_prog", so it can be a program name with args.
5747 set dummy $ac_prog; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if ${ac_cv_prog_MSGFMT+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$MSGFMT"; then
5754 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5763 ac_cv_prog_MSGFMT="$ac_prog"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 break 2
5767 done
5768 done
5769 IFS=$as_save_IFS
5773 MSGFMT=$ac_cv_prog_MSGFMT
5774 if test -n "$MSGFMT"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5776 $as_echo "$MSGFMT" >&6; }
5777 else
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5783 test -n "$MSGFMT" && break
5784 done
5785 test -n "$MSGFMT" || MSGFMT="false"
5787 if ${ac_tool_prefix+:} false; then :
5788 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5789 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 if test -n "$PKG_CONFIG"; then
5796 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5797 else
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in $PATH
5801 IFS=$as_save_IFS
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5805 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 break 2
5809 done
5810 done
5811 IFS=$as_save_IFS
5815 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5816 if test -n "$PKG_CONFIG"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5818 $as_echo "$PKG_CONFIG" >&6; }
5819 else
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5826 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5827 if test "x$cross_compiling" = xyes; then :
5829 else
5830 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5831 # Extract the first word of "pkg-config", so it can be a program name with args.
5832 set dummy pkg-config; ac_word=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 if test -n "$PKG_CONFIG"; then
5839 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5840 else
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_PKG_CONFIG="pkg-config"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 break 2
5852 done
5853 done
5854 IFS=$as_save_IFS
5858 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5859 if test -n "$PKG_CONFIG"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5861 $as_echo "$PKG_CONFIG" >&6; }
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5869 else
5870 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5873 if test "x$enable_maintainer_mode" != "xyes"
5874 then
5875 FONTFORGE=""
5876 RSVG=""
5877 CONVERT=""
5878 ICOTOOL=""
5879 else
5880 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5881 for ac_prog in fontforge
5883 # Extract the first word of "$ac_prog", so it can be a program name with args.
5884 set dummy $ac_prog; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_FONTFORGE+:} false; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -n "$FONTFORGE"; then
5891 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_FONTFORGE="$ac_prog"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 break 2
5904 done
5905 done
5906 IFS=$as_save_IFS
5910 FONTFORGE=$ac_cv_prog_FONTFORGE
5911 if test -n "$FONTFORGE"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5913 $as_echo "$FONTFORGE" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5920 test -n "$FONTFORGE" && break
5921 done
5922 test -n "$FONTFORGE" || FONTFORGE="false"
5924 for ac_prog in rsvg-convert rsvg
5926 # Extract the first word of "$ac_prog", so it can be a program name with args.
5927 set dummy $ac_prog; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_RSVG+:} false; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 if test -n "$RSVG"; then
5934 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5935 else
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 for as_dir in $PATH
5939 IFS=$as_save_IFS
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_RSVG="$ac_prog"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 break 2
5947 done
5948 done
5949 IFS=$as_save_IFS
5953 RSVG=$ac_cv_prog_RSVG
5954 if test -n "$RSVG"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5956 $as_echo "$RSVG" >&6; }
5957 else
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5963 test -n "$RSVG" && break
5964 done
5965 test -n "$RSVG" || RSVG="false"
5967 for ac_prog in convert
5969 # Extract the first word of "$ac_prog", so it can be a program name with args.
5970 set dummy $ac_prog; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_CONVERT+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 if test -n "$CONVERT"; then
5977 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5978 else
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 for as_dir in $PATH
5982 IFS=$as_save_IFS
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_CONVERT="$ac_prog"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 break 2
5990 done
5991 done
5992 IFS=$as_save_IFS
5996 CONVERT=$ac_cv_prog_CONVERT
5997 if test -n "$CONVERT"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5999 $as_echo "$CONVERT" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6006 test -n "$CONVERT" && break
6007 done
6008 test -n "$CONVERT" || CONVERT="false"
6010 for ac_prog in icotool
6012 # Extract the first word of "$ac_prog", so it can be a program name with args.
6013 set dummy $ac_prog; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_ICOTOOL+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 if test -n "$ICOTOOL"; then
6020 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_ICOTOOL="$ac_prog"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 ICOTOOL=$ac_cv_prog_ICOTOOL
6040 if test -n "$ICOTOOL"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6042 $as_echo "$ICOTOOL" >&6; }
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6049 test -n "$ICOTOOL" && break
6050 done
6051 test -n "$ICOTOOL" || ICOTOOL="false"
6053 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6054 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6056 if test "$CONVERT" = false
6057 then
6058 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6061 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6062 convert_version=`convert --version | head -n1`
6063 if test "x$convert_version" != "x"
6064 then
6065 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6066 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6067 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6068 then
6069 CONVERT=false
6072 if test "$CONVERT" = false
6073 then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6075 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6076 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6077 else
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6079 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6083 if test "$ICOTOOL" = false
6084 then
6085 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6088 $as_echo_n "checking for recent enough icotool... " >&6; }
6089 icotool_version=`icotool --version | head -n1`
6090 if test "x$icotool_version" != "x"
6091 then
6092 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6093 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6094 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6095 then
6096 ICOTOOL=false
6097 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6100 if test "$ICOTOOL" = false
6101 then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6103 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6104 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6107 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6111 with_gettext=yes
6112 with_gettextpo=yes
6113 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6116 test "x$with_gettext" != xno || MSGFMT=false
6117 if test "$MSGFMT" != "false"
6118 then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6120 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6121 cat >conftest.po <<EOF
6122 # comment
6123 msgctxt "ctxt"
6124 msgid "id"
6125 msgstr "str"
6127 if $MSGFMT -o /dev/null conftest.po 2>&5
6128 then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6130 $as_echo "yes" >&6; }
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6134 MSGFMT=false
6137 if test "$MSGFMT" = false; then :
6138 case "x$with_gettext" in
6139 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6140 xno) ;;
6141 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6142 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6143 esac
6144 enable_po=${enable_po:-no}
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6149 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6150 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 ac_check_lib_save_LIBS=$LIBS
6154 LIBS="-li386 $LIBS"
6155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6156 /* end confdefs.h. */
6158 /* Override any GCC internal prototype to avoid an error.
6159 Use char because int might match the return type of a GCC
6160 builtin and then its argument prototype would still apply. */
6161 #ifdef __cplusplus
6162 extern "C"
6163 #endif
6164 char i386_set_ldt ();
6166 main ()
6168 return i386_set_ldt ();
6170 return 0;
6172 _ACEOF
6173 if ac_fn_c_try_link "$LINENO"; then :
6174 ac_cv_lib_i386_i386_set_ldt=yes
6175 else
6176 ac_cv_lib_i386_i386_set_ldt=no
6178 rm -f core conftest.err conftest.$ac_objext \
6179 conftest$ac_exeext conftest.$ac_ext
6180 LIBS=$ac_check_lib_save_LIBS
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6183 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6184 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6185 cat >>confdefs.h <<_ACEOF
6186 #define HAVE_LIBI386 1
6187 _ACEOF
6189 LIBS="-li386 $LIBS"
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6194 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6195 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 ac_check_lib_save_LIBS=$LIBS
6199 LIBS="-lossaudio $LIBS"
6200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6203 /* Override any GCC internal prototype to avoid an error.
6204 Use char because int might match the return type of a GCC
6205 builtin and then its argument prototype would still apply. */
6206 #ifdef __cplusplus
6207 extern "C"
6208 #endif
6209 char _oss_ioctl ();
6211 main ()
6213 return _oss_ioctl ();
6215 return 0;
6217 _ACEOF
6218 if ac_fn_c_try_link "$LINENO"; then :
6219 ac_cv_lib_ossaudio__oss_ioctl=yes
6220 else
6221 ac_cv_lib_ossaudio__oss_ioctl=no
6223 rm -f core conftest.err conftest.$ac_objext \
6224 conftest$ac_exeext conftest.$ac_ext
6225 LIBS=$ac_check_lib_save_LIBS
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6228 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6229 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6230 cat >>confdefs.h <<_ACEOF
6231 #define HAVE_LIBOSSAUDIO 1
6232 _ACEOF
6234 LIBS="-lossaudio $LIBS"
6239 OPENGL_LIBS=""
6243 # Check whether --enable-largefile was given.
6244 if test "${enable_largefile+set}" = set; then :
6245 enableval=$enable_largefile;
6248 if test "$enable_largefile" != no; then
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6251 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6252 if ${ac_cv_sys_largefile_CC+:} false; then :
6253 $as_echo_n "(cached) " >&6
6254 else
6255 ac_cv_sys_largefile_CC=no
6256 if test "$GCC" != yes; then
6257 ac_save_CC=$CC
6258 while :; do
6259 # IRIX 6.2 and later do not support large files by default,
6260 # so use the C compiler's -n32 option if that helps.
6261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6263 #include <sys/types.h>
6264 /* Check that off_t can represent 2**63 - 1 correctly.
6265 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6266 since some C++ compilers masquerading as C compilers
6267 incorrectly reject 9223372036854775807. */
6268 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6269 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6270 && LARGE_OFF_T % 2147483647 == 1)
6271 ? 1 : -1];
6273 main ()
6277 return 0;
6279 _ACEOF
6280 if ac_fn_c_try_compile "$LINENO"; then :
6281 break
6283 rm -f core conftest.err conftest.$ac_objext
6284 CC="$CC -n32"
6285 if ac_fn_c_try_compile "$LINENO"; then :
6286 ac_cv_sys_largefile_CC=' -n32'; break
6288 rm -f core conftest.err conftest.$ac_objext
6289 break
6290 done
6291 CC=$ac_save_CC
6292 rm -f conftest.$ac_ext
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6296 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6297 if test "$ac_cv_sys_largefile_CC" != no; then
6298 CC=$CC$ac_cv_sys_largefile_CC
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6302 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6303 if ${ac_cv_sys_file_offset_bits+:} false; then :
6304 $as_echo_n "(cached) " >&6
6305 else
6306 while :; do
6307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6308 /* end confdefs.h. */
6309 #include <sys/types.h>
6310 /* Check that off_t can represent 2**63 - 1 correctly.
6311 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6312 since some C++ compilers masquerading as C compilers
6313 incorrectly reject 9223372036854775807. */
6314 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6315 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6316 && LARGE_OFF_T % 2147483647 == 1)
6317 ? 1 : -1];
6319 main ()
6323 return 0;
6325 _ACEOF
6326 if ac_fn_c_try_compile "$LINENO"; then :
6327 ac_cv_sys_file_offset_bits=no; break
6329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6331 /* end confdefs.h. */
6332 #define _FILE_OFFSET_BITS 64
6333 #include <sys/types.h>
6334 /* Check that off_t can represent 2**63 - 1 correctly.
6335 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6336 since some C++ compilers masquerading as C compilers
6337 incorrectly reject 9223372036854775807. */
6338 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6339 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6340 && LARGE_OFF_T % 2147483647 == 1)
6341 ? 1 : -1];
6343 main ()
6347 return 0;
6349 _ACEOF
6350 if ac_fn_c_try_compile "$LINENO"; then :
6351 ac_cv_sys_file_offset_bits=64; break
6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6354 ac_cv_sys_file_offset_bits=unknown
6355 break
6356 done
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6359 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6360 case $ac_cv_sys_file_offset_bits in #(
6361 no | unknown) ;;
6363 cat >>confdefs.h <<_ACEOF
6364 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6365 _ACEOF
6367 esac
6368 rm -rf conftest*
6369 if test $ac_cv_sys_file_offset_bits = unknown; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6371 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6372 if ${ac_cv_sys_large_files+:} false; then :
6373 $as_echo_n "(cached) " >&6
6374 else
6375 while :; do
6376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6378 #include <sys/types.h>
6379 /* Check that off_t can represent 2**63 - 1 correctly.
6380 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6381 since some C++ compilers masquerading as C compilers
6382 incorrectly reject 9223372036854775807. */
6383 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6384 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6385 && LARGE_OFF_T % 2147483647 == 1)
6386 ? 1 : -1];
6388 main ()
6392 return 0;
6394 _ACEOF
6395 if ac_fn_c_try_compile "$LINENO"; then :
6396 ac_cv_sys_large_files=no; break
6398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #define _LARGE_FILES 1
6402 #include <sys/types.h>
6403 /* Check that off_t can represent 2**63 - 1 correctly.
6404 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6405 since some C++ compilers masquerading as C compilers
6406 incorrectly reject 9223372036854775807. */
6407 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6408 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6409 && LARGE_OFF_T % 2147483647 == 1)
6410 ? 1 : -1];
6412 main ()
6416 return 0;
6418 _ACEOF
6419 if ac_fn_c_try_compile "$LINENO"; then :
6420 ac_cv_sys_large_files=1; break
6422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6423 ac_cv_sys_large_files=unknown
6424 break
6425 done
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6428 $as_echo "$ac_cv_sys_large_files" >&6; }
6429 case $ac_cv_sys_large_files in #(
6430 no | unknown) ;;
6432 cat >>confdefs.h <<_ACEOF
6433 #define _LARGE_FILES $ac_cv_sys_large_files
6434 _ACEOF
6436 esac
6437 rm -rf conftest*
6444 ac_ext=c
6445 ac_cpp='$CPP $CPPFLAGS'
6446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6450 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6451 # On Suns, sometimes $CPP names a directory.
6452 if test -n "$CPP" && test -d "$CPP"; then
6453 CPP=
6455 if test -z "$CPP"; then
6456 if ${ac_cv_prog_CPP+:} false; then :
6457 $as_echo_n "(cached) " >&6
6458 else
6459 # Double quotes because CPP needs to be expanded
6460 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6462 ac_preproc_ok=false
6463 for ac_c_preproc_warn_flag in '' yes
6465 # Use a header file that comes with gcc, so configuring glibc
6466 # with a fresh cross-compiler works.
6467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6468 # <limits.h> exists even on freestanding compilers.
6469 # On the NeXT, cc -E runs the code through the compiler's parser,
6470 # not just through cpp. "Syntax error" is here to catch this case.
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #ifdef __STDC__
6474 # include <limits.h>
6475 #else
6476 # include <assert.h>
6477 #endif
6478 Syntax error
6479 _ACEOF
6480 if ac_fn_c_try_cpp "$LINENO"; then :
6482 else
6483 # Broken: fails on valid input.
6484 continue
6486 rm -f conftest.err conftest.i conftest.$ac_ext
6488 # OK, works on sane cases. Now check whether nonexistent headers
6489 # can be detected and how.
6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6492 #include <ac_nonexistent.h>
6493 _ACEOF
6494 if ac_fn_c_try_cpp "$LINENO"; then :
6495 # Broken: success on invalid input.
6496 continue
6497 else
6498 # Passes both tests.
6499 ac_preproc_ok=:
6500 break
6502 rm -f conftest.err conftest.i conftest.$ac_ext
6504 done
6505 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6506 rm -f conftest.i conftest.err conftest.$ac_ext
6507 if $ac_preproc_ok; then :
6508 break
6511 done
6512 ac_cv_prog_CPP=$CPP
6515 CPP=$ac_cv_prog_CPP
6516 else
6517 ac_cv_prog_CPP=$CPP
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6520 $as_echo "$CPP" >&6; }
6521 ac_preproc_ok=false
6522 for ac_c_preproc_warn_flag in '' yes
6524 # Use a header file that comes with gcc, so configuring glibc
6525 # with a fresh cross-compiler works.
6526 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6527 # <limits.h> exists even on freestanding compilers.
6528 # On the NeXT, cc -E runs the code through the compiler's parser,
6529 # not just through cpp. "Syntax error" is here to catch this case.
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #ifdef __STDC__
6533 # include <limits.h>
6534 #else
6535 # include <assert.h>
6536 #endif
6537 Syntax error
6538 _ACEOF
6539 if ac_fn_c_try_cpp "$LINENO"; then :
6541 else
6542 # Broken: fails on valid input.
6543 continue
6545 rm -f conftest.err conftest.i conftest.$ac_ext
6547 # OK, works on sane cases. Now check whether nonexistent headers
6548 # can be detected and how.
6549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6550 /* end confdefs.h. */
6551 #include <ac_nonexistent.h>
6552 _ACEOF
6553 if ac_fn_c_try_cpp "$LINENO"; then :
6554 # Broken: success on invalid input.
6555 continue
6556 else
6557 # Passes both tests.
6558 ac_preproc_ok=:
6559 break
6561 rm -f conftest.err conftest.i conftest.$ac_ext
6563 done
6564 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6565 rm -f conftest.i conftest.err conftest.$ac_ext
6566 if $ac_preproc_ok; then :
6568 else
6569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6571 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6572 See \`config.log' for more details" "$LINENO" 5; }
6575 ac_ext=c
6576 ac_cpp='$CPP $CPPFLAGS'
6577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6583 $as_echo_n "checking for ANSI C header files... " >&6; }
6584 if ${ac_cv_header_stdc+:} false; then :
6585 $as_echo_n "(cached) " >&6
6586 else
6587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588 /* end confdefs.h. */
6589 #include <stdlib.h>
6590 #include <stdarg.h>
6591 #include <string.h>
6592 #include <float.h>
6595 main ()
6599 return 0;
6601 _ACEOF
6602 if ac_fn_c_try_compile "$LINENO"; then :
6603 ac_cv_header_stdc=yes
6604 else
6605 ac_cv_header_stdc=no
6607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6609 if test $ac_cv_header_stdc = yes; then
6610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <string.h>
6615 _ACEOF
6616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6617 $EGREP "memchr" >/dev/null 2>&1; then :
6619 else
6620 ac_cv_header_stdc=no
6622 rm -f conftest*
6626 if test $ac_cv_header_stdc = yes; then
6627 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6630 #include <stdlib.h>
6632 _ACEOF
6633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6634 $EGREP "free" >/dev/null 2>&1; then :
6636 else
6637 ac_cv_header_stdc=no
6639 rm -f conftest*
6643 if test $ac_cv_header_stdc = yes; then
6644 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6645 if test "$cross_compiling" = yes; then :
6647 else
6648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6649 /* end confdefs.h. */
6650 #include <ctype.h>
6651 #include <stdlib.h>
6652 #if ((' ' & 0x0FF) == 0x020)
6653 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6654 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6655 #else
6656 # define ISLOWER(c) \
6657 (('a' <= (c) && (c) <= 'i') \
6658 || ('j' <= (c) && (c) <= 'r') \
6659 || ('s' <= (c) && (c) <= 'z'))
6660 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6661 #endif
6663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6665 main ()
6667 int i;
6668 for (i = 0; i < 256; i++)
6669 if (XOR (islower (i), ISLOWER (i))
6670 || toupper (i) != TOUPPER (i))
6671 return 2;
6672 return 0;
6674 _ACEOF
6675 if ac_fn_c_try_run "$LINENO"; then :
6677 else
6678 ac_cv_header_stdc=no
6680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6681 conftest.$ac_objext conftest.beam conftest.$ac_ext
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6687 $as_echo "$ac_cv_header_stdc" >&6; }
6688 if test $ac_cv_header_stdc = yes; then
6690 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6694 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6695 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6696 inttypes.h stdint.h unistd.h
6697 do :
6698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6701 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6702 cat >>confdefs.h <<_ACEOF
6703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6704 _ACEOF
6708 done
6711 for ac_header in \
6712 AL/al.h \
6713 ApplicationServices/ApplicationServices.h \
6714 AudioToolbox/AudioConverter.h \
6715 AudioUnit/AudioUnit.h \
6716 AudioUnit/AudioComponent.h \
6717 CL/cl.h \
6718 Carbon/Carbon.h \
6719 CommonCrypto/CommonDigest.h \
6720 CoreAudio/CoreAudio.h \
6721 CoreServices/CoreServices.h \
6722 DiskArbitration/DiskArbitration.h \
6723 IOKit/IOKitLib.h \
6724 IOKit/hid/IOHIDLib.h \
6725 OpenAL/al.h \
6726 OpenCL/opencl.h \
6727 QuickTime/ImageCompression.h \
6728 Security/Security.h \
6729 alias.h \
6730 alsa/asoundlib.h \
6731 arpa/inet.h \
6732 arpa/nameser.h \
6733 asm/types.h \
6734 asm/user.h \
6735 curses.h \
6736 direct.h \
6737 dirent.h \
6738 dlfcn.h \
6739 elf.h \
6740 float.h \
6741 fnmatch.h \
6742 getopt.h \
6743 gettext-po.h \
6744 grp.h \
6745 gsm.h \
6746 gsm/gsm.h \
6747 ieeefp.h \
6748 inet/mib2.h \
6749 io.h \
6750 kstat.h \
6751 lber.h \
6752 ldap.h \
6753 libproc.h \
6754 link.h \
6755 linux/cdrom.h \
6756 linux/compiler.h \
6757 linux/filter.h \
6758 linux/hdreg.h \
6759 linux/input.h \
6760 linux/ioctl.h \
6761 linux/joystick.h \
6762 linux/major.h \
6763 linux/param.h \
6764 linux/serial.h \
6765 linux/types.h \
6766 linux/ucdrom.h \
6767 lwp.h \
6768 mach-o/nlist.h \
6769 mach-o/loader.h \
6770 mach/mach.h \
6771 mach/machine.h \
6772 machine/cpu.h \
6773 machine/limits.h \
6774 machine/sysarch.h \
6775 mntent.h \
6776 ncurses.h \
6777 netdb.h \
6778 netinet/in.h \
6779 netinet/in_systm.h \
6780 netinet/tcp.h \
6781 netinet/tcp_fsm.h \
6782 pcap/pcap.h \
6783 poll.h \
6784 port.h \
6785 process.h \
6786 pthread.h \
6787 pwd.h \
6788 sched.h \
6789 scsi/scsi.h \
6790 scsi/scsi_ioctl.h \
6791 scsi/sg.h \
6792 stdbool.h \
6793 stdint.h \
6794 stropts.h \
6795 sys/asoundlib.h \
6796 sys/attr.h \
6797 sys/cdio.h \
6798 sys/elf32.h \
6799 sys/epoll.h \
6800 sys/event.h \
6801 sys/exec_elf.h \
6802 sys/filio.h \
6803 sys/inotify.h \
6804 sys/ioctl.h \
6805 sys/ipc.h \
6806 sys/limits.h \
6807 sys/link.h \
6808 sys/mman.h \
6809 sys/modem.h \
6810 sys/msg.h \
6811 sys/mtio.h \
6812 sys/param.h \
6813 sys/poll.h \
6814 sys/prctl.h \
6815 sys/protosw.h \
6816 sys/ptrace.h \
6817 sys/queue.h \
6818 sys/resource.h \
6819 sys/scsiio.h \
6820 sys/shm.h \
6821 sys/signal.h \
6822 sys/socket.h \
6823 sys/socketvar.h \
6824 sys/sockio.h \
6825 sys/statvfs.h \
6826 sys/strtio.h \
6827 sys/syscall.h \
6828 sys/sysinfo.h \
6829 sys/tihdr.h \
6830 sys/time.h \
6831 sys/timeout.h \
6832 sys/times.h \
6833 sys/uio.h \
6834 sys/user.h \
6835 sys/utsname.h \
6836 sys/vm86.h \
6837 sys/vnode.h \
6838 sys/wait.h \
6839 syscall.h \
6840 termios.h \
6841 unistd.h \
6842 utime.h \
6843 valgrind/memcheck.h \
6844 valgrind/valgrind.h \
6845 zlib.h
6847 do :
6848 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6849 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6850 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6851 cat >>confdefs.h <<_ACEOF
6852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6853 _ACEOF
6857 done
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6860 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6861 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6862 $as_echo_n "(cached) " >&6
6863 else
6864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6865 /* end confdefs.h. */
6866 #include <sys/types.h>
6868 main ()
6870 return makedev(0, 0);
6872 return 0;
6874 _ACEOF
6875 if ac_fn_c_try_link "$LINENO"; then :
6876 ac_cv_header_sys_types_h_makedev=yes
6877 else
6878 ac_cv_header_sys_types_h_makedev=no
6880 rm -f core conftest.err conftest.$ac_objext \
6881 conftest$ac_exeext conftest.$ac_ext
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6885 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6887 if test $ac_cv_header_sys_types_h_makedev = no; then
6888 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6889 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6891 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6897 if test $ac_cv_header_sys_mkdev_h = no; then
6898 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6899 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6901 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6910 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6911 if ${ac_cv_header_stat_broken+:} false; then :
6912 $as_echo_n "(cached) " >&6
6913 else
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6916 #include <sys/types.h>
6917 #include <sys/stat.h>
6919 #if defined S_ISBLK && defined S_IFDIR
6920 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6921 #endif
6923 #if defined S_ISBLK && defined S_IFCHR
6924 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6925 #endif
6927 #if defined S_ISLNK && defined S_IFREG
6928 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6929 #endif
6931 #if defined S_ISSOCK && defined S_IFREG
6932 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6933 #endif
6935 _ACEOF
6936 if ac_fn_c_try_compile "$LINENO"; then :
6937 ac_cv_header_stat_broken=no
6938 else
6939 ac_cv_header_stat_broken=yes
6941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6944 $as_echo "$ac_cv_header_stat_broken" >&6; }
6945 if test $ac_cv_header_stat_broken = yes; then
6947 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6953 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6954 do :
6955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6956 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6957 #ifdef HAVE_SYS_PARAM_H
6958 # include <sys/param.h>
6959 #endif
6961 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6962 cat >>confdefs.h <<_ACEOF
6963 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6964 _ACEOF
6968 done
6971 for ac_header in \
6972 netinet/ip.h \
6973 net/if.h \
6974 net/if_arp.h \
6975 net/if_dl.h \
6976 net/if_types.h \
6977 net/route.h \
6978 netinet/if_ether.h \
6979 netinet/if_inarp.h \
6980 netinet/in_pcb.h \
6981 netinet/ip_icmp.h \
6982 netinet/ip_var.h \
6983 netinet/udp.h \
6984 netipx/ipx.h \
6985 sys/un.h \
6987 do :
6988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6989 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6990 #ifdef HAVE_SYS_SOCKET_H
6991 # include <sys/socket.h>
6992 #endif
6993 #ifdef HAVE_SYS_SOCKETVAR_H
6994 # include <sys/socketvar.h>
6995 #endif
6996 #ifdef HAVE_NET_ROUTE_H
6997 # include <net/route.h>
6998 #endif
6999 #ifdef HAVE_NETINET_IN_H
7000 # include <netinet/in.h>
7001 #endif
7002 #ifdef HAVE_NETINET_IN_SYSTM_H
7003 # include <netinet/in_systm.h>
7004 #endif
7005 #ifdef HAVE_NET_IF_H
7006 # include <net/if.h>
7007 #endif
7008 #ifdef HAVE_NETINET_IP_H
7009 # include <netinet/ip.h>
7010 #endif
7012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7013 cat >>confdefs.h <<_ACEOF
7014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7015 _ACEOF
7019 done
7022 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7023 do :
7024 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7025 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7026 #ifdef HAVE_ALIAS_H
7027 # include <alias.h>
7028 #endif
7029 #ifdef HAVE_SYS_SOCKET_H
7030 # include <sys/socket.h>
7031 #endif
7032 #ifdef HAVE_SYS_SOCKETVAR_H
7033 # include <sys/socketvar.h>
7034 #endif
7035 #ifdef HAVE_SYS_TIMEOUT_H
7036 # include <sys/timeout.h>
7037 #endif
7038 #ifdef HAVE_NETINET_IN_H
7039 # include <netinet/in.h>
7040 #endif
7041 #ifdef HAVE_NETINET_IN_SYSTM_H
7042 # include <netinet/in_systm.h>
7043 #endif
7044 #ifdef HAVE_NETINET_IP_H
7045 # include <netinet/ip.h>
7046 #endif
7047 #ifdef HAVE_NETINET_IP_VAR_H
7048 # include <netinet/ip_var.h>
7049 #endif
7050 #ifdef HAVE_NETINET_IP_ICMP_H
7051 # include <netinet/ip_icmp.h>
7052 #endif
7053 #ifdef HAVE_NETINET_UDP_H
7054 # include <netinet/udp.h>
7055 #endif
7056 #ifdef HAVE_NETINET_TCP_H
7057 # include <netinet/tcp.h>
7058 #endif
7059 #ifdef HAVE_NETINET_TCP_TIMER_H
7060 #include <netinet/tcp_timer.h>
7061 #endif
7063 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7064 cat >>confdefs.h <<_ACEOF
7065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7066 _ACEOF
7070 done
7073 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7074 do :
7075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7076 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7077 #ifdef HAVE_ASM_TYPES_H
7078 # include <asm/types.h>
7079 #endif
7080 #ifdef HAVE_SYS_SOCKET_H
7081 # include <sys/socket.h>
7082 #endif
7083 #ifdef HAVE_LINUX_TYPES_H
7084 # include <linux/types.h>
7085 #endif
7087 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7088 cat >>confdefs.h <<_ACEOF
7089 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7090 _ACEOF
7094 done
7097 for ac_header in mach-o/dyld_images.h
7098 do :
7099 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7100 # include <stdbool.h>
7101 #endif
7102 #ifdef HAVE_STDINT_H
7103 # include <stdint.h>
7104 #endif
7106 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7107 cat >>confdefs.h <<_ACEOF
7108 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7109 _ACEOF
7113 done
7116 for ac_header in resolv.h
7117 do :
7118 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7119 #ifdef HAVE_SYS_SOCKET_H
7120 # include <sys/socket.h>
7121 #endif
7122 #ifdef HAVE_NETINET_IN_H
7123 # include <netinet/in.h>
7124 #endif
7125 #ifdef HAVE_ARPA_NAMESER_H
7126 # include <arpa/nameser.h>
7127 #endif
7129 if test "x$ac_cv_header_resolv_h" = xyes; then :
7130 cat >>confdefs.h <<_ACEOF
7131 #define HAVE_RESOLV_H 1
7132 _ACEOF
7136 done
7139 for ac_header in ifaddrs.h
7140 do :
7141 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7143 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7144 cat >>confdefs.h <<_ACEOF
7145 #define HAVE_IFADDRS_H 1
7146 _ACEOF
7150 done
7153 for ac_header in sys/ucontext.h
7154 do :
7155 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7157 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7158 cat >>confdefs.h <<_ACEOF
7159 #define HAVE_SYS_UCONTEXT_H 1
7160 _ACEOF
7164 done
7167 for ac_header in sys/thr.h
7168 do :
7169 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7170 #ifdef HAVE_SYS_UCONTEXT_H
7171 #include <sys/ucontext.h>
7172 #endif
7174 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7175 cat >>confdefs.h <<_ACEOF
7176 #define HAVE_SYS_THR_H 1
7177 _ACEOF
7181 done
7184 for ac_header in pthread_np.h
7185 do :
7186 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7187 #include <pthread.h>
7188 #endif
7190 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7191 cat >>confdefs.h <<_ACEOF
7192 #define HAVE_PTHREAD_NP_H 1
7193 _ACEOF
7197 done
7200 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7201 do :
7202 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7203 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7204 #include <sys/time.h>
7205 #endif
7206 #include <sys/types.h>
7207 #ifdef HAVE_ASM_TYPES_H
7208 #include <asm/types.h>
7209 #endif
7211 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7212 cat >>confdefs.h <<_ACEOF
7213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7214 _ACEOF
7218 done
7221 for ac_header in libprocstat.h
7222 do :
7223 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7224 #include <sys/param.h>
7225 #endif
7226 #ifdef HAVE_SYS_QUEUE_H
7227 #include <sys/queue.h>
7228 #endif
7229 #ifdef HAVE_SYS_SOCKET_H
7230 #include <sys/socket.h>
7231 #endif
7233 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7234 cat >>confdefs.h <<_ACEOF
7235 #define HAVE_LIBPROCSTAT_H 1
7236 _ACEOF
7240 done
7244 dlldir="\${libdir}/wine"
7246 DLLFLAGS="-D_REENTRANT"
7248 LDRPATH_INSTALL=""
7250 LDRPATH_LOCAL=""
7252 LDEXECFLAGS=""
7254 LIBEXT="so"
7255 DLLEXT=".so"
7256 IMPLIBEXT="def"
7257 # Extract the first word of "ldd", so it can be a program name with args.
7258 set dummy ldd; ac_word=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if ${ac_cv_path_LDD+:} false; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 case $LDD in
7265 [\\/]* | ?:[\\/]*)
7266 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270 as_dummy="/sbin:/usr/sbin:$PATH"
7271 for as_dir in $as_dummy
7273 IFS=$as_save_IFS
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279 break 2
7281 done
7282 done
7283 IFS=$as_save_IFS
7285 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7287 esac
7289 LDD=$ac_cv_path_LDD
7290 if test -n "$LDD"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7292 $as_echo "$LDD" >&6; }
7293 else
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7299 if test -n "$ac_tool_prefix"; then
7300 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7301 set dummy ${ac_tool_prefix}otool; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303 $as_echo_n "checking for $ac_word... " >&6; }
7304 if ${ac_cv_prog_OTOOL+:} false; then :
7305 $as_echo_n "(cached) " >&6
7306 else
7307 if test -n "$OTOOL"; then
7308 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7309 else
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7311 for as_dir in $PATH
7313 IFS=$as_save_IFS
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7317 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7319 break 2
7321 done
7322 done
7323 IFS=$as_save_IFS
7327 OTOOL=$ac_cv_prog_OTOOL
7328 if test -n "$OTOOL"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7330 $as_echo "$OTOOL" >&6; }
7331 else
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
7338 if test -z "$ac_cv_prog_OTOOL"; then
7339 ac_ct_OTOOL=$OTOOL
7340 # Extract the first word of "otool", so it can be a program name with args.
7341 set dummy otool; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7345 $as_echo_n "(cached) " >&6
7346 else
7347 if test -n "$ac_ct_OTOOL"; then
7348 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7349 else
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 for as_dir in $PATH
7353 IFS=$as_save_IFS
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357 ac_cv_prog_ac_ct_OTOOL="otool"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359 break 2
7361 done
7362 done
7363 IFS=$as_save_IFS
7367 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7368 if test -n "$ac_ct_OTOOL"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7370 $as_echo "$ac_ct_OTOOL" >&6; }
7371 else
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7376 if test "x$ac_ct_OTOOL" = x; then
7377 OTOOL="otool"
7378 else
7379 case $cross_compiling:$ac_tool_warned in
7380 yes:)
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7383 ac_tool_warned=yes ;;
7384 esac
7385 OTOOL=$ac_ct_OTOOL
7387 else
7388 OTOOL="$ac_cv_prog_OTOOL"
7391 if test -n "$ac_tool_prefix"; then
7392 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7393 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 $as_echo_n "checking for $ac_word... " >&6; }
7396 if ${ac_cv_prog_READELF+:} false; then :
7397 $as_echo_n "(cached) " >&6
7398 else
7399 if test -n "$READELF"; then
7400 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7401 else
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7403 for as_dir in $PATH
7405 IFS=$as_save_IFS
7406 test -z "$as_dir" && as_dir=.
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7411 break 2
7413 done
7414 done
7415 IFS=$as_save_IFS
7419 READELF=$ac_cv_prog_READELF
7420 if test -n "$READELF"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7422 $as_echo "$READELF" >&6; }
7423 else
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 $as_echo "no" >&6; }
7430 if test -z "$ac_cv_prog_READELF"; then
7431 ac_ct_READELF=$READELF
7432 # Extract the first word of "readelf", so it can be a program name with args.
7433 set dummy readelf; ac_word=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7437 $as_echo_n "(cached) " >&6
7438 else
7439 if test -n "$ac_ct_READELF"; then
7440 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7441 else
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7443 for as_dir in $PATH
7445 IFS=$as_save_IFS
7446 test -z "$as_dir" && as_dir=.
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7449 ac_cv_prog_ac_ct_READELF="readelf"
7450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 break 2
7453 done
7454 done
7455 IFS=$as_save_IFS
7459 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7460 if test -n "$ac_ct_READELF"; then
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7462 $as_echo "$ac_ct_READELF" >&6; }
7463 else
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7468 if test "x$ac_ct_READELF" = x; then
7469 READELF="true"
7470 else
7471 case $cross_compiling:$ac_tool_warned in
7472 yes:)
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7475 ac_tool_warned=yes ;;
7476 esac
7477 READELF=$ac_ct_READELF
7479 else
7480 READELF="$ac_cv_prog_READELF"
7483 wine_rules_file=conf$$rules.make
7484 rm -f $wine_rules_file
7485 SUBDIRS=""
7487 DISABLED_SUBDIRS=""
7489 CONFIGURE_TARGETS=""
7491 ALL_TEST_RESOURCES=""
7494 wine_fn_append_file ()
7496 as_fn_append $1 " \\$as_nl $2"
7499 wine_fn_append_rule ()
7501 $as_echo "$1" >>$wine_rules_file
7504 wine_fn_has_flag ()
7506 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7509 wine_fn_all_rules ()
7511 wine_fn_append_file SUBDIRS $ac_dir
7512 wine_fn_append_rule \
7513 "all: $ac_dir
7514 .PHONY: $ac_dir
7515 $ac_dir: dummy
7516 @cd $ac_dir && \$(MAKE)"
7519 wine_fn_install_rules ()
7521 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7523 wine_fn_append_rule \
7524 ".PHONY: $ac_dir/install $ac_dir/uninstall
7525 $ac_dir/install:: $ac_dir
7526 @cd $ac_dir && \$(MAKE) install
7527 $ac_dir/uninstall::
7528 @cd $ac_dir && \$(MAKE) uninstall
7529 install:: $ac_dir/install
7530 __uninstall__: $ac_dir/uninstall"
7532 if wine_fn_has_flag install-lib
7533 then
7534 wine_fn_append_rule \
7535 ".PHONY: $ac_dir/install-lib
7536 $ac_dir/install-lib:: $ac_dir
7537 @cd $ac_dir && \$(MAKE) install-lib
7538 install-lib:: $ac_dir/install-lib"
7541 if wine_fn_has_flag install-dev
7542 then
7543 wine_fn_append_rule \
7544 ".PHONY: $ac_dir/install-dev
7545 $ac_dir/install-dev:: $ac_dir
7546 @cd $ac_dir && \$(MAKE) install-dev
7547 install-dev:: $ac_dir/install-dev"
7551 wine_fn_clean_rules ()
7553 ac_clean=$@
7555 if wine_fn_has_flag clean
7556 then
7557 wine_fn_append_rule \
7558 "$ac_dir/clean: dummy
7559 @cd $ac_dir && \$(MAKE) clean"
7560 else
7561 wine_fn_append_rule \
7562 "$ac_dir/clean: dummy
7563 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7565 wine_fn_append_rule \
7566 "__clean__: $ac_dir/clean
7567 .PHONY: $ac_dir/clean"
7570 wine_fn_disabled_rules ()
7572 ac_clean=$@
7574 wine_fn_append_file SUBDIRS $ac_dir
7575 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7576 wine_fn_append_rule \
7577 "__clean__: $ac_dir/clean
7578 .PHONY: $ac_dir/clean
7579 $ac_dir/clean: dummy
7580 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7583 wine_fn_config_makefile ()
7585 ac_dir=$1
7586 ac_enable=$2
7587 ac_flags=$3
7589 case $ac_dir in
7590 fonts|server) test -z "$with_wine64" || return ;;
7591 esac
7592 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7593 wine_fn_disabled_rules; return
7595 wine_fn_all_rules
7596 wine_fn_install_rules
7597 wine_fn_clean_rules
7600 wine_fn_config_lib ()
7602 ac_name=$1
7603 ac_flags=$2
7604 ac_dir=dlls/$ac_name
7605 ac_deps="include"
7607 if test "x$enable_tools" = xno; then :
7609 else
7610 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7612 wine_fn_all_rules
7613 wine_fn_clean_rules
7615 wine_fn_append_rule \
7616 ".PHONY: $ac_dir/install $ac_dir/uninstall
7617 $ac_dir/install:: $ac_dir
7618 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7619 $ac_dir/uninstall::
7620 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7621 install install-dev:: $ac_dir/install
7622 __uninstall__: $ac_dir/uninstall
7623 __builddeps__: $ac_dir
7624 $ac_dir: $ac_deps"
7627 wine_fn_config_dll ()
7629 ac_name=$1
7630 ac_dir=dlls/$ac_name
7631 ac_enable=$2
7632 ac_flags=$3
7633 ac_implib=${4:-$ac_name}
7634 ac_file=$ac_dir/lib$ac_implib
7635 ac_dll=$ac_name
7636 ac_deps="include"
7637 ac_implibflags=""
7639 if test "x$enable_tools" = xno; then :
7641 else
7642 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7644 case $ac_name in
7645 *16) ac_implibflags=" -m16" ;;
7646 *.*) ;;
7647 *) ac_dll=$ac_dll.dll ;;
7648 esac
7650 ac_clean=
7651 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7652 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7654 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7655 if test "$ac_enable" != enable_win16
7656 then
7657 wine_fn_clean_rules $ac_clean
7658 wine_fn_append_file SUBDIRS $ac_dir
7659 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7660 else
7661 wine_fn_disabled_rules $ac_clean
7662 return
7664 else
7665 wine_fn_all_rules
7666 wine_fn_clean_rules $ac_clean
7667 wine_fn_append_rule \
7668 "$ac_dir: __builddeps__
7669 manpages htmlpages sgmlpages xmlpages::
7670 @cd $ac_dir && \$(MAKE) \$@
7671 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7672 install install-lib:: $ac_dir/install-lib
7673 __uninstall__: $ac_dir/uninstall"
7674 if test -n "$DLLEXT"
7675 then
7676 wine_fn_append_rule \
7677 "$ac_dir/install-lib:: $ac_dir
7678 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7679 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7680 $ac_dir/uninstall::
7681 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7682 else
7683 wine_fn_append_rule \
7684 "$ac_dir/install-lib:: $ac_dir
7685 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7686 $ac_dir/uninstall::
7687 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7691 if wine_fn_has_flag staticimplib
7692 then
7693 wine_fn_append_rule \
7694 "__builddeps__: $ac_file.a
7695 $ac_file.a $ac_file.cross.a: $ac_deps
7696 $ac_file.a: dummy
7697 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7698 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7699 $ac_dir/install-dev:: $ac_file.a
7700 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7701 $ac_dir/uninstall::
7702 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7703 install install-dev:: $ac_dir/install-dev
7704 __uninstall__: $ac_dir/uninstall"
7706 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7707 then
7708 wine_fn_append_rule \
7709 "__builddeps__: $ac_file.cross.a
7710 $ac_file.cross.a: dummy
7711 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7714 elif wine_fn_has_flag implib
7715 then
7716 wine_fn_append_rule \
7717 "__builddeps__: $ac_file.$IMPLIBEXT
7718 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7719 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7720 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7721 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7722 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7723 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7724 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7725 $ac_dir/uninstall::
7726 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7727 install install-dev:: $ac_dir/install-dev
7728 __uninstall__: $ac_dir/uninstall"
7729 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7730 then
7731 wine_fn_append_rule \
7732 "__builddeps__: $ac_file.cross.a
7733 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7734 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7739 wine_fn_config_program ()
7741 ac_name=$1
7742 ac_dir=programs/$ac_name
7743 ac_enable=$2
7744 ac_flags=$3
7745 ac_program=$ac_name
7747 case $ac_name in
7748 *.*) ;;
7749 *) ac_program=$ac_program.exe ;;
7750 esac
7752 ac_clean=
7753 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7754 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7756 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7757 wine_fn_disabled_rules $ac_clean; return
7760 wine_fn_all_rules
7761 wine_fn_clean_rules $ac_clean
7762 wine_fn_append_rule "$ac_dir: __builddeps__"
7764 wine_fn_has_flag install || return
7765 wine_fn_append_rule \
7766 ".PHONY: $ac_dir/install $ac_dir/uninstall
7767 install install-lib:: $ac_dir/install
7768 __uninstall__: $ac_dir/uninstall"
7770 if test -n "$DLLEXT"
7771 then
7772 wine_fn_append_rule \
7773 "$ac_dir/install:: $ac_dir
7774 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7775 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7776 $ac_dir/uninstall::
7777 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7779 if test -z "$with_wine64" && wine_fn_has_flag installbin
7780 then
7781 wine_fn_append_rule \
7782 "$ac_dir/install:: __tooldeps__
7783 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7784 $ac_dir/uninstall::
7785 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7787 else
7788 wine_fn_append_rule \
7789 "$ac_dir/install:: $ac_dir
7790 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7791 $ac_dir/uninstall::
7792 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7795 if test -z "$with_wine64" && wine_fn_has_flag manpage
7796 then
7797 wine_fn_append_rule \
7798 "$ac_dir/install:: $ac_dir
7799 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7800 $ac_dir/uninstall::
7801 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7805 wine_fn_config_test ()
7807 ac_dir=$1
7808 ac_name=$2
7809 ac_flags=$3
7811 ac_clean=
7812 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7813 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7815 if test "x$enable_tests" = xno; then :
7816 wine_fn_disabled_rules $ac_clean; return
7819 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7820 wine_fn_all_rules
7821 wine_fn_clean_rules $ac_clean
7823 wine_fn_append_rule \
7824 "$ac_dir: __builddeps__
7825 programs/winetest: $ac_dir
7826 check test: $ac_dir/test
7827 .PHONY: $ac_dir/test
7828 $ac_dir/test: dummy
7829 @cd $ac_dir && \$(MAKE) test
7830 testclean::
7831 \$(RM) $ac_dir/*.ok"
7833 if test -n "$CROSSTARGET"
7834 then
7835 wine_fn_append_rule \
7836 "crosstest: $ac_dir/crosstest
7837 .PHONY: $ac_dir/crosstest
7838 $ac_dir/crosstest: __builddeps__ dummy
7839 @cd $ac_dir && \$(MAKE) crosstest"
7843 wine_fn_config_tool ()
7845 ac_dir=$1
7846 ac_flags=$2
7847 if test "x$enable_tools" = xno; then :
7848 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7851 wine_fn_all_rules
7852 wine_fn_install_rules
7853 wine_fn_clean_rules
7855 wine_fn_append_rule "__tooldeps__: $ac_dir"
7856 wine_fn_append_rule "$ac_dir: libs/port"
7857 case $ac_dir in
7858 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7859 esac
7862 wine_fn_config_symlink ()
7864 ac_linkdir=
7865 if test "x$1" = "x-d"
7866 then
7867 ac_linkdir=$2
7868 shift; shift
7870 ac_links=$@
7871 wine_fn_append_rule \
7872 "$ac_links:
7873 @./config.status \$@"
7874 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7875 test -n "$ac_linkdir" || return
7876 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7879 wine_binary="wine"
7880 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7881 WINELOADER_PROGRAMS="$wine_binary"
7883 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7885 case $host_os in
7886 cygwin*|mingw32*)
7887 if test -n "$ac_tool_prefix"; then
7888 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7889 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7891 $as_echo_n "checking for $ac_word... " >&6; }
7892 if ${ac_cv_prog_DLLTOOL+:} false; then :
7893 $as_echo_n "(cached) " >&6
7894 else
7895 if test -n "$DLLTOOL"; then
7896 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7897 else
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899 for as_dir in $PATH
7901 IFS=$as_save_IFS
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7905 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7907 break 2
7909 done
7910 done
7911 IFS=$as_save_IFS
7915 DLLTOOL=$ac_cv_prog_DLLTOOL
7916 if test -n "$DLLTOOL"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7918 $as_echo "$DLLTOOL" >&6; }
7919 else
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7921 $as_echo "no" >&6; }
7926 if test -z "$ac_cv_prog_DLLTOOL"; then
7927 ac_ct_DLLTOOL=$DLLTOOL
7928 # Extract the first word of "dlltool", so it can be a program name with args.
7929 set dummy dlltool; ac_word=$2
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7931 $as_echo_n "checking for $ac_word... " >&6; }
7932 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7933 $as_echo_n "(cached) " >&6
7934 else
7935 if test -n "$ac_ct_DLLTOOL"; then
7936 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7937 else
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 for as_dir in $PATH
7941 IFS=$as_save_IFS
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7945 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 break 2
7949 done
7950 done
7951 IFS=$as_save_IFS
7955 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7956 if test -n "$ac_ct_DLLTOOL"; then
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7958 $as_echo "$ac_ct_DLLTOOL" >&6; }
7959 else
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7961 $as_echo "no" >&6; }
7964 if test "x$ac_ct_DLLTOOL" = x; then
7965 DLLTOOL="false"
7966 else
7967 case $cross_compiling:$ac_tool_warned in
7968 yes:)
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7971 ac_tool_warned=yes ;;
7972 esac
7973 DLLTOOL=$ac_ct_DLLTOOL
7975 else
7976 DLLTOOL="$ac_cv_prog_DLLTOOL"
7979 LIBEXT="dll"
7980 DLLEXT=""
7981 IMPLIBEXT="a"
7982 enable_iphlpapi=${enable_iphlpapi:-no}
7983 enable_kernel32=${enable_kernel32:-no}
7984 enable_msvcrt=${enable_msvcrt:-no}
7985 enable_ntdll=${enable_ntdll:-no}
7986 enable_ws2_32=${enable_ws2_32:-no}
7987 enable_loader=${enable_loader:-no}
7988 enable_server=${enable_server:-no}
7989 with_x=${with_x:-no}
7990 with_pthread=${with_pthread:-no}
7992 crtlibs=""
7993 case $host_os in
7994 mingw32*)
7995 crtlibs="-lmsvcrt"
7996 SOCKET_LIBS="-lws2_32"
7998 esac
8000 LIBWINE_SHAREDLIB="libwine.dll"
8002 LIBWINE_IMPORTLIB="libwine.a"
8004 LIBWINE_INSTALL_LIB="libwine.dll"
8006 LIBWINE_INSTALL_DEV="libwine.a"
8008 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8010 LIBWINE_DEPENDS="wine.def"
8014 darwin*|macosx*)
8015 for ac_header in libunwind.h
8016 do :
8017 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8019 cat >>confdefs.h <<_ACEOF
8020 #define HAVE_LIBUNWIND_H 1
8021 _ACEOF
8025 done
8027 LIBEXT="dylib"
8028 DLLFLAGS="$DLLFLAGS -fPIC"
8029 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8030 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8031 COREFOUNDATION_LIBS="-framework CoreFoundation"
8033 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8035 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8037 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8039 CORESERVICES_LIBS="-framework CoreServices"
8041 APPKIT_LIBS="-framework AppKit"
8043 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8045 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8046 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8047 $as_echo_n "(cached) " >&6
8048 else
8049 ac_wine_try_cflags_saved=$CFLAGS
8050 CFLAGS="$CFLAGS -Wl,-no_pie"
8051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8052 /* end confdefs.h. */
8053 int main(int argc, char **argv) { return 0; }
8054 _ACEOF
8055 if ac_fn_c_try_link "$LINENO"; then :
8056 ac_cv_cflags__Wl__no_pie=yes
8057 else
8058 ac_cv_cflags__Wl__no_pie=no
8060 rm -f core conftest.err conftest.$ac_objext \
8061 conftest$ac_exeext conftest.$ac_ext
8062 CFLAGS=$ac_wine_try_cflags_saved
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8065 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8066 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8067 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8069 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8070 then
8071 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8074 if test "$ac_cv_header_Security_Security_h" = "yes"
8075 then
8076 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8078 ac_save_LIBS="$LIBS"
8079 LIBS="$LIBS $SECURITY_LIBS"
8080 for ac_func in SSLCopyPeerCertificates
8081 do :
8082 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8083 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8084 cat >>confdefs.h <<_ACEOF
8085 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8086 _ACEOF
8089 done
8091 LIBS="$ac_save_LIBS"
8092 with_gnutls=${with_gnutls:-no}
8094 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8095 then
8096 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8097 then
8098 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8100 else
8101 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8104 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8105 ac_save_LIBS="$LIBS"
8106 LIBS="$LIBS $COREAUDIO_LIBS"
8107 for ac_func in AUGraphAddNode
8108 do :
8109 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8110 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8111 cat >>confdefs.h <<_ACEOF
8112 #define HAVE_AUGRAPHADDNODE 1
8113 _ACEOF
8116 done
8118 LIBS="$ac_save_LIBS"
8120 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8121 then
8122 OPENAL_LIBS="-framework OpenAL"
8125 cat >>confdefs.h <<_ACEOF
8126 #define HAVE_OPENAL 1
8127 _ACEOF
8129 ac_cv_lib_openal=yes
8131 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8132 then
8133 OPENCL_LIBS="-framework OpenCL"
8135 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8137 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8138 then
8139 ac_save_LIBS="$LIBS"
8140 LIBS="$LIBS $IOKIT_LIBS"
8141 for ac_func in IOHIDManagerCreate
8142 do :
8143 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8144 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8145 cat >>confdefs.h <<_ACEOF
8146 #define HAVE_IOHIDMANAGERCREATE 1
8147 _ACEOF
8150 done
8152 LIBS="$ac_save_LIBS"
8154 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8155 then
8156 ac_save_LIBS="$LIBS"
8157 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8159 $as_echo_n "checking for the QuickTime framework... " >&6; }
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8162 #include <QuickTime/ImageCompression.h>
8164 main ()
8166 CodecManagerVersion(NULL);
8168 return 0;
8170 _ACEOF
8171 if ac_fn_c_try_link "$LINENO"; then :
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8173 $as_echo "yes" >&6; }
8174 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8176 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8177 else
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 $as_echo "no" >&6; }
8180 ac_cv_header_QuickTime_ImageCompression_h=no
8182 rm -f core conftest.err conftest.$ac_objext \
8183 conftest$ac_exeext conftest.$ac_ext
8184 LIBS="$ac_save_LIBS"
8186 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8187 then
8188 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8190 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8191 then
8192 CARBON_LIBS="-framework Carbon"
8196 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8197 then
8198 ac_save_LIBS="$LIBS"
8199 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8200 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8201 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8202 enable_winemac_drv=${enable_winemac_drv:-yes}
8205 LIBS="$ac_save_LIBS"
8208 if test "x$enable_win16" = "xyes"
8209 then
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8211 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8212 if test "$cross_compiling" = yes; then :
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8214 $as_echo "cross-compiling, assuming yes" >&6; }
8215 else
8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 asm(".text\n"
8219 "bad:\tnop;nop\n"
8220 "good:\tnop;nop\n\t"
8221 ".globl _testfunc\n"
8222 "_testfunc:\tcallw good");
8223 extern void testfunc();
8225 main ()
8227 unsigned short *p = (unsigned short *)testfunc;
8228 return p[0] != 0xe866 || p[1] != 0xfffa
8230 return 0;
8232 _ACEOF
8233 if ac_fn_c_try_run "$LINENO"; then :
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8235 $as_echo "yes" >&6; }
8236 else
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8238 $as_echo "no" >&6; }
8239 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
8241 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8242 conftest.$ac_objext conftest.beam conftest.$ac_ext
8247 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8249 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8251 LIBWINE_INSTALL_DEV="libwine.dylib"
8253 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8255 WINELOADER_DEPENDS="wine_info.plist"
8259 linux-android*)
8260 DLLFLAGS="$DLLFLAGS -fPIC"
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8262 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8263 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8264 $as_echo_n "(cached) " >&6
8265 else
8266 ac_wine_try_cflags_saved=$CFLAGS
8267 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8270 int main(int argc, char **argv) { return 0; }
8271 _ACEOF
8272 if ac_fn_c_try_link "$LINENO"; then :
8273 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8274 else
8275 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8277 rm -f core conftest.err conftest.$ac_objext \
8278 conftest$ac_exeext conftest.$ac_ext
8279 CFLAGS=$ac_wine_try_cflags_saved
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8282 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8283 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8284 LDEXECFLAGS="-Wl,--export-dynamic"
8286 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8288 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8289 if eval \${$as_ac_var+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 ac_wine_try_cflags_saved=$CFLAGS
8293 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8297 _ACEOF
8298 if ac_fn_c_try_link "$LINENO"; then :
8299 eval "$as_ac_var=yes"
8300 else
8301 eval "$as_ac_var=no"
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 CFLAGS=$ac_wine_try_cflags_saved
8307 eval ac_res=\$$as_ac_var
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8309 $as_echo "$ac_res" >&6; }
8310 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8311 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8312 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8313 else
8314 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8316 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8317 if eval \${$as_ac_var+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 ac_wine_try_cflags_saved=$CFLAGS
8321 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 int main(int argc, char **argv) { return 0; }
8325 _ACEOF
8326 if ac_fn_c_try_link "$LINENO"; then :
8327 eval "$as_ac_var=yes"
8328 else
8329 eval "$as_ac_var=no"
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 CFLAGS=$ac_wine_try_cflags_saved
8335 eval ac_res=\$$as_ac_var
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8337 $as_echo "$ac_res" >&6; }
8338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8339 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8340 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8345 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8346 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 ac_wine_try_cflags_saved=$CFLAGS
8350 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8354 _ACEOF
8355 if ac_fn_c_try_link "$LINENO"; then :
8356 ac_cv_cflags__Wl___enable_new_dtags=yes
8357 else
8358 ac_cv_cflags__Wl___enable_new_dtags=no
8360 rm -f core conftest.err conftest.$ac_objext \
8361 conftest$ac_exeext conftest.$ac_ext
8362 CFLAGS=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8365 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8366 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8367 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8370 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8371 if ${ac_cv_cflags__Wl__pie+:} false; then :
8372 $as_echo_n "(cached) " >&6
8373 else
8374 ac_wine_try_cflags_saved=$CFLAGS
8375 CFLAGS="$CFLAGS -Wl,-pie"
8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8378 int main(int argc, char **argv) { return 0; }
8379 _ACEOF
8380 if ac_fn_c_try_link "$LINENO"; then :
8381 ac_cv_cflags__Wl__pie=yes
8382 else
8383 ac_cv_cflags__Wl__pie=no
8385 rm -f core conftest.err conftest.$ac_objext \
8386 conftest$ac_exeext conftest.$ac_ext
8387 CFLAGS=$ac_wine_try_cflags_saved
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8390 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8391 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8392 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8395 LIBWINE_SHAREDLIB="libwine.so"
8397 LIBWINE_INSTALL_LIB="libwine.so"
8399 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8404 DLLFLAGS="$DLLFLAGS -fPIC"
8405 LDEXECFLAGS=""
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8407 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8408 if ${ac_cv_c_dll_gnuelf+:} false; then :
8409 $as_echo_n "(cached) " >&6
8410 else
8411 ac_wine_try_cflags_saved=$CFLAGS
8412 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8415 void myfunc() {}
8416 _ACEOF
8417 if ac_fn_c_try_link "$LINENO"; then :
8418 ac_cv_c_dll_gnuelf="yes"
8419 else
8420 ac_cv_c_dll_gnuelf="no"
8422 rm -f core conftest.err conftest.$ac_objext \
8423 conftest$ac_exeext conftest.$ac_ext
8424 CFLAGS=$ac_wine_try_cflags_saved
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8427 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8428 if test "$ac_cv_c_dll_gnuelf" = "yes"
8429 then
8430 LIBWINE_LDFLAGS="-shared"
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8432 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8433 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8434 $as_echo_n "(cached) " >&6
8435 else
8436 ac_wine_try_cflags_saved=$CFLAGS
8437 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8439 /* end confdefs.h. */
8440 int main(int argc, char **argv) { return 0; }
8441 _ACEOF
8442 if ac_fn_c_try_link "$LINENO"; then :
8443 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8444 else
8445 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8447 rm -f core conftest.err conftest.$ac_objext \
8448 conftest$ac_exeext conftest.$ac_ext
8449 CFLAGS=$ac_wine_try_cflags_saved
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8452 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8453 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8454 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8455 else
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8457 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8458 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 ac_wine_try_cflags_saved=$CFLAGS
8462 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465 int main(int argc, char **argv) { return 0; }
8466 _ACEOF
8467 if ac_fn_c_try_link "$LINENO"; then :
8468 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8469 else
8470 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8472 rm -f core conftest.err conftest.$ac_objext \
8473 conftest$ac_exeext conftest.$ac_ext
8474 CFLAGS=$ac_wine_try_cflags_saved
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8477 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8478 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8479 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8483 echo '{ global: *; };' >conftest.map
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8485 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8486 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8487 $as_echo_n "(cached) " >&6
8488 else
8489 ac_wine_try_cflags_saved=$CFLAGS
8490 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8493 int main(int argc, char **argv) { return 0; }
8494 _ACEOF
8495 if ac_fn_c_try_link "$LINENO"; then :
8496 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8497 else
8498 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8500 rm -f core conftest.err conftest.$ac_objext \
8501 conftest$ac_exeext conftest.$ac_ext
8502 CFLAGS=$ac_wine_try_cflags_saved
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8505 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8506 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8507 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8509 rm -f conftest.map
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8512 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8513 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 ac_wine_try_cflags_saved=$CFLAGS
8517 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 int main(int argc, char **argv) { return 0; }
8521 _ACEOF
8522 if ac_fn_c_try_link "$LINENO"; then :
8523 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8524 else
8525 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8527 rm -f core conftest.err conftest.$ac_objext \
8528 conftest$ac_exeext conftest.$ac_ext
8529 CFLAGS=$ac_wine_try_cflags_saved
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8532 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8533 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8534 LDEXECFLAGS="-Wl,--export-dynamic"
8537 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8539 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8540 if eval \${$as_ac_var+:} false; then :
8541 $as_echo_n "(cached) " >&6
8542 else
8543 ac_wine_try_cflags_saved=$CFLAGS
8544 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 int main(int argc, char **argv) { return 0; }
8548 _ACEOF
8549 if ac_fn_c_try_link "$LINENO"; then :
8550 eval "$as_ac_var=yes"
8551 else
8552 eval "$as_ac_var=no"
8554 rm -f core conftest.err conftest.$ac_objext \
8555 conftest$ac_exeext conftest.$ac_ext
8556 CFLAGS=$ac_wine_try_cflags_saved
8558 eval ac_res=\$$as_ac_var
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8560 $as_echo "$ac_res" >&6; }
8561 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8562 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8563 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8564 else
8565 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8567 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8568 if eval \${$as_ac_var+:} false; then :
8569 $as_echo_n "(cached) " >&6
8570 else
8571 ac_wine_try_cflags_saved=$CFLAGS
8572 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8575 int main(int argc, char **argv) { return 0; }
8576 _ACEOF
8577 if ac_fn_c_try_link "$LINENO"; then :
8578 eval "$as_ac_var=yes"
8579 else
8580 eval "$as_ac_var=no"
8582 rm -f core conftest.err conftest.$ac_objext \
8583 conftest$ac_exeext conftest.$ac_ext
8584 CFLAGS=$ac_wine_try_cflags_saved
8586 eval ac_res=\$$as_ac_var
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8588 $as_echo "$ac_res" >&6; }
8589 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8590 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8591 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8596 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8597 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 ac_wine_try_cflags_saved=$CFLAGS
8601 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8604 int main(int argc, char **argv) { return 0; }
8605 _ACEOF
8606 if ac_fn_c_try_link "$LINENO"; then :
8607 ac_cv_cflags__Wl___enable_new_dtags=yes
8608 else
8609 ac_cv_cflags__Wl___enable_new_dtags=no
8611 rm -f core conftest.err conftest.$ac_objext \
8612 conftest$ac_exeext conftest.$ac_ext
8613 CFLAGS=$ac_wine_try_cflags_saved
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8616 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8617 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8618 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8621 case $host_cpu in
8622 *i[3456789]86* | x86_64)
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8624 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8625 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8626 $as_echo_n "(cached) " >&6
8627 else
8628 ac_wine_try_cflags_saved=$CFLAGS
8629 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8631 /* end confdefs.h. */
8632 int main(int argc, char **argv) { return 0; }
8633 _ACEOF
8634 if ac_fn_c_try_link "$LINENO"; then :
8635 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8636 else
8637 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8639 rm -f core conftest.err conftest.$ac_objext \
8640 conftest$ac_exeext conftest.$ac_ext
8641 CFLAGS=$ac_wine_try_cflags_saved
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8644 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8645 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8646 case $host_os in
8647 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8648 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8649 esac
8650 else
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8652 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8653 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8654 $as_echo_n "(cached) " >&6
8655 else
8656 ac_wine_try_cflags_saved=$CFLAGS
8657 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8659 /* end confdefs.h. */
8660 int main(int argc, char **argv) { return 0; }
8661 _ACEOF
8662 if ac_fn_c_try_link "$LINENO"; then :
8663 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8664 else
8665 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8667 rm -f core conftest.err conftest.$ac_objext \
8668 conftest$ac_exeext conftest.$ac_ext
8669 CFLAGS=$ac_wine_try_cflags_saved
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8672 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8673 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8674 case $host_os in
8675 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8676 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8677 esac
8679 # Extract the first word of "prelink", so it can be a program name with args.
8680 set dummy prelink; ac_word=$2
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8682 $as_echo_n "checking for $ac_word... " >&6; }
8683 if ${ac_cv_path_PRELINK+:} false; then :
8684 $as_echo_n "(cached) " >&6
8685 else
8686 case $PRELINK in
8687 [\\/]* | ?:[\\/]*)
8688 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8692 for as_dir in /sbin /usr/sbin $PATH
8694 IFS=$as_save_IFS
8695 test -z "$as_dir" && as_dir=.
8696 for ac_exec_ext in '' $ac_executable_extensions; do
8697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8698 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700 break 2
8702 done
8703 done
8704 IFS=$as_save_IFS
8706 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8708 esac
8710 PRELINK=$ac_cv_path_PRELINK
8711 if test -n "$PRELINK"; then
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8713 $as_echo "$PRELINK" >&6; }
8714 else
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716 $as_echo "no" >&6; }
8720 if test "x$PRELINK" = xfalse
8721 then
8722 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8726 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8727 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 ac_wine_try_cflags_saved=$CFLAGS
8731 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 int main(int argc, char **argv) { return 0; }
8735 _ACEOF
8736 if ac_fn_c_try_link "$LINENO"; then :
8737 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8738 else
8739 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8746 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8747 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8748 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8751 esac
8753 else
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8755 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8756 if ${ac_cv_c_dll_unixware+:} false; then :
8757 $as_echo_n "(cached) " >&6
8758 else
8759 ac_wine_try_cflags_saved=$CFLAGS
8760 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8763 void myfunc() {}
8764 _ACEOF
8765 if ac_fn_c_try_link "$LINENO"; then :
8766 ac_cv_c_dll_unixware="yes"
8767 else
8768 ac_cv_c_dll_unixware="no"
8770 rm -f core conftest.err conftest.$ac_objext \
8771 conftest$ac_exeext conftest.$ac_ext
8772 CFLAGS=$ac_wine_try_cflags_saved
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8775 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8776 if test "$ac_cv_c_dll_unixware" = "yes"
8777 then
8778 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8781 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8783 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8785 LIBWINE_INSTALL_DEV="libwine.so"
8787 LIBWINE_DEPENDS="wine.map"
8790 esac
8792 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8793 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8794 enable_winemac_drv=${enable_winemac_drv:-no}
8795 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8797 CROSSTARGET=""
8799 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8800 then
8801 case "$host_cpu" in
8802 arm*)
8803 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8804 i[3456789]86*)
8805 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
8806 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8807 mingw32-gcc" ;;
8808 x86_64)
8809 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
8810 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8812 ac_prefix_list="" ;;
8813 esac
8814 for ac_prog in $ac_prefix_list
8816 # Extract the first word of "$ac_prog", so it can be a program name with args.
8817 set dummy $ac_prog; ac_word=$2
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8819 $as_echo_n "checking for $ac_word... " >&6; }
8820 if ${ac_cv_prog_CROSSCC+:} false; then :
8821 $as_echo_n "(cached) " >&6
8822 else
8823 if test -n "$CROSSCC"; then
8824 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8825 else
8826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8827 for as_dir in $PATH
8829 IFS=$as_save_IFS
8830 test -z "$as_dir" && as_dir=.
8831 for ac_exec_ext in '' $ac_executable_extensions; do
8832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8833 ac_cv_prog_CROSSCC="$ac_prog"
8834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8835 break 2
8837 done
8838 done
8839 IFS=$as_save_IFS
8843 CROSSCC=$ac_cv_prog_CROSSCC
8844 if test -n "$CROSSCC"; then
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8846 $as_echo "$CROSSCC" >&6; }
8847 else
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8849 $as_echo "no" >&6; }
8853 test -n "$CROSSCC" && break
8854 done
8855 test -n "$CROSSCC" || CROSSCC="false"
8857 if test "$CROSSCC" != "false"
8858 then
8859 ac_save_CC="$CC"
8860 CC="$CROSSCC"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8862 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8864 /* end confdefs.h. */
8867 main ()
8871 return 0;
8873 _ACEOF
8874 if ac_fn_c_try_compile "$LINENO"; then :
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8876 $as_echo "yes" >&6; }
8877 set x $CROSSCC
8878 shift
8879 while test $# -ge 1
8881 case "$1" in
8882 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8883 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8884 esac
8885 shift
8886 done
8887 else
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889 $as_echo "no" >&6; }
8891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8892 CC="$ac_save_CC"
8897 if test "$ac_cv_header_pthread_h" = "yes"
8898 then
8899 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8900 if test "x$ac_cv_func_pthread_create" = xyes; then :
8902 else
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8904 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8905 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 ac_check_lib_save_LIBS=$LIBS
8909 LIBS="-lpthread $LIBS"
8910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8911 /* end confdefs.h. */
8913 /* Override any GCC internal prototype to avoid an error.
8914 Use char because int might match the return type of a GCC
8915 builtin and then its argument prototype would still apply. */
8916 #ifdef __cplusplus
8917 extern "C"
8918 #endif
8919 char pthread_create ();
8921 main ()
8923 return pthread_create ();
8925 return 0;
8927 _ACEOF
8928 if ac_fn_c_try_link "$LINENO"; then :
8929 ac_cv_lib_pthread_pthread_create=yes
8930 else
8931 ac_cv_lib_pthread_pthread_create=no
8933 rm -f core conftest.err conftest.$ac_objext \
8934 conftest$ac_exeext conftest.$ac_ext
8935 LIBS=$ac_check_lib_save_LIBS
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8938 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8939 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8940 PTHREAD_LIBS="-lpthread"
8947 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8948 case "x$with_pthread" in
8949 xno) ;;
8950 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8951 Wine cannot support threads without libpthread.
8952 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8953 esac
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8959 $as_echo_n "checking for X... " >&6; }
8962 # Check whether --with-x was given.
8963 if test "${with_x+set}" = set; then :
8964 withval=$with_x;
8967 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8968 if test "x$with_x" = xno; then
8969 # The user explicitly disabled X.
8970 have_x=disabled
8971 else
8972 case $x_includes,$x_libraries in #(
8973 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8974 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8975 $as_echo_n "(cached) " >&6
8976 else
8977 # One or both of the vars are not set, and there is no cached value.
8978 ac_x_includes=no ac_x_libraries=no
8979 rm -f -r conftest.dir
8980 if mkdir conftest.dir; then
8981 cd conftest.dir
8982 cat >Imakefile <<'_ACEOF'
8983 incroot:
8984 @echo incroot='${INCROOT}'
8985 usrlibdir:
8986 @echo usrlibdir='${USRLIBDIR}'
8987 libdir:
8988 @echo libdir='${LIBDIR}'
8989 _ACEOF
8990 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8991 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8992 for ac_var in incroot usrlibdir libdir; do
8993 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8994 done
8995 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8996 for ac_extension in a so sl dylib la dll; do
8997 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8998 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8999 ac_im_usrlibdir=$ac_im_libdir; break
9001 done
9002 # Screen out bogus values from the imake configuration. They are
9003 # bogus both because they are the default anyway, and because
9004 # using them would break gcc on systems where it needs fixed includes.
9005 case $ac_im_incroot in
9006 /usr/include) ac_x_includes= ;;
9007 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9008 esac
9009 case $ac_im_usrlibdir in
9010 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9011 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9012 esac
9014 cd ..
9015 rm -f -r conftest.dir
9018 # Standard set of common directories for X headers.
9019 # Check X11 before X11Rn because it is often a symlink to the current release.
9020 ac_x_header_dirs='
9021 /usr/X11/include
9022 /usr/X11R7/include
9023 /usr/X11R6/include
9024 /usr/X11R5/include
9025 /usr/X11R4/include
9027 /usr/include/X11
9028 /usr/include/X11R7
9029 /usr/include/X11R6
9030 /usr/include/X11R5
9031 /usr/include/X11R4
9033 /usr/local/X11/include
9034 /usr/local/X11R7/include
9035 /usr/local/X11R6/include
9036 /usr/local/X11R5/include
9037 /usr/local/X11R4/include
9039 /usr/local/include/X11
9040 /usr/local/include/X11R7
9041 /usr/local/include/X11R6
9042 /usr/local/include/X11R5
9043 /usr/local/include/X11R4
9045 /usr/X386/include
9046 /usr/x386/include
9047 /usr/XFree86/include/X11
9049 /usr/include
9050 /usr/local/include
9051 /usr/unsupported/include
9052 /usr/athena/include
9053 /usr/local/x11r5/include
9054 /usr/lpp/Xamples/include
9056 /usr/openwin/include
9057 /usr/openwin/share/include'
9059 if test "$ac_x_includes" = no; then
9060 # Guess where to find include files, by looking for Xlib.h.
9061 # First, try using that file with no special directory specified.
9062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9063 /* end confdefs.h. */
9064 #include <X11/Xlib.h>
9065 _ACEOF
9066 if ac_fn_c_try_cpp "$LINENO"; then :
9067 # We can compile using X headers with no special include directory.
9068 ac_x_includes=
9069 else
9070 for ac_dir in $ac_x_header_dirs; do
9071 if test -r "$ac_dir/X11/Xlib.h"; then
9072 ac_x_includes=$ac_dir
9073 break
9075 done
9077 rm -f conftest.err conftest.i conftest.$ac_ext
9078 fi # $ac_x_includes = no
9080 if test "$ac_x_libraries" = no; then
9081 # Check for the libraries.
9082 # See if we find them without any special options.
9083 # Don't add to $LIBS permanently.
9084 ac_save_LIBS=$LIBS
9085 LIBS="-lX11 $LIBS"
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9088 #include <X11/Xlib.h>
9090 main ()
9092 XrmInitialize ()
9094 return 0;
9096 _ACEOF
9097 if ac_fn_c_try_link "$LINENO"; then :
9098 LIBS=$ac_save_LIBS
9099 # We can link X programs with no special library path.
9100 ac_x_libraries=
9101 else
9102 LIBS=$ac_save_LIBS
9103 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9105 # Don't even attempt the hair of trying to link an X program!
9106 for ac_extension in a so sl dylib la dll; do
9107 if test -r "$ac_dir/libX11.$ac_extension"; then
9108 ac_x_libraries=$ac_dir
9109 break 2
9111 done
9112 done
9114 rm -f core conftest.err conftest.$ac_objext \
9115 conftest$ac_exeext conftest.$ac_ext
9116 fi # $ac_x_libraries = no
9118 case $ac_x_includes,$ac_x_libraries in #(
9119 no,* | *,no | *\'*)
9120 # Didn't find X, or a directory has "'" in its name.
9121 ac_cv_have_x="have_x=no";; #(
9123 # Record where we found X for the cache.
9124 ac_cv_have_x="have_x=yes\
9125 ac_x_includes='$ac_x_includes'\
9126 ac_x_libraries='$ac_x_libraries'"
9127 esac
9129 ;; #(
9130 *) have_x=yes;;
9131 esac
9132 eval "$ac_cv_have_x"
9133 fi # $with_x != no
9135 if test "$have_x" != yes; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9137 $as_echo "$have_x" >&6; }
9138 no_x=yes
9139 else
9140 # If each of the values was on the command line, it overrides each guess.
9141 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9142 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9143 # Update the cache value to reflect the command line values.
9144 ac_cv_have_x="have_x=yes\
9145 ac_x_includes='$x_includes'\
9146 ac_x_libraries='$x_libraries'"
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9148 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9151 if test "$no_x" = yes; then
9152 # Not all programs may use this symbol, but it does not hurt to define it.
9154 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9156 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9157 else
9158 if test -n "$x_includes"; then
9159 X_CFLAGS="$X_CFLAGS -I$x_includes"
9162 # It would also be nice to do this for all -L options, not just this one.
9163 if test -n "$x_libraries"; then
9164 X_LIBS="$X_LIBS -L$x_libraries"
9165 # For Solaris; some versions of Sun CC require a space after -R and
9166 # others require no space. Words are not sufficient . . . .
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9168 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9169 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9170 ac_xsave_c_werror_flag=$ac_c_werror_flag
9171 ac_c_werror_flag=yes
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9176 main ()
9180 return 0;
9182 _ACEOF
9183 if ac_fn_c_try_link "$LINENO"; then :
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9185 $as_echo "no" >&6; }
9186 X_LIBS="$X_LIBS -R$x_libraries"
9187 else
9188 LIBS="$ac_xsave_LIBS -R $x_libraries"
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9193 main ()
9197 return 0;
9199 _ACEOF
9200 if ac_fn_c_try_link "$LINENO"; then :
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9202 $as_echo "yes" >&6; }
9203 X_LIBS="$X_LIBS -R $x_libraries"
9204 else
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9206 $as_echo "neither works" >&6; }
9208 rm -f core conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9211 rm -f core conftest.err conftest.$ac_objext \
9212 conftest$ac_exeext conftest.$ac_ext
9213 ac_c_werror_flag=$ac_xsave_c_werror_flag
9214 LIBS=$ac_xsave_LIBS
9217 # Check for system-dependent libraries X programs must link with.
9218 # Do this before checking for the system-independent R6 libraries
9219 # (-lICE), since we may need -lsocket or whatever for X linking.
9221 if test "$ISC" = yes; then
9222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9223 else
9224 # Martyn Johnson says this is needed for Ultrix, if the X
9225 # libraries were built with DECnet support. And Karl Berry says
9226 # the Alpha needs dnet_stub (dnet does not exist).
9227 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9231 /* Override any GCC internal prototype to avoid an error.
9232 Use char because int might match the return type of a GCC
9233 builtin and then its argument prototype would still apply. */
9234 #ifdef __cplusplus
9235 extern "C"
9236 #endif
9237 char XOpenDisplay ();
9239 main ()
9241 return XOpenDisplay ();
9243 return 0;
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9248 else
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9250 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9251 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9252 $as_echo_n "(cached) " >&6
9253 else
9254 ac_check_lib_save_LIBS=$LIBS
9255 LIBS="-ldnet $LIBS"
9256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9257 /* end confdefs.h. */
9259 /* Override any GCC internal prototype to avoid an error.
9260 Use char because int might match the return type of a GCC
9261 builtin and then its argument prototype would still apply. */
9262 #ifdef __cplusplus
9263 extern "C"
9264 #endif
9265 char dnet_ntoa ();
9267 main ()
9269 return dnet_ntoa ();
9271 return 0;
9273 _ACEOF
9274 if ac_fn_c_try_link "$LINENO"; then :
9275 ac_cv_lib_dnet_dnet_ntoa=yes
9276 else
9277 ac_cv_lib_dnet_dnet_ntoa=no
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 LIBS=$ac_check_lib_save_LIBS
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9284 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9285 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9286 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9289 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9291 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9292 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9293 $as_echo_n "(cached) " >&6
9294 else
9295 ac_check_lib_save_LIBS=$LIBS
9296 LIBS="-ldnet_stub $LIBS"
9297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9303 #ifdef __cplusplus
9304 extern "C"
9305 #endif
9306 char dnet_ntoa ();
9308 main ()
9310 return dnet_ntoa ();
9312 return 0;
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9317 else
9318 ac_cv_lib_dnet_stub_dnet_ntoa=no
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 LIBS=$ac_check_lib_save_LIBS
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9325 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9326 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9327 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 LIBS="$ac_xsave_LIBS"
9336 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9337 # to get the SysV transport functions.
9338 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9339 # needs -lnsl.
9340 # The nsl library prevents programs from opening the X display
9341 # on Irix 5.2, according to T.E. Dickey.
9342 # The functions gethostbyname, getservbyname, and inet_addr are
9343 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9344 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9345 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9349 if test $ac_cv_func_gethostbyname = no; then
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9351 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9352 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9353 $as_echo_n "(cached) " >&6
9354 else
9355 ac_check_lib_save_LIBS=$LIBS
9356 LIBS="-lnsl $LIBS"
9357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9358 /* end confdefs.h. */
9360 /* Override any GCC internal prototype to avoid an error.
9361 Use char because int might match the return type of a GCC
9362 builtin and then its argument prototype would still apply. */
9363 #ifdef __cplusplus
9364 extern "C"
9365 #endif
9366 char gethostbyname ();
9368 main ()
9370 return gethostbyname ();
9372 return 0;
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_lib_nsl_gethostbyname=yes
9377 else
9378 ac_cv_lib_nsl_gethostbyname=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 LIBS=$ac_check_lib_save_LIBS
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9385 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9386 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9387 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9390 if test $ac_cv_lib_nsl_gethostbyname = no; then
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9392 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9393 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9394 $as_echo_n "(cached) " >&6
9395 else
9396 ac_check_lib_save_LIBS=$LIBS
9397 LIBS="-lbsd $LIBS"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9401 /* Override any GCC internal prototype to avoid an error.
9402 Use char because int might match the return type of a GCC
9403 builtin and then its argument prototype would still apply. */
9404 #ifdef __cplusplus
9405 extern "C"
9406 #endif
9407 char gethostbyname ();
9409 main ()
9411 return gethostbyname ();
9413 return 0;
9415 _ACEOF
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 ac_cv_lib_bsd_gethostbyname=yes
9418 else
9419 ac_cv_lib_bsd_gethostbyname=no
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 LIBS=$ac_check_lib_save_LIBS
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9426 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9427 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9428 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9434 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9435 # socket/setsockopt and other routines are undefined under SCO ODT
9436 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9437 # on later versions), says Simon Leinen: it contains gethostby*
9438 # variants that don't use the name server (or something). -lsocket
9439 # must be given before -lnsl if both are needed. We assume that
9440 # if connect needs -lnsl, so does gethostbyname.
9441 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9442 if test "x$ac_cv_func_connect" = xyes; then :
9446 if test $ac_cv_func_connect = no; then
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9448 $as_echo_n "checking for connect in -lsocket... " >&6; }
9449 if ${ac_cv_lib_socket_connect+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_check_lib_save_LIBS=$LIBS
9453 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9457 /* Override any GCC internal prototype to avoid an error.
9458 Use char because int might match the return type of a GCC
9459 builtin and then its argument prototype would still apply. */
9460 #ifdef __cplusplus
9461 extern "C"
9462 #endif
9463 char connect ();
9465 main ()
9467 return connect ();
9469 return 0;
9471 _ACEOF
9472 if ac_fn_c_try_link "$LINENO"; then :
9473 ac_cv_lib_socket_connect=yes
9474 else
9475 ac_cv_lib_socket_connect=no
9477 rm -f core conftest.err conftest.$ac_objext \
9478 conftest$ac_exeext conftest.$ac_ext
9479 LIBS=$ac_check_lib_save_LIBS
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9482 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9483 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9484 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9489 # Guillermo Gomez says -lposix is necessary on A/UX.
9490 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9491 if test "x$ac_cv_func_remove" = xyes; then :
9495 if test $ac_cv_func_remove = no; then
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9497 $as_echo_n "checking for remove in -lposix... " >&6; }
9498 if ${ac_cv_lib_posix_remove+:} false; then :
9499 $as_echo_n "(cached) " >&6
9500 else
9501 ac_check_lib_save_LIBS=$LIBS
9502 LIBS="-lposix $LIBS"
9503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9504 /* end confdefs.h. */
9506 /* Override any GCC internal prototype to avoid an error.
9507 Use char because int might match the return type of a GCC
9508 builtin and then its argument prototype would still apply. */
9509 #ifdef __cplusplus
9510 extern "C"
9511 #endif
9512 char remove ();
9514 main ()
9516 return remove ();
9518 return 0;
9520 _ACEOF
9521 if ac_fn_c_try_link "$LINENO"; then :
9522 ac_cv_lib_posix_remove=yes
9523 else
9524 ac_cv_lib_posix_remove=no
9526 rm -f core conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9528 LIBS=$ac_check_lib_save_LIBS
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9531 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9532 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9533 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9538 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9539 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9540 if test "x$ac_cv_func_shmat" = xyes; then :
9544 if test $ac_cv_func_shmat = no; then
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9546 $as_echo_n "checking for shmat in -lipc... " >&6; }
9547 if ${ac_cv_lib_ipc_shmat+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 ac_check_lib_save_LIBS=$LIBS
9551 LIBS="-lipc $LIBS"
9552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9555 /* Override any GCC internal prototype to avoid an error.
9556 Use char because int might match the return type of a GCC
9557 builtin and then its argument prototype would still apply. */
9558 #ifdef __cplusplus
9559 extern "C"
9560 #endif
9561 char shmat ();
9563 main ()
9565 return shmat ();
9567 return 0;
9569 _ACEOF
9570 if ac_fn_c_try_link "$LINENO"; then :
9571 ac_cv_lib_ipc_shmat=yes
9572 else
9573 ac_cv_lib_ipc_shmat=no
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 LIBS=$ac_check_lib_save_LIBS
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9580 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9581 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9582 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9588 # Check for libraries that X11R6 Xt/Xaw programs need.
9589 ac_save_LDFLAGS=$LDFLAGS
9590 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9591 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9592 # check for ICE first), but we must link in the order -lSM -lICE or
9593 # we get undefined symbols. So assume we have SM if we have ICE.
9594 # These have to be linked with before -lX11, unlike the other
9595 # libraries we check for below, so use a different variable.
9596 # John Interrante, Karl Berry
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9598 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9599 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9600 $as_echo_n "(cached) " >&6
9601 else
9602 ac_check_lib_save_LIBS=$LIBS
9603 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9605 /* end confdefs.h. */
9607 /* Override any GCC internal prototype to avoid an error.
9608 Use char because int might match the return type of a GCC
9609 builtin and then its argument prototype would still apply. */
9610 #ifdef __cplusplus
9611 extern "C"
9612 #endif
9613 char IceConnectionNumber ();
9615 main ()
9617 return IceConnectionNumber ();
9619 return 0;
9621 _ACEOF
9622 if ac_fn_c_try_link "$LINENO"; then :
9623 ac_cv_lib_ICE_IceConnectionNumber=yes
9624 else
9625 ac_cv_lib_ICE_IceConnectionNumber=no
9627 rm -f core conftest.err conftest.$ac_objext \
9628 conftest$ac_exeext conftest.$ac_ext
9629 LIBS=$ac_check_lib_save_LIBS
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9632 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9633 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9634 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9637 LDFLAGS=$ac_save_LDFLAGS
9642 if test "$have_x" = "yes"
9643 then
9644 ac_save_CPPFLAGS="$CPPFLAGS"
9645 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9648 $as_echo_n "checking for -lX11... " >&6; }
9649 if ${ac_cv_lib_soname_X11+:} false; then :
9650 $as_echo_n "(cached) " >&6
9651 else
9652 ac_check_soname_save_LIBS=$LIBS
9653 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9660 #ifdef __cplusplus
9661 extern "C"
9662 #endif
9663 char XCreateWindow ();
9665 main ()
9667 return XCreateWindow ();
9669 return 0;
9671 _ACEOF
9672 if ac_fn_c_try_link "$LINENO"; then :
9673 case "$LIBEXT" in
9674 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9675 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'` ;;
9676 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9677 if ${ac_cv_lib_soname_X11:+false} :; then :
9678 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9679 fi ;;
9680 esac
9682 rm -f core conftest.err conftest.$ac_objext \
9683 conftest$ac_exeext conftest.$ac_ext
9684 LIBS=$ac_check_soname_save_LIBS
9686 if ${ac_cv_lib_soname_X11:+false} :; then :
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9688 $as_echo "not found" >&6; }
9690 else
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9692 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9694 cat >>confdefs.h <<_ACEOF
9695 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9696 _ACEOF
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9701 $as_echo_n "checking for -lXext... " >&6; }
9702 if ${ac_cv_lib_soname_Xext+:} false; then :
9703 $as_echo_n "(cached) " >&6
9704 else
9705 ac_check_soname_save_LIBS=$LIBS
9706 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9713 #ifdef __cplusplus
9714 extern "C"
9715 #endif
9716 char XextCreateExtension ();
9718 main ()
9720 return XextCreateExtension ();
9722 return 0;
9724 _ACEOF
9725 if ac_fn_c_try_link "$LINENO"; then :
9726 case "$LIBEXT" in
9727 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9728 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'` ;;
9729 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9730 if ${ac_cv_lib_soname_Xext:+false} :; then :
9731 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9732 fi ;;
9733 esac
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_soname_save_LIBS
9739 if ${ac_cv_lib_soname_Xext:+false} :; then :
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9741 $as_echo "not found" >&6; }
9743 else
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9745 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9747 cat >>confdefs.h <<_ACEOF
9748 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9749 _ACEOF
9751 X_LIBS="$X_LIBS -lXext"
9753 X_LIBS="$X_LIBS -lX11"
9755 for ac_header in X11/Xlib.h \
9756 X11/XKBlib.h \
9757 X11/Xutil.h \
9758 X11/Xcursor/Xcursor.h \
9759 X11/extensions/shape.h \
9760 X11/extensions/XInput.h \
9761 X11/extensions/XInput2.h \
9762 X11/extensions/XShm.h \
9763 X11/extensions/Xcomposite.h \
9764 X11/extensions/Xinerama.h \
9765 X11/extensions/Xrandr.h \
9766 X11/extensions/Xrender.h \
9767 X11/extensions/xf86vmode.h \
9768 X11/extensions/xf86vmproto.h
9769 do :
9770 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9771 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9772 # include <X11/Xlib.h>
9773 #endif
9774 #ifdef HAVE_X11_XUTIL_H
9775 # include <X11/Xutil.h>
9776 #endif
9778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9779 cat >>confdefs.h <<_ACEOF
9780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9781 _ACEOF
9785 done
9788 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9789 then
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9791 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9792 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9793 $as_echo_n "(cached) " >&6
9794 else
9795 ac_check_lib_save_LIBS=$LIBS
9796 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9800 /* Override any GCC internal prototype to avoid an error.
9801 Use char because int might match the return type of a GCC
9802 builtin and then its argument prototype would still apply. */
9803 #ifdef __cplusplus
9804 extern "C"
9805 #endif
9806 char XkbQueryExtension ();
9808 main ()
9810 return XkbQueryExtension ();
9812 return 0;
9814 _ACEOF
9815 if ac_fn_c_try_link "$LINENO"; then :
9816 ac_cv_lib_X11_XkbQueryExtension=yes
9817 else
9818 ac_cv_lib_X11_XkbQueryExtension=no
9820 rm -f core conftest.err conftest.$ac_objext \
9821 conftest$ac_exeext conftest.$ac_ext
9822 LIBS=$ac_check_lib_save_LIBS
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9825 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9826 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9828 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9834 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9835 then
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9837 $as_echo_n "checking for -lXcursor... " >&6; }
9838 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 ac_check_soname_save_LIBS=$LIBS
9842 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9846 /* Override any GCC internal prototype to avoid an error.
9847 Use char because int might match the return type of a GCC
9848 builtin and then its argument prototype would still apply. */
9849 #ifdef __cplusplus
9850 extern "C"
9851 #endif
9852 char XcursorImageLoadCursor ();
9854 main ()
9856 return XcursorImageLoadCursor ();
9858 return 0;
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 case "$LIBEXT" in
9863 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9864 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'` ;;
9865 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9866 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9867 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9868 fi ;;
9869 esac
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 LIBS=$ac_check_soname_save_LIBS
9875 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9877 $as_echo "not found" >&6; }
9879 else
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9881 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9883 cat >>confdefs.h <<_ACEOF
9884 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9885 _ACEOF
9890 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9891 case "x$with_xcursor" in
9892 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9893 xno) ;;
9894 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9895 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9896 esac
9900 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9901 then
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9903 $as_echo_n "checking for -lXi... " >&6; }
9904 if ${ac_cv_lib_soname_Xi+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_check_soname_save_LIBS=$LIBS
9908 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9915 #ifdef __cplusplus
9916 extern "C"
9917 #endif
9918 char XOpenDevice ();
9920 main ()
9922 return XOpenDevice ();
9924 return 0;
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 case "$LIBEXT" in
9929 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9930 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'` ;;
9931 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9932 if ${ac_cv_lib_soname_Xi:+false} :; then :
9933 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9934 fi ;;
9935 esac
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 LIBS=$ac_check_soname_save_LIBS
9941 if ${ac_cv_lib_soname_Xi:+false} :; then :
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9943 $as_echo "not found" >&6; }
9945 else
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9947 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9949 cat >>confdefs.h <<_ACEOF
9950 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9951 _ACEOF
9956 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9957 case "x$with_xinput" in
9958 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9959 xno) ;;
9960 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9961 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9962 esac
9966 if test "x$ac_cv_lib_soname_Xi" != x
9967 then
9968 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9969 case "x$with_xinput2" in
9970 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9971 xno) ;;
9972 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9973 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9974 esac
9979 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9980 then
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9982 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9983 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9984 $as_echo_n "(cached) " >&6
9985 else
9986 ac_check_lib_save_LIBS=$LIBS
9987 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9991 /* Override any GCC internal prototype to avoid an error.
9992 Use char because int might match the return type of a GCC
9993 builtin and then its argument prototype would still apply. */
9994 #ifdef __cplusplus
9995 extern "C"
9996 #endif
9997 char XShmQueryExtension ();
9999 main ()
10001 return XShmQueryExtension ();
10003 return 0;
10005 _ACEOF
10006 if ac_fn_c_try_link "$LINENO"; then :
10007 ac_cv_lib_Xext_XShmQueryExtension=yes
10008 else
10009 ac_cv_lib_Xext_XShmQueryExtension=no
10011 rm -f core conftest.err conftest.$ac_objext \
10012 conftest$ac_exeext conftest.$ac_ext
10013 LIBS=$ac_check_lib_save_LIBS
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10016 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10017 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10019 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10024 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10025 case "x$with_xshm" in
10026 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10027 xno) ;;
10028 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10029 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10030 esac
10034 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10035 then
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10037 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10038 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10039 $as_echo_n "(cached) " >&6
10040 else
10041 ac_check_lib_save_LIBS=$LIBS
10042 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10046 /* Override any GCC internal prototype to avoid an error.
10047 Use char because int might match the return type of a GCC
10048 builtin and then its argument prototype would still apply. */
10049 #ifdef __cplusplus
10050 extern "C"
10051 #endif
10052 char XShapeQueryExtension ();
10054 main ()
10056 return XShapeQueryExtension ();
10058 return 0;
10060 _ACEOF
10061 if ac_fn_c_try_link "$LINENO"; then :
10062 ac_cv_lib_Xext_XShapeQueryExtension=yes
10063 else
10064 ac_cv_lib_Xext_XShapeQueryExtension=no
10066 rm -f core conftest.err conftest.$ac_objext \
10067 conftest$ac_exeext conftest.$ac_ext
10068 LIBS=$ac_check_lib_save_LIBS
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10071 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10072 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10074 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10079 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10080 case "x$with_xshape" in
10081 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10082 xno) ;;
10083 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10084 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10085 esac
10089 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10090 then
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10092 $as_echo_n "checking for -lXxf86vm... " >&6; }
10093 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10094 $as_echo_n "(cached) " >&6
10095 else
10096 ac_check_soname_save_LIBS=$LIBS
10097 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10101 /* Override any GCC internal prototype to avoid an error.
10102 Use char because int might match the return type of a GCC
10103 builtin and then its argument prototype would still apply. */
10104 #ifdef __cplusplus
10105 extern "C"
10106 #endif
10107 char XF86VidModeQueryExtension ();
10109 main ()
10111 return XF86VidModeQueryExtension ();
10113 return 0;
10115 _ACEOF
10116 if ac_fn_c_try_link "$LINENO"; then :
10117 case "$LIBEXT" in
10118 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10119 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'` ;;
10120 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10121 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10122 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10123 fi ;;
10124 esac
10126 rm -f core conftest.err conftest.$ac_objext \
10127 conftest$ac_exeext conftest.$ac_ext
10128 LIBS=$ac_check_soname_save_LIBS
10130 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10132 $as_echo "not found" >&6; }
10134 else
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10136 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10138 cat >>confdefs.h <<_ACEOF
10139 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10140 _ACEOF
10145 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10146 case "x$with_xxf86vm" in
10147 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10148 xno) ;;
10149 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10150 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10151 esac
10155 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10156 then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10158 $as_echo_n "checking for -lXrender... " >&6; }
10159 if ${ac_cv_lib_soname_Xrender+:} false; then :
10160 $as_echo_n "(cached) " >&6
10161 else
10162 ac_check_soname_save_LIBS=$LIBS
10163 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10167 /* Override any GCC internal prototype to avoid an error.
10168 Use char because int might match the return type of a GCC
10169 builtin and then its argument prototype would still apply. */
10170 #ifdef __cplusplus
10171 extern "C"
10172 #endif
10173 char XRenderQueryExtension ();
10175 main ()
10177 return XRenderQueryExtension ();
10179 return 0;
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10183 case "$LIBEXT" in
10184 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10185 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'` ;;
10186 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10187 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10188 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10189 fi ;;
10190 esac
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 LIBS=$ac_check_soname_save_LIBS
10196 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10198 $as_echo "not found" >&6; }
10200 else
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10202 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10204 cat >>confdefs.h <<_ACEOF
10205 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10206 _ACEOF
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10209 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10210 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10211 $as_echo_n "(cached) " >&6
10212 else
10213 ac_check_lib_save_LIBS=$LIBS
10214 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10218 /* Override any GCC internal prototype to avoid an error.
10219 Use char because int might match the return type of a GCC
10220 builtin and then its argument prototype would still apply. */
10221 #ifdef __cplusplus
10222 extern "C"
10223 #endif
10224 char XRenderSetPictureTransform ();
10226 main ()
10228 return XRenderSetPictureTransform ();
10230 return 0;
10232 _ACEOF
10233 if ac_fn_c_try_link "$LINENO"; then :
10234 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10235 else
10236 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10238 rm -f core conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 LIBS=$ac_check_lib_save_LIBS
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10243 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10244 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10246 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10251 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10252 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_check_lib_save_LIBS=$LIBS
10256 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char XRenderCreateLinearGradient ();
10268 main ()
10270 return XRenderCreateLinearGradient ();
10272 return 0;
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10277 else
10278 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10280 rm -f core conftest.err conftest.$ac_objext \
10281 conftest$ac_exeext conftest.$ac_ext
10282 LIBS=$ac_check_lib_save_LIBS
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10285 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10286 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10288 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10295 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10296 case "x$with_xrender" in
10297 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10298 xno) ;;
10299 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10300 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10301 esac
10305 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10306 then
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10309 #include <X11/Xlib.h>
10310 #include <X11/extensions/Xrandr.h>
10312 main ()
10314 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10316 return 0;
10318 _ACEOF
10319 if ac_fn_c_try_compile "$LINENO"; then :
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10321 $as_echo_n "checking for -lXrandr... " >&6; }
10322 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10323 $as_echo_n "(cached) " >&6
10324 else
10325 ac_check_soname_save_LIBS=$LIBS
10326 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10333 #ifdef __cplusplus
10334 extern "C"
10335 #endif
10336 char XRRQueryExtension ();
10338 main ()
10340 return XRRQueryExtension ();
10342 return 0;
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 case "$LIBEXT" in
10347 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10348 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'` ;;
10349 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10350 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10351 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10352 fi ;;
10353 esac
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 LIBS=$ac_check_soname_save_LIBS
10359 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10361 $as_echo "not found" >&6; }
10363 else
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10365 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10367 cat >>confdefs.h <<_ACEOF
10368 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10369 _ACEOF
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10373 #include <X11/Xlib.h>
10374 #include <X11/extensions/Xrandr.h>
10376 main ()
10378 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10380 return 0;
10382 _ACEOF
10383 if ac_fn_c_try_compile "$LINENO"; then :
10385 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10393 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10394 case "x$with_xrandr" in
10395 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10396 xno) ;;
10397 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10398 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10399 esac
10403 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10404 then
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10407 #include <X11/Xlib.h>
10408 #include <X11/extensions/Xinerama.h>
10410 main ()
10412 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10414 return 0;
10416 _ACEOF
10417 if ac_fn_c_try_compile "$LINENO"; then :
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10419 $as_echo_n "checking for -lXinerama... " >&6; }
10420 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10421 $as_echo_n "(cached) " >&6
10422 else
10423 ac_check_soname_save_LIBS=$LIBS
10424 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10428 /* Override any GCC internal prototype to avoid an error.
10429 Use char because int might match the return type of a GCC
10430 builtin and then its argument prototype would still apply. */
10431 #ifdef __cplusplus
10432 extern "C"
10433 #endif
10434 char XineramaQueryScreens ();
10436 main ()
10438 return XineramaQueryScreens ();
10440 return 0;
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444 case "$LIBEXT" in
10445 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10446 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'` ;;
10447 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10448 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10449 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10450 fi ;;
10451 esac
10453 rm -f core conftest.err conftest.$ac_objext \
10454 conftest$ac_exeext conftest.$ac_ext
10455 LIBS=$ac_check_soname_save_LIBS
10457 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10459 $as_echo "not found" >&6; }
10461 else
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10463 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10465 cat >>confdefs.h <<_ACEOF
10466 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10467 _ACEOF
10472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10474 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10475 case "x$with_xinerama" in
10476 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10477 xno) ;;
10478 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10479 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10480 esac
10484 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10485 then
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10487 $as_echo_n "checking for -lXcomposite... " >&6; }
10488 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 ac_check_soname_save_LIBS=$LIBS
10492 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10496 /* Override any GCC internal prototype to avoid an error.
10497 Use char because int might match the return type of a GCC
10498 builtin and then its argument prototype would still apply. */
10499 #ifdef __cplusplus
10500 extern "C"
10501 #endif
10502 char XCompositeRedirectWindow ();
10504 main ()
10506 return XCompositeRedirectWindow ();
10508 return 0;
10510 _ACEOF
10511 if ac_fn_c_try_link "$LINENO"; then :
10512 case "$LIBEXT" in
10513 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10514 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'` ;;
10515 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10516 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10517 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10518 fi ;;
10519 esac
10521 rm -f core conftest.err conftest.$ac_objext \
10522 conftest$ac_exeext conftest.$ac_ext
10523 LIBS=$ac_check_soname_save_LIBS
10525 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10527 $as_echo "not found" >&6; }
10529 else
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10531 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10533 cat >>confdefs.h <<_ACEOF
10534 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10535 _ACEOF
10540 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10541 case "x$with_xcomposite" in
10542 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10543 xno) ;;
10544 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10545 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10546 esac
10550 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10551 #include <X11/Xlib.h>
10552 #endif
10554 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10556 cat >>confdefs.h <<_ACEOF
10557 #define HAVE_XICCALLBACK_CALLBACK 1
10558 _ACEOF
10562 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10563 #include <X11/Xlib.h>
10564 #endif
10566 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10568 cat >>confdefs.h <<_ACEOF
10569 #define HAVE_XEVENT_XCOOKIE 1
10570 _ACEOF
10577 opengl_msg=""
10578 if test "x$with_opengl" != "xno"
10579 then
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10581 $as_echo_n "checking for -lGL... " >&6; }
10582 if ${ac_cv_lib_soname_GL+:} false; then :
10583 $as_echo_n "(cached) " >&6
10584 else
10585 ac_check_soname_save_LIBS=$LIBS
10586 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h. */
10590 /* Override any GCC internal prototype to avoid an error.
10591 Use char because int might match the return type of a GCC
10592 builtin and then its argument prototype would still apply. */
10593 #ifdef __cplusplus
10594 extern "C"
10595 #endif
10596 char glXCreateContext ();
10598 main ()
10600 return glXCreateContext ();
10602 return 0;
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"; then :
10606 case "$LIBEXT" in
10607 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10608 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'` ;;
10609 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10610 if ${ac_cv_lib_soname_GL:+false} :; then :
10611 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10612 fi ;;
10613 esac
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 LIBS=$ac_check_soname_save_LIBS
10619 if ${ac_cv_lib_soname_GL:+false} :; then :
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10621 $as_echo "not found" >&6; }
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10623 $as_echo_n "checking for -lGL... " >&6; }
10624 if ${ac_cv_lib_soname_GL+:} false; then :
10625 $as_echo_n "(cached) " >&6
10626 else
10627 ac_check_soname_save_LIBS=$LIBS
10628 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"
10629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10632 /* Override any GCC internal prototype to avoid an error.
10633 Use char because int might match the return type of a GCC
10634 builtin and then its argument prototype would still apply. */
10635 #ifdef __cplusplus
10636 extern "C"
10637 #endif
10638 char glXCreateContext ();
10640 main ()
10642 return glXCreateContext ();
10644 return 0;
10646 _ACEOF
10647 if ac_fn_c_try_link "$LINENO"; then :
10648 case "$LIBEXT" in
10649 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10650 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'` ;;
10651 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10652 if ${ac_cv_lib_soname_GL:+false} :; then :
10653 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10654 fi ;;
10655 esac
10657 rm -f core conftest.err conftest.$ac_objext \
10658 conftest$ac_exeext conftest.$ac_ext
10659 LIBS=$ac_check_soname_save_LIBS
10661 if ${ac_cv_lib_soname_GL:+false} :; then :
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10663 $as_echo "not found" >&6; }
10664 if test -f /usr/X11R6/lib/libGL.a
10665 then
10666 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10667 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10668 else
10669 opengl_msg="No OpenGL library found on this system."
10671 else
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10673 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10675 cat >>confdefs.h <<_ACEOF
10676 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10677 _ACEOF
10679 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"
10681 else
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10683 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10685 cat >>confdefs.h <<_ACEOF
10686 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10687 _ACEOF
10689 OPENGL_LIBS="-lGL"
10691 if test "x$with_glu" != "xno"
10692 then
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10694 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10695 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10696 $as_echo_n "(cached) " >&6
10697 else
10698 ac_check_lib_save_LIBS=$LIBS
10699 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10703 /* Override any GCC internal prototype to avoid an error.
10704 Use char because int might match the return type of a GCC
10705 builtin and then its argument prototype would still apply. */
10706 #ifdef __cplusplus
10707 extern "C"
10708 #endif
10709 char gluLookAt ();
10711 main ()
10713 return gluLookAt ();
10715 return 0;
10717 _ACEOF
10718 if ac_fn_c_try_link "$LINENO"; then :
10719 ac_cv_lib_GLU_gluLookAt=yes
10720 else
10721 ac_cv_lib_GLU_gluLookAt=no
10723 rm -f core conftest.err conftest.$ac_objext \
10724 conftest$ac_exeext conftest.$ac_ext
10725 LIBS=$ac_check_lib_save_LIBS
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10728 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10729 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10733 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10734 case "x$with_glu" in
10735 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10736 xno) ;;
10737 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10738 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10739 esac
10744 if test "x$with_osmesa" != "xno"
10745 then
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10747 $as_echo_n "checking for -lOSMesa... " >&6; }
10748 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10749 $as_echo_n "(cached) " >&6
10750 else
10751 ac_check_soname_save_LIBS=$LIBS
10752 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10759 #ifdef __cplusplus
10760 extern "C"
10761 #endif
10762 char glAccum ();
10764 main ()
10766 return glAccum ();
10768 return 0;
10770 _ACEOF
10771 if ac_fn_c_try_link "$LINENO"; then :
10772 case "$LIBEXT" in
10773 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10774 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'` ;;
10775 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10776 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10777 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10778 fi ;;
10779 esac
10781 rm -f core conftest.err conftest.$ac_objext \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LIBS=$ac_check_soname_save_LIBS
10785 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10787 $as_echo "not found" >&6; }
10789 else
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10791 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10793 cat >>confdefs.h <<_ACEOF
10794 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10795 _ACEOF
10799 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10800 case "x$with_osmesa" in
10801 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10802 xno) ;;
10803 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10804 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10805 esac
10810 if test -n "$opengl_msg"; then :
10811 case "x$with_opengl" in
10812 x) as_fn_append wine_warnings "|$opengl_msg
10813 OpenGL and Direct3D won't be supported." ;;
10814 xno) ;;
10815 *) as_fn_error $? "$opengl_msg
10816 OpenGL and Direct3D won't be supported.
10817 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10818 esac
10822 CPPFLAGS="$ac_save_CPPFLAGS"
10823 else
10824 X_CFLAGS=""
10825 X_LIBS=""
10827 if test "x$X_LIBS" = "x"; then :
10828 case "x$with_x" in
10829 xno) ;;
10830 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10831 without X support, which probably isn't what you want. You will need
10832 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10833 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10834 esac
10835 enable_winex11_drv=${enable_winex11_drv:-no}
10838 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10840 if test "$ac_cv_header_CL_cl_h" = "yes"
10841 then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10843 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10844 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10845 $as_echo_n "(cached) " >&6
10846 else
10847 ac_check_lib_save_LIBS=$LIBS
10848 LIBS="-lOpenCL $LIBS"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10852 /* Override any GCC internal prototype to avoid an error.
10853 Use char because int might match the return type of a GCC
10854 builtin and then its argument prototype would still apply. */
10855 #ifdef __cplusplus
10856 extern "C"
10857 #endif
10858 char clGetPlatformInfo ();
10860 main ()
10862 return clGetPlatformInfo ();
10864 return 0;
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"; then :
10868 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10869 else
10870 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10872 rm -f core conftest.err conftest.$ac_objext \
10873 conftest$ac_exeext conftest.$ac_ext
10874 LIBS=$ac_check_lib_save_LIBS
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10877 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10878 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10879 OPENCL_LIBS="-lOpenCL"
10884 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10885 case "x$with_opencl" in
10886 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10887 xno) ;;
10888 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10889 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10890 esac
10891 enable_opencl=${enable_opencl:-no}
10894 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10895 then
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10897 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10898 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10899 $as_echo_n "(cached) " >&6
10900 else
10901 ac_check_lib_save_LIBS=$LIBS
10902 LIBS="-lpcap $LIBS"
10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10906 /* Override any GCC internal prototype to avoid an error.
10907 Use char because int might match the return type of a GCC
10908 builtin and then its argument prototype would still apply. */
10909 #ifdef __cplusplus
10910 extern "C"
10911 #endif
10912 char pcap_create ();
10914 main ()
10916 return pcap_create ();
10918 return 0;
10920 _ACEOF
10921 if ac_fn_c_try_link "$LINENO"; then :
10922 ac_cv_lib_pcap_pcap_create=yes
10923 else
10924 ac_cv_lib_pcap_pcap_create=no
10926 rm -f core conftest.err conftest.$ac_objext \
10927 conftest$ac_exeext conftest.$ac_ext
10928 LIBS=$ac_check_lib_save_LIBS
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10931 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10932 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10933 PCAP_LIBS="-lpcap"
10938 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10939 case "x$with_pcap" in
10940 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10941 xno) ;;
10942 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10943 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10944 esac
10945 enable_wpcap=${enable_wpcap:-no}
10949 if test "x$with_xml" != "xno"
10950 then
10951 if ${XML2_CFLAGS:+false} :; then :
10952 if ${PKG_CONFIG+:} false; then :
10953 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10956 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10957 if ${XML2_LIBS:+false} :; then :
10958 if ${PKG_CONFIG+:} false; then :
10959 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10962 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10963 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10964 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10965 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10966 ac_save_CPPFLAGS=$CPPFLAGS
10967 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10968 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10969 do :
10970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10971 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10972 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10973 cat >>confdefs.h <<_ACEOF
10974 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10975 _ACEOF
10979 done
10981 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"
10982 then
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10984 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10985 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10986 $as_echo_n "(cached) " >&6
10987 else
10988 ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-lxml2 $XML2_LIBS $LIBS"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 char xmlParseMemory ();
11001 main ()
11003 return xmlParseMemory ();
11005 return 0;
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11009 ac_cv_lib_xml2_xmlParseMemory=yes
11010 else
11011 ac_cv_lib_xml2_xmlParseMemory=no
11013 rm -f core conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_lib_save_LIBS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11018 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11019 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11021 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11023 else
11024 XML2_LIBS=""
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11028 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11029 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11030 $as_echo_n "(cached) " >&6
11031 else
11032 ac_check_lib_save_LIBS=$LIBS
11033 LIBS="-lxml2 $XML2_LIBS $LIBS"
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11037 /* Override any GCC internal prototype to avoid an error.
11038 Use char because int might match the return type of a GCC
11039 builtin and then its argument prototype would still apply. */
11040 #ifdef __cplusplus
11041 extern "C"
11042 #endif
11043 char xmlReadMemory ();
11045 main ()
11047 return xmlReadMemory ();
11049 return 0;
11051 _ACEOF
11052 if ac_fn_c_try_link "$LINENO"; then :
11053 ac_cv_lib_xml2_xmlReadMemory=yes
11054 else
11055 ac_cv_lib_xml2_xmlReadMemory=no
11057 rm -f core conftest.err conftest.$ac_objext \
11058 conftest$ac_exeext conftest.$ac_ext
11059 LIBS=$ac_check_lib_save_LIBS
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11062 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11063 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11065 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11070 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11071 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11072 $as_echo_n "(cached) " >&6
11073 else
11074 ac_check_lib_save_LIBS=$LIBS
11075 LIBS="-lxml2 $XML2_LIBS $LIBS"
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11082 #ifdef __cplusplus
11083 extern "C"
11084 #endif
11085 char xmlNewDocPI ();
11087 main ()
11089 return xmlNewDocPI ();
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 ac_cv_lib_xml2_xmlNewDocPI=yes
11096 else
11097 ac_cv_lib_xml2_xmlNewDocPI=no
11099 rm -f core conftest.err conftest.$ac_objext \
11100 conftest$ac_exeext conftest.$ac_ext
11101 LIBS=$ac_check_lib_save_LIBS
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11104 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11105 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11107 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11112 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11113 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11114 $as_echo_n "(cached) " >&6
11115 else
11116 ac_check_lib_save_LIBS=$LIBS
11117 LIBS="-lxml2 $XML2_LIBS $LIBS"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11121 /* Override any GCC internal prototype to avoid an error.
11122 Use char because int might match the return type of a GCC
11123 builtin and then its argument prototype would still apply. */
11124 #ifdef __cplusplus
11125 extern "C"
11126 #endif
11127 char xmlSchemaSetParserStructuredErrors ();
11129 main ()
11131 return xmlSchemaSetParserStructuredErrors ();
11133 return 0;
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"; then :
11137 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11138 else
11139 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11141 rm -f core conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_check_lib_save_LIBS
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11146 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11147 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11149 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11154 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11155 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11156 $as_echo_n "(cached) " >&6
11157 else
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lxml2 $XML2_LIBS $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char xmlSchemaSetValidStructuredErrors ();
11171 main ()
11173 return xmlSchemaSetValidStructuredErrors ();
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11180 else
11181 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11188 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11189 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11191 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11196 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11197 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11198 $as_echo_n "(cached) " >&6
11199 else
11200 ac_check_lib_save_LIBS=$LIBS
11201 LIBS="-lxml2 $XML2_LIBS $LIBS"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11208 #ifdef __cplusplus
11209 extern "C"
11210 #endif
11211 char xmlFirstElementChild ();
11213 main ()
11215 return xmlFirstElementChild ();
11217 return 0;
11219 _ACEOF
11220 if ac_fn_c_try_link "$LINENO"; then :
11221 ac_cv_lib_xml2_xmlFirstElementChild=yes
11222 else
11223 ac_cv_lib_xml2_xmlFirstElementChild=no
11225 rm -f core conftest.err conftest.$ac_objext \
11226 conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_check_lib_save_LIBS
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11230 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11231 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11233 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11237 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11239 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11241 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11245 else
11246 XML2_CFLAGS=""
11247 XML2_LIBS=""
11249 CPPFLAGS=$ac_save_CPPFLAGS
11250 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11251 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11254 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11255 case "x$with_xml" in
11256 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11257 xno) ;;
11258 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11259 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11260 esac
11264 if test "x$with_xslt" != "xno"
11265 then
11266 if ${XSLT_CFLAGS:+false} :; then :
11267 if ${PKG_CONFIG+:} false; then :
11268 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11271 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11272 if ${XSLT_LIBS:+false} :; then :
11273 if ${PKG_CONFIG+:} false; then :
11274 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11277 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11278 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11279 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11280 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11281 ac_save_CPPFLAGS=$CPPFLAGS
11282 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11283 for ac_header in libxslt/pattern.h libxslt/transform.h
11284 do :
11285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11286 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11287 # include <libxslt/pattern.h>
11288 #endif
11290 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11291 cat >>confdefs.h <<_ACEOF
11292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11293 _ACEOF
11297 done
11299 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11300 then
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11302 $as_echo_n "checking for -lxslt... " >&6; }
11303 if ${ac_cv_lib_soname_xslt+:} false; then :
11304 $as_echo_n "(cached) " >&6
11305 else
11306 ac_check_soname_save_LIBS=$LIBS
11307 LIBS="-lxslt $XSLT_LIBS $LIBS"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char xsltCompilePattern ();
11319 main ()
11321 return xsltCompilePattern ();
11323 return 0;
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327 case "$LIBEXT" in
11328 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11329 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'` ;;
11330 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11331 if ${ac_cv_lib_soname_xslt:+false} :; then :
11332 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11333 fi ;;
11334 esac
11336 rm -f core conftest.err conftest.$ac_objext \
11337 conftest$ac_exeext conftest.$ac_ext
11338 LIBS=$ac_check_soname_save_LIBS
11340 if ${ac_cv_lib_soname_xslt:+false} :; then :
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11342 $as_echo "not found" >&6; }
11344 else
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11346 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11348 cat >>confdefs.h <<_ACEOF
11349 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11350 _ACEOF
11354 else
11355 XSLT_CFLAGS=""
11357 CPPFLAGS=$ac_save_CPPFLAGS
11358 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11359 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11362 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11363 case "x$with_xslt" in
11364 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11365 xno) ;;
11366 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11367 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11368 esac
11372 if test "x$with_dbus" != "xno"
11373 then
11374 if ${DBUS_CFLAGS:+false} :; then :
11375 if ${PKG_CONFIG+:} false; then :
11376 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11380 if ${DBUS_LIBS:+false} :; then :
11381 if ${PKG_CONFIG+:} false; then :
11382 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11387 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11388 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11389 ac_save_CPPFLAGS=$CPPFLAGS
11390 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11391 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11392 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11394 $as_echo_n "checking for -ldbus-1... " >&6; }
11395 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_soname_save_LIBS=$LIBS
11399 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char dbus_connection_close ();
11411 main ()
11413 return dbus_connection_close ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 case "$LIBEXT" in
11420 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11421 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'` ;;
11422 *) 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'`
11423 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11424 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11425 fi ;;
11426 esac
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_soname_save_LIBS
11432 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11434 $as_echo "not found" >&6; }
11435 DBUS_CFLAGS=""
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11438 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11440 cat >>confdefs.h <<_ACEOF
11441 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11442 _ACEOF
11446 else
11447 DBUS_CFLAGS=""
11451 CPPFLAGS=$ac_save_CPPFLAGS
11452 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11453 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11456 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11457 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11458 case "x$with_dbus" in
11459 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11460 xno) ;;
11461 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11462 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11463 esac
11467 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11468 then
11469 if ${HAL_CFLAGS:+false} :; then :
11470 if ${PKG_CONFIG+:} false; then :
11471 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11475 if ${HAL_LIBS:+false} :; then :
11476 if ${PKG_CONFIG+:} false; then :
11477 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11481 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11482 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11483 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11484 ac_save_CPPFLAGS=$CPPFLAGS
11485 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11486 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11487 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11489 $as_echo_n "checking for -lhal... " >&6; }
11490 if ${ac_cv_lib_soname_hal+:} false; then :
11491 $as_echo_n "(cached) " >&6
11492 else
11493 ac_check_soname_save_LIBS=$LIBS
11494 LIBS="-lhal $HAL_LIBS $LIBS"
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11501 #ifdef __cplusplus
11502 extern "C"
11503 #endif
11504 char libhal_ctx_new ();
11506 main ()
11508 return libhal_ctx_new ();
11510 return 0;
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 case "$LIBEXT" in
11515 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11516 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'` ;;
11517 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11518 if ${ac_cv_lib_soname_hal:+false} :; then :
11519 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11520 fi ;;
11521 esac
11523 rm -f core conftest.err conftest.$ac_objext \
11524 conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_soname_save_LIBS
11527 if ${ac_cv_lib_soname_hal:+false} :; then :
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11529 $as_echo "not found" >&6; }
11530 HAL_CFLAGS=""
11531 else
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11533 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11535 cat >>confdefs.h <<_ACEOF
11536 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11537 _ACEOF
11541 else
11542 HAL_CFLAGS=""
11546 CPPFLAGS=$ac_save_CPPFLAGS
11547 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11548 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11550 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11551 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11552 case "x$with_hal" in
11553 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11554 xno) ;;
11555 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11556 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11557 esac
11562 if test "x$with_gnutls" != "xno"
11563 then
11564 if ${GNUTLS_CFLAGS:+false} :; then :
11565 if ${PKG_CONFIG+:} false; then :
11566 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11570 if ${GNUTLS_LIBS:+false} :; then :
11571 if ${PKG_CONFIG+:} false; then :
11572 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11577 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11578 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11579 ac_save_CPPFLAGS=$CPPFLAGS
11580 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11581 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11582 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11585 #include <gnutls/gnutls.h>
11586 #include <gnutls/crypto.h>
11588 main ()
11590 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11592 return 0;
11594 _ACEOF
11595 if ac_fn_c_try_compile "$LINENO"; then :
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11597 $as_echo_n "checking for -lgnutls... " >&6; }
11598 if ${ac_cv_lib_soname_gnutls+:} false; then :
11599 $as_echo_n "(cached) " >&6
11600 else
11601 ac_check_soname_save_LIBS=$LIBS
11602 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char gnutls_global_init ();
11614 main ()
11616 return gnutls_global_init ();
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622 case "$LIBEXT" in
11623 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11624 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'` ;;
11625 *) 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'`
11626 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11627 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'`
11628 fi ;;
11629 esac
11631 rm -f core conftest.err conftest.$ac_objext \
11632 conftest$ac_exeext conftest.$ac_ext
11633 LIBS=$ac_check_soname_save_LIBS
11635 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11637 $as_echo "not found" >&6; }
11638 GNUTLS_CFLAGS=""
11639 else
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11641 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11643 cat >>confdefs.h <<_ACEOF
11644 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11645 _ACEOF
11649 ac_wine_check_funcs_save_LIBS="$LIBS"
11650 LIBS="$LIBS $GNUTLS_LIBS"
11651 for ac_func in gnutls_hash
11652 do :
11653 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11654 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11655 cat >>confdefs.h <<_ACEOF
11656 #define HAVE_GNUTLS_HASH 1
11657 _ACEOF
11659 else
11660 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11662 done
11664 LIBS="$ac_wine_check_funcs_save_LIBS"
11666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11667 else
11668 GNUTLS_CFLAGS=""
11672 CPPFLAGS=$ac_save_CPPFLAGS
11673 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11674 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11677 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11678 case "x$with_gnutls" in
11679 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11680 xno) ;;
11681 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11682 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11683 esac
11687 CURSES_LIBS=""
11688 if test "$ac_cv_header_ncurses_h" = "yes"
11689 then
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11691 $as_echo_n "checking for -lncurses... " >&6; }
11692 if ${ac_cv_lib_soname_ncurses+:} false; then :
11693 $as_echo_n "(cached) " >&6
11694 else
11695 ac_check_soname_save_LIBS=$LIBS
11696 LIBS="-lncurses $LIBS"
11697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11703 #ifdef __cplusplus
11704 extern "C"
11705 #endif
11706 char waddch ();
11708 main ()
11710 return waddch ();
11712 return 0;
11714 _ACEOF
11715 if ac_fn_c_try_link "$LINENO"; then :
11716 case "$LIBEXT" in
11717 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11718 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'` ;;
11719 *) 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'`
11720 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11721 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11722 fi ;;
11723 esac
11725 rm -f core conftest.err conftest.$ac_objext \
11726 conftest$ac_exeext conftest.$ac_ext
11727 LIBS=$ac_check_soname_save_LIBS
11729 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11731 $as_echo "not found" >&6; }
11733 else
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11735 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11737 cat >>confdefs.h <<_ACEOF
11738 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11739 _ACEOF
11741 CURSES_LIBS="-lncurses"
11743 elif test "$ac_cv_header_curses_h" = "yes"
11744 then
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11746 $as_echo_n "checking for -lcurses... " >&6; }
11747 if ${ac_cv_lib_soname_curses+:} false; then :
11748 $as_echo_n "(cached) " >&6
11749 else
11750 ac_check_soname_save_LIBS=$LIBS
11751 LIBS="-lcurses $LIBS"
11752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11753 /* end confdefs.h. */
11755 /* Override any GCC internal prototype to avoid an error.
11756 Use char because int might match the return type of a GCC
11757 builtin and then its argument prototype would still apply. */
11758 #ifdef __cplusplus
11759 extern "C"
11760 #endif
11761 char waddch ();
11763 main ()
11765 return waddch ();
11767 return 0;
11769 _ACEOF
11770 if ac_fn_c_try_link "$LINENO"; then :
11771 case "$LIBEXT" in
11772 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11773 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'` ;;
11774 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11775 if ${ac_cv_lib_soname_curses:+false} :; then :
11776 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11777 fi ;;
11778 esac
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_soname_save_LIBS
11784 if ${ac_cv_lib_soname_curses:+false} :; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11786 $as_echo "not found" >&6; }
11788 else
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11790 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11792 cat >>confdefs.h <<_ACEOF
11793 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11794 _ACEOF
11796 CURSES_LIBS="-lcurses"
11799 ac_save_LIBS="$LIBS"
11800 LIBS="$LIBS $CURSES_LIBS"
11801 for ac_func in mousemask
11802 do :
11803 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11804 if test "x$ac_cv_func_mousemask" = xyes; then :
11805 cat >>confdefs.h <<_ACEOF
11806 #define HAVE_MOUSEMASK 1
11807 _ACEOF
11810 done
11812 LIBS="$ac_save_LIBS"
11813 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11814 case "x$with_curses" in
11815 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11816 xno) ;;
11817 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11818 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11819 esac
11823 if test "x$with_sane" != "xno"
11824 then
11825 if ${SANE_CFLAGS:+false} :; then :
11826 if ${PKG_CONFIG+:} false; then :
11827 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11830 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11831 if ${SANE_LIBS:+false} :; then :
11832 if ${PKG_CONFIG+:} false; then :
11833 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11836 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11838 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11839 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11840 ac_save_CPPFLAGS=$CPPFLAGS
11841 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11842 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11843 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11845 $as_echo_n "checking for -lsane... " >&6; }
11846 if ${ac_cv_lib_soname_sane+:} false; then :
11847 $as_echo_n "(cached) " >&6
11848 else
11849 ac_check_soname_save_LIBS=$LIBS
11850 LIBS="-lsane $SANE_LIBS $LIBS"
11851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11852 /* end confdefs.h. */
11854 /* Override any GCC internal prototype to avoid an error.
11855 Use char because int might match the return type of a GCC
11856 builtin and then its argument prototype would still apply. */
11857 #ifdef __cplusplus
11858 extern "C"
11859 #endif
11860 char sane_init ();
11862 main ()
11864 return sane_init ();
11866 return 0;
11868 _ACEOF
11869 if ac_fn_c_try_link "$LINENO"; then :
11870 case "$LIBEXT" in
11871 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11872 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'` ;;
11873 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11874 if ${ac_cv_lib_soname_sane:+false} :; then :
11875 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11876 fi ;;
11877 esac
11879 rm -f core conftest.err conftest.$ac_objext \
11880 conftest$ac_exeext conftest.$ac_ext
11881 LIBS=$ac_check_soname_save_LIBS
11883 if ${ac_cv_lib_soname_sane:+false} :; then :
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11885 $as_echo "not found" >&6; }
11886 SANE_CFLAGS=""
11887 else
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11889 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11891 cat >>confdefs.h <<_ACEOF
11892 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11893 _ACEOF
11897 else
11898 SANE_CFLAGS=""
11902 CPPFLAGS=$ac_save_CPPFLAGS
11903 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11904 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11907 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11908 case "x$with_sane" in
11909 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11910 xno) ;;
11911 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11912 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11913 esac
11917 if test "x$with_v4l" != "xno"
11918 then
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11920 $as_echo_n "checking for -lv4l1... " >&6; }
11921 if ${ac_cv_lib_soname_v4l1+:} false; then :
11922 $as_echo_n "(cached) " >&6
11923 else
11924 ac_check_soname_save_LIBS=$LIBS
11925 LIBS="-lv4l1 $LIBS"
11926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11932 #ifdef __cplusplus
11933 extern "C"
11934 #endif
11935 char v4l1_open ();
11937 main ()
11939 return v4l1_open ();
11941 return 0;
11943 _ACEOF
11944 if ac_fn_c_try_link "$LINENO"; then :
11945 case "$LIBEXT" in
11946 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11947 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'` ;;
11948 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11949 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11950 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11951 fi ;;
11952 esac
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_soname_save_LIBS
11958 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11960 $as_echo "not found" >&6; }
11962 else
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11964 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11966 cat >>confdefs.h <<_ACEOF
11967 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11968 _ACEOF
11973 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11974 case "x$with_v4l" in
11975 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11976 xno) ;;
11977 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11978 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11979 esac
11983 if test "x$with_gphoto" != "xno"
11984 then
11985 if ${GPHOTO2_CFLAGS:+false} :; then :
11986 if ${PKG_CONFIG+:} false; then :
11987 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11990 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11991 if ${GPHOTO2_LIBS:+false} :; then :
11992 if ${PKG_CONFIG+:} false; then :
11993 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11996 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11997 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11998 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11999 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12000 ac_save_CPPFLAGS=$CPPFLAGS
12001 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12002 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12003 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12005 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12006 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12007 $as_echo_n "(cached) " >&6
12008 else
12009 ac_check_lib_save_LIBS=$LIBS
12010 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12014 /* Override any GCC internal prototype to avoid an error.
12015 Use char because int might match the return type of a GCC
12016 builtin and then its argument prototype would still apply. */
12017 #ifdef __cplusplus
12018 extern "C"
12019 #endif
12020 char gp_camera_new ();
12022 main ()
12024 return gp_camera_new ();
12026 return 0;
12028 _ACEOF
12029 if ac_fn_c_try_link "$LINENO"; then :
12030 ac_cv_lib_gphoto2_gp_camera_new=yes
12031 else
12032 ac_cv_lib_gphoto2_gp_camera_new=no
12034 rm -f core conftest.err conftest.$ac_objext \
12035 conftest$ac_exeext conftest.$ac_ext
12036 LIBS=$ac_check_lib_save_LIBS
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12039 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12040 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12042 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12044 else
12045 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12048 else
12049 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12053 CPPFLAGS=$ac_save_CPPFLAGS
12054 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12055 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12057 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12058 if ${PKG_CONFIG+:} false; then :
12059 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12062 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12063 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12064 if ${PKG_CONFIG+:} false; then :
12065 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12068 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12069 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12070 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12071 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12072 ac_save_CPPFLAGS=$CPPFLAGS
12073 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12074 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12075 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12077 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12078 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12079 $as_echo_n "(cached) " >&6
12080 else
12081 ac_check_lib_save_LIBS=$LIBS
12082 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 #ifdef __cplusplus
12090 extern "C"
12091 #endif
12092 char gp_port_info_list_new ();
12094 main ()
12096 return gp_port_info_list_new ();
12098 return 0;
12100 _ACEOF
12101 if ac_fn_c_try_link "$LINENO"; then :
12102 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12103 else
12104 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12106 rm -f core conftest.err conftest.$ac_objext \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_lib_save_LIBS
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12111 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12112 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12114 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12116 else
12117 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12120 else
12121 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12125 CPPFLAGS=$ac_save_CPPFLAGS
12126 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12127 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12130 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12131 case "x$with_gphoto" in
12132 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12133 xno) ;;
12134 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12135 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12136 esac
12139 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12140 case "x$with_gphoto" in
12141 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12142 xno) ;;
12143 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12144 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12145 esac
12150 if test "$ac_cv_header_resolv_h" = "yes"
12151 then
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12153 $as_echo_n "checking for resolver library... " >&6; }
12154 if ${ac_cv_have_resolv+:} false; then :
12155 $as_echo_n "(cached) " >&6
12156 else
12157 ac_save_LIBS="$LIBS"
12158 for lib in '' -lresolv
12160 LIBS="$lib $ac_save_LIBS"
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12163 #ifdef HAVE_NETINET_IN_H
12164 #include <netinet/in.h>
12165 #endif
12166 #include <resolv.h>
12168 main ()
12170 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12172 return 0;
12174 _ACEOF
12175 if ac_fn_c_try_link "$LINENO"; then :
12176 ac_cv_have_resolv=${lib:-"none required"}
12177 else
12178 ac_cv_have_resolv="not found"
12180 rm -f core conftest.err conftest.$ac_objext \
12181 conftest$ac_exeext conftest.$ac_ext
12182 test "x$ac_cv_have_resolv" = "xnot found" || break
12183 done
12184 LIBS="$ac_save_LIBS"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12187 $as_echo "$ac_cv_have_resolv" >&6; }
12189 case "$ac_cv_have_resolv" in
12190 "not found") ;;
12191 "none required")
12193 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12196 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12198 RESOLV_LIBS=$ac_cv_have_resolv
12200 esac
12203 if test "x$with_cms" != "xno"
12204 then
12205 if ${LCMS2_CFLAGS:+false} :; then :
12206 if ${PKG_CONFIG+:} false; then :
12207 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12211 if ${LCMS2_LIBS:+false} :; then :
12212 if ${PKG_CONFIG+:} false; then :
12213 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12217 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12218 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12219 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12220 ac_save_CPPFLAGS=$CPPFLAGS
12221 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12222 for ac_header in lcms2.h
12223 do :
12224 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12225 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12226 cat >>confdefs.h <<_ACEOF
12227 #define HAVE_LCMS2_H 1
12228 _ACEOF
12232 done
12234 if test "$ac_cv_header_lcms2_h" = "yes"
12235 then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12237 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12238 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12239 $as_echo_n "(cached) " >&6
12240 else
12241 ac_check_lib_save_LIBS=$LIBS
12242 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12249 #ifdef __cplusplus
12250 extern "C"
12251 #endif
12252 char cmsOpenProfileFromFile ();
12254 main ()
12256 return cmsOpenProfileFromFile ();
12258 return 0;
12260 _ACEOF
12261 if ac_fn_c_try_link "$LINENO"; then :
12262 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12263 else
12264 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12266 rm -f core conftest.err conftest.$ac_objext \
12267 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_lib_save_LIBS
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12271 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12272 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12274 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12276 else
12277 LCMS2_LIBS=""
12280 else
12281 LCMS2_CFLAGS=""
12282 LCMS2_LIBS=""
12284 CPPFLAGS=$ac_save_CPPFLAGS
12285 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12286 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12289 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12290 case "x$with_cms" in
12291 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12292 xno) ;;
12293 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12294 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12295 esac
12299 if test "x$with_freetype" != "xno"
12300 then
12301 if ${FREETYPE_CFLAGS:+false} :; then :
12302 if ${PKG_CONFIG+:} false; then :
12303 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12306 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12307 if ${FREETYPE_LIBS:+false} :; then :
12308 if ${PKG_CONFIG+:} false; then :
12309 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12312 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12313 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12314 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12315 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12316 ac_save_CPPFLAGS=$CPPFLAGS
12317 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12318 for ac_header in ft2build.h
12319 do :
12320 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12321 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12322 cat >>confdefs.h <<_ACEOF
12323 #define HAVE_FT2BUILD_H 1
12324 _ACEOF
12328 done
12330 if test "$ac_cv_header_ft2build_h" = "yes"
12331 then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12333 $as_echo_n "checking for -lfreetype... " >&6; }
12334 if ${ac_cv_lib_soname_freetype+:} false; then :
12335 $as_echo_n "(cached) " >&6
12336 else
12337 ac_check_soname_save_LIBS=$LIBS
12338 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12342 /* Override any GCC internal prototype to avoid an error.
12343 Use char because int might match the return type of a GCC
12344 builtin and then its argument prototype would still apply. */
12345 #ifdef __cplusplus
12346 extern "C"
12347 #endif
12348 char FT_Init_FreeType ();
12350 main ()
12352 return FT_Init_FreeType ();
12354 return 0;
12356 _ACEOF
12357 if ac_fn_c_try_link "$LINENO"; then :
12358 case "$LIBEXT" in
12359 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12360 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'` ;;
12361 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12362 if ${ac_cv_lib_soname_freetype:+false} :; then :
12363 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12364 fi ;;
12365 esac
12367 rm -f core conftest.err conftest.$ac_objext \
12368 conftest$ac_exeext conftest.$ac_ext
12369 LIBS=$ac_check_soname_save_LIBS
12371 if ${ac_cv_lib_soname_freetype:+false} :; then :
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12373 $as_echo "not found" >&6; }
12374 FREETYPE_LIBS=""
12375 else
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12377 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12379 cat >>confdefs.h <<_ACEOF
12380 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12381 _ACEOF
12384 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12386 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12387 #include FT_MODULE_H
12389 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12391 cat >>confdefs.h <<_ACEOF
12392 #define HAVE_FT_TRUETYPEENGINETYPE 1
12393 _ACEOF
12399 else
12400 FREETYPE_CFLAGS=""
12401 FREETYPE_LIBS=""
12403 CPPFLAGS=$ac_save_CPPFLAGS
12404 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12405 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12408 if test "x$ac_cv_lib_soname_freetype" = x; then :
12409 case "x$with_freetype" in
12410 xno) ;;
12411 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12412 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12413 esac
12414 enable_fonts=${enable_fonts:-no}
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12418 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12419 if ${ac_cv_c_ppdev+:} false; then :
12420 $as_echo_n "(cached) " >&6
12421 else
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12424 #ifdef HAVE_SYS_IOCTL_H
12425 # include <sys/ioctl.h>
12426 #endif
12427 #include <linux/ppdev.h>
12429 main ()
12431 ioctl (1,PPCLAIM,0)
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_compile "$LINENO"; then :
12437 ac_cv_c_ppdev="yes"
12438 else
12439 ac_cv_c_ppdev="no"
12441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12444 $as_echo "$ac_cv_c_ppdev" >&6; }
12445 if test "$ac_cv_c_ppdev" = "yes"
12446 then
12448 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12452 ac_wine_check_funcs_save_LIBS="$LIBS"
12453 LIBS="$LIBS $PTHREAD_LIBS"
12454 for ac_func in \
12455 pthread_attr_get_np \
12456 pthread_getattr_np \
12457 pthread_getthreadid_np \
12458 pthread_get_stackaddr_np \
12459 pthread_get_stacksize_np
12460 do :
12461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12463 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12464 cat >>confdefs.h <<_ACEOF
12465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12466 _ACEOF
12469 done
12471 LIBS="$ac_wine_check_funcs_save_LIBS"
12473 if test "$ac_cv_header_zlib_h" = "yes"
12474 then
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12476 $as_echo_n "checking for inflate in -lz... " >&6; }
12477 if ${ac_cv_lib_z_inflate+:} false; then :
12478 $as_echo_n "(cached) " >&6
12479 else
12480 ac_check_lib_save_LIBS=$LIBS
12481 LIBS="-lz $LIBS"
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 /* Override any GCC internal prototype to avoid an error.
12486 Use char because int might match the return type of a GCC
12487 builtin and then its argument prototype would still apply. */
12488 #ifdef __cplusplus
12489 extern "C"
12490 #endif
12491 char inflate ();
12493 main ()
12495 return inflate ();
12497 return 0;
12499 _ACEOF
12500 if ac_fn_c_try_link "$LINENO"; then :
12501 ac_cv_lib_z_inflate=yes
12502 else
12503 ac_cv_lib_z_inflate=no
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 LIBS=$ac_check_lib_save_LIBS
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12510 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12511 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12513 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12515 Z_LIBS="-lz"
12520 if test "x$Z_LIBS" = "x"; then :
12521 case "x$with_zlib" in
12522 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12523 xno) ;;
12524 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12525 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12526 esac
12530 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12531 then
12532 if test "$ac_cv_header_gettext_po_h" = "yes"
12533 then
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12535 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12536 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12537 $as_echo_n "(cached) " >&6
12538 else
12539 ac_check_lib_save_LIBS=$LIBS
12540 LIBS="-lgettextpo $LIBS"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12547 #ifdef __cplusplus
12548 extern "C"
12549 #endif
12550 char po_message_msgctxt ();
12552 main ()
12554 return po_message_msgctxt ();
12556 return 0;
12558 _ACEOF
12559 if ac_fn_c_try_link "$LINENO"; then :
12560 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12561 else
12562 ac_cv_lib_gettextpo_po_message_msgctxt=no
12564 rm -f core conftest.err conftest.$ac_objext \
12565 conftest$ac_exeext conftest.$ac_ext
12566 LIBS=$ac_check_lib_save_LIBS
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12569 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12570 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12572 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12574 GETTEXTPO_LIBS="-lgettextpo"
12579 if test "x$GETTEXTPO_LIBS" = "x"; then :
12580 case "x$with_gettextpo" in
12581 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12582 xno) ;;
12583 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12584 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12585 esac
12588 if test "$srcdir" != .; then :
12589 case "x$with_gettextpo" in
12590 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12591 xno) ;;
12592 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12593 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12594 esac
12599 if test "x$with_pulse" != "xno";
12600 then
12601 if ${PULSE_CFLAGS:+false} :; then :
12602 if ${PKG_CONFIG+:} false; then :
12603 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12607 if ${PULSE_LIBS:+false} :; then :
12608 if ${PKG_CONFIG+:} false; then :
12609 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12614 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12615 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12616 ac_save_CPPFLAGS=$CPPFLAGS
12617 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12618 for ac_header in pulse/pulseaudio.h
12619 do :
12620 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12621 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12622 cat >>confdefs.h <<_ACEOF
12623 #define HAVE_PULSE_PULSEAUDIO_H 1
12624 _ACEOF
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12626 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12627 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12628 $as_echo_n "(cached) " >&6
12629 else
12630 ac_check_lib_save_LIBS=$LIBS
12631 LIBS="-lpulse $PULSE_LIBS $LIBS"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12638 #ifdef __cplusplus
12639 extern "C"
12640 #endif
12641 char pa_stream_is_corked ();
12643 main ()
12645 return pa_stream_is_corked ();
12647 return 0;
12649 _ACEOF
12650 if ac_fn_c_try_link "$LINENO"; then :
12651 ac_cv_lib_pulse_pa_stream_is_corked=yes
12652 else
12653 ac_cv_lib_pulse_pa_stream_is_corked=no
12655 rm -f core conftest.err conftest.$ac_objext \
12656 conftest$ac_exeext conftest.$ac_ext
12657 LIBS=$ac_check_lib_save_LIBS
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12660 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12661 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12663 else
12664 PULSE_LIBS=""
12667 else
12668 PULSE_LIBS=""
12671 done
12673 CPPFLAGS=$ac_save_CPPFLAGS
12674 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12675 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12678 if test -z "$PULSE_LIBS"; then :
12679 case "x$with_pulse" in
12680 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12681 xno) ;;
12682 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12683 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12684 esac
12685 enable_winepulse_drv=${enable_winepulse_drv:-no}
12688 if test "x$with_gstreamer" != "xno"
12689 then
12690 if ${GSTREAMER_CFLAGS:+false} :; then :
12691 if ${PKG_CONFIG+:} false; then :
12692 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12696 if ${GSTREAMER_LIBS:+false} :; then :
12697 if ${PKG_CONFIG+:} false; then :
12698 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12703 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12704 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12705 ac_save_CPPFLAGS=$CPPFLAGS
12706 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12707 ac_gst_incl=""
12708 for i in $GSTREAMER_CFLAGS
12710 case "$i" in
12711 -I*) ac_gst_incl="$ac_gst_incl $i";;
12712 esac
12713 done
12714 GSTREAMER_CFLAGS=$ac_gst_incl
12715 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12716 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12717 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12719 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12722 #include <gst/gst.h>
12724 main ()
12726 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12728 return 0;
12730 _ACEOF
12731 if ac_fn_c_try_compile "$LINENO"; then :
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12733 $as_echo "yes" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12735 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12736 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 ac_check_lib_save_LIBS=$LIBS
12740 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 char gst_pad_new ();
12752 main ()
12754 return gst_pad_new ();
12756 return 0;
12758 _ACEOF
12759 if ac_fn_c_try_link "$LINENO"; then :
12760 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12761 else
12762 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12764 rm -f core conftest.err conftest.$ac_objext \
12765 conftest$ac_exeext conftest.$ac_ext
12766 LIBS=$ac_check_lib_save_LIBS
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12769 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12770 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12774 else
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12777 ac_glib2_broken=yes
12778 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12784 CPPFLAGS=$ac_save_CPPFLAGS
12785 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12786 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12789 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 :
12790 case "x$with_gstreamer" in
12791 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12792 xno) ;;
12793 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12794 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12795 esac
12798 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12800 ALSA_LIBS=""
12802 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12803 then
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12805 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12806 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12807 $as_echo_n "(cached) " >&6
12808 else
12809 ac_check_lib_save_LIBS=$LIBS
12810 LIBS="-lasound $LIBS"
12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12817 #ifdef __cplusplus
12818 extern "C"
12819 #endif
12820 char snd_pcm_hw_params_get_access_mask ();
12822 main ()
12824 return snd_pcm_hw_params_get_access_mask ();
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_link "$LINENO"; then :
12830 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12831 else
12832 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12834 rm -f core conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12836 LIBS=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12839 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12840 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12843 #ifdef HAVE_ALSA_ASOUNDLIB_H
12844 #include <alsa/asoundlib.h>
12845 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12846 #include <sys/asoundlib.h>
12847 #endif
12849 main ()
12851 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_compile "$LINENO"; then :
12857 ALSA_LIBS="-lasound"
12859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12863 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12865 if test "x$with_oss" != xno
12866 then
12867 ac_save_CPPFLAGS="$CPPFLAGS"
12868 if test -f /etc/oss.conf
12869 then
12870 . /etc/oss.conf
12872 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12873 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12874 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12875 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12876 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12878 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12880 cat >>confdefs.h <<_ACEOF
12881 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12882 _ACEOF
12884 OSS4_CFLAGS="$ac_oss_incl"
12891 CPPFLAGS="$ac_save_CPPFLAGS"
12893 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12894 case "x$with_oss" in
12895 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12896 xno) ;;
12897 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12898 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12899 esac
12900 enable_wineoss_drv=${enable_wineoss_drv:-no}
12903 if test "x$with_capi" != "xno"
12904 then
12905 if ${CAPI20_CFLAGS:+false} :; then :
12906 if ${PKG_CONFIG+:} false; then :
12907 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12911 if ${CAPI20_LIBS:+false} :; then :
12912 if ${PKG_CONFIG+:} false; then :
12913 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12918 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12919 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12920 ac_save_CPPFLAGS=$CPPFLAGS
12921 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12922 for ac_header in capi20.h linux/capi.h
12923 do :
12924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12925 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12927 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12928 cat >>confdefs.h <<_ACEOF
12929 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12930 _ACEOF
12934 done
12936 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12937 then
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12939 $as_echo_n "checking for -lcapi20... " >&6; }
12940 if ${ac_cv_lib_soname_capi20+:} false; then :
12941 $as_echo_n "(cached) " >&6
12942 else
12943 ac_check_soname_save_LIBS=$LIBS
12944 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12948 /* Override any GCC internal prototype to avoid an error.
12949 Use char because int might match the return type of a GCC
12950 builtin and then its argument prototype would still apply. */
12951 #ifdef __cplusplus
12952 extern "C"
12953 #endif
12954 char capi20_register ();
12956 main ()
12958 return capi20_register ();
12960 return 0;
12962 _ACEOF
12963 if ac_fn_c_try_link "$LINENO"; then :
12964 case "$LIBEXT" in
12965 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12966 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'` ;;
12967 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12968 if ${ac_cv_lib_soname_capi20:+false} :; then :
12969 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12970 fi ;;
12971 esac
12973 rm -f core conftest.err conftest.$ac_objext \
12974 conftest$ac_exeext conftest.$ac_ext
12975 LIBS=$ac_check_soname_save_LIBS
12977 if ${ac_cv_lib_soname_capi20:+false} :; then :
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12979 $as_echo "not found" >&6; }
12981 else
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12983 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12985 cat >>confdefs.h <<_ACEOF
12986 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12987 _ACEOF
12992 CPPFLAGS=$ac_save_CPPFLAGS
12993 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12994 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12997 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12998 case "x$with_capi" in
12999 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13000 xno) ;;
13001 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13002 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13003 esac
13007 CUPS_CFLAGS=""
13009 if test "x$with_cups" != "xno"
13010 then
13011 ac_save_CPPFLAGS="$CPPFLAGS"
13012 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13013 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13014 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13015 for ac_header in cups/cups.h
13016 do :
13017 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13018 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13019 cat >>confdefs.h <<_ACEOF
13020 #define HAVE_CUPS_CUPS_H 1
13021 _ACEOF
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13023 $as_echo_n "checking for -lcups... " >&6; }
13024 if ${ac_cv_lib_soname_cups+:} false; then :
13025 $as_echo_n "(cached) " >&6
13026 else
13027 ac_check_soname_save_LIBS=$LIBS
13028 LIBS="-lcups $ac_cups_libs $LIBS"
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13035 #ifdef __cplusplus
13036 extern "C"
13037 #endif
13038 char cupsGetDefault ();
13040 main ()
13042 return cupsGetDefault ();
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_link "$LINENO"; then :
13048 case "$LIBEXT" in
13049 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13050 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'` ;;
13051 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13052 if ${ac_cv_lib_soname_cups:+false} :; then :
13053 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13054 fi ;;
13055 esac
13057 rm -f core conftest.err conftest.$ac_objext \
13058 conftest$ac_exeext conftest.$ac_ext
13059 LIBS=$ac_check_soname_save_LIBS
13061 if ${ac_cv_lib_soname_cups:+false} :; then :
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13063 $as_echo "not found" >&6; }
13065 else
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13067 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13069 cat >>confdefs.h <<_ACEOF
13070 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13071 _ACEOF
13073 CUPS_CFLAGS="$ac_cups_cflags"
13075 for ac_header in cups/ppd.h
13076 do :
13077 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13078 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13079 cat >>confdefs.h <<_ACEOF
13080 #define HAVE_CUPS_PPD_H 1
13081 _ACEOF
13085 done
13089 done
13091 CPPFLAGS="$ac_save_CPPFLAGS"
13093 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13094 case "x$with_cups" in
13095 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13096 xno) ;;
13097 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13098 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13099 esac
13103 if test "x$with_fontconfig" != "xno"
13104 then
13105 if ${FONTCONFIG_CFLAGS:+false} :; then :
13106 if ${PKG_CONFIG+:} false; then :
13107 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13110 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13111 if ${FONTCONFIG_LIBS:+false} :; then :
13112 if ${PKG_CONFIG+:} false; then :
13113 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13116 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13118 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13119 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13120 ac_save_CPPFLAGS=$CPPFLAGS
13121 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13122 for ac_header in fontconfig/fontconfig.h
13123 do :
13124 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13125 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13126 cat >>confdefs.h <<_ACEOF
13127 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13128 _ACEOF
13132 done
13134 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13135 then
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13137 $as_echo_n "checking for -lfontconfig... " >&6; }
13138 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13139 $as_echo_n "(cached) " >&6
13140 else
13141 ac_check_soname_save_LIBS=$LIBS
13142 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 /* Override any GCC internal prototype to avoid an error.
13147 Use char because int might match the return type of a GCC
13148 builtin and then its argument prototype would still apply. */
13149 #ifdef __cplusplus
13150 extern "C"
13151 #endif
13152 char FcInit ();
13154 main ()
13156 return FcInit ();
13158 return 0;
13160 _ACEOF
13161 if ac_fn_c_try_link "$LINENO"; then :
13162 case "$LIBEXT" in
13163 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13164 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'` ;;
13165 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13166 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13167 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13168 fi ;;
13169 esac
13171 rm -f core conftest.err conftest.$ac_objext \
13172 conftest$ac_exeext conftest.$ac_ext
13173 LIBS=$ac_check_soname_save_LIBS
13175 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13177 $as_echo "not found" >&6; }
13178 FONTCONFIG_CFLAGS=""
13179 else
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13181 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13183 cat >>confdefs.h <<_ACEOF
13184 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13185 _ACEOF
13189 else
13190 FONTCONFIG_CFLAGS=""
13192 CPPFLAGS=$ac_save_CPPFLAGS
13193 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13194 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13197 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13198 case "x$with_fontconfig" in
13199 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13200 xno) ;;
13201 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13202 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13203 esac
13207 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13208 then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13210 $as_echo_n "checking for -lgsm... " >&6; }
13211 if ${ac_cv_lib_soname_gsm+:} false; then :
13212 $as_echo_n "(cached) " >&6
13213 else
13214 ac_check_soname_save_LIBS=$LIBS
13215 LIBS="-lgsm $LIBS"
13216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13217 /* end confdefs.h. */
13219 /* Override any GCC internal prototype to avoid an error.
13220 Use char because int might match the return type of a GCC
13221 builtin and then its argument prototype would still apply. */
13222 #ifdef __cplusplus
13223 extern "C"
13224 #endif
13225 char gsm_create ();
13227 main ()
13229 return gsm_create ();
13231 return 0;
13233 _ACEOF
13234 if ac_fn_c_try_link "$LINENO"; then :
13235 case "$LIBEXT" in
13236 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13237 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'` ;;
13238 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13239 if ${ac_cv_lib_soname_gsm:+false} :; then :
13240 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13241 fi ;;
13242 esac
13244 rm -f core conftest.err conftest.$ac_objext \
13245 conftest$ac_exeext conftest.$ac_ext
13246 LIBS=$ac_check_soname_save_LIBS
13248 if ${ac_cv_lib_soname_gsm:+false} :; then :
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13250 $as_echo "not found" >&6; }
13252 else
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13254 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13256 cat >>confdefs.h <<_ACEOF
13257 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13258 _ACEOF
13263 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13264 case "x$with_gsm" in
13265 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13266 xno) ;;
13267 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13268 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13269 esac
13273 if test "x$with_jpeg" != "xno"
13274 then
13275 if ${JPEG_CFLAGS:+false} :; then :
13276 if ${PKG_CONFIG+:} false; then :
13277 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13281 if ${JPEG_LIBS:+false} :; then :
13282 if ${PKG_CONFIG+:} false; then :
13283 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13288 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13289 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13290 ac_save_CPPFLAGS=$CPPFLAGS
13291 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13292 for ac_header in jpeglib.h
13293 do :
13294 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13295 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13296 cat >>confdefs.h <<_ACEOF
13297 #define HAVE_JPEGLIB_H 1
13298 _ACEOF
13302 done
13304 if test "$ac_cv_header_jpeglib_h" = "yes"
13305 then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13307 $as_echo_n "checking for -ljpeg... " >&6; }
13308 if ${ac_cv_lib_soname_jpeg+:} false; then :
13309 $as_echo_n "(cached) " >&6
13310 else
13311 ac_check_soname_save_LIBS=$LIBS
13312 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13314 /* end confdefs.h. */
13316 /* Override any GCC internal prototype to avoid an error.
13317 Use char because int might match the return type of a GCC
13318 builtin and then its argument prototype would still apply. */
13319 #ifdef __cplusplus
13320 extern "C"
13321 #endif
13322 char jpeg_start_decompress ();
13324 main ()
13326 return jpeg_start_decompress ();
13328 return 0;
13330 _ACEOF
13331 if ac_fn_c_try_link "$LINENO"; then :
13332 case "$LIBEXT" in
13333 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13334 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'` ;;
13335 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13336 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13337 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13338 fi ;;
13339 esac
13341 rm -f core conftest.err conftest.$ac_objext \
13342 conftest$ac_exeext conftest.$ac_ext
13343 LIBS=$ac_check_soname_save_LIBS
13345 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13347 $as_echo "not found" >&6; }
13348 JPEG_CFLAGS=""
13349 else
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13351 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13353 cat >>confdefs.h <<_ACEOF
13354 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13355 _ACEOF
13359 else
13360 JPEG_CFLAGS=""
13362 CPPFLAGS=$ac_save_CPPFLAGS
13363 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13364 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13367 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13368 case "x$with_jpeg" in
13369 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13370 xno) ;;
13371 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13372 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13373 esac
13377 if test "x$with_png" != "xno"
13378 then
13379 if ${PNG_CFLAGS:+false} :; then :
13380 if ${PKG_CONFIG+:} false; then :
13381 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13384 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13385 if ${PNG_LIBS:+false} :; then :
13386 if ${PKG_CONFIG+:} false; then :
13387 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13390 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13392 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13393 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13394 ac_save_CPPFLAGS=$CPPFLAGS
13395 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13396 for ac_header in png.h
13397 do :
13398 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13399 if test "x$ac_cv_header_png_h" = xyes; then :
13400 cat >>confdefs.h <<_ACEOF
13401 #define HAVE_PNG_H 1
13402 _ACEOF
13406 done
13408 if test "$ac_cv_header_png_h" = "yes"
13409 then
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13411 $as_echo_n "checking for -lpng... " >&6; }
13412 if ${ac_cv_lib_soname_png+:} false; then :
13413 $as_echo_n "(cached) " >&6
13414 else
13415 ac_check_soname_save_LIBS=$LIBS
13416 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13418 /* end confdefs.h. */
13420 /* Override any GCC internal prototype to avoid an error.
13421 Use char because int might match the return type of a GCC
13422 builtin and then its argument prototype would still apply. */
13423 #ifdef __cplusplus
13424 extern "C"
13425 #endif
13426 char png_create_read_struct ();
13428 main ()
13430 return png_create_read_struct ();
13432 return 0;
13434 _ACEOF
13435 if ac_fn_c_try_link "$LINENO"; then :
13436 case "$LIBEXT" in
13437 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13438 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'` ;;
13439 *) 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'`
13440 if ${ac_cv_lib_soname_png:+false} :; then :
13441 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13442 fi ;;
13443 esac
13445 rm -f core conftest.err conftest.$ac_objext \
13446 conftest$ac_exeext conftest.$ac_ext
13447 LIBS=$ac_check_soname_save_LIBS
13449 if ${ac_cv_lib_soname_png:+false} :; then :
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13451 $as_echo "not found" >&6; }
13452 PNG_CFLAGS=""
13453 else
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13455 $as_echo "$ac_cv_lib_soname_png" >&6; }
13457 cat >>confdefs.h <<_ACEOF
13458 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13459 _ACEOF
13461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13462 /* end confdefs.h. */
13463 #include <png.h>
13465 main ()
13467 typeof(png_set_expand_gray_1_2_4_to_8) *p
13469 return 0;
13471 _ACEOF
13472 if ac_fn_c_try_compile "$LINENO"; then :
13474 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13479 else
13480 PNG_CFLAGS=""
13482 CPPFLAGS=$ac_save_CPPFLAGS
13483 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13484 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13487 if test "x$ac_cv_lib_soname_png" = "x"; then :
13488 case "x$with_png" in
13489 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13490 xno) ;;
13491 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13492 This is an error since --with-png was requested." "$LINENO" 5 ;;
13493 esac
13497 if test "x$with_tiff" != "xno"
13498 then
13499 if ${TIFF_CFLAGS:+false} :; then :
13500 if ${PKG_CONFIG+:} false; then :
13501 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13505 if ${TIFF_LIBS:+false} :; then :
13506 if ${PKG_CONFIG+:} false; then :
13507 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13512 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13513 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13514 ac_save_CPPFLAGS=$CPPFLAGS
13515 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13516 for ac_header in tiffio.h
13517 do :
13518 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13519 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13520 cat >>confdefs.h <<_ACEOF
13521 #define HAVE_TIFFIO_H 1
13522 _ACEOF
13526 done
13528 if test "$ac_cv_header_tiffio_h" = "yes"
13529 then
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13531 $as_echo_n "checking for -ltiff... " >&6; }
13532 if ${ac_cv_lib_soname_tiff+:} false; then :
13533 $as_echo_n "(cached) " >&6
13534 else
13535 ac_check_soname_save_LIBS=$LIBS
13536 LIBS="-ltiff $TIFF_LIBS $LIBS"
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13540 /* Override any GCC internal prototype to avoid an error.
13541 Use char because int might match the return type of a GCC
13542 builtin and then its argument prototype would still apply. */
13543 #ifdef __cplusplus
13544 extern "C"
13545 #endif
13546 char TIFFClientOpen ();
13548 main ()
13550 return TIFFClientOpen ();
13552 return 0;
13554 _ACEOF
13555 if ac_fn_c_try_link "$LINENO"; then :
13556 case "$LIBEXT" in
13557 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13558 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'` ;;
13559 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13560 if ${ac_cv_lib_soname_tiff:+false} :; then :
13561 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13562 fi ;;
13563 esac
13565 rm -f core conftest.err conftest.$ac_objext \
13566 conftest$ac_exeext conftest.$ac_ext
13567 LIBS=$ac_check_soname_save_LIBS
13569 if ${ac_cv_lib_soname_tiff:+false} :; then :
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13571 $as_echo "not found" >&6; }
13573 else
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13575 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13577 cat >>confdefs.h <<_ACEOF
13578 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13579 _ACEOF
13584 CPPFLAGS=$ac_save_CPPFLAGS
13585 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13586 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13589 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13590 case "x$with_tiff" in
13591 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13592 xno) ;;
13593 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13594 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13595 esac
13599 if test "x$with_mpg123" != "xno"
13600 then
13601 if ${MPG123_CFLAGS:+false} :; then :
13602 if ${PKG_CONFIG+:} false; then :
13603 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13607 if ${MPG123_LIBS:+false} :; then :
13608 if ${PKG_CONFIG+:} false; then :
13609 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13613 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13614 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13615 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13616 ac_save_CPPFLAGS=$CPPFLAGS
13617 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13618 for ac_header in mpg123.h
13619 do :
13620 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13621 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13622 cat >>confdefs.h <<_ACEOF
13623 #define HAVE_MPG123_H 1
13624 _ACEOF
13628 done
13630 if test "$ac_cv_header_mpg123_h" = "yes"
13631 then
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13633 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13634 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13635 $as_echo_n "(cached) " >&6
13636 else
13637 ac_check_lib_save_LIBS=$LIBS
13638 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13642 /* Override any GCC internal prototype to avoid an error.
13643 Use char because int might match the return type of a GCC
13644 builtin and then its argument prototype would still apply. */
13645 #ifdef __cplusplus
13646 extern "C"
13647 #endif
13648 char mpg123_feed ();
13650 main ()
13652 return mpg123_feed ();
13654 return 0;
13656 _ACEOF
13657 if ac_fn_c_try_link "$LINENO"; then :
13658 ac_cv_lib_mpg123_mpg123_feed=yes
13659 else
13660 ac_cv_lib_mpg123_mpg123_feed=no
13662 rm -f core conftest.err conftest.$ac_objext \
13663 conftest$ac_exeext conftest.$ac_ext
13664 LIBS=$ac_check_lib_save_LIBS
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13667 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13668 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13670 else
13671 MPG123_LIBS=""
13674 else
13675 MPG123_CFLAGS=""
13676 MPG123_LIBS=""
13678 CPPFLAGS=$ac_save_CPPFLAGS
13679 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13680 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13683 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13684 case "x$with_mpg123" in
13685 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13686 xno) ;;
13687 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13688 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13689 esac
13690 enable_winemp3_acm=${enable_winemp3_acm:-no}
13693 if test "$ac_cv_header_AL_al_h" = "yes"
13694 then
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13696 $as_echo_n "checking for -lopenal... " >&6; }
13697 if ${ac_cv_lib_soname_openal+:} false; then :
13698 $as_echo_n "(cached) " >&6
13699 else
13700 ac_check_soname_save_LIBS=$LIBS
13701 LIBS="-lopenal $LIBS"
13702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13703 /* end confdefs.h. */
13705 /* Override any GCC internal prototype to avoid an error.
13706 Use char because int might match the return type of a GCC
13707 builtin and then its argument prototype would still apply. */
13708 #ifdef __cplusplus
13709 extern "C"
13710 #endif
13711 char alGetSource3i ();
13713 main ()
13715 return alGetSource3i ();
13717 return 0;
13719 _ACEOF
13720 if ac_fn_c_try_link "$LINENO"; then :
13721 case "$LIBEXT" in
13722 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13723 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'` ;;
13724 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13725 if ${ac_cv_lib_soname_openal:+false} :; then :
13726 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13727 fi ;;
13728 esac
13730 rm -f core conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 LIBS=$ac_check_soname_save_LIBS
13734 if ${ac_cv_lib_soname_openal:+false} :; then :
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13736 $as_echo "not found" >&6; }
13738 else
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13740 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13742 cat >>confdefs.h <<_ACEOF
13743 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13744 _ACEOF
13746 OPENAL_LIBS="-lopenal"
13748 ac_cv_lib_openal=yes
13750 cat >>confdefs.h <<_ACEOF
13751 #define HAVE_OPENAL 1
13752 _ACEOF
13756 if test "x$ac_cv_lib_openal" != xyes; then :
13757 case "x$with_openal" in
13758 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13759 xno) ;;
13760 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13761 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13762 esac
13763 enable_openal32=${enable_openal32:-no}
13766 if test "x$ac_cv_lib_openal" = xyes
13767 then
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13769 $as_echo_n "checking for openal-soft... " >&6; }
13770 if ${ac_cv_have_openalsoft+:} false; then :
13771 $as_echo_n "(cached) " >&6
13772 else
13773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13775 #include <AL/al.h>
13776 #include <AL/alc.h>
13777 #include <AL/alext.h>
13778 LPALCRENDERSAMPLESSOFT x;
13780 main ()
13784 return 0;
13786 _ACEOF
13787 if ac_fn_c_try_compile "$LINENO"; then :
13788 ac_cv_have_openalsoft=yes
13789 else
13790 ac_cv_have_openalsoft=no
13792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13795 $as_echo "$ac_cv_have_openalsoft" >&6; }
13797 if test "x$ac_cv_have_openalsoft" != xyes
13798 then
13799 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13800 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13801 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13802 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13803 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13804 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13805 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13806 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13807 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13808 enable_xapofx1_1=${enable_xapofx1_1:-no}
13809 enable_xapofx1_2=${enable_xapofx1_2:-no}
13810 enable_xapofx1_3=${enable_xapofx1_3:-no}
13811 enable_xapofx1_4=${enable_xapofx1_4:-no}
13812 enable_xapofx1_5=${enable_xapofx1_5:-no}
13813 enable_xaudio2_0=${enable_xaudio2_0:-no}
13814 enable_xaudio2_1=${enable_xaudio2_1:-no}
13815 enable_xaudio2_2=${enable_xaudio2_2:-no}
13816 enable_xaudio2_3=${enable_xaudio2_3:-no}
13817 enable_xaudio2_4=${enable_xaudio2_4:-no}
13818 enable_xaudio2_5=${enable_xaudio2_5:-no}
13819 enable_xaudio2_6=${enable_xaudio2_6:-no}
13820 enable_xaudio2_7=${enable_xaudio2_7:-no}
13821 enable_xaudio2_8=${enable_xaudio2_8:-no}
13822 enable_xaudio2_9=${enable_xaudio2_9:-no}
13825 if test "$ac_cv_header_kstat_h" = "yes"
13826 then
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13828 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13829 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13830 $as_echo_n "(cached) " >&6
13831 else
13832 ac_check_lib_save_LIBS=$LIBS
13833 LIBS="-lkstat $LIBS"
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13837 /* Override any GCC internal prototype to avoid an error.
13838 Use char because int might match the return type of a GCC
13839 builtin and then its argument prototype would still apply. */
13840 #ifdef __cplusplus
13841 extern "C"
13842 #endif
13843 char kstat_open ();
13845 main ()
13847 return kstat_open ();
13849 return 0;
13851 _ACEOF
13852 if ac_fn_c_try_link "$LINENO"; then :
13853 ac_cv_lib_kstat_kstat_open=yes
13854 else
13855 ac_cv_lib_kstat_kstat_open=no
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 LIBS=$ac_check_lib_save_LIBS
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13862 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13863 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13865 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13867 KSTAT_LIBS="-lkstat"
13873 if test "$ac_cv_header_libprocstat_h" = "yes"
13874 then
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13876 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13877 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13878 $as_echo_n "(cached) " >&6
13879 else
13880 ac_check_lib_save_LIBS=$LIBS
13881 LIBS="-lprocstat $LIBS"
13882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13885 /* Override any GCC internal prototype to avoid an error.
13886 Use char because int might match the return type of a GCC
13887 builtin and then its argument prototype would still apply. */
13888 #ifdef __cplusplus
13889 extern "C"
13890 #endif
13891 char procstat_open_sysctl ();
13893 main ()
13895 return procstat_open_sysctl ();
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"; then :
13901 ac_cv_lib_procstat_procstat_open_sysctl=yes
13902 else
13903 ac_cv_lib_procstat_procstat_open_sysctl=no
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LIBS=$ac_check_lib_save_LIBS
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13910 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13911 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13913 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13915 PROCSTAT_LIBS="-lprocstat"
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13922 $as_echo_n "checking for -lodbc... " >&6; }
13923 if ${ac_cv_lib_soname_odbc+:} false; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 ac_check_soname_save_LIBS=$LIBS
13927 LIBS="-lodbc $LIBS"
13928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13931 /* Override any GCC internal prototype to avoid an error.
13932 Use char because int might match the return type of a GCC
13933 builtin and then its argument prototype would still apply. */
13934 #ifdef __cplusplus
13935 extern "C"
13936 #endif
13937 char SQLConnect ();
13939 main ()
13941 return SQLConnect ();
13943 return 0;
13945 _ACEOF
13946 if ac_fn_c_try_link "$LINENO"; then :
13947 case "$LIBEXT" in
13948 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13949 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'` ;;
13950 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13951 if ${ac_cv_lib_soname_odbc:+false} :; then :
13952 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13953 fi ;;
13954 esac
13956 rm -f core conftest.err conftest.$ac_objext \
13957 conftest$ac_exeext conftest.$ac_ext
13958 LIBS=$ac_check_soname_save_LIBS
13960 if ${ac_cv_lib_soname_odbc:+false} :; then :
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13962 $as_echo "not found" >&6; }
13963 cat >>confdefs.h <<_ACEOF
13964 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13965 _ACEOF
13967 else
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13969 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13971 cat >>confdefs.h <<_ACEOF
13972 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13973 _ACEOF
13978 if test "x$with_netapi" != "xno"
13979 then
13980 if ${NETAPI_CFLAGS:+false} :; then :
13981 if ${PKG_CONFIG+:} false; then :
13982 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13986 if ${NETAPI_LIBS:+false} :; then :
13987 if ${PKG_CONFIG+:} false; then :
13988 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13993 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13994 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13995 ac_save_CPPFLAGS=$CPPFLAGS
13996 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13998 $as_echo_n "checking for -lnetapi... " >&6; }
13999 if ${ac_cv_lib_soname_netapi+:} false; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 ac_check_soname_save_LIBS=$LIBS
14003 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 #ifdef __cplusplus
14011 extern "C"
14012 #endif
14013 char libnetapi_init ();
14015 main ()
14017 return libnetapi_init ();
14019 return 0;
14021 _ACEOF
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 case "$LIBEXT" in
14024 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14025 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'` ;;
14026 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14027 if ${ac_cv_lib_soname_netapi:+false} :; then :
14028 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14029 fi ;;
14030 esac
14032 rm -f core conftest.err conftest.$ac_objext \
14033 conftest$ac_exeext conftest.$ac_ext
14034 LIBS=$ac_check_soname_save_LIBS
14036 if ${ac_cv_lib_soname_netapi:+false} :; then :
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14038 $as_echo "not found" >&6; }
14039 cat >>confdefs.h <<_ACEOF
14040 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14041 _ACEOF
14043 else
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14045 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14047 cat >>confdefs.h <<_ACEOF
14048 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14049 _ACEOF
14053 CPPFLAGS=$ac_save_CPPFLAGS
14054 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14055 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14059 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14060 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14061 then
14062 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14066 EXTRACFLAGS=""
14068 if test "x${GCC}" = "xyes"
14069 then
14070 EXTRACFLAGS="-Wall -pipe"
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14073 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14074 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 if test "$cross_compiling" = yes; then :
14078 ac_cv_c_gcc_strength_bug="no"
14079 else
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14082 int L[4] = {0,1,2,3};
14084 main ()
14086 static int Array[3];
14087 unsigned int B = 3;
14088 int i;
14089 for(i=0; i<B; i++) Array[i] = i - 3;
14090 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14091 L[i] = 4;
14092 return (Array[1] != -2 || L[2] != 3)
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_run "$LINENO"; then :
14098 ac_cv_c_gcc_strength_bug="no"
14099 else
14100 ac_cv_c_gcc_strength_bug="yes"
14102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14103 conftest.$ac_objext conftest.beam conftest.$ac_ext
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14108 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14109 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14110 then
14111 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14115 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14116 if ${ac_cv_cflags__fno_builtin+:} false; then :
14117 $as_echo_n "(cached) " >&6
14118 else
14119 ac_wine_try_cflags_saved=$CFLAGS
14120 CFLAGS="$CFLAGS -fno-builtin"
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14123 int main(int argc, char **argv) { return 0; }
14124 _ACEOF
14125 if ac_fn_c_try_link "$LINENO"; then :
14126 ac_cv_cflags__fno_builtin=yes
14127 else
14128 ac_cv_cflags__fno_builtin=no
14130 rm -f core conftest.err conftest.$ac_objext \
14131 conftest$ac_exeext conftest.$ac_ext
14132 CFLAGS=$ac_wine_try_cflags_saved
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14135 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14136 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14137 BUILTINFLAG="-fno-builtin"
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14141 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14142 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14143 $as_echo_n "(cached) " >&6
14144 else
14145 ac_wine_try_cflags_saved=$CFLAGS
14146 CFLAGS="$CFLAGS -fno-strict-aliasing"
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 int main(int argc, char **argv) { return 0; }
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"; then :
14152 ac_cv_cflags__fno_strict_aliasing=yes
14153 else
14154 ac_cv_cflags__fno_strict_aliasing=no
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 CFLAGS=$ac_wine_try_cflags_saved
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14161 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14162 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14163 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14166 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14167 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 ac_wine_try_cflags_saved=$CFLAGS
14171 CFLAGS="$CFLAGS -fexcess-precision=standard"
14172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 int main(int argc, char **argv) { return 0; }
14175 _ACEOF
14176 if ac_fn_c_try_link "$LINENO"; then :
14177 ac_cv_cflags__fexcess_precision_standard=yes
14178 else
14179 ac_cv_cflags__fexcess_precision_standard=no
14181 rm -f core conftest.err conftest.$ac_objext \
14182 conftest$ac_exeext conftest.$ac_ext
14183 CFLAGS=$ac_wine_try_cflags_saved
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14186 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14187 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14188 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14191 saved_CFLAGS=$CFLAGS
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14193 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14194 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14195 $as_echo_n "(cached) " >&6
14196 else
14197 ac_wine_try_cflags_saved=$CFLAGS
14198 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14201 int main(int argc, char **argv) { return 0; }
14202 _ACEOF
14203 if ac_fn_c_try_link "$LINENO"; then :
14204 ac_cv_cflags__Werror_unknown_warning_option=yes
14205 else
14206 ac_cv_cflags__Werror_unknown_warning_option=no
14208 rm -f core conftest.err conftest.$ac_objext \
14209 conftest$ac_exeext conftest.$ac_ext
14210 CFLAGS=$ac_wine_try_cflags_saved
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14213 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14214 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14215 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14218 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14219 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14220 $as_echo_n "(cached) " >&6
14221 else
14222 ac_wine_try_cflags_saved=$CFLAGS
14223 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14226 int main(int argc, char **argv) { return 0; }
14227 _ACEOF
14228 if ac_fn_c_try_link "$LINENO"; then :
14229 ac_cv_cflags__Wdeclaration_after_statement=yes
14230 else
14231 ac_cv_cflags__Wdeclaration_after_statement=no
14233 rm -f core conftest.err conftest.$ac_objext \
14234 conftest$ac_exeext conftest.$ac_ext
14235 CFLAGS=$ac_wine_try_cflags_saved
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14238 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14239 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14240 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14243 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14244 if ${ac_cv_cflags__Wempty_body+:} false; then :
14245 $as_echo_n "(cached) " >&6
14246 else
14247 ac_wine_try_cflags_saved=$CFLAGS
14248 CFLAGS="$CFLAGS -Wempty-body"
14249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14251 int main(int argc, char **argv) { return 0; }
14252 _ACEOF
14253 if ac_fn_c_try_link "$LINENO"; then :
14254 ac_cv_cflags__Wempty_body=yes
14255 else
14256 ac_cv_cflags__Wempty_body=no
14258 rm -f core conftest.err conftest.$ac_objext \
14259 conftest$ac_exeext conftest.$ac_ext
14260 CFLAGS=$ac_wine_try_cflags_saved
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14263 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14264 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14265 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14268 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14269 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14270 $as_echo_n "(cached) " >&6
14271 else
14272 ac_wine_try_cflags_saved=$CFLAGS
14273 CFLAGS="$CFLAGS -Wignored-qualifiers"
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 int main(int argc, char **argv) { return 0; }
14277 _ACEOF
14278 if ac_fn_c_try_link "$LINENO"; then :
14279 ac_cv_cflags__Wignored_qualifiers=yes
14280 else
14281 ac_cv_cflags__Wignored_qualifiers=no
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14285 CFLAGS=$ac_wine_try_cflags_saved
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14288 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14289 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14290 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14293 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14294 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14295 $as_echo_n "(cached) " >&6
14296 else
14297 ac_wine_try_cflags_saved=$CFLAGS
14298 CFLAGS="$CFLAGS -Wshift-overflow=2"
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14301 int main(int argc, char **argv) { return 0; }
14302 _ACEOF
14303 if ac_fn_c_try_link "$LINENO"; then :
14304 ac_cv_cflags__Wshift_overflow_2=yes
14305 else
14306 ac_cv_cflags__Wshift_overflow_2=no
14308 rm -f core conftest.err conftest.$ac_objext \
14309 conftest$ac_exeext conftest.$ac_ext
14310 CFLAGS=$ac_wine_try_cflags_saved
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14313 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14314 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14315 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14318 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14319 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14320 $as_echo_n "(cached) " >&6
14321 else
14322 ac_wine_try_cflags_saved=$CFLAGS
14323 CFLAGS="$CFLAGS -Wstrict-prototypes"
14324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325 /* end confdefs.h. */
14326 int main(int argc, char **argv) { return 0; }
14327 _ACEOF
14328 if ac_fn_c_try_link "$LINENO"; then :
14329 ac_cv_cflags__Wstrict_prototypes=yes
14330 else
14331 ac_cv_cflags__Wstrict_prototypes=no
14333 rm -f core conftest.err conftest.$ac_objext \
14334 conftest$ac_exeext conftest.$ac_ext
14335 CFLAGS=$ac_wine_try_cflags_saved
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14338 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14339 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14340 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14343 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14344 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14345 $as_echo_n "(cached) " >&6
14346 else
14347 ac_wine_try_cflags_saved=$CFLAGS
14348 CFLAGS="$CFLAGS -Wtype-limits"
14349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14350 /* end confdefs.h. */
14351 int main(int argc, char **argv) { return 0; }
14352 _ACEOF
14353 if ac_fn_c_try_link "$LINENO"; then :
14354 ac_cv_cflags__Wtype_limits=yes
14355 else
14356 ac_cv_cflags__Wtype_limits=no
14358 rm -f core conftest.err conftest.$ac_objext \
14359 conftest$ac_exeext conftest.$ac_ext
14360 CFLAGS=$ac_wine_try_cflags_saved
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14363 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14364 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14365 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14368 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14369 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14370 $as_echo_n "(cached) " >&6
14371 else
14372 ac_wine_try_cflags_saved=$CFLAGS
14373 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14376 int main(int argc, char **argv) { return 0; }
14377 _ACEOF
14378 if ac_fn_c_try_link "$LINENO"; then :
14379 ac_cv_cflags__Wunused_but_set_parameter=yes
14380 else
14381 ac_cv_cflags__Wunused_but_set_parameter=no
14383 rm -f core conftest.err conftest.$ac_objext \
14384 conftest$ac_exeext conftest.$ac_ext
14385 CFLAGS=$ac_wine_try_cflags_saved
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14388 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14389 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14390 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14393 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14394 if ${ac_cv_cflags__Wvla+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 ac_wine_try_cflags_saved=$CFLAGS
14398 CFLAGS="$CFLAGS -Wvla"
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14401 int main(int argc, char **argv) { return 0; }
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_cflags__Wvla=yes
14405 else
14406 ac_cv_cflags__Wvla=no
14408 rm -f core conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14410 CFLAGS=$ac_wine_try_cflags_saved
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14413 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14414 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14415 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14418 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14419 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 ac_wine_try_cflags_saved=$CFLAGS
14423 CFLAGS="$CFLAGS -Wwrite-strings"
14424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14426 int main(int argc, char **argv) { return 0; }
14427 _ACEOF
14428 if ac_fn_c_try_link "$LINENO"; then :
14429 ac_cv_cflags__Wwrite_strings=yes
14430 else
14431 ac_cv_cflags__Wwrite_strings=no
14433 rm -f core conftest.err conftest.$ac_objext \
14434 conftest$ac_exeext conftest.$ac_ext
14435 CFLAGS=$ac_wine_try_cflags_saved
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14438 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14439 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14440 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14444 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14445 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14446 $as_echo_n "(cached) " >&6
14447 else
14448 ac_wine_try_cflags_saved=$CFLAGS
14449 CFLAGS="$CFLAGS -Wpointer-arith"
14450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14452 int main(int argc, char **argv) { return 0; }
14453 _ACEOF
14454 if ac_fn_c_try_link "$LINENO"; then :
14455 ac_cv_cflags__Wpointer_arith=yes
14456 else
14457 ac_cv_cflags__Wpointer_arith=no
14459 rm -f core conftest.err conftest.$ac_objext \
14460 conftest$ac_exeext conftest.$ac_ext
14461 CFLAGS=$ac_wine_try_cflags_saved
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14464 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14465 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14466 saved_string_h_CFLAGS=$CFLAGS
14467 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14469 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14470 if ${ac_cv_c_string_h_warnings+:} false; then :
14471 $as_echo_n "(cached) " >&6
14472 else
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 #include <string.h>
14477 main ()
14481 return 0;
14483 _ACEOF
14484 if ac_fn_c_try_compile "$LINENO"; then :
14485 ac_cv_c_string_h_warnings=no
14486 else
14487 ac_cv_c_string_h_warnings=yes
14489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14492 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14493 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14494 CFLAGS=$saved_string_h_CFLAGS
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14498 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14499 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14500 $as_echo_n "(cached) " >&6
14501 else
14502 ac_wine_try_cflags_saved=$CFLAGS
14503 CFLAGS="$CFLAGS -Wlogical-op"
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14506 int main(int argc, char **argv) { return 0; }
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"; then :
14509 ac_cv_cflags__Wlogical_op=yes
14510 else
14511 ac_cv_cflags__Wlogical_op=no
14513 rm -f core conftest.err conftest.$ac_objext \
14514 conftest$ac_exeext conftest.$ac_ext
14515 CFLAGS=$ac_wine_try_cflags_saved
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14518 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14519 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14520 saved_string_h_CFLAGS=$CFLAGS
14521 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14523 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14524 if ${ac_cv_c_logicalop_noisy+:} false; then :
14525 $as_echo_n "(cached) " >&6
14526 else
14527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14529 #include <string.h>
14530 char*f(const char *h,char n) {return strchr(h,n);}
14532 main ()
14536 return 0;
14538 _ACEOF
14539 if ac_fn_c_try_compile "$LINENO"; then :
14540 ac_cv_c_logicalop_noisy=no
14541 else
14542 ac_cv_c_logicalop_noisy=yes
14544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14547 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14548 CFLAGS=$saved_string_h_CFLAGS
14549 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14552 CFLAGS=$saved_CFLAGS
14554 for ac_flag in $CFLAGS; do
14555 case $ac_flag in
14556 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14557 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14558 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_wine_try_cflags_saved=$CFLAGS
14562 CFLAGS="$CFLAGS -gdwarf-2"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_cflags__gdwarf_2=yes
14569 else
14570 ac_cv_cflags__gdwarf_2=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 CFLAGS=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14577 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14578 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14579 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14582 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14583 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_wine_try_cflags_saved=$CFLAGS
14587 CFLAGS="$CFLAGS -gstrict-dwarf"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_cflags__gstrict_dwarf=yes
14594 else
14595 ac_cv_cflags__gstrict_dwarf=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 CFLAGS=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14602 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14603 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14604 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14605 fi ;;
14606 esac
14607 done
14609 case $host_cpu in
14610 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14611 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14612 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14613 $as_echo_n "(cached) " >&6
14614 else
14615 ac_wine_try_cflags_saved=$CFLAGS
14616 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 int main(int argc, char **argv) { return 0; }
14620 _ACEOF
14621 if ac_fn_c_try_link "$LINENO"; then :
14622 ac_cv_cflags__fno_omit_frame_pointer=yes
14623 else
14624 ac_cv_cflags__fno_omit_frame_pointer=no
14626 rm -f core conftest.err conftest.$ac_objext \
14627 conftest$ac_exeext conftest.$ac_ext
14628 CFLAGS=$ac_wine_try_cflags_saved
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14631 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14632 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14633 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14634 fi ;;
14635 esac
14637 case $host in
14638 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14639 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14640 if ${ac_cv_cflags__Wno_format+:} false; then :
14641 $as_echo_n "(cached) " >&6
14642 else
14643 ac_wine_try_cflags_saved=$CFLAGS
14644 CFLAGS="$CFLAGS -Wno-format"
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14647 int main(int argc, char **argv) { return 0; }
14648 _ACEOF
14649 if ac_fn_c_try_link "$LINENO"; then :
14650 ac_cv_cflags__Wno_format=yes
14651 else
14652 ac_cv_cflags__Wno_format=no
14654 rm -f core conftest.err conftest.$ac_objext \
14655 conftest$ac_exeext conftest.$ac_ext
14656 CFLAGS=$ac_wine_try_cflags_saved
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14659 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14660 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14661 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14662 fi ;;
14663 esac
14665 if test "x$enable_maintainer_mode" = "xyes"
14666 then
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14668 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14669 if ${ac_cv_cflags__Werror+:} false; then :
14670 $as_echo_n "(cached) " >&6
14671 else
14672 ac_wine_try_cflags_saved=$CFLAGS
14673 CFLAGS="$CFLAGS -Werror"
14674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675 /* end confdefs.h. */
14676 int main(int argc, char **argv) { return 0; }
14677 _ACEOF
14678 if ac_fn_c_try_link "$LINENO"; then :
14679 ac_cv_cflags__Werror=yes
14680 else
14681 ac_cv_cflags__Werror=no
14683 rm -f core conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 CFLAGS=$ac_wine_try_cflags_saved
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14688 $as_echo "$ac_cv_cflags__Werror" >&6; }
14689 if test "x$ac_cv_cflags__Werror" = xyes; then :
14690 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14694 saved_CFLAGS="$CFLAGS"
14695 CFLAGS="$CFLAGS -Werror"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14697 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14698 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14705 main ()
14709 return 0;
14711 _ACEOF
14712 if ac_fn_c_try_compile "$LINENO"; then :
14713 ac_cv_have_ms_hook_prologue="yes"
14714 else
14715 ac_cv_have_ms_hook_prologue="no"
14717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14720 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14721 CFLAGS="$saved_CFLAGS"
14722 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14723 then
14725 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14727 else
14728 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14735 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14736 if ${ac_cv_c_fortify_enabled+:} false; then :
14737 $as_echo_n "(cached) " >&6
14738 else
14739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14741 #include <string.h>
14743 main ()
14745 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14746 #error Fortify enabled
14747 #endif
14749 return 0;
14751 _ACEOF
14752 if ac_fn_c_try_compile "$LINENO"; then :
14753 ac_cv_c_fortify_enabled=no
14754 else
14755 ac_cv_c_fortify_enabled=yes
14757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14760 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14761 if test "$ac_cv_c_fortify_enabled" = yes
14762 then
14763 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14768 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14769 if ${ac_cv_c_extern_prefix+:} false; then :
14770 $as_echo_n "(cached) " >&6
14771 else
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14774 extern int ac_test;
14776 main ()
14778 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_c_extern_prefix="yes"
14785 else
14786 ac_cv_c_extern_prefix="no"
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14792 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14794 case $host_cpu in
14795 *i[3456789]86*)
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14797 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14798 if ${ac_cv_c_stdcall_suffix+:} false; then :
14799 $as_echo_n "(cached) " >&6
14800 else
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14803 #ifndef _MSC_VER
14804 #define __stdcall __attribute__((__stdcall__))
14805 #endif
14806 int __stdcall ac_test(int i) { return i; }
14808 main ()
14810 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14812 return 0;
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_cv_c_stdcall_suffix="yes"
14817 else
14818 ac_cv_c_stdcall_suffix="no"
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14824 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14825 *) ac_cv_c_stdcall_suffix="no" ;;
14826 esac
14829 if test "$ac_cv_c_extern_prefix" = "yes"
14830 then
14831 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14833 asm_name_prefix="_"
14834 else
14835 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14837 asm_name_prefix=""
14841 if test "$ac_cv_c_stdcall_suffix" = "yes"
14842 then
14843 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14845 else
14846 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14852 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14853 if ${ac_cv_asm_func_def+:} false; then :
14854 $as_echo_n "(cached) " >&6
14855 else
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14860 main ()
14862 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14864 return 0;
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"; then :
14868 ac_cv_asm_func_def=".def"
14869 else
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14874 main ()
14876 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14878 return 0;
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_asm_func_def=".type @function"
14883 else
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14888 main ()
14890 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"; then :
14896 ac_cv_asm_func_def=".type 2"
14897 else
14898 ac_cv_asm_func_def="unknown"
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 rm -f core conftest.err conftest.$ac_objext \
14907 conftest$ac_exeext conftest.$ac_ext
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14910 $as_echo "$ac_cv_asm_func_def" >&6; }
14913 case "$ac_cv_asm_func_def" in
14914 ".def")
14915 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14917 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14918 ".type @function")
14919 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14921 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14922 ".type 2")
14923 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14925 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14927 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14929 asm_func_header="" ;;
14930 esac
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14933 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14934 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14935 $as_echo_n "(cached) " >&6
14936 else
14937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14939 asm(".text\n\t.long 0");
14941 main ()
14945 return 0;
14947 _ACEOF
14948 if ac_fn_c_try_compile "$LINENO"; then :
14949 ac_cv_c_asm_outside_funcs="yes"
14950 else
14951 ac_cv_c_asm_outside_funcs="no"
14953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14956 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14959 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14960 if ${ac_cv_c_dot_previous+:} false; then :
14961 $as_echo_n "(cached) " >&6
14962 else
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14967 main ()
14969 asm(".text\nac_test:\t.long 0\n\t.previous");
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 ac_cv_c_dot_previous="yes"
14976 else
14977 ac_cv_c_dot_previous="no"
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14983 $as_echo "$ac_cv_c_dot_previous" >&6; }
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14986 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14987 if ${ac_cv_c_cfi_support+:} false; then :
14988 $as_echo_n "(cached) " >&6
14989 else
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14992 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14994 main ()
14998 return 0;
15000 _ACEOF
15001 if ac_fn_c_try_compile "$LINENO"; then :
15002 ac_cv_c_cfi_support="yes"
15003 else
15004 ac_cv_c_cfi_support="no"
15006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15009 $as_echo "$ac_cv_c_cfi_support" >&6; }
15011 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15012 asm_func_trailer=""
15013 if test "$ac_cv_c_dot_previous" = "yes"
15014 then
15015 asm_func_trailer="\\n\\t.previous"
15017 if test "$ac_cv_c_cfi_support" = "yes"
15018 then
15019 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15020 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15022 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15024 UNWINDFLAGS=-fasynchronous-unwind-tables
15026 else
15027 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15029 if test "x$enable_win64" = "xyes"
15030 then
15031 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15035 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15038 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15039 then
15040 cat >>confdefs.h <<_ACEOF
15041 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15042 _ACEOF
15044 else
15045 cat >>confdefs.h <<_ACEOF
15046 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15047 _ACEOF
15051 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15054 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15058 case $build_os in
15059 cygwin*|mingw32*) TOOLSEXT=".exe"
15061 esac
15063 case $host_os in
15064 linux-android*) ;;
15065 linux*)
15066 case $host_cpu in
15067 *i[3456789]86*|x86_64*)
15068 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15069 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15071 esac
15073 esac
15076 ac_save_CFLAGS="$CFLAGS"
15077 CFLAGS="$CFLAGS $BUILTINFLAG"
15078 for ac_func in \
15079 __res_get_state \
15080 __res_getservers \
15081 _finite \
15082 _isnan \
15083 _pclose \
15084 _popen \
15085 _snprintf \
15086 _spawnvp \
15087 _strdup \
15088 _stricmp \
15089 _strnicmp \
15090 _strtoi64 \
15091 _strtoui64 \
15092 _vsnprintf \
15093 asctime_r \
15094 chsize \
15095 dlopen \
15096 epoll_create \
15097 ffs \
15098 finitef \
15099 fnmatch \
15100 fork \
15101 fpclass \
15102 fstatfs \
15103 fstatvfs \
15104 ftruncate \
15105 futimens \
15106 futimes \
15107 futimesat \
15108 getattrlist \
15109 getopt_long_only \
15110 getpwuid \
15111 gettimeofday \
15112 getuid \
15113 if_nameindex \
15114 isnanf \
15115 kqueue \
15116 lstat \
15117 memmove \
15118 mmap \
15119 pclose \
15120 pipe2 \
15121 poll \
15122 popen \
15123 port_create \
15124 prctl \
15125 pread \
15126 proc_pidinfo \
15127 pwrite \
15128 readdir \
15129 readlink \
15130 sched_yield \
15131 select \
15132 setproctitle \
15133 setprogname \
15134 setrlimit \
15135 settimeofday \
15136 sigaltstack \
15137 sigprocmask \
15138 snprintf \
15139 statfs \
15140 statvfs \
15141 strcasecmp \
15142 strdup \
15143 strerror \
15144 strncasecmp \
15145 strtold \
15146 strtoll \
15147 strtoull \
15148 symlink \
15149 sysinfo \
15150 tcdrain \
15151 thr_kill2 \
15152 timegm \
15153 usleep \
15154 vsnprintf
15156 do :
15157 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15160 cat >>confdefs.h <<_ACEOF
15161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15162 _ACEOF
15165 done
15167 CFLAGS="$ac_save_CFLAGS"
15169 if test "$ac_cv_func_dlopen" = no
15170 then
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15172 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15173 if ${ac_cv_lib_dl_dlopen+:} false; then :
15174 $as_echo_n "(cached) " >&6
15175 else
15176 ac_check_lib_save_LIBS=$LIBS
15177 LIBS="-ldl $LIBS"
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15181 /* Override any GCC internal prototype to avoid an error.
15182 Use char because int might match the return type of a GCC
15183 builtin and then its argument prototype would still apply. */
15184 #ifdef __cplusplus
15185 extern "C"
15186 #endif
15187 char dlopen ();
15189 main ()
15191 return dlopen ();
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"; then :
15197 ac_cv_lib_dl_dlopen=yes
15198 else
15199 ac_cv_lib_dl_dlopen=no
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LIBS=$ac_check_lib_save_LIBS
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15206 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15207 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15208 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15209 DL_LIBS="-ldl"
15214 ac_wine_check_funcs_save_LIBS="$LIBS"
15215 LIBS="$LIBS $DL_LIBS"
15216 for ac_func in dladdr
15217 do :
15218 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15219 if test "x$ac_cv_func_dladdr" = xyes; then :
15220 cat >>confdefs.h <<_ACEOF
15221 #define HAVE_DLADDR 1
15222 _ACEOF
15225 done
15227 LIBS="$ac_wine_check_funcs_save_LIBS"
15229 if test "$ac_cv_func_poll" = no
15230 then
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15232 $as_echo_n "checking for poll in -lpoll... " >&6; }
15233 if ${ac_cv_lib_poll_poll+:} false; then :
15234 $as_echo_n "(cached) " >&6
15235 else
15236 ac_check_lib_save_LIBS=$LIBS
15237 LIBS="-lpoll $LIBS"
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15241 /* Override any GCC internal prototype to avoid an error.
15242 Use char because int might match the return type of a GCC
15243 builtin and then its argument prototype would still apply. */
15244 #ifdef __cplusplus
15245 extern "C"
15246 #endif
15247 char poll ();
15249 main ()
15251 return poll ();
15253 return 0;
15255 _ACEOF
15256 if ac_fn_c_try_link "$LINENO"; then :
15257 ac_cv_lib_poll_poll=yes
15258 else
15259 ac_cv_lib_poll_poll=no
15261 rm -f core conftest.err conftest.$ac_objext \
15262 conftest$ac_exeext conftest.$ac_ext
15263 LIBS=$ac_check_lib_save_LIBS
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15266 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15267 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15268 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15269 POLL_LIBS="-lpoll"
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15276 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15277 if ${ac_cv_search_gethostbyname+:} false; then :
15278 $as_echo_n "(cached) " >&6
15279 else
15280 ac_func_search_save_LIBS=$LIBS
15281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15284 /* Override any GCC internal prototype to avoid an error.
15285 Use char because int might match the return type of a GCC
15286 builtin and then its argument prototype would still apply. */
15287 #ifdef __cplusplus
15288 extern "C"
15289 #endif
15290 char gethostbyname ();
15292 main ()
15294 return gethostbyname ();
15296 return 0;
15298 _ACEOF
15299 for ac_lib in '' nsl; do
15300 if test -z "$ac_lib"; then
15301 ac_res="none required"
15302 else
15303 ac_res=-l$ac_lib
15304 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15306 if ac_fn_c_try_link "$LINENO"; then :
15307 ac_cv_search_gethostbyname=$ac_res
15309 rm -f core conftest.err conftest.$ac_objext \
15310 conftest$ac_exeext
15311 if ${ac_cv_search_gethostbyname+:} false; then :
15312 break
15314 done
15315 if ${ac_cv_search_gethostbyname+:} false; then :
15317 else
15318 ac_cv_search_gethostbyname=no
15320 rm conftest.$ac_ext
15321 LIBS=$ac_func_search_save_LIBS
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15324 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15325 ac_res=$ac_cv_search_gethostbyname
15326 if test "$ac_res" != no; then :
15327 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15333 $as_echo_n "checking for library containing connect... " >&6; }
15334 if ${ac_cv_search_connect+:} false; then :
15335 $as_echo_n "(cached) " >&6
15336 else
15337 ac_func_search_save_LIBS=$LIBS
15338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h. */
15341 /* Override any GCC internal prototype to avoid an error.
15342 Use char because int might match the return type of a GCC
15343 builtin and then its argument prototype would still apply. */
15344 #ifdef __cplusplus
15345 extern "C"
15346 #endif
15347 char connect ();
15349 main ()
15351 return connect ();
15353 return 0;
15355 _ACEOF
15356 for ac_lib in '' socket; do
15357 if test -z "$ac_lib"; then
15358 ac_res="none required"
15359 else
15360 ac_res=-l$ac_lib
15361 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15363 if ac_fn_c_try_link "$LINENO"; then :
15364 ac_cv_search_connect=$ac_res
15366 rm -f core conftest.err conftest.$ac_objext \
15367 conftest$ac_exeext
15368 if ${ac_cv_search_connect+:} false; then :
15369 break
15371 done
15372 if ${ac_cv_search_connect+:} false; then :
15374 else
15375 ac_cv_search_connect=no
15377 rm conftest.$ac_ext
15378 LIBS=$ac_func_search_save_LIBS
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15381 $as_echo "$ac_cv_search_connect" >&6; }
15382 ac_res=$ac_cv_search_connect
15383 if test "$ac_res" != no; then :
15384 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15390 $as_echo_n "checking for library containing inet_aton... " >&6; }
15391 if ${ac_cv_search_inet_aton+:} false; then :
15392 $as_echo_n "(cached) " >&6
15393 else
15394 ac_func_search_save_LIBS=$LIBS
15395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15396 /* end confdefs.h. */
15398 /* Override any GCC internal prototype to avoid an error.
15399 Use char because int might match the return type of a GCC
15400 builtin and then its argument prototype would still apply. */
15401 #ifdef __cplusplus
15402 extern "C"
15403 #endif
15404 char inet_aton ();
15406 main ()
15408 return inet_aton ();
15410 return 0;
15412 _ACEOF
15413 for ac_lib in '' resolv; do
15414 if test -z "$ac_lib"; then
15415 ac_res="none required"
15416 else
15417 ac_res=-l$ac_lib
15418 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15420 if ac_fn_c_try_link "$LINENO"; then :
15421 ac_cv_search_inet_aton=$ac_res
15423 rm -f core conftest.err conftest.$ac_objext \
15424 conftest$ac_exeext
15425 if ${ac_cv_search_inet_aton+:} false; then :
15426 break
15428 done
15429 if ${ac_cv_search_inet_aton+:} false; then :
15431 else
15432 ac_cv_search_inet_aton=no
15434 rm conftest.$ac_ext
15435 LIBS=$ac_func_search_save_LIBS
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15438 $as_echo "$ac_cv_search_inet_aton" >&6; }
15439 ac_res=$ac_cv_search_inet_aton
15440 if test "$ac_res" != no; then :
15441 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15446 for ac_func in \
15447 getaddrinfo \
15448 getnameinfo \
15449 getnetbyname \
15450 getprotobyname \
15451 getprotobynumber \
15452 getservbyport \
15453 inet_addr \
15454 inet_network \
15455 inet_ntop \
15456 inet_pton \
15457 sendmsg \
15458 socketpair \
15460 do :
15461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15463 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15464 cat >>confdefs.h <<_ACEOF
15465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15466 _ACEOF
15469 done
15472 ac_save_LIBS=$LIBS
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15474 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15475 if ${ac_cv_search_clock_gettime+:} false; then :
15476 $as_echo_n "(cached) " >&6
15477 else
15478 ac_func_search_save_LIBS=$LIBS
15479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15480 /* end confdefs.h. */
15482 /* Override any GCC internal prototype to avoid an error.
15483 Use char because int might match the return type of a GCC
15484 builtin and then its argument prototype would still apply. */
15485 #ifdef __cplusplus
15486 extern "C"
15487 #endif
15488 char clock_gettime ();
15490 main ()
15492 return clock_gettime ();
15494 return 0;
15496 _ACEOF
15497 for ac_lib in '' rt; do
15498 if test -z "$ac_lib"; then
15499 ac_res="none required"
15500 else
15501 ac_res=-l$ac_lib
15502 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15504 if ac_fn_c_try_link "$LINENO"; then :
15505 ac_cv_search_clock_gettime=$ac_res
15507 rm -f core conftest.err conftest.$ac_objext \
15508 conftest$ac_exeext
15509 if ${ac_cv_search_clock_gettime+:} false; then :
15510 break
15512 done
15513 if ${ac_cv_search_clock_gettime+:} false; then :
15515 else
15516 ac_cv_search_clock_gettime=no
15518 rm conftest.$ac_ext
15519 LIBS=$ac_func_search_save_LIBS
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15522 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15523 ac_res=$ac_cv_search_clock_gettime
15524 if test "$ac_res" != no; then :
15525 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15527 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15529 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15533 LIBS=$ac_save_LIBS
15535 LDAP_LIBS=""
15537 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15538 then
15539 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15541 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15543 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15544 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15545 $as_echo_n "(cached) " >&6
15546 else
15547 ac_check_lib_save_LIBS=$LIBS
15548 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15552 /* Override any GCC internal prototype to avoid an error.
15553 Use char because int might match the return type of a GCC
15554 builtin and then its argument prototype would still apply. */
15555 #ifdef __cplusplus
15556 extern "C"
15557 #endif
15558 char ldap_initialize ();
15560 main ()
15562 return ldap_initialize ();
15564 return 0;
15566 _ACEOF
15567 if ac_fn_c_try_link "$LINENO"; then :
15568 ac_cv_lib_ldap_r_ldap_initialize=yes
15569 else
15570 ac_cv_lib_ldap_r_ldap_initialize=no
15572 rm -f core conftest.err conftest.$ac_objext \
15573 conftest$ac_exeext conftest.$ac_ext
15574 LIBS=$ac_check_lib_save_LIBS
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15577 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15578 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15580 $as_echo_n "checking for ber_init in -llber... " >&6; }
15581 if ${ac_cv_lib_lber_ber_init+:} false; then :
15582 $as_echo_n "(cached) " >&6
15583 else
15584 ac_check_lib_save_LIBS=$LIBS
15585 LIBS="-llber $PTHREAD_LIBS $LIBS"
15586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15589 /* Override any GCC internal prototype to avoid an error.
15590 Use char because int might match the return type of a GCC
15591 builtin and then its argument prototype would still apply. */
15592 #ifdef __cplusplus
15593 extern "C"
15594 #endif
15595 char ber_init ();
15597 main ()
15599 return ber_init ();
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 ac_cv_lib_lber_ber_init=yes
15606 else
15607 ac_cv_lib_lber_ber_init=no
15609 rm -f core conftest.err conftest.$ac_objext \
15610 conftest$ac_exeext conftest.$ac_ext
15611 LIBS=$ac_check_lib_save_LIBS
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15614 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15615 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15617 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15619 LDAP_LIBS="-lldap_r -llber"
15626 ac_wine_check_funcs_save_LIBS="$LIBS"
15627 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15628 for ac_func in \
15629 ldap_count_references \
15630 ldap_first_reference \
15631 ldap_next_reference \
15632 ldap_parse_reference \
15633 ldap_parse_sort_control \
15634 ldap_parse_sortresponse_control \
15635 ldap_parse_vlv_control \
15636 ldap_parse_vlvresponse_control
15637 do :
15638 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15639 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15640 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15641 cat >>confdefs.h <<_ACEOF
15642 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15643 _ACEOF
15646 done
15648 LIBS="$ac_wine_check_funcs_save_LIBS"
15650 if test "x$LDAP_LIBS" = "x"; then :
15651 case "x$with_ldap" in
15652 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15653 xno) ;;
15654 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15655 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15656 esac
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15661 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15662 if ${wine_cv_one_arg_mkdir+:} false; then :
15663 $as_echo_n "(cached) " >&6
15664 else
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15667 #include <sys/stat.h>
15669 main ()
15671 mkdir("foo");
15673 return 0;
15675 _ACEOF
15676 if ac_fn_c_try_compile "$LINENO"; then :
15677 wine_cv_one_arg_mkdir=yes
15678 else
15679 wine_cv_one_arg_mkdir=no
15681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15684 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15685 if test "$wine_cv_one_arg_mkdir" = "yes"
15686 then
15688 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15693 $as_echo_n "checking for sched_setaffinity... " >&6; }
15694 if ${wine_cv_have_sched_setaffinity+:} false; then :
15695 $as_echo_n "(cached) " >&6
15696 else
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15699 #define _GNU_SOURCE
15700 #include <sched.h>
15702 main ()
15704 sched_setaffinity(0, 0, 0);
15706 return 0;
15708 _ACEOF
15709 if ac_fn_c_try_link "$LINENO"; then :
15710 wine_cv_have_sched_setaffinity=yes
15711 else
15712 wine_cv_have_sched_setaffinity=no
15714 rm -f core conftest.err conftest.$ac_objext \
15715 conftest$ac_exeext conftest.$ac_ext
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15718 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15719 if test "$wine_cv_have_sched_setaffinity" = "yes"
15720 then
15722 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15727 $as_echo_n "checking for fallocate... " >&6; }
15728 if ${wine_cv_have_fallocate+:} false; then :
15729 $as_echo_n "(cached) " >&6
15730 else
15731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15732 /* end confdefs.h. */
15733 #define _GNU_SOURCE
15734 #include <fcntl.h>
15736 main ()
15738 fallocate(-1, 0, 0, 0);
15740 return 0;
15742 _ACEOF
15743 if ac_fn_c_try_link "$LINENO"; then :
15744 wine_cv_have_fallocate=yes
15745 else
15746 wine_cv_have_fallocate=no
15748 rm -f core conftest.err conftest.$ac_objext \
15749 conftest$ac_exeext conftest.$ac_ext
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15752 $as_echo "$wine_cv_have_fallocate" >&6; }
15753 if test "$wine_cv_have_fallocate" = "yes"
15754 then
15756 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15762 $as_echo_n "checking for inline... " >&6; }
15763 if ${ac_cv_c_inline+:} false; then :
15764 $as_echo_n "(cached) " >&6
15765 else
15766 ac_cv_c_inline=no
15767 for ac_kw in inline __inline__ __inline; do
15768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h. */
15770 #ifndef __cplusplus
15771 typedef int foo_t;
15772 static $ac_kw foo_t static_foo () {return 0; }
15773 $ac_kw foo_t foo () {return 0; }
15774 #endif
15776 _ACEOF
15777 if ac_fn_c_try_compile "$LINENO"; then :
15778 ac_cv_c_inline=$ac_kw
15780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15781 test "$ac_cv_c_inline" != no && break
15782 done
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15786 $as_echo "$ac_cv_c_inline" >&6; }
15788 case $ac_cv_c_inline in
15789 inline | yes) ;;
15791 case $ac_cv_c_inline in
15792 no) ac_val=;;
15793 *) ac_val=$ac_cv_c_inline;;
15794 esac
15795 cat >>confdefs.h <<_ACEOF
15796 #ifndef __cplusplus
15797 #define inline $ac_val
15798 #endif
15799 _ACEOF
15801 esac
15803 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15804 if test "x$ac_cv_type_mode_t" = xyes; then :
15806 cat >>confdefs.h <<_ACEOF
15807 #define HAVE_MODE_T 1
15808 _ACEOF
15812 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15813 if test "x$ac_cv_type_off_t" = xyes; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define HAVE_OFF_T 1
15817 _ACEOF
15821 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15822 if test "x$ac_cv_type_pid_t" = xyes; then :
15824 cat >>confdefs.h <<_ACEOF
15825 #define HAVE_PID_T 1
15826 _ACEOF
15830 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15831 if test "x$ac_cv_type_size_t" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_SIZE_T 1
15835 _ACEOF
15839 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15840 if test "x$ac_cv_type_ssize_t" = xyes; then :
15842 cat >>confdefs.h <<_ACEOF
15843 #define HAVE_SSIZE_T 1
15844 _ACEOF
15848 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15849 if test "x$ac_cv_type_long_long" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_LONG_LONG 1
15853 _ACEOF
15857 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15858 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15860 cat >>confdefs.h <<_ACEOF
15861 #define HAVE_FSBLKCNT_T 1
15862 _ACEOF
15866 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15867 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15869 cat >>confdefs.h <<_ACEOF
15870 #define HAVE_FSFILCNT_T 1
15871 _ACEOF
15876 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15877 #include <signal.h>
15879 if test "x$ac_cv_type_sigset_t" = xyes; then :
15881 cat >>confdefs.h <<_ACEOF
15882 #define HAVE_SIGSET_T 1
15883 _ACEOF
15888 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15890 if test "x$ac_cv_type_request_sense" = xyes; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define HAVE_REQUEST_SENSE 1
15894 _ACEOF
15900 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15901 #ifdef HAVE_SYS_SOCKET_H
15902 #include <sys/socket.h>
15903 #endif
15904 #ifdef HAVE_SYS_SOCKETVAR_H
15905 #include <sys/socketvar.h>
15906 #endif
15907 #ifdef HAVE_NET_ROUTE_H
15908 #include <net/route.h>
15909 #endif
15910 #ifdef HAVE_NETINET_IN_H
15911 #include <netinet/in.h>
15912 #endif
15913 #ifdef HAVE_NETINET_IN_SYSTM_H
15914 #include <netinet/in_systm.h>
15915 #endif
15916 #ifdef HAVE_NETINET_IP_H
15917 #include <netinet/ip.h>
15918 #endif
15919 #ifdef HAVE_NETINET_IN_PCB_H
15920 #include <netinet/in_pcb.h>
15921 #endif
15923 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15925 cat >>confdefs.h <<_ACEOF
15926 #define HAVE_STRUCT_XINPGEN 1
15927 _ACEOF
15933 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15934 #include <link.h>
15935 #endif
15936 #ifdef HAVE_SYS_LINK_H
15937 #include <sys/link.h>
15938 #endif
15940 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_R_DEBUG 1
15944 _ACEOF
15948 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15949 #include <link.h>
15950 #endif
15951 #ifdef HAVE_SYS_LINK_H
15952 #include <sys/link.h>
15953 #endif
15955 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15957 cat >>confdefs.h <<_ACEOF
15958 #define HAVE_STRUCT_LINK_MAP 1
15959 _ACEOF
15965 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15966 #include <linux/input.h>
15967 #endif
15969 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15973 _ACEOF
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15980 $as_echo_n "checking for sigaddset... " >&6; }
15981 if ${wine_cv_have_sigaddset+:} false; then :
15982 $as_echo_n "(cached) " >&6
15983 else
15984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15985 /* end confdefs.h. */
15986 #include <signal.h>
15988 main ()
15990 sigset_t set; sigaddset(&set,SIGTERM);
15992 return 0;
15994 _ACEOF
15995 if ac_fn_c_try_link "$LINENO"; then :
15996 wine_cv_have_sigaddset=yes
15997 else
15998 wine_cv_have_sigaddset=no
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16004 $as_echo "$wine_cv_have_sigaddset" >&6; }
16005 if test "$wine_cv_have_sigaddset" = "yes"
16006 then
16008 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16014 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16015 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16016 $as_echo_n "(cached) " >&6
16017 else
16018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16019 /* end confdefs.h. */
16020 #include <netdb.h>
16022 main ()
16025 char *name=0;
16026 struct hostent he;
16027 struct hostent *result;
16028 char *buf=0;
16029 int bufsize=0;
16030 int errnr;
16031 char *addr=0;
16032 int addrlen=0;
16033 int addrtype=0;
16034 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16035 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16038 return 0;
16040 _ACEOF
16041 if ac_fn_c_try_link "$LINENO"; then :
16042 wine_cv_linux_gethostbyname_r_6=yes
16043 else
16044 wine_cv_linux_gethostbyname_r_6=no
16047 rm -f core conftest.err conftest.$ac_objext \
16048 conftest$ac_exeext conftest.$ac_ext
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16052 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16053 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16054 then
16056 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16060 if test "$ac_cv_header_linux_joystick_h" = "yes"
16061 then
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16063 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16064 if ${wine_cv_linux_joystick_22_api+:} false; then :
16065 $as_echo_n "(cached) " >&6
16066 else
16067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16068 /* end confdefs.h. */
16070 #include <sys/ioctl.h>
16071 #include <sys/types.h>
16072 #include <linux/joystick.h>
16074 struct js_event blub;
16075 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16076 #error "no 2.2 header"
16077 #endif
16080 main ()
16082 /*empty*/
16084 return 0;
16086 _ACEOF
16087 if ac_fn_c_try_compile "$LINENO"; then :
16088 wine_cv_linux_joystick_22_api=yes
16089 else
16090 wine_cv_linux_joystick_22_api=no
16092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16096 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16097 if test "$wine_cv_linux_joystick_22_api" = "yes"
16098 then
16100 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16106 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16107 #ifdef HAVE_SYS_PARAM_H
16108 # include <sys/param.h>
16109 #endif
16110 #ifdef HAVE_SYS_MOUNT_H
16111 # include <sys/mount.h>
16112 #endif
16113 #ifdef HAVE_SYS_VFS_H
16114 # include <sys/vfs.h>
16115 #endif
16116 #ifdef HAVE_SYS_STATFS_H
16117 # include <sys/statfs.h>
16118 #endif
16120 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_STRUCT_STATFS_F_BFREE 1
16124 _ACEOF
16128 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16129 #ifdef HAVE_SYS_PARAM_H
16130 # include <sys/param.h>
16131 #endif
16132 #ifdef HAVE_SYS_MOUNT_H
16133 # include <sys/mount.h>
16134 #endif
16135 #ifdef HAVE_SYS_VFS_H
16136 # include <sys/vfs.h>
16137 #endif
16138 #ifdef HAVE_SYS_STATFS_H
16139 # include <sys/statfs.h>
16140 #endif
16142 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16144 cat >>confdefs.h <<_ACEOF
16145 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16146 _ACEOF
16150 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16151 #ifdef HAVE_SYS_PARAM_H
16152 # include <sys/param.h>
16153 #endif
16154 #ifdef HAVE_SYS_MOUNT_H
16155 # include <sys/mount.h>
16156 #endif
16157 #ifdef HAVE_SYS_VFS_H
16158 # include <sys/vfs.h>
16159 #endif
16160 #ifdef HAVE_SYS_STATFS_H
16161 # include <sys/statfs.h>
16162 #endif
16164 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16166 cat >>confdefs.h <<_ACEOF
16167 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16168 _ACEOF
16172 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16173 #ifdef HAVE_SYS_PARAM_H
16174 # include <sys/param.h>
16175 #endif
16176 #ifdef HAVE_SYS_MOUNT_H
16177 # include <sys/mount.h>
16178 #endif
16179 #ifdef HAVE_SYS_VFS_H
16180 # include <sys/vfs.h>
16181 #endif
16182 #ifdef HAVE_SYS_STATFS_H
16183 # include <sys/statfs.h>
16184 #endif
16186 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_STRUCT_STATFS_F_FFREE 1
16190 _ACEOF
16194 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16195 #ifdef HAVE_SYS_PARAM_H
16196 # include <sys/param.h>
16197 #endif
16198 #ifdef HAVE_SYS_MOUNT_H
16199 # include <sys/mount.h>
16200 #endif
16201 #ifdef HAVE_SYS_VFS_H
16202 # include <sys/vfs.h>
16203 #endif
16204 #ifdef HAVE_SYS_STATFS_H
16205 # include <sys/statfs.h>
16206 #endif
16208 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16210 cat >>confdefs.h <<_ACEOF
16211 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16212 _ACEOF
16216 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16217 #ifdef HAVE_SYS_PARAM_H
16218 # include <sys/param.h>
16219 #endif
16220 #ifdef HAVE_SYS_MOUNT_H
16221 # include <sys/mount.h>
16222 #endif
16223 #ifdef HAVE_SYS_VFS_H
16224 # include <sys/vfs.h>
16225 #endif
16226 #ifdef HAVE_SYS_STATFS_H
16227 # include <sys/statfs.h>
16228 #endif
16230 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16232 cat >>confdefs.h <<_ACEOF
16233 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16234 _ACEOF
16240 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16241 #include <sys/statvfs.h>
16242 #endif
16244 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16246 cat >>confdefs.h <<_ACEOF
16247 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16248 _ACEOF
16254 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16255 #include <dirent.h>
16256 #endif
16258 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16260 cat >>confdefs.h <<_ACEOF
16261 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16262 _ACEOF
16268 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16269 #ifdef HAVE_SYS_SOCKET_H
16270 # include <sys/socket.h>
16271 #endif
16272 #ifdef HAVE_SYS_UN_H
16273 # include <sys/un.h>
16274 #endif
16276 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16278 cat >>confdefs.h <<_ACEOF
16279 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16280 _ACEOF
16284 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16285 #ifdef HAVE_SYS_SOCKET_H
16286 # include <sys/socket.h>
16287 #endif
16288 #ifdef HAVE_SYS_UN_H
16289 # include <sys/un.h>
16290 #endif
16292 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16296 _ACEOF
16300 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16301 #ifdef HAVE_SYS_SOCKET_H
16302 # include <sys/socket.h>
16303 #endif
16304 #ifdef HAVE_SYS_UN_H
16305 # include <sys/un.h>
16306 #endif
16308 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16312 _ACEOF
16318 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16319 #ifdef HAVE_SCSI_SG_H
16320 #include <scsi/sg.h>
16321 #endif
16323 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16325 cat >>confdefs.h <<_ACEOF
16326 #define HAVE_SCSIREQ_T_CMD 1
16327 _ACEOF
16331 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>
16332 #ifdef HAVE_SCSI_SG_H
16333 #include <scsi/sg.h>
16334 #endif
16336 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16340 _ACEOF
16346 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16348 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_SIGINFO_T_SI_FD 1
16352 _ACEOF
16358 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16359 #ifdef HAVE_SYS_MTIO_H
16360 #include <sys/mtio.h>
16361 #endif
16363 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16365 cat >>confdefs.h <<_ACEOF
16366 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16367 _ACEOF
16371 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16372 #ifdef HAVE_SYS_MTIO_H
16373 #include <sys/mtio.h>
16374 #endif
16376 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16378 cat >>confdefs.h <<_ACEOF
16379 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16380 _ACEOF
16384 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16385 #ifdef HAVE_SYS_MTIO_H
16386 #include <sys/mtio.h>
16387 #endif
16389 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16393 _ACEOF
16399 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16400 #include <getopt.h>
16401 #endif
16403 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16405 cat >>confdefs.h <<_ACEOF
16406 #define HAVE_STRUCT_OPTION_NAME 1
16407 _ACEOF
16413 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16414 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16418 _ACEOF
16422 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16423 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16425 cat >>confdefs.h <<_ACEOF
16426 #define HAVE_STRUCT_STAT_ST_MTIM 1
16427 _ACEOF
16431 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16432 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16436 _ACEOF
16440 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16441 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define HAVE_STRUCT_STAT_ST_CTIM 1
16445 _ACEOF
16449 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16450 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16452 cat >>confdefs.h <<_ACEOF
16453 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16454 _ACEOF
16458 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16459 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16461 cat >>confdefs.h <<_ACEOF
16462 #define HAVE_STRUCT_STAT_ST_ATIM 1
16463 _ACEOF
16467 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16468 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16470 cat >>confdefs.h <<_ACEOF
16471 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16472 _ACEOF
16476 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16477 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16481 _ACEOF
16485 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16486 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16488 cat >>confdefs.h <<_ACEOF
16489 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16490 _ACEOF
16494 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16495 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16499 _ACEOF
16503 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16504 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16508 _ACEOF
16512 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16513 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16517 _ACEOF
16523 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
16524 #include <sys/types.h>
16525 #endif
16526 #ifdef HAVE_NETINET_IN_H
16527 #include <netinet/in.h>
16528 #endif
16530 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16534 _ACEOF
16540 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16541 #include <resolv.h>
16542 #endif
16544 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_STRUCT___RES_STATE 1
16548 _ACEOF
16554 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
16555 #include <resolv.h>
16556 #endif
16558 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16560 cat >>confdefs.h <<_ACEOF
16561 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16562 _ACEOF
16568 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16569 #include <sys/types.h>
16570 #endif
16571 #ifdef HAVE_NETINET_IN_H
16572 # include <netinet/in.h>
16573 #endif
16574 #ifdef HAVE_ARPA_NAMESER_H
16575 # include <arpa/nameser.h>
16576 #endif
16578 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_NS_MSG__MSG_PTR 1
16582 _ACEOF
16588 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16589 #include <sys/types.h>
16590 #endif
16591 #ifdef HAVE_NETINET_IP_H
16592 #include <netinet/ip.h>
16593 #endif
16594 #ifdef HAVE_NETINET_IP_ICMP_H
16595 #include <netinet/ip_icmp.h>
16596 #endif
16597 #ifdef HAVE_NETINET_ICMP_VAR_H
16598 #include <netinet/icmp_var.h>
16599 #endif
16601 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16605 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16612 #include <sys/types.h>
16613 #endif
16614 #ifdef HAVE_ALIAS_H
16615 #include <alias.h>
16616 #endif
16617 #ifdef HAVE_SYS_SOCKET_H
16618 #include <sys/socket.h>
16619 #endif
16620 #ifdef HAVE_SYS_SOCKETVAR_H
16621 #include <sys/socketvar.h>
16622 #endif
16623 #ifdef HAVE_SYS_TIMEOUT_H
16624 #include <sys/timeout.h>
16625 #endif
16626 #ifdef HAVE_NETINET_IN_H
16627 #include <netinet/in.h>
16628 #endif
16629 #ifdef HAVE_NETINET_IN_SYSTM_H
16630 #include <netinet/in_systm.h>
16631 #endif
16632 #ifdef HAVE_NETINET_IP_H
16633 #include <netinet/ip.h>
16634 #endif
16635 #ifdef HAVE_NETINET_IP_VAR_H
16636 #include <netinet/ip_var.h>
16637 #endif
16638 #ifdef HAVE_NETINET_IP_ICMP_H
16639 #include <netinet/ip_icmp.h>
16640 #endif
16641 #ifdef HAVE_NETINET_ICMP_VAR_H
16642 #include <netinet/icmp_var.h>
16643 #endif
16645 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16647 cat >>confdefs.h <<_ACEOF
16648 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16649 _ACEOF
16655 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16656 #include <sys/types.h>
16657 #endif
16658 #ifdef HAVE_SYS_SOCKETVAR_H
16659 #include <sys/socketvar.h>
16660 #endif
16661 #ifdef HAVE_NETINET_IN_H
16662 #include <netinet/in.h>
16663 #endif
16664 #ifdef HAVE_NETINET_IP_VAR_H
16665 #include <netinet/ip_var.h>
16666 #endif
16668 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16672 _ACEOF
16678 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
16679 #include <netinet/ip_var.h>
16680 #endif
16682 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16686 _ACEOF
16692 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16693 #include <sys/types.h>
16694 #endif
16695 #ifdef HAVE_SYS_SOCKETVAR_H
16696 #include <sys/socketvar.h>
16697 #endif
16698 #ifdef HAVE_NETINET_IN_H
16699 #include <netinet/in.h>
16700 #endif
16701 #ifdef HAVE_NETINET_TCP_H
16702 #include <netinet/tcp.h>
16703 #endif
16704 #ifdef HAVE_NETINET_TCP_VAR_H
16705 #include <netinet/tcp_var.h>
16706 #endif
16708 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16712 _ACEOF
16718 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
16719 #include <netinet/tcp_var.h>
16720 #endif
16722 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16726 _ACEOF
16732 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16733 #include <sys/types.h>
16734 #endif
16735 #ifdef HAVE_NETINET_IN_H
16736 #include <netinet/in.h>
16737 #endif
16738 #ifdef HAVE_NETINET_IP_VAR_H
16739 #include <netinet/ip_var.h>
16740 #endif
16741 #ifdef HAVE_NETINET_UDP_H
16742 #include <netinet/udp.h>
16743 #endif
16744 #ifdef HAVE_NETINET_UDP_VAR_H
16745 #include <netinet/udp_var.h>
16746 #endif
16748 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16752 _ACEOF
16758 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16759 #include <sys/types.h>
16760 #endif
16761 #ifdef HAVE_NET_IF_H
16762 # include <net/if.h>
16763 #endif
16765 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16767 cat >>confdefs.h <<_ACEOF
16768 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16769 _ACEOF
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16776 $as_echo_n "checking for timezone variable... " >&6; }
16777 if ${ac_cv_have_timezone+:} false; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16782 #include <time.h>
16784 main ()
16786 timezone = 1
16788 return 0;
16790 _ACEOF
16791 if ac_fn_c_try_link "$LINENO"; then :
16792 ac_cv_have_timezone="yes"
16793 else
16794 ac_cv_have_timezone="no"
16796 rm -f core conftest.err conftest.$ac_objext \
16797 conftest$ac_exeext conftest.$ac_ext
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16800 $as_echo "$ac_cv_have_timezone" >&6; }
16801 if test "$ac_cv_have_timezone" = "yes"
16802 then
16804 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16808 $as_echo_n "checking for daylight variable... " >&6; }
16809 if ${ac_cv_have_daylight+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 #include <time.h>
16816 main ()
16818 daylight = 1
16820 return 0;
16822 _ACEOF
16823 if ac_fn_c_try_link "$LINENO"; then :
16824 ac_cv_have_daylight="yes"
16825 else
16826 ac_cv_have_daylight="no"
16828 rm -f core conftest.err conftest.$ac_objext \
16829 conftest$ac_exeext conftest.$ac_ext
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16832 $as_echo "$ac_cv_have_daylight" >&6; }
16833 if test "$ac_cv_have_daylight" = "yes"
16834 then
16836 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16840 ac_save_LIBS="$LIBS"
16841 LIBS="$LIBS -lm"
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16843 $as_echo_n "checking for isfinite... " >&6; }
16844 if ${ac_cv_have_isfinite+:} false; then :
16845 $as_echo_n "(cached) " >&6
16846 else
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16849 #define _GNU_SOURCE
16850 #include <math.h>
16852 main ()
16854 float f = 0.0; return isfinite(f)
16856 return 0;
16858 _ACEOF
16859 if ac_fn_c_try_link "$LINENO"; then :
16860 ac_cv_have_isfinite="yes"
16861 else
16862 ac_cv_have_isfinite="no"
16864 rm -f core conftest.err conftest.$ac_objext \
16865 conftest$ac_exeext conftest.$ac_ext
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16868 $as_echo "$ac_cv_have_isfinite" >&6; }
16869 if test "$ac_cv_have_isfinite" = "yes"
16870 then
16872 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16877 $as_echo_n "checking for isinf... " >&6; }
16878 if ${ac_cv_have_isinf+:} false; then :
16879 $as_echo_n "(cached) " >&6
16880 else
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16883 #include <math.h>
16885 main ()
16887 float f = 0.0; return isinf(f)
16889 return 0;
16891 _ACEOF
16892 if ac_fn_c_try_link "$LINENO"; then :
16893 ac_cv_have_isinf="yes"
16894 else
16895 ac_cv_have_isinf="no"
16897 rm -f core conftest.err conftest.$ac_objext \
16898 conftest$ac_exeext conftest.$ac_ext
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16901 $as_echo "$ac_cv_have_isinf" >&6; }
16902 if test "$ac_cv_have_isinf" = "yes"
16903 then
16905 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16910 $as_echo_n "checking for isnan... " >&6; }
16911 if ${ac_cv_have_isnan+:} false; then :
16912 $as_echo_n "(cached) " >&6
16913 else
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #include <math.h>
16918 main ()
16920 float f = 0.0; return isnan(f)
16922 return 0;
16924 _ACEOF
16925 if ac_fn_c_try_link "$LINENO"; then :
16926 ac_cv_have_isnan="yes"
16927 else
16928 ac_cv_have_isnan="no"
16930 rm -f core conftest.err conftest.$ac_objext \
16931 conftest$ac_exeext conftest.$ac_ext
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16934 $as_echo "$ac_cv_have_isnan" >&6; }
16935 if test "$ac_cv_have_isnan" = "yes"
16936 then
16938 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16942 for ac_func in \
16943 asinh \
16944 asinhf \
16945 cbrt \
16946 cbrtf \
16947 erf \
16948 erff \
16949 exp2 \
16950 exp2f \
16951 lgamma \
16952 lgammaf \
16953 llrint \
16954 llrintf \
16955 llround \
16956 llroundf \
16957 log2 \
16958 log2f \
16959 lrint \
16960 lrintf \
16961 lround \
16962 lroundf \
16963 powl \
16964 remainder \
16965 remainderf \
16966 rint \
16967 rintf \
16968 round \
16969 roundf \
16970 trunc \
16971 truncf
16973 do :
16974 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16975 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16976 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16977 cat >>confdefs.h <<_ACEOF
16978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16979 _ACEOF
16982 done
16984 LIBS="$ac_save_LIBS"
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16987 $as_echo_n "checking for __builtin_clz... " >&6; }
16988 if ${ac_cv_have___builtin_clz+:} false; then :
16989 $as_echo_n "(cached) " >&6
16990 else
16991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16995 main ()
16997 return __builtin_clz(1)
16999 return 0;
17001 _ACEOF
17002 if ac_fn_c_try_link "$LINENO"; then :
17003 ac_cv_have___builtin_clz="yes"
17004 else
17005 ac_cv_have___builtin_clz="no"
17007 rm -f core conftest.err conftest.$ac_objext \
17008 conftest$ac_exeext conftest.$ac_ext
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17011 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17012 if test "$ac_cv_have___builtin_clz" = "yes"
17013 then
17015 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17020 $as_echo_n "checking for __builtin_popcount... " >&6; }
17021 if ${ac_cv_have___builtin_popcount+:} false; then :
17022 $as_echo_n "(cached) " >&6
17023 else
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17028 main ()
17030 return __builtin_popcount(1)
17032 return 0;
17034 _ACEOF
17035 if ac_fn_c_try_link "$LINENO"; then :
17036 ac_cv_have___builtin_popcount="yes"
17037 else
17038 ac_cv_have___builtin_popcount="no"
17040 rm -f core conftest.err conftest.$ac_objext \
17041 conftest$ac_exeext conftest.$ac_ext
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17044 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17045 if test "$ac_cv_have___builtin_popcount" = "yes"
17046 then
17048 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17053 case $host_cpu in
17054 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17055 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17056 if ${ac_cv_cpp_def___i386__+:} false; then :
17057 $as_echo_n "(cached) " >&6
17058 else
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 #ifndef __i386__
17063 #endif
17064 _ACEOF
17065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17066 $EGREP "yes" >/dev/null 2>&1; then :
17067 ac_cv_cpp_def___i386__=yes
17068 else
17069 ac_cv_cpp_def___i386__=no
17071 rm -f conftest*
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17075 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17076 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17077 CFLAGS="$CFLAGS -D__i386__"
17078 LINTFLAGS="$LINTFLAGS -D__i386__"
17079 fi ;;
17080 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17081 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17082 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #ifndef __x86_64__
17089 #endif
17090 _ACEOF
17091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17092 $EGREP "yes" >/dev/null 2>&1; then :
17093 ac_cv_cpp_def___x86_64__=yes
17094 else
17095 ac_cv_cpp_def___x86_64__=no
17097 rm -f conftest*
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17101 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17102 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17103 CFLAGS="$CFLAGS -D__x86_64__"
17104 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17105 fi ;;
17106 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17107 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17108 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #ifndef __sparc64__
17115 #endif
17116 _ACEOF
17117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17118 $EGREP "yes" >/dev/null 2>&1; then :
17119 ac_cv_cpp_def___sparc64__=yes
17120 else
17121 ac_cv_cpp_def___sparc64__=no
17123 rm -f conftest*
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17127 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17128 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17129 CFLAGS="$CFLAGS -D__sparc64__"
17130 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17131 fi ;;
17132 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17133 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17134 if ${ac_cv_cpp_def___sparc__+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17139 #ifndef __sparc__
17141 #endif
17142 _ACEOF
17143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17144 $EGREP "yes" >/dev/null 2>&1; then :
17145 ac_cv_cpp_def___sparc__=yes
17146 else
17147 ac_cv_cpp_def___sparc__=no
17149 rm -f conftest*
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17153 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17154 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17155 CFLAGS="$CFLAGS -D__sparc__"
17156 LINTFLAGS="$LINTFLAGS -D__sparc__"
17157 fi ;;
17158 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17159 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17160 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17161 $as_echo_n "(cached) " >&6
17162 else
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #ifndef __powerpc64__
17167 #endif
17168 _ACEOF
17169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17170 $EGREP "yes" >/dev/null 2>&1; then :
17171 ac_cv_cpp_def___powerpc64__=yes
17172 else
17173 ac_cv_cpp_def___powerpc64__=no
17175 rm -f conftest*
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17179 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17180 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17181 CFLAGS="$CFLAGS -D__powerpc64__"
17182 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17183 fi ;;
17184 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17185 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17186 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17187 $as_echo_n "(cached) " >&6
17188 else
17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h. */
17191 #ifndef __powerpc__
17193 #endif
17194 _ACEOF
17195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17196 $EGREP "yes" >/dev/null 2>&1; then :
17197 ac_cv_cpp_def___powerpc__=yes
17198 else
17199 ac_cv_cpp_def___powerpc__=no
17201 rm -f conftest*
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17205 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17206 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17207 CFLAGS="$CFLAGS -D__powerpc__"
17208 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17209 fi ;;
17210 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17211 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17212 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17213 $as_echo_n "(cached) " >&6
17214 else
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17217 #ifndef __aarch64__
17219 #endif
17220 _ACEOF
17221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17222 $EGREP "yes" >/dev/null 2>&1; then :
17223 ac_cv_cpp_def___aarch64__=yes
17224 else
17225 ac_cv_cpp_def___aarch64__=no
17227 rm -f conftest*
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17231 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17232 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17233 CFLAGS="$CFLAGS -D__aarch64__"
17234 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17235 fi ;;
17236 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17237 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17238 if ${ac_cv_cpp_def___arm__+:} false; then :
17239 $as_echo_n "(cached) " >&6
17240 else
17241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h. */
17243 #ifndef __arm__
17245 #endif
17246 _ACEOF
17247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17248 $EGREP "yes" >/dev/null 2>&1; then :
17249 ac_cv_cpp_def___arm__=yes
17250 else
17251 ac_cv_cpp_def___arm__=no
17253 rm -f conftest*
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17257 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17258 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17259 CFLAGS="$CFLAGS -D__arm__"
17260 LINTFLAGS="$LINTFLAGS -D__arm__"
17261 fi ;;
17262 esac
17264 case $host_vendor in
17265 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17266 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17267 if ${ac_cv_cpp_def___sun__+:} false; then :
17268 $as_echo_n "(cached) " >&6
17269 else
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 #ifndef __sun__
17274 #endif
17275 _ACEOF
17276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17277 $EGREP "yes" >/dev/null 2>&1; then :
17278 ac_cv_cpp_def___sun__=yes
17279 else
17280 ac_cv_cpp_def___sun__=no
17282 rm -f conftest*
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17286 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17287 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17288 CFLAGS="$CFLAGS -D__sun__"
17289 LINTFLAGS="$LINTFLAGS -D__sun__"
17290 fi ;;
17291 esac
17297 ac_config_commands="$ac_config_commands include/stamp-h"
17299 $as_echo_n "creating Makefile rules..." >&6
17301 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17302 SOCKET_LIBS = $SOCKET_LIBS
17303 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17304 IOKIT_LIBS = $IOKIT_LIBS
17305 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17306 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17307 CORESERVICES_LIBS = $CORESERVICES_LIBS
17308 APPKIT_LIBS = $APPKIT_LIBS
17309 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17310 SECURITY_LIBS = $SECURITY_LIBS
17311 COREAUDIO_LIBS = $COREAUDIO_LIBS
17312 OPENAL_LIBS = $OPENAL_LIBS
17313 OPENCL_LIBS = $OPENCL_LIBS
17314 QUICKTIME_LIBS = $QUICKTIME_LIBS
17315 CARBON_LIBS = $CARBON_LIBS
17316 PTHREAD_LIBS = $PTHREAD_LIBS
17317 X_CFLAGS = $X_CFLAGS
17318 X_PRE_LIBS = $X_PRE_LIBS
17319 X_LIBS = $X_LIBS
17320 X_EXTRA_LIBS = $X_EXTRA_LIBS
17321 PCAP_LIBS = $PCAP_LIBS
17322 XML2_CFLAGS = $XML2_CFLAGS
17323 XML2_LIBS = $XML2_LIBS
17324 XSLT_CFLAGS = $XSLT_CFLAGS
17325 XSLT_LIBS = $XSLT_LIBS
17326 DBUS_CFLAGS = $DBUS_CFLAGS
17327 DBUS_LIBS = $DBUS_LIBS
17328 HAL_CFLAGS = $HAL_CFLAGS
17329 HAL_LIBS = $HAL_LIBS
17330 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17331 GNUTLS_LIBS = $GNUTLS_LIBS
17332 SANE_CFLAGS = $SANE_CFLAGS
17333 SANE_LIBS = $SANE_LIBS
17334 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17335 GPHOTO2_LIBS = $GPHOTO2_LIBS
17336 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17337 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17338 RESOLV_LIBS = $RESOLV_LIBS
17339 LCMS2_CFLAGS = $LCMS2_CFLAGS
17340 LCMS2_LIBS = $LCMS2_LIBS
17341 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17342 FREETYPE_LIBS = $FREETYPE_LIBS
17343 Z_LIBS = $Z_LIBS
17344 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17345 PULSE_CFLAGS = $PULSE_CFLAGS
17346 PULSE_LIBS = $PULSE_LIBS
17347 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17348 GSTREAMER_LIBS = $GSTREAMER_LIBS
17349 ALSA_LIBS = $ALSA_LIBS
17350 OSS4_CFLAGS = $OSS4_CFLAGS
17351 CAPI20_CFLAGS = $CAPI20_CFLAGS
17352 CAPI20_LIBS = $CAPI20_LIBS
17353 CUPS_CFLAGS = $CUPS_CFLAGS
17354 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17355 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17356 JPEG_CFLAGS = $JPEG_CFLAGS
17357 JPEG_LIBS = $JPEG_LIBS
17358 PNG_CFLAGS = $PNG_CFLAGS
17359 PNG_LIBS = $PNG_LIBS
17360 TIFF_CFLAGS = $TIFF_CFLAGS
17361 TIFF_LIBS = $TIFF_LIBS
17362 MPG123_CFLAGS = $MPG123_CFLAGS
17363 MPG123_LIBS = $MPG123_LIBS
17364 KSTAT_LIBS = $KSTAT_LIBS
17365 PROCSTAT_LIBS = $PROCSTAT_LIBS
17366 NETAPI_CFLAGS = $NETAPI_CFLAGS
17367 NETAPI_LIBS = $NETAPI_LIBS
17368 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17369 DL_LIBS = $DL_LIBS
17370 POLL_LIBS = $POLL_LIBS
17371 RT_LIBS = $RT_LIBS
17372 LDAP_LIBS = $LDAP_LIBS
17377 wine_fn_append_rule "
17378 # Rules automatically generated by configure
17380 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17382 .INIT: Makefile
17383 .MAKEFILEDEPS:
17384 all: Makefile
17385 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17386 @./config.status Make.tmp Makefile
17387 depend: \$(MAKEDEP) dummy
17388 \$(MAKEDEP)"
17390 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17391 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17393 if test "x$enable_fonts" != xno; then
17394 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17395 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17396 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17397 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17398 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17399 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17401 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17402 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17403 ac_config_links="$ac_config_links wine:tools/winewrapper"
17404 wine_fn_config_symlink wine
17405 if test "x$enable_win64" != xno; then
17406 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17407 wine_fn_config_symlink wine64
17410 wine_fn_config_dll acledit enable_acledit
17411 wine_fn_config_dll aclui enable_aclui implib
17412 wine_fn_config_dll activeds enable_activeds implib
17413 wine_fn_config_dll actxprxy enable_actxprxy clean
17414 wine_fn_config_lib adsiid
17415 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17416 wine_fn_config_test dlls/advapi32/tests advapi32_test
17417 wine_fn_config_dll advpack enable_advpack implib
17418 wine_fn_config_test dlls/advpack/tests advpack_test
17419 wine_fn_config_dll amstream enable_amstream clean
17420 wine_fn_config_test dlls/amstream/tests amstream_test
17421 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17423 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17424 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17425 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17426 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17427 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17428 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17429 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17430 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17431 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17432 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17433 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17434 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17435 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17436 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17437 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17438 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17439 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17440 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17442 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17443 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17444 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17446 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17447 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17448 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17449 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17451 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17453 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17454 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17456 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17457 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17460 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17461 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17462 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17463 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17464 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17465 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17467 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17469 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17470 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17471 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17472 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17473 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17475 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17476 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17477 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17478 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17479 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17480 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17481 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17482 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17483 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17484 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17485 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17486 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17487 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17488 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17489 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17490 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17491 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17492 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17493 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17494 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17495 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17496 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17497 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17498 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17499 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17500 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17501 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17502 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17503 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17504 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17505 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17506 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17507 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17508 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17509 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17510 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17511 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17512 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17513 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17514 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17515 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17516 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17517 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17518 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17519 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17520 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17521 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17522 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17523 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17524 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17525 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17526 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17527 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17528 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17529 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17530 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17531 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17532 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17533 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17534 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17535 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17536 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17537 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17538 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17539 wine_fn_config_dll apphelp enable_apphelp
17540 wine_fn_config_test dlls/apphelp/tests apphelp_test
17541 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17542 wine_fn_config_dll atl enable_atl clean,implib
17543 wine_fn_config_test dlls/atl/tests atl_test
17544 wine_fn_config_dll atl100 enable_atl100 clean,implib
17545 wine_fn_config_test dlls/atl100/tests atl100_test
17546 wine_fn_config_dll atl110 enable_atl110 clean
17547 wine_fn_config_dll atl80 enable_atl80 clean,implib
17548 wine_fn_config_test dlls/atl80/tests atl80_test
17549 wine_fn_config_dll atl90 enable_atl90 clean
17550 wine_fn_config_dll authz enable_authz
17551 wine_fn_config_dll avicap32 enable_avicap32 implib
17552 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17553 wine_fn_config_test dlls/avifil32/tests avifil32_test
17554 wine_fn_config_dll avifile.dll16 enable_win16
17555 wine_fn_config_dll avrt enable_avrt implib
17556 wine_fn_config_dll bcrypt enable_bcrypt implib
17557 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17558 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17559 wine_fn_config_dll browseui enable_browseui clean
17560 wine_fn_config_test dlls/browseui/tests browseui_test
17561 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17562 wine_fn_config_dll cabinet enable_cabinet implib
17563 wine_fn_config_test dlls/cabinet/tests cabinet_test
17564 wine_fn_config_dll capi2032 enable_capi2032 implib
17565 wine_fn_config_dll cards enable_cards implib
17566 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17567 wine_fn_config_dll clusapi enable_clusapi implib
17568 wine_fn_config_dll combase enable_combase
17569 wine_fn_config_test dlls/combase/tests combase_test
17570 wine_fn_config_dll comcat enable_comcat
17571 wine_fn_config_test dlls/comcat/tests comcat_test
17572 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17573 wine_fn_config_test dlls/comctl32/tests comctl32_test
17574 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17575 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17576 wine_fn_config_dll comm.drv16 enable_win16
17577 wine_fn_config_dll commdlg.dll16 enable_win16
17578 wine_fn_config_dll compobj.dll16 enable_win16
17579 wine_fn_config_dll compstui enable_compstui implib
17580 wine_fn_config_dll comsvcs enable_comsvcs implib
17581 wine_fn_config_dll concrt140 enable_concrt140
17582 wine_fn_config_dll connect enable_connect
17583 wine_fn_config_dll credui enable_credui clean,implib
17584 wine_fn_config_test dlls/credui/tests credui_test
17585 wine_fn_config_dll crtdll enable_crtdll
17586 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17587 wine_fn_config_test dlls/crypt32/tests crypt32_test
17588 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17589 wine_fn_config_dll cryptdll enable_cryptdll implib
17590 wine_fn_config_dll cryptext enable_cryptext
17591 wine_fn_config_dll cryptnet enable_cryptnet implib
17592 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17593 wine_fn_config_dll cryptui enable_cryptui clean,implib
17594 wine_fn_config_test dlls/cryptui/tests cryptui_test
17595 wine_fn_config_dll ctapi32 enable_ctapi32
17596 wine_fn_config_dll ctl3d.dll16 enable_win16
17597 wine_fn_config_dll ctl3d32 enable_ctl3d32
17598 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17599 wine_fn_config_dll d2d1 enable_d2d1 implib
17600 wine_fn_config_test dlls/d2d1/tests d2d1_test
17601 wine_fn_config_dll d3d10 enable_d3d10 implib
17602 wine_fn_config_test dlls/d3d10/tests d3d10_test
17603 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17604 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17605 wine_fn_config_dll d3d10core enable_d3d10core implib
17606 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17607 wine_fn_config_dll d3d11 enable_d3d11 implib
17608 wine_fn_config_test dlls/d3d11/tests d3d11_test
17609 wine_fn_config_dll d3d8 enable_d3d8 implib
17610 wine_fn_config_test dlls/d3d8/tests d3d8_test
17611 wine_fn_config_dll d3d9 enable_d3d9 implib
17612 wine_fn_config_test dlls/d3d9/tests d3d9_test
17613 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17614 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17615 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17616 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17617 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17618 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17619 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17620 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17621 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17622 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17623 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17624 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17625 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17626 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17627 wine_fn_config_dll d3dim enable_d3dim
17628 wine_fn_config_dll d3drm enable_d3drm implib
17629 wine_fn_config_test dlls/d3drm/tests d3drm_test
17630 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17631 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17632 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17633 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17634 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17635 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17636 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17637 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17638 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17639 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17640 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17641 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17642 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17643 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17644 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17645 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17646 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17647 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17648 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17649 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17650 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17651 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17652 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17653 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17654 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17655 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17656 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17657 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17658 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17659 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17660 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17661 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17662 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17663 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17664 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17665 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17666 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17667 wine_fn_config_dll davclnt enable_davclnt
17668 wine_fn_config_dll dbgeng enable_dbgeng implib
17669 wine_fn_config_dll dbghelp enable_dbghelp implib
17670 wine_fn_config_dll dciman32 enable_dciman32 implib
17671 wine_fn_config_dll ddeml.dll16 enable_win16
17672 wine_fn_config_dll ddraw enable_ddraw clean,implib
17673 wine_fn_config_test dlls/ddraw/tests ddraw_test
17674 wine_fn_config_dll ddrawex enable_ddrawex clean
17675 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17676 wine_fn_config_dll devenum enable_devenum clean
17677 wine_fn_config_test dlls/devenum/tests devenum_test
17678 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17679 wine_fn_config_dll difxapi enable_difxapi
17680 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17681 wine_fn_config_test dlls/dinput/tests dinput_test
17682 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17683 wine_fn_config_test dlls/dinput8/tests dinput8_test
17684 wine_fn_config_dll dispdib.dll16 enable_win16
17685 wine_fn_config_dll dispex enable_dispex clean
17686 wine_fn_config_test dlls/dispex/tests dispex_test
17687 wine_fn_config_dll display.drv16 enable_win16
17688 wine_fn_config_dll dmband enable_dmband clean
17689 wine_fn_config_test dlls/dmband/tests dmband_test
17690 wine_fn_config_dll dmcompos enable_dmcompos clean
17691 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17692 wine_fn_config_dll dmime enable_dmime clean
17693 wine_fn_config_test dlls/dmime/tests dmime_test
17694 wine_fn_config_dll dmloader enable_dmloader clean
17695 wine_fn_config_test dlls/dmloader/tests dmloader_test
17696 wine_fn_config_dll dmscript enable_dmscript clean
17697 wine_fn_config_test dlls/dmscript/tests dmscript_test
17698 wine_fn_config_dll dmstyle enable_dmstyle clean
17699 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17700 wine_fn_config_dll dmsynth enable_dmsynth clean
17701 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17702 wine_fn_config_dll dmusic enable_dmusic clean
17703 wine_fn_config_test dlls/dmusic/tests dmusic_test
17704 wine_fn_config_dll dmusic32 enable_dmusic32
17705 wine_fn_config_dll dnsapi enable_dnsapi implib
17706 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17707 wine_fn_config_dll dplay enable_dplay
17708 wine_fn_config_dll dplayx enable_dplayx clean,implib
17709 wine_fn_config_test dlls/dplayx/tests dplayx_test
17710 wine_fn_config_dll dpnaddr enable_dpnaddr
17711 wine_fn_config_dll dpnet enable_dpnet clean,implib
17712 wine_fn_config_test dlls/dpnet/tests dpnet_test
17713 wine_fn_config_dll dpnhpast enable_dpnhpast
17714 wine_fn_config_dll dpnlobby enable_dpnlobby
17715 wine_fn_config_dll dpvoice enable_dpvoice clean
17716 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17717 wine_fn_config_dll dpwsockx enable_dpwsockx
17718 wine_fn_config_dll drmclien enable_drmclien
17719 wine_fn_config_dll dsound enable_dsound clean,implib
17720 wine_fn_config_test dlls/dsound/tests dsound_test
17721 wine_fn_config_dll dssenh enable_dssenh
17722 wine_fn_config_test dlls/dssenh/tests dssenh_test
17723 wine_fn_config_dll dswave enable_dswave clean
17724 wine_fn_config_test dlls/dswave/tests dswave_test
17725 wine_fn_config_dll dwmapi enable_dwmapi implib
17726 wine_fn_config_dll dwrite enable_dwrite implib
17727 wine_fn_config_test dlls/dwrite/tests dwrite_test
17728 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17729 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17730 wine_fn_config_lib dxerr8
17731 wine_fn_config_lib dxerr9
17732 wine_fn_config_dll dxgi enable_dxgi implib
17733 wine_fn_config_test dlls/dxgi/tests dxgi_test
17734 wine_fn_config_lib dxguid
17735 wine_fn_config_dll dxva2 enable_dxva2
17736 wine_fn_config_dll esent enable_esent
17737 wine_fn_config_dll evr enable_evr
17738 wine_fn_config_dll explorerframe enable_explorerframe clean
17739 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17740 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17741 wine_fn_config_dll faultrep enable_faultrep implib
17742 wine_fn_config_test dlls/faultrep/tests faultrep_test
17743 wine_fn_config_dll fltlib enable_fltlib
17744 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17745 wine_fn_config_dll fntcache enable_fntcache
17746 wine_fn_config_dll fontsub enable_fontsub
17747 wine_fn_config_dll fusion enable_fusion
17748 wine_fn_config_test dlls/fusion/tests fusion_test
17749 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17750 wine_fn_config_dll gameux enable_gameux clean
17751 wine_fn_config_test dlls/gameux/tests gameux_test
17752 wine_fn_config_dll gdi.exe16 enable_win16
17753 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17754 wine_fn_config_test dlls/gdi32/tests gdi32_test
17755 wine_fn_config_dll gdiplus enable_gdiplus implib
17756 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17757 wine_fn_config_dll glu32 enable_glu32 implib
17758 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17759 wine_fn_config_dll gpkcsp enable_gpkcsp
17760 wine_fn_config_dll hal enable_hal
17761 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17762 wine_fn_config_dll hid enable_hid implib
17763 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17764 wine_fn_config_dll hlink enable_hlink clean,implib
17765 wine_fn_config_test dlls/hlink/tests hlink_test
17766 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17767 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17768 wine_fn_config_dll httpapi enable_httpapi
17769 wine_fn_config_dll iccvid enable_iccvid clean
17770 wine_fn_config_dll icmp enable_icmp
17771 wine_fn_config_dll ieframe enable_ieframe clean,implib
17772 wine_fn_config_test dlls/ieframe/tests ieframe_test
17773 wine_fn_config_dll ifsmgr.vxd enable_win16
17774 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17775 wine_fn_config_dll imagehlp enable_imagehlp implib
17776 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17777 wine_fn_config_dll imm.dll16 enable_win16
17778 wine_fn_config_dll imm32 enable_imm32 implib
17779 wine_fn_config_test dlls/imm32/tests imm32_test
17780 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17781 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17782 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17783 wine_fn_config_dll inetmib1 enable_inetmib1
17784 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17785 wine_fn_config_dll infosoft enable_infosoft clean
17786 wine_fn_config_test dlls/infosoft/tests infosoft_test
17787 wine_fn_config_dll initpki enable_initpki
17788 wine_fn_config_dll inkobj enable_inkobj
17789 wine_fn_config_dll inseng enable_inseng clean
17790 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17791 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17792 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17793 wine_fn_config_dll itircl enable_itircl
17794 wine_fn_config_dll itss enable_itss clean
17795 wine_fn_config_test dlls/itss/tests itss_test
17796 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17797 wine_fn_config_dll jscript enable_jscript clean
17798 wine_fn_config_test dlls/jscript/tests jscript_test
17799 wine_fn_config_dll jsproxy enable_jsproxy implib
17800 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17801 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17802 wine_fn_config_test dlls/kernel32/tests kernel32_test
17803 wine_fn_config_dll kernelbase enable_kernelbase
17804 wine_fn_config_dll keyboard.drv16 enable_win16
17805 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17806 wine_fn_config_dll ksuser enable_ksuser
17807 wine_fn_config_dll ktmw32 enable_ktmw32
17808 wine_fn_config_dll loadperf enable_loadperf implib
17809 wine_fn_config_dll localspl enable_localspl clean
17810 wine_fn_config_test dlls/localspl/tests localspl_test
17811 wine_fn_config_dll localui enable_localui clean
17812 wine_fn_config_test dlls/localui/tests localui_test
17813 wine_fn_config_dll lz32 enable_lz32 implib
17814 wine_fn_config_test dlls/lz32/tests lz32_test
17815 wine_fn_config_dll lzexpand.dll16 enable_win16
17816 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17817 wine_fn_config_test dlls/mapi32/tests mapi32_test
17818 wine_fn_config_dll mapistub enable_mapistub
17819 wine_fn_config_dll mciavi32 enable_mciavi32
17820 wine_fn_config_dll mcicda enable_mcicda
17821 wine_fn_config_dll mciqtz32 enable_mciqtz32
17822 wine_fn_config_dll mciseq enable_mciseq
17823 wine_fn_config_dll mciwave enable_mciwave
17824 wine_fn_config_dll mf enable_mf
17825 wine_fn_config_dll mfplat enable_mfplat
17826 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17827 wine_fn_config_dll mgmtapi enable_mgmtapi
17828 wine_fn_config_dll midimap enable_midimap
17829 wine_fn_config_dll mlang enable_mlang clean,implib
17830 wine_fn_config_test dlls/mlang/tests mlang_test
17831 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17832 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17833 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17834 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17835 wine_fn_config_dll mmdevldr.vxd enable_win16
17836 wine_fn_config_dll mmsystem.dll16 enable_win16
17837 wine_fn_config_dll monodebg.vxd enable_win16
17838 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17839 wine_fn_config_dll mouse.drv16 enable_win16
17840 wine_fn_config_dll mpr enable_mpr clean,implib
17841 wine_fn_config_test dlls/mpr/tests mpr_test
17842 wine_fn_config_dll mprapi enable_mprapi implib
17843 wine_fn_config_dll msacm.dll16 enable_win16
17844 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17845 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17846 wine_fn_config_test dlls/msacm32/tests msacm32_test
17847 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17848 wine_fn_config_dll msasn1 enable_msasn1 implib
17849 wine_fn_config_dll mscat32 enable_mscat32
17850 wine_fn_config_dll mscms enable_mscms implib
17851 wine_fn_config_test dlls/mscms/tests mscms_test
17852 wine_fn_config_dll mscoree enable_mscoree clean
17853 wine_fn_config_test dlls/mscoree/tests mscoree_test
17854 wine_fn_config_dll msctf enable_msctf clean
17855 wine_fn_config_test dlls/msctf/tests msctf_test
17856 wine_fn_config_dll msctfp enable_msctfp clean
17857 wine_fn_config_dll msdaps enable_msdaps clean
17858 wine_fn_config_dll msdelta enable_msdelta
17859 wine_fn_config_dll msdmo enable_msdmo implib
17860 wine_fn_config_test dlls/msdmo/tests msdmo_test
17861 wine_fn_config_dll msdrm enable_msdrm
17862 wine_fn_config_dll msftedit enable_msftedit
17863 wine_fn_config_dll msg711.acm enable_msg711_acm
17864 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17865 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17866 wine_fn_config_dll mshtml enable_mshtml clean,implib
17867 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17868 wine_fn_config_dll msi enable_msi clean,implib
17869 wine_fn_config_test dlls/msi/tests msi_test
17870 wine_fn_config_dll msident enable_msident clean
17871 wine_fn_config_dll msimg32 enable_msimg32 implib
17872 wine_fn_config_dll msimsg enable_msimsg
17873 wine_fn_config_dll msimtf enable_msimtf clean
17874 wine_fn_config_dll msisip enable_msisip
17875 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17876 wine_fn_config_dll msls31 enable_msls31
17877 wine_fn_config_dll msnet32 enable_msnet32
17878 wine_fn_config_dll mspatcha enable_mspatcha implib
17879 wine_fn_config_dll msports enable_msports
17880 wine_fn_config_dll msrle32 enable_msrle32 clean
17881 wine_fn_config_test dlls/msrle32/tests msrle32_test
17882 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17883 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17884 wine_fn_config_dll mssign32 enable_mssign32
17885 wine_fn_config_dll mssip32 enable_mssip32
17886 wine_fn_config_dll mstask enable_mstask clean
17887 wine_fn_config_test dlls/mstask/tests mstask_test
17888 wine_fn_config_dll msvcirt enable_msvcirt
17889 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17890 wine_fn_config_dll msvcm80 enable_msvcm80
17891 wine_fn_config_dll msvcm90 enable_msvcm90
17892 wine_fn_config_dll msvcp100 enable_msvcp100
17893 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17894 wine_fn_config_dll msvcp110 enable_msvcp110
17895 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17896 wine_fn_config_dll msvcp120 enable_msvcp120
17897 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17898 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17899 wine_fn_config_dll msvcp140 enable_msvcp140
17900 wine_fn_config_dll msvcp60 enable_msvcp60
17901 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17902 wine_fn_config_dll msvcp70 enable_msvcp70
17903 wine_fn_config_dll msvcp71 enable_msvcp71
17904 wine_fn_config_dll msvcp80 enable_msvcp80
17905 wine_fn_config_dll msvcp90 enable_msvcp90
17906 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17907 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17908 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17909 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17910 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17911 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17912 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17913 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17914 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17915 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17916 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17917 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17918 wine_fn_config_dll msvcrt enable_msvcrt implib
17919 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17920 wine_fn_config_dll msvcrt20 enable_msvcrt20
17921 wine_fn_config_dll msvcrt40 enable_msvcrt40
17922 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17923 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17924 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17925 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17926 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17927 wine_fn_config_dll msvideo.dll16 enable_win16
17928 wine_fn_config_dll mswsock enable_mswsock implib
17929 wine_fn_config_dll msxml enable_msxml clean
17930 wine_fn_config_dll msxml2 enable_msxml2 clean
17931 wine_fn_config_dll msxml3 enable_msxml3 clean
17932 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17933 wine_fn_config_dll msxml4 enable_msxml4 clean
17934 wine_fn_config_dll msxml6 enable_msxml6 clean
17935 wine_fn_config_dll ncrypt enable_ncrypt
17936 wine_fn_config_dll nddeapi enable_nddeapi implib
17937 wine_fn_config_dll ndis.sys enable_ndis_sys
17938 wine_fn_config_dll netapi32 enable_netapi32 implib
17939 wine_fn_config_test dlls/netapi32/tests netapi32_test
17940 wine_fn_config_dll netcfgx enable_netcfgx clean
17941 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17942 wine_fn_config_dll netprofm enable_netprofm clean
17943 wine_fn_config_test dlls/netprofm/tests netprofm_test
17944 wine_fn_config_dll newdev enable_newdev implib
17945 wine_fn_config_dll normaliz enable_normaliz implib
17946 wine_fn_config_dll npmshtml enable_npmshtml
17947 wine_fn_config_dll npptools enable_npptools
17948 wine_fn_config_dll ntdll enable_ntdll implib
17949 wine_fn_config_test dlls/ntdll/tests ntdll_test
17950 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17951 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17952 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17953 wine_fn_config_dll ntprint enable_ntprint
17954 wine_fn_config_test dlls/ntprint/tests ntprint_test
17955 wine_fn_config_dll objsel enable_objsel clean
17956 wine_fn_config_dll odbc32 enable_odbc32 implib
17957 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17958 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17959 wine_fn_config_dll odbccu32 enable_odbccu32
17960 wine_fn_config_dll ole2.dll16 enable_win16
17961 wine_fn_config_dll ole2conv.dll16 enable_win16
17962 wine_fn_config_dll ole2disp.dll16 enable_win16
17963 wine_fn_config_dll ole2nls.dll16 enable_win16
17964 wine_fn_config_dll ole2prox.dll16 enable_win16
17965 wine_fn_config_dll ole2thk.dll16 enable_win16
17966 wine_fn_config_dll ole32 enable_ole32 clean,implib
17967 wine_fn_config_test dlls/ole32/tests ole32_test
17968 wine_fn_config_dll oleacc enable_oleacc clean,implib
17969 wine_fn_config_test dlls/oleacc/tests oleacc_test
17970 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17971 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17972 wine_fn_config_dll olecli.dll16 enable_win16
17973 wine_fn_config_dll olecli32 enable_olecli32 implib
17974 wine_fn_config_dll oledb32 enable_oledb32 clean
17975 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17976 wine_fn_config_dll oledlg enable_oledlg clean,implib
17977 wine_fn_config_test dlls/oledlg/tests oledlg_test
17978 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17979 wine_fn_config_dll olesvr.dll16 enable_win16
17980 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17981 wine_fn_config_dll olethk32 enable_olethk32
17982 wine_fn_config_dll openal32 enable_openal32
17983 wine_fn_config_dll opencl enable_opencl
17984 wine_fn_config_dll opengl32 enable_opengl32 implib
17985 wine_fn_config_test dlls/opengl32/tests opengl32_test
17986 wine_fn_config_dll packager enable_packager clean
17987 wine_fn_config_test dlls/packager/tests packager_test
17988 wine_fn_config_dll pdh enable_pdh implib
17989 wine_fn_config_test dlls/pdh/tests pdh_test
17990 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17991 wine_fn_config_dll pidgen enable_pidgen
17992 wine_fn_config_dll powrprof enable_powrprof implib
17993 wine_fn_config_dll printui enable_printui
17994 wine_fn_config_dll prntvpt enable_prntvpt
17995 wine_fn_config_dll propsys enable_propsys clean,implib
17996 wine_fn_config_test dlls/propsys/tests propsys_test
17997 wine_fn_config_dll psapi enable_psapi implib
17998 wine_fn_config_test dlls/psapi/tests psapi_test
17999 wine_fn_config_dll pstorec enable_pstorec clean
18000 wine_fn_config_dll qcap enable_qcap
18001 wine_fn_config_test dlls/qcap/tests qcap_test
18002 wine_fn_config_dll qedit enable_qedit clean
18003 wine_fn_config_test dlls/qedit/tests qedit_test
18004 wine_fn_config_dll qmgr enable_qmgr clean
18005 wine_fn_config_test dlls/qmgr/tests qmgr_test
18006 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18007 wine_fn_config_dll quartz enable_quartz clean,implib
18008 wine_fn_config_test dlls/quartz/tests quartz_test clean
18009 wine_fn_config_dll query enable_query
18010 wine_fn_config_dll rasapi16.dll16 enable_win16
18011 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18012 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18013 wine_fn_config_dll rasdlg enable_rasdlg implib
18014 wine_fn_config_dll regapi enable_regapi
18015 wine_fn_config_dll resutils enable_resutils implib
18016 wine_fn_config_dll riched20 enable_riched20 clean,implib
18017 wine_fn_config_test dlls/riched20/tests riched20_test
18018 wine_fn_config_dll riched32 enable_riched32
18019 wine_fn_config_test dlls/riched32/tests riched32_test
18020 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18021 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18022 wine_fn_config_dll rsabase enable_rsabase
18023 wine_fn_config_dll rsaenh enable_rsaenh implib
18024 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18025 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18026 wine_fn_config_dll rtutils enable_rtutils implib
18027 wine_fn_config_dll samlib enable_samlib
18028 wine_fn_config_dll sane.ds enable_sane_ds clean
18029 wine_fn_config_dll scarddlg enable_scarddlg
18030 wine_fn_config_dll sccbase enable_sccbase
18031 wine_fn_config_dll schannel enable_schannel
18032 wine_fn_config_test dlls/schannel/tests schannel_test
18033 wine_fn_config_dll schedsvc enable_schedsvc clean
18034 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18035 wine_fn_config_dll scrrun enable_scrrun clean
18036 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18037 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18038 wine_fn_config_dll secur32 enable_secur32 implib
18039 wine_fn_config_test dlls/secur32/tests secur32_test
18040 wine_fn_config_dll security enable_security
18041 wine_fn_config_dll sensapi enable_sensapi implib
18042 wine_fn_config_dll serialui enable_serialui clean
18043 wine_fn_config_test dlls/serialui/tests serialui_test
18044 wine_fn_config_dll setupapi enable_setupapi clean,implib
18045 wine_fn_config_test dlls/setupapi/tests setupapi_test
18046 wine_fn_config_dll setupx.dll16 enable_win16
18047 wine_fn_config_dll sfc enable_sfc implib
18048 wine_fn_config_dll sfc_os enable_sfc_os implib
18049 wine_fn_config_dll shdoclc enable_shdoclc clean
18050 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18051 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18052 wine_fn_config_dll shell.dll16 enable_win16
18053 wine_fn_config_dll shell32 enable_shell32 clean,implib
18054 wine_fn_config_test dlls/shell32/tests shell32_test
18055 wine_fn_config_dll shfolder enable_shfolder implib
18056 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18057 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18058 wine_fn_config_dll slbcsp enable_slbcsp
18059 wine_fn_config_dll slc enable_slc implib
18060 wine_fn_config_test dlls/slc/tests slc_test
18061 wine_fn_config_dll snmpapi enable_snmpapi implib
18062 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18063 wine_fn_config_dll softpub enable_softpub
18064 wine_fn_config_dll sound.drv16 enable_win16
18065 wine_fn_config_dll spoolss enable_spoolss implib
18066 wine_fn_config_test dlls/spoolss/tests spoolss_test
18067 wine_fn_config_dll sspicli enable_sspicli
18068 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18069 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18070 wine_fn_config_dll sti enable_sti clean,implib
18071 wine_fn_config_test dlls/sti/tests sti_test
18072 wine_fn_config_dll storage.dll16 enable_win16
18073 wine_fn_config_dll stress.dll16 enable_win16
18074 wine_fn_config_lib strmbase
18075 wine_fn_config_lib strmiids
18076 wine_fn_config_dll svrapi enable_svrapi
18077 wine_fn_config_dll sxs enable_sxs implib
18078 wine_fn_config_test dlls/sxs/tests sxs_test
18079 wine_fn_config_dll system.drv16 enable_win16
18080 wine_fn_config_dll t2embed enable_t2embed implib
18081 wine_fn_config_test dlls/t2embed/tests t2embed_test
18082 wine_fn_config_dll tapi32 enable_tapi32 implib
18083 wine_fn_config_dll taskschd enable_taskschd clean
18084 wine_fn_config_test dlls/taskschd/tests taskschd_test
18085 wine_fn_config_dll tdi.sys enable_tdi_sys
18086 wine_fn_config_dll toolhelp.dll16 enable_win16
18087 wine_fn_config_dll traffic enable_traffic
18088 wine_fn_config_dll twain.dll16 enable_win16
18089 wine_fn_config_dll twain_32 enable_twain_32
18090 wine_fn_config_test dlls/twain_32/tests twain_32_test
18091 wine_fn_config_dll typelib.dll16 enable_win16
18092 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18093 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18094 wine_fn_config_dll unicows enable_unicows implib
18095 wine_fn_config_dll updspapi enable_updspapi
18096 wine_fn_config_dll url enable_url implib
18097 wine_fn_config_dll urlmon enable_urlmon clean,implib
18098 wine_fn_config_test dlls/urlmon/tests urlmon_test
18099 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18100 wine_fn_config_dll user.exe16 enable_win16
18101 wine_fn_config_dll user32 enable_user32 clean,implib
18102 wine_fn_config_test dlls/user32/tests user32_test
18103 wine_fn_config_dll userenv enable_userenv implib
18104 wine_fn_config_test dlls/userenv/tests userenv_test
18105 wine_fn_config_dll usp10 enable_usp10 implib
18106 wine_fn_config_test dlls/usp10/tests usp10_test
18107 wine_fn_config_lib uuid
18108 wine_fn_config_dll uxtheme enable_uxtheme implib
18109 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18110 wine_fn_config_dll vbscript enable_vbscript clean
18111 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18112 wine_fn_config_dll vcomp enable_vcomp
18113 wine_fn_config_test dlls/vcomp/tests vcomp_test
18114 wine_fn_config_dll vcomp100 enable_vcomp100
18115 wine_fn_config_dll vcomp110 enable_vcomp110
18116 wine_fn_config_dll vcomp120 enable_vcomp120
18117 wine_fn_config_dll vcomp140 enable_vcomp140
18118 wine_fn_config_dll vcomp90 enable_vcomp90
18119 wine_fn_config_dll vcruntime140 enable_vcruntime140
18120 wine_fn_config_dll vdhcp.vxd enable_win16
18121 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18122 wine_fn_config_dll ver.dll16 enable_win16
18123 wine_fn_config_dll version enable_version implib
18124 wine_fn_config_test dlls/version/tests version_test
18125 wine_fn_config_dll vmm.vxd enable_win16
18126 wine_fn_config_dll vnbt.vxd enable_win16
18127 wine_fn_config_dll vnetbios.vxd enable_win16
18128 wine_fn_config_dll vssapi enable_vssapi
18129 wine_fn_config_dll vtdapi.vxd enable_win16
18130 wine_fn_config_dll vwin32.vxd enable_win16
18131 wine_fn_config_dll w32skrnl enable_win16
18132 wine_fn_config_dll w32sys.dll16 enable_win16
18133 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18134 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18135 wine_fn_config_dll wbemprox enable_wbemprox clean
18136 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18137 wine_fn_config_dll webservices enable_webservices implib
18138 wine_fn_config_test dlls/webservices/tests webservices_test
18139 wine_fn_config_dll wer enable_wer implib
18140 wine_fn_config_test dlls/wer/tests wer_test
18141 wine_fn_config_dll wevtapi enable_wevtapi
18142 wine_fn_config_dll wiaservc enable_wiaservc clean
18143 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18144 wine_fn_config_dll wimgapi enable_wimgapi
18145 wine_fn_config_dll win32s16.dll16 enable_win16
18146 wine_fn_config_dll win87em.dll16 enable_win16
18147 wine_fn_config_dll winaspi.dll16 enable_win16
18148 wine_fn_config_dll windebug.dll16 enable_win16
18149 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18150 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18151 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18152 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18153 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18154 wine_fn_config_dll winebus.sys enable_winebus_sys
18155 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18156 wine_fn_config_lib winecrt0
18157 wine_fn_config_dll wined3d enable_wined3d implib
18158 wine_fn_config_dll winegstreamer enable_winegstreamer
18159 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18160 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18161 wine_fn_config_dll winemapi enable_winemapi
18162 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18163 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18164 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18165 wine_fn_config_dll wineps16.drv16 enable_win16
18166 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18167 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18168 wine_fn_config_dll winex11.drv enable_winex11_drv
18169 wine_fn_config_dll wing.dll16 enable_win16
18170 wine_fn_config_dll wing32 enable_wing32
18171 wine_fn_config_dll winhttp enable_winhttp clean,implib
18172 wine_fn_config_test dlls/winhttp/tests winhttp_test
18173 wine_fn_config_dll wininet enable_wininet clean,implib
18174 wine_fn_config_test dlls/wininet/tests wininet_test
18175 wine_fn_config_dll winmm enable_winmm clean,implib
18176 wine_fn_config_test dlls/winmm/tests winmm_test
18177 wine_fn_config_dll winnls.dll16 enable_win16
18178 wine_fn_config_dll winnls32 enable_winnls32 implib
18179 wine_fn_config_dll winscard enable_winscard implib
18180 wine_fn_config_dll winsock.dll16 enable_win16
18181 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18182 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18183 wine_fn_config_dll winsta enable_winsta
18184 wine_fn_config_dll wintab.dll16 enable_win16
18185 wine_fn_config_dll wintab32 enable_wintab32 implib
18186 wine_fn_config_test dlls/wintab32/tests wintab32_test
18187 wine_fn_config_dll wintrust enable_wintrust implib
18188 wine_fn_config_test dlls/wintrust/tests wintrust_test
18189 wine_fn_config_dll wlanapi enable_wlanapi
18190 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18191 wine_fn_config_test dlls/wldap32/tests wldap32_test
18192 wine_fn_config_dll wmasf enable_wmasf
18193 wine_fn_config_dll wmi enable_wmi
18194 wine_fn_config_dll wmiutils enable_wmiutils clean
18195 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18196 wine_fn_config_dll wmp enable_wmp clean
18197 wine_fn_config_test dlls/wmp/tests wmp_test
18198 wine_fn_config_dll wmvcore enable_wmvcore
18199 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18200 wine_fn_config_dll wow32 enable_win16 implib
18201 wine_fn_config_dll wpc enable_wpc clean
18202 wine_fn_config_test dlls/wpc/tests wpc_test
18203 wine_fn_config_dll wpcap enable_wpcap
18204 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18205 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18206 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18207 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18208 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18209 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18210 wine_fn_config_dll wsock32 enable_wsock32 implib
18211 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18212 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18213 wine_fn_config_dll wuapi enable_wuapi clean
18214 wine_fn_config_dll wuaueng enable_wuaueng
18215 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18216 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18217 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18218 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18219 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18220 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18221 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18222 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18223 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18224 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18225 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18226 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18227 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18228 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18229 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18230 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18231 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18232 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18233 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18234 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18235 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18236 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18237 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18238 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18239 wine_fn_config_dll xinput1_1 enable_xinput1_1
18240 wine_fn_config_dll xinput1_2 enable_xinput1_2
18241 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18242 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18243 wine_fn_config_dll xinput1_4 enable_xinput1_4
18244 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18245 wine_fn_config_dll xmllite enable_xmllite implib
18246 wine_fn_config_test dlls/xmllite/tests xmllite_test
18247 wine_fn_config_dll xolehlp enable_xolehlp
18248 wine_fn_config_dll xpsprint enable_xpsprint
18249 wine_fn_config_dll xpssvcs enable_xpssvcs
18250 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18251 wine_fn_config_makefile include enable_include clean,install-dev
18252 wine_fn_config_makefile libs/port enable_libs_port
18253 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18254 wine_fn_config_makefile libs/wpp enable_libs_wpp
18255 wine_fn_config_makefile loader enable_loader clean,install-lib
18256 wine_fn_config_makefile po enable_po clean
18257 wine_fn_config_program arp enable_arp install
18258 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18259 wine_fn_config_program attrib enable_attrib clean,install
18260 wine_fn_config_program cabarc enable_cabarc install
18261 wine_fn_config_program cacls enable_cacls install
18262 wine_fn_config_program clock enable_clock clean,install
18263 wine_fn_config_program cmd enable_cmd clean,install
18264 wine_fn_config_test programs/cmd/tests cmd.exe_test
18265 wine_fn_config_program conhost enable_conhost install
18266 wine_fn_config_program control enable_control install
18267 wine_fn_config_program cscript enable_cscript clean,install
18268 wine_fn_config_program dpnsvr enable_dpnsvr install
18269 wine_fn_config_program dxdiag enable_dxdiag clean,install
18270 wine_fn_config_program eject enable_eject install
18271 wine_fn_config_program expand enable_expand install
18272 wine_fn_config_program explorer enable_explorer clean,install
18273 wine_fn_config_program extrac32 enable_extrac32 install
18274 wine_fn_config_program findstr enable_findstr install
18275 wine_fn_config_program fsutil enable_fsutil install
18276 wine_fn_config_program hh enable_hh install
18277 wine_fn_config_program hostname enable_hostname clean,install
18278 wine_fn_config_program icacls enable_icacls install
18279 wine_fn_config_program icinfo enable_icinfo install
18280 wine_fn_config_program iexplore enable_iexplore install
18281 wine_fn_config_program ipconfig enable_ipconfig clean,install
18282 wine_fn_config_program lodctr enable_lodctr install
18283 wine_fn_config_program mofcomp enable_mofcomp install
18284 wine_fn_config_program mshta enable_mshta install
18285 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18286 wine_fn_config_program net enable_net clean,install
18287 wine_fn_config_program netsh enable_netsh install
18288 wine_fn_config_program netstat enable_netstat clean,install
18289 wine_fn_config_program ngen enable_ngen install
18290 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18291 wine_fn_config_program oleview enable_oleview clean,install
18292 wine_fn_config_program ping enable_ping install
18293 wine_fn_config_program plugplay enable_plugplay install
18294 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18295 wine_fn_config_program progman enable_progman clean,install
18296 wine_fn_config_program reg enable_reg clean,install
18297 wine_fn_config_test programs/reg/tests reg.exe_test
18298 wine_fn_config_program regasm enable_regasm install
18299 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18300 wine_fn_config_test programs/regedit/tests regedit.exe_test
18301 wine_fn_config_program regsvcs enable_regsvcs install
18302 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18303 wine_fn_config_program rpcss enable_rpcss clean,install
18304 wine_fn_config_program rundll.exe16 enable_win16 install
18305 wine_fn_config_program rundll32 enable_rundll32 install
18306 wine_fn_config_program sc enable_sc install
18307 wine_fn_config_program schtasks enable_schtasks install
18308 wine_fn_config_program sdbinst enable_sdbinst install
18309 wine_fn_config_program secedit enable_secedit install
18310 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18311 wine_fn_config_program services enable_services clean,install
18312 wine_fn_config_test programs/services/tests services.exe_test
18313 wine_fn_config_program shutdown enable_shutdown install
18314 wine_fn_config_program spoolsv enable_spoolsv install
18315 wine_fn_config_program start enable_start clean,install
18316 wine_fn_config_program svchost enable_svchost install
18317 wine_fn_config_program systeminfo enable_systeminfo install
18318 wine_fn_config_program taskkill enable_taskkill clean,install
18319 wine_fn_config_program tasklist enable_tasklist install
18320 wine_fn_config_program taskmgr enable_taskmgr clean,install
18321 wine_fn_config_program termsv enable_termsv install
18322 wine_fn_config_program uninstaller enable_uninstaller clean,install
18323 wine_fn_config_program unlodctr enable_unlodctr install
18324 wine_fn_config_program view enable_view clean,install
18325 wine_fn_config_program wevtutil enable_wevtutil install
18326 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18327 wine_fn_config_program winebrowser enable_winebrowser install
18328 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18329 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18330 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18331 wine_fn_config_program winedevice enable_winedevice install
18332 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18333 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18334 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18335 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18336 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18337 wine_fn_config_program winetest enable_winetest clean
18338 wine_fn_config_program winevdm enable_win16 install
18339 wine_fn_config_program winhelp.exe16 enable_win16 install
18340 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18341 wine_fn_config_program winoldap.mod16 enable_win16 install
18342 wine_fn_config_program winver enable_winver install
18343 wine_fn_config_program wmic enable_wmic clean,install
18344 wine_fn_config_program wmplayer enable_wmplayer install
18345 wine_fn_config_program wordpad enable_wordpad clean,install
18346 wine_fn_config_program write enable_write clean,install
18347 wine_fn_config_program wscript enable_wscript clean,install
18348 wine_fn_config_test programs/wscript/tests wscript.exe_test
18349 wine_fn_config_program wusa enable_wusa install
18350 wine_fn_config_program xcopy enable_xcopy clean,install
18351 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18352 wine_fn_config_makefile server enable_server clean,install-lib
18353 wine_fn_config_tool tools clean
18354 wine_fn_config_tool tools/sfnt2fon clean
18355 wine_fn_config_tool tools/widl clean,install-dev
18356 wine_fn_config_tool tools/winebuild clean,install-dev
18357 wine_fn_config_tool tools/winedump clean,install-dev
18358 wine_fn_config_tool tools/winegcc clean,install-dev
18359 wine_fn_config_tool tools/winemaker clean,install-dev
18360 wine_fn_config_tool tools/wmc clean,install-dev
18361 wine_fn_config_tool tools/wrc clean,install-dev
18364 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18365 wine_fn_append_file CONFIGURE_TARGETS "tags"
18366 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18367 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18368 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18369 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18370 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18371 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18373 if test "x$enable_tools" != xno
18374 then
18375 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18376 ac_config_commands="$ac_config_commands tools/makedep"
18380 ac_config_commands="$ac_config_commands Makefile"
18383 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18387 if test "x$enable_maintainer_mode" = xyes
18388 then
18389 wine_fn_append_rule "configure: configure.ac aclocal.m4
18390 autoconf --warnings=all
18391 include/config.h.in: include/stamp-h.in
18392 include/stamp-h.in: configure.ac aclocal.m4
18393 autoheader --warnings=all
18394 @echo timestamp > \$@"
18397 if test "x$enable_tools" != xno
18398 then
18399 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18400 @./config.status tools/makedep
18401 Makefile: tools/makedep$ac_exeext"
18402 else
18403 wine_fn_append_rule "\$(MAKEDEP):
18404 @echo \"You need to run make in $TOOLSDIR first\" && false"
18407 if test -n "$with_wine64"
18408 then
18409 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18410 fonts server:
18411 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18412 $with_wine64/loader/wine:
18413 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18414 $with_wine64/loader/wine-preloader:
18415 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18416 clean::
18417 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18418 else
18419 WINELOADER_INSTALL="wine.inf"
18421 wine_fn_append_rule "install install-lib::
18422 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18423 uninstall::
18424 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18425 case $host_os in
18426 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18427 *) wine_fn_append_rule "install install-lib::
18428 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18429 uninstall::
18430 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18431 esac
18434 $as_echo " done" >&6
18435 cat >confcache <<\_ACEOF
18436 # This file is a shell script that caches the results of configure
18437 # tests run on this system so they can be shared between configure
18438 # scripts and configure runs, see configure's option --config-cache.
18439 # It is not useful on other systems. If it contains results you don't
18440 # want to keep, you may remove or edit it.
18442 # config.status only pays attention to the cache file if you give it
18443 # the --recheck option to rerun configure.
18445 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18446 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18447 # following values.
18449 _ACEOF
18451 # The following way of writing the cache mishandles newlines in values,
18452 # but we know of no workaround that is simple, portable, and efficient.
18453 # So, we kill variables containing newlines.
18454 # Ultrix sh set writes to stderr and can't be redirected directly,
18455 # and sets the high bit in the cache file unless we assign to the vars.
18457 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18458 eval ac_val=\$$ac_var
18459 case $ac_val in #(
18460 *${as_nl}*)
18461 case $ac_var in #(
18462 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18463 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18464 esac
18465 case $ac_var in #(
18466 _ | IFS | as_nl) ;; #(
18467 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18468 *) { eval $ac_var=; unset $ac_var;} ;;
18469 esac ;;
18470 esac
18471 done
18473 (set) 2>&1 |
18474 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18475 *${as_nl}ac_space=\ *)
18476 # `set' does not quote correctly, so add quotes: double-quote
18477 # substitution turns \\\\ into \\, and sed turns \\ into \.
18478 sed -n \
18479 "s/'/'\\\\''/g;
18480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18481 ;; #(
18483 # `set' quotes correctly as required by POSIX, so do not add quotes.
18484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18486 esac |
18487 sort
18489 sed '
18490 /^ac_cv_env_/b end
18491 t clear
18492 :clear
18493 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18494 t end
18495 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18496 :end' >>confcache
18497 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18498 if test -w "$cache_file"; then
18499 if test "x$cache_file" != "x/dev/null"; then
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18501 $as_echo "$as_me: updating cache $cache_file" >&6;}
18502 if test ! -f "$cache_file" || test -h "$cache_file"; then
18503 cat confcache >"$cache_file"
18504 else
18505 case $cache_file in #(
18506 */* | ?:*)
18507 mv -f confcache "$cache_file"$$ &&
18508 mv -f "$cache_file"$$ "$cache_file" ;; #(
18510 mv -f confcache "$cache_file" ;;
18511 esac
18514 else
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18516 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18519 rm -f confcache
18521 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18522 # Let make expand exec_prefix.
18523 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18525 DEFS=-DHAVE_CONFIG_H
18527 ac_libobjs=
18528 ac_ltlibobjs=
18530 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18531 # 1. Remove the extension, and $U if already installed.
18532 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18533 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18534 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18535 # will be set to the directory where LIBOBJS objects are built.
18536 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18537 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18538 done
18539 LIBOBJS=$ac_libobjs
18541 LTLIBOBJS=$ac_ltlibobjs
18545 : "${CONFIG_STATUS=./config.status}"
18546 ac_write_fail=0
18547 ac_clean_files_save=$ac_clean_files
18548 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18550 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18551 as_write_fail=0
18552 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18553 #! $SHELL
18554 # Generated by $as_me.
18555 # Run this file to recreate the current configuration.
18556 # Compiler output produced by configure, useful for debugging
18557 # configure, is in config.log if it exists.
18559 debug=false
18560 ac_cs_recheck=false
18561 ac_cs_silent=false
18563 SHELL=\${CONFIG_SHELL-$SHELL}
18564 export SHELL
18565 _ASEOF
18566 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18567 ## -------------------- ##
18568 ## M4sh Initialization. ##
18569 ## -------------------- ##
18571 # Be more Bourne compatible
18572 DUALCASE=1; export DUALCASE # for MKS sh
18573 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18574 emulate sh
18575 NULLCMD=:
18576 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18577 # is contrary to our usage. Disable this feature.
18578 alias -g '${1+"$@"}'='"$@"'
18579 setopt NO_GLOB_SUBST
18580 else
18581 case `(set -o) 2>/dev/null` in #(
18582 *posix*) :
18583 set -o posix ;; #(
18584 *) :
18586 esac
18590 as_nl='
18592 export as_nl
18593 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18594 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18595 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18596 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18597 # Prefer a ksh shell builtin over an external printf program on Solaris,
18598 # but without wasting forks for bash or zsh.
18599 if test -z "$BASH_VERSION$ZSH_VERSION" \
18600 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18601 as_echo='print -r --'
18602 as_echo_n='print -rn --'
18603 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18604 as_echo='printf %s\n'
18605 as_echo_n='printf %s'
18606 else
18607 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18608 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18609 as_echo_n='/usr/ucb/echo -n'
18610 else
18611 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18612 as_echo_n_body='eval
18613 arg=$1;
18614 case $arg in #(
18615 *"$as_nl"*)
18616 expr "X$arg" : "X\\(.*\\)$as_nl";
18617 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18618 esac;
18619 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18621 export as_echo_n_body
18622 as_echo_n='sh -c $as_echo_n_body as_echo'
18624 export as_echo_body
18625 as_echo='sh -c $as_echo_body as_echo'
18628 # The user is always right.
18629 if test "${PATH_SEPARATOR+set}" != set; then
18630 PATH_SEPARATOR=:
18631 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18632 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18633 PATH_SEPARATOR=';'
18638 # IFS
18639 # We need space, tab and new line, in precisely that order. Quoting is
18640 # there to prevent editors from complaining about space-tab.
18641 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18642 # splitting by setting IFS to empty value.)
18643 IFS=" "" $as_nl"
18645 # Find who we are. Look in the path if we contain no directory separator.
18646 as_myself=
18647 case $0 in #((
18648 *[\\/]* ) as_myself=$0 ;;
18649 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18650 for as_dir in $PATH
18652 IFS=$as_save_IFS
18653 test -z "$as_dir" && as_dir=.
18654 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18655 done
18656 IFS=$as_save_IFS
18659 esac
18660 # We did not find ourselves, most probably we were run as `sh COMMAND'
18661 # in which case we are not to be found in the path.
18662 if test "x$as_myself" = x; then
18663 as_myself=$0
18665 if test ! -f "$as_myself"; then
18666 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18667 exit 1
18670 # Unset variables that we do not need and which cause bugs (e.g. in
18671 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18672 # suppresses any "Segmentation fault" message there. '((' could
18673 # trigger a bug in pdksh 5.2.14.
18674 for as_var in BASH_ENV ENV MAIL MAILPATH
18675 do eval test x\${$as_var+set} = xset \
18676 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18677 done
18678 PS1='$ '
18679 PS2='> '
18680 PS4='+ '
18682 # NLS nuisances.
18683 LC_ALL=C
18684 export LC_ALL
18685 LANGUAGE=C
18686 export LANGUAGE
18688 # CDPATH.
18689 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18692 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18693 # ----------------------------------------
18694 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18695 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18696 # script with STATUS, using 1 if that was 0.
18697 as_fn_error ()
18699 as_status=$1; test $as_status -eq 0 && as_status=1
18700 if test "$4"; then
18701 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18702 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18704 $as_echo "$as_me: error: $2" >&2
18705 as_fn_exit $as_status
18706 } # as_fn_error
18709 # as_fn_set_status STATUS
18710 # -----------------------
18711 # Set $? to STATUS, without forking.
18712 as_fn_set_status ()
18714 return $1
18715 } # as_fn_set_status
18717 # as_fn_exit STATUS
18718 # -----------------
18719 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18720 as_fn_exit ()
18722 set +e
18723 as_fn_set_status $1
18724 exit $1
18725 } # as_fn_exit
18727 # as_fn_unset VAR
18728 # ---------------
18729 # Portably unset VAR.
18730 as_fn_unset ()
18732 { eval $1=; unset $1;}
18734 as_unset=as_fn_unset
18735 # as_fn_append VAR VALUE
18736 # ----------------------
18737 # Append the text in VALUE to the end of the definition contained in VAR. Take
18738 # advantage of any shell optimizations that allow amortized linear growth over
18739 # repeated appends, instead of the typical quadratic growth present in naive
18740 # implementations.
18741 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18742 eval 'as_fn_append ()
18744 eval $1+=\$2
18746 else
18747 as_fn_append ()
18749 eval $1=\$$1\$2
18751 fi # as_fn_append
18753 # as_fn_arith ARG...
18754 # ------------------
18755 # Perform arithmetic evaluation on the ARGs, and store the result in the
18756 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18757 # must be portable across $(()) and expr.
18758 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18759 eval 'as_fn_arith ()
18761 as_val=$(( $* ))
18763 else
18764 as_fn_arith ()
18766 as_val=`expr "$@" || test $? -eq 1`
18768 fi # as_fn_arith
18771 if expr a : '\(a\)' >/dev/null 2>&1 &&
18772 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18773 as_expr=expr
18774 else
18775 as_expr=false
18778 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18779 as_basename=basename
18780 else
18781 as_basename=false
18784 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18785 as_dirname=dirname
18786 else
18787 as_dirname=false
18790 as_me=`$as_basename -- "$0" ||
18791 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18792 X"$0" : 'X\(//\)$' \| \
18793 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18794 $as_echo X/"$0" |
18795 sed '/^.*\/\([^/][^/]*\)\/*$/{
18796 s//\1/
18799 /^X\/\(\/\/\)$/{
18800 s//\1/
18803 /^X\/\(\/\).*/{
18804 s//\1/
18807 s/.*/./; q'`
18809 # Avoid depending upon Character Ranges.
18810 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18811 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18812 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18813 as_cr_digits='0123456789'
18814 as_cr_alnum=$as_cr_Letters$as_cr_digits
18816 ECHO_C= ECHO_N= ECHO_T=
18817 case `echo -n x` in #(((((
18818 -n*)
18819 case `echo 'xy\c'` in
18820 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18821 xy) ECHO_C='\c';;
18822 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18823 ECHO_T=' ';;
18824 esac;;
18826 ECHO_N='-n';;
18827 esac
18829 rm -f conf$$ conf$$.exe conf$$.file
18830 if test -d conf$$.dir; then
18831 rm -f conf$$.dir/conf$$.file
18832 else
18833 rm -f conf$$.dir
18834 mkdir conf$$.dir 2>/dev/null
18836 if (echo >conf$$.file) 2>/dev/null; then
18837 if ln -s conf$$.file conf$$ 2>/dev/null; then
18838 as_ln_s='ln -s'
18839 # ... but there are two gotchas:
18840 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18841 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18842 # In both cases, we have to default to `cp -pR'.
18843 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18844 as_ln_s='cp -pR'
18845 elif ln conf$$.file conf$$ 2>/dev/null; then
18846 as_ln_s=ln
18847 else
18848 as_ln_s='cp -pR'
18850 else
18851 as_ln_s='cp -pR'
18853 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18854 rmdir conf$$.dir 2>/dev/null
18857 # as_fn_mkdir_p
18858 # -------------
18859 # Create "$as_dir" as a directory, including parents if necessary.
18860 as_fn_mkdir_p ()
18863 case $as_dir in #(
18864 -*) as_dir=./$as_dir;;
18865 esac
18866 test -d "$as_dir" || eval $as_mkdir_p || {
18867 as_dirs=
18868 while :; do
18869 case $as_dir in #(
18870 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18871 *) as_qdir=$as_dir;;
18872 esac
18873 as_dirs="'$as_qdir' $as_dirs"
18874 as_dir=`$as_dirname -- "$as_dir" ||
18875 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18876 X"$as_dir" : 'X\(//\)[^/]' \| \
18877 X"$as_dir" : 'X\(//\)$' \| \
18878 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18879 $as_echo X"$as_dir" |
18880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18881 s//\1/
18884 /^X\(\/\/\)[^/].*/{
18885 s//\1/
18888 /^X\(\/\/\)$/{
18889 s//\1/
18892 /^X\(\/\).*/{
18893 s//\1/
18896 s/.*/./; q'`
18897 test -d "$as_dir" && break
18898 done
18899 test -z "$as_dirs" || eval "mkdir $as_dirs"
18900 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18903 } # as_fn_mkdir_p
18904 if mkdir -p . 2>/dev/null; then
18905 as_mkdir_p='mkdir -p "$as_dir"'
18906 else
18907 test -d ./-p && rmdir ./-p
18908 as_mkdir_p=false
18912 # as_fn_executable_p FILE
18913 # -----------------------
18914 # Test if FILE is an executable regular file.
18915 as_fn_executable_p ()
18917 test -f "$1" && test -x "$1"
18918 } # as_fn_executable_p
18919 as_test_x='test -x'
18920 as_executable_p=as_fn_executable_p
18922 # Sed expression to map a string onto a valid CPP name.
18923 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18925 # Sed expression to map a string onto a valid variable name.
18926 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18929 exec 6>&1
18930 ## ----------------------------------- ##
18931 ## Main body of $CONFIG_STATUS script. ##
18932 ## ----------------------------------- ##
18933 _ASEOF
18934 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18937 # Save the log message, to keep $0 and so on meaningful, and to
18938 # report actual input values of CONFIG_FILES etc. instead of their
18939 # values after options handling.
18940 ac_log="
18941 This file was extended by Wine $as_me 1.9.18, which was
18942 generated by GNU Autoconf 2.69. Invocation command line was
18944 CONFIG_FILES = $CONFIG_FILES
18945 CONFIG_HEADERS = $CONFIG_HEADERS
18946 CONFIG_LINKS = $CONFIG_LINKS
18947 CONFIG_COMMANDS = $CONFIG_COMMANDS
18948 $ $0 $@
18950 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18953 _ACEOF
18955 case $ac_config_files in *"
18956 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18957 esac
18959 case $ac_config_headers in *"
18960 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18961 esac
18964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18965 # Files that config.status was made for.
18966 config_files="$ac_config_files"
18967 config_headers="$ac_config_headers"
18968 config_links="$ac_config_links"
18969 config_commands="$ac_config_commands"
18971 _ACEOF
18973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18974 ac_cs_usage="\
18975 \`$as_me' instantiates files and other configuration actions
18976 from templates according to the current configuration. Unless the files
18977 and actions are specified as TAGs, all are instantiated by default.
18979 Usage: $0 [OPTION]... [TAG]...
18981 -h, --help print this help, then exit
18982 -V, --version print version number and configuration settings, then exit
18983 --config print configuration, then exit
18984 -q, --quiet, --silent
18985 do not print progress messages
18986 -d, --debug don't remove temporary files
18987 --recheck update $as_me by reconfiguring in the same conditions
18988 --file=FILE[:TEMPLATE]
18989 instantiate the configuration file FILE
18990 --header=FILE[:TEMPLATE]
18991 instantiate the configuration header FILE
18993 Configuration files:
18994 $config_files
18996 Configuration headers:
18997 $config_headers
18999 Configuration links:
19000 $config_links
19002 Configuration commands:
19003 $config_commands
19005 Report bugs to <wine-devel@winehq.org>.
19006 Wine home page: <http://www.winehq.org>."
19008 _ACEOF
19009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19010 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19011 ac_cs_version="\\
19012 Wine config.status 1.9.18
19013 configured by $0, generated by GNU Autoconf 2.69,
19014 with options \\"\$ac_cs_config\\"
19016 Copyright (C) 2012 Free Software Foundation, Inc.
19017 This config.status script is free software; the Free Software Foundation
19018 gives unlimited permission to copy, distribute and modify it."
19020 ac_pwd='$ac_pwd'
19021 srcdir='$srcdir'
19022 test -n "\$AWK" || AWK=awk
19023 _ACEOF
19025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19026 # The default lists apply if the user does not specify any file.
19027 ac_need_defaults=:
19028 while test $# != 0
19030 case $1 in
19031 --*=?*)
19032 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19033 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19034 ac_shift=:
19036 --*=)
19037 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19038 ac_optarg=
19039 ac_shift=:
19042 ac_option=$1
19043 ac_optarg=$2
19044 ac_shift=shift
19046 esac
19048 case $ac_option in
19049 # Handling of the options.
19050 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19051 ac_cs_recheck=: ;;
19052 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19053 $as_echo "$ac_cs_version"; exit ;;
19054 --config | --confi | --conf | --con | --co | --c )
19055 $as_echo "$ac_cs_config"; exit ;;
19056 --debug | --debu | --deb | --de | --d | -d )
19057 debug=: ;;
19058 --file | --fil | --fi | --f )
19059 $ac_shift
19060 case $ac_optarg in
19061 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19062 '') as_fn_error $? "missing file argument" ;;
19063 esac
19064 as_fn_append CONFIG_FILES " '$ac_optarg'"
19065 ac_need_defaults=false;;
19066 --header | --heade | --head | --hea )
19067 $ac_shift
19068 case $ac_optarg in
19069 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19070 esac
19071 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19072 ac_need_defaults=false;;
19073 --he | --h)
19074 # Conflict between --help and --header
19075 as_fn_error $? "ambiguous option: \`$1'
19076 Try \`$0 --help' for more information.";;
19077 --help | --hel | -h )
19078 $as_echo "$ac_cs_usage"; exit ;;
19079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19080 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19081 ac_cs_silent=: ;;
19083 # This is an error.
19084 -*) as_fn_error $? "unrecognized option: \`$1'
19085 Try \`$0 --help' for more information." ;;
19087 *) as_fn_append ac_config_targets " $1"
19088 ac_need_defaults=false ;;
19090 esac
19091 shift
19092 done
19094 ac_configure_extra_args=
19096 if $ac_cs_silent; then
19097 exec 6>/dev/null
19098 ac_configure_extra_args="$ac_configure_extra_args --silent"
19101 _ACEOF
19102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19103 if \$ac_cs_recheck; then
19104 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19105 shift
19106 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19107 CONFIG_SHELL='$SHELL'
19108 export CONFIG_SHELL
19109 exec "\$@"
19112 _ACEOF
19113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19114 exec 5>>config.log
19116 echo
19117 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19118 ## Running $as_me. ##
19119 _ASBOX
19120 $as_echo "$ac_log"
19121 } >&5
19123 _ACEOF
19124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19126 # INIT-COMMANDS
19128 wine_fn_output_makedep ()
19130 as_dir=tools; as_fn_mkdir_p
19131 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19133 wine_fn_output_makefile ()
19135 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19136 `cat $wine_rules_file`
19137 _WINE_EOF
19138 as_fn_error $? "could not create Makefile" "$LINENO" 5
19141 _ACEOF
19143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19145 # Handling of arguments.
19146 for ac_config_target in $ac_config_targets
19148 case $ac_config_target in
19149 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19150 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19151 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19152 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19153 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19154 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19155 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19156 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19157 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19158 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19159 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19160 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19161 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19163 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19164 esac
19165 done
19168 # If the user did not use the arguments to specify the items to instantiate,
19169 # then the envvar interface is used. Set only those that are not.
19170 # We use the long form for the default assignment because of an extremely
19171 # bizarre bug on SunOS 4.1.3.
19172 if $ac_need_defaults; then
19173 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19174 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19175 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19176 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19179 # Have a temporary directory for convenience. Make it in the build tree
19180 # simply because there is no reason against having it here, and in addition,
19181 # creating and moving files from /tmp can sometimes cause problems.
19182 # Hook for its removal unless debugging.
19183 # Note that there is a small window in which the directory will not be cleaned:
19184 # after its creation but before its name has been assigned to `$tmp'.
19185 $debug ||
19187 tmp= ac_tmp=
19188 trap 'exit_status=$?
19189 : "${ac_tmp:=$tmp}"
19190 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19192 trap 'as_fn_exit 1' 1 2 13 15
19194 # Create a (secure) tmp directory for tmp files.
19197 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19198 test -d "$tmp"
19199 } ||
19201 tmp=./conf$$-$RANDOM
19202 (umask 077 && mkdir "$tmp")
19203 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19204 ac_tmp=$tmp
19206 # Set up the scripts for CONFIG_FILES section.
19207 # No need to generate them if there are no CONFIG_FILES.
19208 # This happens for instance with `./config.status config.h'.
19209 if test -n "$CONFIG_FILES"; then
19212 ac_cr=`echo X | tr X '\015'`
19213 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19214 # But we know of no other shell where ac_cr would be empty at this
19215 # point, so we can use a bashism as a fallback.
19216 if test "x$ac_cr" = x; then
19217 eval ac_cr=\$\'\\r\'
19219 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19220 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19221 ac_cs_awk_cr='\\r'
19222 else
19223 ac_cs_awk_cr=$ac_cr
19226 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19227 _ACEOF
19231 echo "cat >conf$$subs.awk <<_ACEOF" &&
19232 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19233 echo "_ACEOF"
19234 } >conf$$subs.sh ||
19235 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19236 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19237 ac_delim='%!_!# '
19238 for ac_last_try in false false false false false :; do
19239 . ./conf$$subs.sh ||
19240 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19242 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19243 if test $ac_delim_n = $ac_delim_num; then
19244 break
19245 elif $ac_last_try; then
19246 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19247 else
19248 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19250 done
19251 rm -f conf$$subs.sh
19253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19254 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19255 _ACEOF
19256 sed -n '
19258 s/^/S["/; s/!.*/"]=/
19261 s/^[^!]*!//
19262 :repl
19263 t repl
19264 s/'"$ac_delim"'$//
19265 t delim
19268 s/\(.\{148\}\)..*/\1/
19269 t more1
19270 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19273 b repl
19274 :more1
19275 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19278 s/.\{148\}//
19279 t nl
19280 :delim
19282 s/\(.\{148\}\)..*/\1/
19283 t more2
19284 s/["\\]/\\&/g; s/^/"/; s/$/"/
19287 :more2
19288 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19291 s/.\{148\}//
19292 t delim
19293 ' <conf$$subs.awk | sed '
19294 /^[^""]/{
19296 s/\n//
19298 ' >>$CONFIG_STATUS || ac_write_fail=1
19299 rm -f conf$$subs.awk
19300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19301 _ACAWK
19302 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19303 for (key in S) S_is_set[key] = 1
19304 FS = "\a"
19308 line = $ 0
19309 nfields = split(line, field, "@")
19310 substed = 0
19311 len = length(field[1])
19312 for (i = 2; i < nfields; i++) {
19313 key = field[i]
19314 keylen = length(key)
19315 if (S_is_set[key]) {
19316 value = S[key]
19317 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19318 len += length(value) + length(field[++i])
19319 substed = 1
19320 } else
19321 len += 1 + keylen
19324 print line
19327 _ACAWK
19328 _ACEOF
19329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19330 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19331 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19332 else
19334 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19335 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19336 _ACEOF
19338 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19339 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19340 # trailing colons and then remove the whole line if VPATH becomes empty
19341 # (actually we leave an empty line to preserve line numbers).
19342 if test "x$srcdir" = x.; then
19343 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19345 s///
19346 s/^/:/
19347 s/[ ]*$/:/
19348 s/:\$(srcdir):/:/g
19349 s/:\${srcdir}:/:/g
19350 s/:@srcdir@:/:/g
19351 s/^:*//
19352 s/:*$//
19354 s/\(=[ ]*\).*/\1/
19356 s/\n//
19357 s/^[^=]*=[ ]*$//
19361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19362 fi # test -n "$CONFIG_FILES"
19364 # Set up the scripts for CONFIG_HEADERS section.
19365 # No need to generate them if there are no CONFIG_HEADERS.
19366 # This happens for instance with `./config.status Makefile'.
19367 if test -n "$CONFIG_HEADERS"; then
19368 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19369 BEGIN {
19370 _ACEOF
19372 # Transform confdefs.h into an awk script `defines.awk', embedded as
19373 # here-document in config.status, that substitutes the proper values into
19374 # config.h.in to produce config.h.
19376 # Create a delimiter string that does not exist in confdefs.h, to ease
19377 # handling of long lines.
19378 ac_delim='%!_!# '
19379 for ac_last_try in false false :; do
19380 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19381 if test -z "$ac_tt"; then
19382 break
19383 elif $ac_last_try; then
19384 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19385 else
19386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19388 done
19390 # For the awk script, D is an array of macro values keyed by name,
19391 # likewise P contains macro parameters if any. Preserve backslash
19392 # newline sequences.
19394 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19395 sed -n '
19396 s/.\{148\}/&'"$ac_delim"'/g
19397 t rset
19398 :rset
19399 s/^[ ]*#[ ]*define[ ][ ]*/ /
19400 t def
19402 :def
19403 s/\\$//
19404 t bsnl
19405 s/["\\]/\\&/g
19406 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19407 D["\1"]=" \3"/p
19408 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19410 :bsnl
19411 s/["\\]/\\&/g
19412 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19413 D["\1"]=" \3\\\\\\n"\\/p
19414 t cont
19415 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19416 t cont
19418 :cont
19420 s/.\{148\}/&'"$ac_delim"'/g
19421 t clear
19422 :clear
19423 s/\\$//
19424 t bsnlc
19425 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19427 :bsnlc
19428 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19429 b cont
19430 ' <confdefs.h | sed '
19431 s/'"$ac_delim"'/"\\\
19432 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19435 for (key in D) D_is_set[key] = 1
19436 FS = "\a"
19438 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19439 line = \$ 0
19440 split(line, arg, " ")
19441 if (arg[1] == "#") {
19442 defundef = arg[2]
19443 mac1 = arg[3]
19444 } else {
19445 defundef = substr(arg[1], 2)
19446 mac1 = arg[2]
19448 split(mac1, mac2, "(") #)
19449 macro = mac2[1]
19450 prefix = substr(line, 1, index(line, defundef) - 1)
19451 if (D_is_set[macro]) {
19452 # Preserve the white space surrounding the "#".
19453 print prefix "define", macro P[macro] D[macro]
19454 next
19455 } else {
19456 # Replace #undef with comments. This is necessary, for example,
19457 # in the case of _POSIX_SOURCE, which is predefined and required
19458 # on some systems where configure will not decide to define it.
19459 if (defundef == "undef") {
19460 print "/*", prefix defundef, macro, "*/"
19461 next
19465 { print }
19466 _ACAWK
19467 _ACEOF
19468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19469 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19470 fi # test -n "$CONFIG_HEADERS"
19473 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19474 shift
19475 for ac_tag
19477 case $ac_tag in
19478 :[FHLC]) ac_mode=$ac_tag; continue;;
19479 esac
19480 case $ac_mode$ac_tag in
19481 :[FHL]*:*);;
19482 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19483 :[FH]-) ac_tag=-:-;;
19484 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19485 esac
19486 ac_save_IFS=$IFS
19487 IFS=:
19488 set x $ac_tag
19489 IFS=$ac_save_IFS
19490 shift
19491 ac_file=$1
19492 shift
19494 case $ac_mode in
19495 :L) ac_source=$1;;
19496 :[FH])
19497 ac_file_inputs=
19498 for ac_f
19500 case $ac_f in
19501 -) ac_f="$ac_tmp/stdin";;
19502 *) # Look for the file first in the build tree, then in the source tree
19503 # (if the path is not absolute). The absolute path cannot be DOS-style,
19504 # because $ac_f cannot contain `:'.
19505 test -f "$ac_f" ||
19506 case $ac_f in
19507 [\\/$]*) false;;
19508 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19509 esac ||
19510 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19511 esac
19512 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19513 as_fn_append ac_file_inputs " '$ac_f'"
19514 done
19516 # Let's still pretend it is `configure' which instantiates (i.e., don't
19517 # use $as_me), people would be surprised to read:
19518 # /* config.h. Generated by config.status. */
19519 configure_input='Generated from '`
19520 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19521 `' by configure.'
19522 if test x"$ac_file" != x-; then
19523 configure_input="$ac_file. $configure_input"
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19525 $as_echo "$as_me: creating $ac_file" >&6;}
19527 # Neutralize special characters interpreted by sed in replacement strings.
19528 case $configure_input in #(
19529 *\&* | *\|* | *\\* )
19530 ac_sed_conf_input=`$as_echo "$configure_input" |
19531 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19532 *) ac_sed_conf_input=$configure_input;;
19533 esac
19535 case $ac_tag in
19536 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19537 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19538 esac
19540 esac
19542 ac_dir=`$as_dirname -- "$ac_file" ||
19543 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19544 X"$ac_file" : 'X\(//\)[^/]' \| \
19545 X"$ac_file" : 'X\(//\)$' \| \
19546 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19547 $as_echo X"$ac_file" |
19548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19549 s//\1/
19552 /^X\(\/\/\)[^/].*/{
19553 s//\1/
19556 /^X\(\/\/\)$/{
19557 s//\1/
19560 /^X\(\/\).*/{
19561 s//\1/
19564 s/.*/./; q'`
19565 as_dir="$ac_dir"; as_fn_mkdir_p
19566 ac_builddir=.
19568 case "$ac_dir" in
19569 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19571 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19572 # A ".." for each directory in $ac_dir_suffix.
19573 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19574 case $ac_top_builddir_sub in
19575 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19576 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19577 esac ;;
19578 esac
19579 ac_abs_top_builddir=$ac_pwd
19580 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19581 # for backward compatibility:
19582 ac_top_builddir=$ac_top_build_prefix
19584 case $srcdir in
19585 .) # We are building in place.
19586 ac_srcdir=.
19587 ac_top_srcdir=$ac_top_builddir_sub
19588 ac_abs_top_srcdir=$ac_pwd ;;
19589 [\\/]* | ?:[\\/]* ) # Absolute name.
19590 ac_srcdir=$srcdir$ac_dir_suffix;
19591 ac_top_srcdir=$srcdir
19592 ac_abs_top_srcdir=$srcdir ;;
19593 *) # Relative name.
19594 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19595 ac_top_srcdir=$ac_top_build_prefix$srcdir
19596 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19597 esac
19598 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19601 case $ac_mode in
19604 # CONFIG_FILE
19607 _ACEOF
19609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19610 # If the template does not know about datarootdir, expand it.
19611 # FIXME: This hack should be removed a few years after 2.60.
19612 ac_datarootdir_hack=; ac_datarootdir_seen=
19613 ac_sed_dataroot='
19614 /datarootdir/ {
19618 /@datadir@/p
19619 /@docdir@/p
19620 /@infodir@/p
19621 /@localedir@/p
19622 /@mandir@/p'
19623 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19624 *datarootdir*) ac_datarootdir_seen=yes;;
19625 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19627 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19628 _ACEOF
19629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19630 ac_datarootdir_hack='
19631 s&@datadir@&$datadir&g
19632 s&@docdir@&$docdir&g
19633 s&@infodir@&$infodir&g
19634 s&@localedir@&$localedir&g
19635 s&@mandir@&$mandir&g
19636 s&\\\${datarootdir}&$datarootdir&g' ;;
19637 esac
19638 _ACEOF
19640 # Neutralize VPATH when `$srcdir' = `.'.
19641 # Shell code in configure.ac might set extrasub.
19642 # FIXME: do we really want to maintain this feature?
19643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19644 ac_sed_extra="$ac_vpsub
19645 $extrasub
19646 _ACEOF
19647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19649 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19650 s|@configure_input@|$ac_sed_conf_input|;t t
19651 s&@top_builddir@&$ac_top_builddir_sub&;t t
19652 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19653 s&@srcdir@&$ac_srcdir&;t t
19654 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19655 s&@top_srcdir@&$ac_top_srcdir&;t t
19656 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19657 s&@builddir@&$ac_builddir&;t t
19658 s&@abs_builddir@&$ac_abs_builddir&;t t
19659 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19660 $ac_datarootdir_hack
19662 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19663 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19665 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19666 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19667 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19668 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19670 which seems to be undefined. Please make sure it is defined" >&5
19671 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19672 which seems to be undefined. Please make sure it is defined" >&2;}
19674 rm -f "$ac_tmp/stdin"
19675 case $ac_file in
19676 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19677 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19678 esac \
19679 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19683 # CONFIG_HEADER
19685 if test x"$ac_file" != x-; then
19687 $as_echo "/* $configure_input */" \
19688 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19689 } >"$ac_tmp/config.h" \
19690 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19691 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19693 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19694 else
19695 rm -f "$ac_file"
19696 mv "$ac_tmp/config.h" "$ac_file" \
19697 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19699 else
19700 $as_echo "/* $configure_input */" \
19701 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19702 || as_fn_error $? "could not create -" "$LINENO" 5
19707 # CONFIG_LINK
19710 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19712 else
19713 # Prefer the file from the source tree if names are identical.
19714 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19715 ac_source=$srcdir/$ac_source
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19719 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19721 if test ! -r "$ac_source"; then
19722 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19724 rm -f "$ac_file"
19726 # Try a relative symlink, then a hard link, then a copy.
19727 case $ac_source in
19728 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19729 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19730 esac
19731 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19732 ln "$ac_source" "$ac_file" 2>/dev/null ||
19733 cp -p "$ac_source" "$ac_file" ||
19734 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19737 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19738 $as_echo "$as_me: executing $ac_file commands" >&6;}
19740 esac
19743 case $ac_file$ac_mode in
19744 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19745 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19746 "Makefile":C) wine_fn_output_makefile Makefile ;;
19748 esac
19749 done # for ac_tag
19752 as_fn_exit 0
19753 _ACEOF
19754 ac_clean_files=$ac_clean_files_save
19756 test $ac_write_fail = 0 ||
19757 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19760 # configure is writing to config.log, and then calls config.status.
19761 # config.status does its own redirection, appending to config.log.
19762 # Unfortunately, on DOS this fails, as config.log is still kept open
19763 # by configure, so config.status won't be able to write to it; its
19764 # output is simply discarded. So we exec the FD to /dev/null,
19765 # effectively closing config.log, so it can be properly (re)opened and
19766 # appended to by config.status. When coming back to configure, we
19767 # need to make the FD available again.
19768 if test "$no_create" != yes; then
19769 ac_cs_success=:
19770 ac_config_status_args=
19771 test "$silent" = yes &&
19772 ac_config_status_args="$ac_config_status_args --quiet"
19773 exec 5>/dev/null
19774 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19775 exec 5>>config.log
19776 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19777 # would make configure fail if this is the last instruction.
19778 $ac_cs_success || as_fn_exit 1
19780 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19782 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19786 if test "$no_create" = "yes"
19787 then
19788 exit 0
19791 ac_save_IFS="$IFS"
19792 if test "x$wine_notices" != x; then
19793 echo >&6
19794 IFS="|"
19795 for msg in $wine_notices; do
19796 IFS="$ac_save_IFS"
19797 if ${msg:+false} :; then :
19799 else
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19801 $as_echo "$as_me: $msg" >&6;}
19803 done
19805 IFS="|"
19806 for msg in $wine_warnings; do
19807 IFS="$ac_save_IFS"
19808 if ${msg:+false} :; then :
19810 else
19811 echo >&2
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19813 $as_echo "$as_me: WARNING: $msg" >&2;}
19815 done
19816 IFS="$ac_save_IFS"
19818 $as_echo "
19819 $as_me: Finished. Do '${ac_make}' to compile Wine.
19820 " >&6