gdiplus: Add more accurate algorithm for inverting scaling and translation matrices...
[wine.git] / configure
blob77c6f37dcfee478becc444a0b4c38dace028236c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.14.
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='2.14'
584 PACKAGE_STRING='Wine 2.14'
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 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_CFLAGS
659 ALSA_LIBS
660 GSTREAMER_LIBS
661 GSTREAMER_CFLAGS
662 PULSE_LIBS
663 PULSE_CFLAGS
664 GETTEXTPO_LIBS
665 Z_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 LCMS2_LIBS
669 LCMS2_CFLAGS
670 RESOLV_LIBS
671 GPHOTO2_PORT_LIBS
672 GPHOTO2_PORT_CFLAGS
673 GPHOTO2_LIBS
674 GPHOTO2_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 XSLT_LIBS
684 XSLT_CFLAGS
685 XML2_LIBS
686 XML2_CFLAGS
687 PCAP_LIBS
688 X_EXTRA_LIBS
689 X_LIBS
690 X_PRE_LIBS
691 X_CFLAGS
692 XMKMF
693 PTHREAD_LIBS
694 CROSSCFLAGS
695 CROSSCC
696 CROSSTARGET
697 PRELINK
698 WINELOADER_DEPENDS
699 CARBON_LIBS
700 QUICKTIME_LIBS
701 OPENCL_LIBS
702 OPENAL_LIBS
703 COREAUDIO_LIBS
704 SECURITY_LIBS
705 DISKARBITRATION_LIBS
706 APPKIT_LIBS
707 CORESERVICES_LIBS
708 APPLICATIONSERVICES_LIBS
709 FORCEFEEDBACK_LIBS
710 IOKIT_LIBS
711 COREFOUNDATION_LIBS
712 LIBWINE_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_INSTALL_DEV
715 LIBWINE_INSTALL_LIB
716 LIBWINE_IMPORTLIB
717 LIBWINE_SHAREDLIB
718 SOCKET_LIBS
719 DLLTOOL
720 WINELOADER_PROGRAMS
721 ALL_TEST_RESOURCES
722 CONFIGURE_TARGETS
723 DISABLED_SUBDIRS
724 SUBDIRS
725 READELF
726 OTOOL
728 WINELOADER_LDFLAGS
729 LDEXECFLAGS
730 LDRPATH_LOCAL
731 LDRPATH_INSTALL
732 DLLFLAGS
733 dlldir
735 OPENGL_LIBS
736 ICOTOOL
737 CONVERT
738 RSVG
739 FONTFORGE
740 PKG_CONFIG
741 MSGFMT
742 LDCONFIG
743 EGREP
744 GREP
745 LN_S
746 RANLIB
747 ARFLAGS
748 STRIP
749 ac_ct_AR
751 BISON
752 FLEX
753 TOOLSDIR
754 TARGETFLAGS
756 CPPBIN
757 ac_ct_CXX
758 CXXFLAGS
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
767 SET_MAKE
768 host_os
769 host_vendor
770 host_cpu
771 host
772 build_os
773 build_vendor
774 build_cpu
775 build
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 runstatedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_win16
819 enable_win64
820 enable_tests
821 enable_maintainer_mode
822 with_alsa
823 with_capi
824 with_cms
825 with_coreaudio
826 with_cups
827 with_curses
828 with_dbus
829 with_fontconfig
830 with_freetype
831 with_gettext
832 with_gettextpo
833 with_gphoto
834 with_glu
835 with_gnutls
836 with_gsm
837 with_gstreamer
838 with_hal
839 with_jpeg
840 with_ldap
841 with_mpg123
842 with_netapi
843 with_openal
844 with_opencl
845 with_opengl
846 with_osmesa
847 with_oss
848 with_pcap
849 with_png
850 with_pthread
851 with_pulse
852 with_sane
853 with_tiff
854 with_udev
855 with_v4l
856 with_xcomposite
857 with_xcursor
858 with_xfixes
859 with_xinerama
860 with_xinput
861 with_xinput2
862 with_xml
863 with_xrandr
864 with_xrender
865 with_xshape
866 with_xshm
867 with_xslt
868 with_xxf86vm
869 with_zlib
870 with_wine_tools
871 with_wine64
872 enable_largefile
873 with_x
874 enable_acledit
875 enable_aclui
876 enable_activeds
877 enable_actxprxy
878 enable_adsldpc
879 enable_advapi32
880 enable_advpack
881 enable_amstream
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_fibers_l1_1_0
906 enable_api_ms_win_core_fibers_l1_1_1
907 enable_api_ms_win_core_file_l1_1_0
908 enable_api_ms_win_core_file_l1_2_0
909 enable_api_ms_win_core_file_l1_2_1
910 enable_api_ms_win_core_file_l2_1_0
911 enable_api_ms_win_core_file_l2_1_1
912 enable_api_ms_win_core_handle_l1_1_0
913 enable_api_ms_win_core_heap_l1_1_0
914 enable_api_ms_win_core_heap_l1_2_0
915 enable_api_ms_win_core_heap_obsolete_l1_1_0
916 enable_api_ms_win_core_interlocked_l1_1_0
917 enable_api_ms_win_core_interlocked_l1_2_0
918 enable_api_ms_win_core_io_l1_1_0
919 enable_api_ms_win_core_io_l1_1_1
920 enable_api_ms_win_core_job_l1_1_0
921 enable_api_ms_win_core_job_l2_1_0
922 enable_api_ms_win_core_kernel32_legacy_l1_1_0
923 enable_api_ms_win_core_kernel32_legacy_l1_1_1
924 enable_api_ms_win_core_kernel32_private_l1_1_1
925 enable_api_ms_win_core_libraryloader_l1_1_0
926 enable_api_ms_win_core_libraryloader_l1_1_1
927 enable_api_ms_win_core_libraryloader_l1_2_0
928 enable_api_ms_win_core_libraryloader_l1_2_2
929 enable_api_ms_win_core_localization_l1_1_0
930 enable_api_ms_win_core_localization_l1_2_0
931 enable_api_ms_win_core_localization_l1_2_1
932 enable_api_ms_win_core_localization_l2_1_0
933 enable_api_ms_win_core_localization_obsolete_l1_1_0
934 enable_api_ms_win_core_localization_obsolete_l1_2_0
935 enable_api_ms_win_core_localization_private_l1_1_0
936 enable_api_ms_win_core_localregistry_l1_1_0
937 enable_api_ms_win_core_memory_l1_1_0
938 enable_api_ms_win_core_memory_l1_1_1
939 enable_api_ms_win_core_memory_l1_1_2
940 enable_api_ms_win_core_misc_l1_1_0
941 enable_api_ms_win_core_namedpipe_l1_1_0
942 enable_api_ms_win_core_namedpipe_l1_2_0
943 enable_api_ms_win_core_namespace_l1_1_0
944 enable_api_ms_win_core_normalization_l1_1_0
945 enable_api_ms_win_core_path_l1_1_0
946 enable_api_ms_win_core_privateprofile_l1_1_1
947 enable_api_ms_win_core_processenvironment_l1_1_0
948 enable_api_ms_win_core_processenvironment_l1_2_0
949 enable_api_ms_win_core_processthreads_l1_1_0
950 enable_api_ms_win_core_processthreads_l1_1_1
951 enable_api_ms_win_core_processthreads_l1_1_2
952 enable_api_ms_win_core_profile_l1_1_0
953 enable_api_ms_win_core_psapi_ansi_l1_1_0
954 enable_api_ms_win_core_psapi_l1_1_0
955 enable_api_ms_win_core_psapi_obsolete_l1_1_0
956 enable_api_ms_win_core_quirks_l1_1_0
957 enable_api_ms_win_core_realtime_l1_1_0
958 enable_api_ms_win_core_registry_l1_1_0
959 enable_api_ms_win_core_registry_l2_1_0
960 enable_api_ms_win_core_registryuserspecific_l1_1_0
961 enable_api_ms_win_core_rtlsupport_l1_1_0
962 enable_api_ms_win_core_rtlsupport_l1_2_0
963 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
964 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
965 enable_api_ms_win_core_sidebyside_l1_1_0
966 enable_api_ms_win_core_string_l1_1_0
967 enable_api_ms_win_core_string_l2_1_0
968 enable_api_ms_win_core_string_obsolete_l1_1_0
969 enable_api_ms_win_core_stringansi_l1_1_0
970 enable_api_ms_win_core_synch_l1_1_0
971 enable_api_ms_win_core_synch_l1_2_0
972 enable_api_ms_win_core_sysinfo_l1_1_0
973 enable_api_ms_win_core_sysinfo_l1_2_0
974 enable_api_ms_win_core_sysinfo_l1_2_1
975 enable_api_ms_win_core_threadpool_l1_1_0
976 enable_api_ms_win_core_threadpool_l1_2_0
977 enable_api_ms_win_core_threadpool_legacy_l1_1_0
978 enable_api_ms_win_core_threadpool_private_l1_1_0
979 enable_api_ms_win_core_timezone_l1_1_0
980 enable_api_ms_win_core_toolhelp_l1_1_0
981 enable_api_ms_win_core_url_l1_1_0
982 enable_api_ms_win_core_util_l1_1_0
983 enable_api_ms_win_core_version_l1_1_0
984 enable_api_ms_win_core_version_private_l1_1_0
985 enable_api_ms_win_core_versionansi_l1_1_0
986 enable_api_ms_win_core_windowserrorreporting_l1_1_0
987 enable_api_ms_win_core_winrt_error_l1_1_0
988 enable_api_ms_win_core_winrt_error_l1_1_1
989 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
990 enable_api_ms_win_core_winrt_l1_1_0
991 enable_api_ms_win_core_winrt_registration_l1_1_0
992 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
993 enable_api_ms_win_core_winrt_string_l1_1_0
994 enable_api_ms_win_core_wow64_l1_1_0
995 enable_api_ms_win_core_xstate_l1_1_0
996 enable_api_ms_win_core_xstate_l2_1_0
997 enable_api_ms_win_crt_conio_l1_1_0
998 enable_api_ms_win_crt_convert_l1_1_0
999 enable_api_ms_win_crt_environment_l1_1_0
1000 enable_api_ms_win_crt_filesystem_l1_1_0
1001 enable_api_ms_win_crt_heap_l1_1_0
1002 enable_api_ms_win_crt_locale_l1_1_0
1003 enable_api_ms_win_crt_math_l1_1_0
1004 enable_api_ms_win_crt_multibyte_l1_1_0
1005 enable_api_ms_win_crt_private_l1_1_0
1006 enable_api_ms_win_crt_process_l1_1_0
1007 enable_api_ms_win_crt_runtime_l1_1_0
1008 enable_api_ms_win_crt_stdio_l1_1_0
1009 enable_api_ms_win_crt_string_l1_1_0
1010 enable_api_ms_win_crt_time_l1_1_0
1011 enable_api_ms_win_crt_utility_l1_1_0
1012 enable_api_ms_win_devices_config_l1_1_1
1013 enable_api_ms_win_devices_query_l1_1_1
1014 enable_api_ms_win_downlevel_advapi32_l1_1_0
1015 enable_api_ms_win_downlevel_advapi32_l2_1_0
1016 enable_api_ms_win_downlevel_normaliz_l1_1_0
1017 enable_api_ms_win_downlevel_ole32_l1_1_0
1018 enable_api_ms_win_downlevel_shell32_l1_1_0
1019 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1020 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1021 enable_api_ms_win_downlevel_user32_l1_1_0
1022 enable_api_ms_win_downlevel_version_l1_1_0
1023 enable_api_ms_win_dx_d3dkmt_l1_1_0
1024 enable_api_ms_win_eventing_classicprovider_l1_1_0
1025 enable_api_ms_win_eventing_consumer_l1_1_0
1026 enable_api_ms_win_eventing_controller_l1_1_0
1027 enable_api_ms_win_eventing_provider_l1_1_0
1028 enable_api_ms_win_eventlog_legacy_l1_1_0
1029 enable_api_ms_win_mm_misc_l1_1_1
1030 enable_api_ms_win_mm_mme_l1_1_0
1031 enable_api_ms_win_mm_time_l1_1_0
1032 enable_api_ms_win_ntuser_dc_access_l1_1_0
1033 enable_api_ms_win_power_base_l1_1_0
1034 enable_api_ms_win_power_setting_l1_1_0
1035 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1036 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1037 enable_api_ms_win_security_audit_l1_1_1
1038 enable_api_ms_win_security_base_l1_1_0
1039 enable_api_ms_win_security_base_l1_2_0
1040 enable_api_ms_win_security_base_private_l1_1_1
1041 enable_api_ms_win_security_credentials_l1_1_0
1042 enable_api_ms_win_security_grouppolicy_l1_1_0
1043 enable_api_ms_win_security_lsalookup_l1_1_0
1044 enable_api_ms_win_security_lsalookup_l1_1_1
1045 enable_api_ms_win_security_lsalookup_l2_1_1
1046 enable_api_ms_win_security_lsapolicy_l1_1_0
1047 enable_api_ms_win_security_provider_l1_1_0
1048 enable_api_ms_win_security_sddl_l1_1_0
1049 enable_api_ms_win_security_systemfunctions_l1_1_0
1050 enable_api_ms_win_service_core_l1_1_0
1051 enable_api_ms_win_service_core_l1_1_1
1052 enable_api_ms_win_service_management_l1_1_0
1053 enable_api_ms_win_service_management_l2_1_0
1054 enable_api_ms_win_service_private_l1_1_1
1055 enable_api_ms_win_service_winsvc_l1_1_0
1056 enable_api_ms_win_service_winsvc_l1_2_0
1057 enable_api_ms_win_shell_shellcom_l1_1_0
1058 enable_api_ms_win_shell_shellfolders_l1_1_0
1059 enable_apphelp
1060 enable_appwiz_cpl
1061 enable_atl
1062 enable_atl100
1063 enable_atl110
1064 enable_atl80
1065 enable_atl90
1066 enable_authz
1067 enable_avicap32
1068 enable_avifil32
1069 enable_avrt
1070 enable_bcrypt
1071 enable_bluetoothapis
1072 enable_browseui
1073 enable_bthprops_cpl
1074 enable_cabinet
1075 enable_capi2032
1076 enable_cards
1077 enable_cfgmgr32
1078 enable_clusapi
1079 enable_combase
1080 enable_comcat
1081 enable_comctl32
1082 enable_comdlg32
1083 enable_compstui
1084 enable_comsvcs
1085 enable_concrt140
1086 enable_connect
1087 enable_credui
1088 enable_crtdll
1089 enable_crypt32
1090 enable_cryptdlg
1091 enable_cryptdll
1092 enable_cryptext
1093 enable_cryptnet
1094 enable_cryptui
1095 enable_ctapi32
1096 enable_ctl3d32
1097 enable_d2d1
1098 enable_d3d10
1099 enable_d3d10_1
1100 enable_d3d10core
1101 enable_d3d11
1102 enable_d3d8
1103 enable_d3d9
1104 enable_d3dcompiler_33
1105 enable_d3dcompiler_34
1106 enable_d3dcompiler_35
1107 enable_d3dcompiler_36
1108 enable_d3dcompiler_37
1109 enable_d3dcompiler_38
1110 enable_d3dcompiler_39
1111 enable_d3dcompiler_40
1112 enable_d3dcompiler_41
1113 enable_d3dcompiler_42
1114 enable_d3dcompiler_43
1115 enable_d3dcompiler_46
1116 enable_d3dcompiler_47
1117 enable_d3dim
1118 enable_d3drm
1119 enable_d3dx10_33
1120 enable_d3dx10_34
1121 enable_d3dx10_35
1122 enable_d3dx10_36
1123 enable_d3dx10_37
1124 enable_d3dx10_38
1125 enable_d3dx10_39
1126 enable_d3dx10_40
1127 enable_d3dx10_41
1128 enable_d3dx10_42
1129 enable_d3dx10_43
1130 enable_d3dx11_42
1131 enable_d3dx11_43
1132 enable_d3dx9_24
1133 enable_d3dx9_25
1134 enable_d3dx9_26
1135 enable_d3dx9_27
1136 enable_d3dx9_28
1137 enable_d3dx9_29
1138 enable_d3dx9_30
1139 enable_d3dx9_31
1140 enable_d3dx9_32
1141 enable_d3dx9_33
1142 enable_d3dx9_34
1143 enable_d3dx9_35
1144 enable_d3dx9_36
1145 enable_d3dx9_37
1146 enable_d3dx9_38
1147 enable_d3dx9_39
1148 enable_d3dx9_40
1149 enable_d3dx9_41
1150 enable_d3dx9_42
1151 enable_d3dx9_43
1152 enable_d3dxof
1153 enable_davclnt
1154 enable_dbgeng
1155 enable_dbghelp
1156 enable_dciman32
1157 enable_ddraw
1158 enable_ddrawex
1159 enable_devenum
1160 enable_dhcpcsvc
1161 enable_difxapi
1162 enable_dinput
1163 enable_dinput8
1164 enable_dispex
1165 enable_dmband
1166 enable_dmcompos
1167 enable_dmime
1168 enable_dmloader
1169 enable_dmscript
1170 enable_dmstyle
1171 enable_dmsynth
1172 enable_dmusic
1173 enable_dmusic32
1174 enable_dnsapi
1175 enable_dplay
1176 enable_dplayx
1177 enable_dpnaddr
1178 enable_dpnet
1179 enable_dpnhpast
1180 enable_dpnlobby
1181 enable_dpvoice
1182 enable_dpwsockx
1183 enable_drmclien
1184 enable_dsound
1185 enable_dsquery
1186 enable_dssenh
1187 enable_dswave
1188 enable_dwmapi
1189 enable_dwrite
1190 enable_dxdiagn
1191 enable_dxgi
1192 enable_dxva2
1193 enable_esent
1194 enable_evr
1195 enable_explorerframe
1196 enable_ext_ms_win_authz_context_l1_1_0
1197 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1198 enable_ext_ms_win_gdi_dc_create_l1_1_1
1199 enable_ext_ms_win_gdi_dc_l1_2_0
1200 enable_ext_ms_win_gdi_devcaps_l1_1_0
1201 enable_ext_ms_win_gdi_draw_l1_1_1
1202 enable_ext_ms_win_gdi_render_l1_1_0
1203 enable_ext_ms_win_kernel32_package_current_l1_1_0
1204 enable_ext_ms_win_kernel32_package_l1_1_1
1205 enable_ext_ms_win_ntuser_message_l1_1_1
1206 enable_ext_ms_win_ntuser_private_l1_1_1
1207 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1208 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1209 enable_ext_ms_win_ntuser_window_l1_1_1
1210 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1211 enable_ext_ms_win_ras_rasapi32_l1_1_0
1212 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1213 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1214 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1215 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1216 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1217 enable_ext_ms_win_security_credui_l1_1_0
1218 enable_ext_ms_win_security_cryptui_l1_1_0
1219 enable_faultrep
1220 enable_fltlib
1221 enable_fltmgr_sys
1222 enable_fntcache
1223 enable_fontsub
1224 enable_fusion
1225 enable_fwpuclnt
1226 enable_gameux
1227 enable_gdi32
1228 enable_gdiplus
1229 enable_glu32
1230 enable_gphoto2_ds
1231 enable_gpkcsp
1232 enable_hal
1233 enable_hhctrl_ocx
1234 enable_hid
1235 enable_hidclass_sys
1236 enable_hlink
1237 enable_hnetcfg
1238 enable_httpapi
1239 enable_iccvid
1240 enable_icmp
1241 enable_ieframe
1242 enable_imaadp32_acm
1243 enable_imagehlp
1244 enable_imm32
1245 enable_inetcomm
1246 enable_inetcpl_cpl
1247 enable_inetmib1
1248 enable_infosoft
1249 enable_initpki
1250 enable_inkobj
1251 enable_inseng
1252 enable_iphlpapi
1253 enable_iprop
1254 enable_irprops_cpl
1255 enable_itircl
1256 enable_itss
1257 enable_joy_cpl
1258 enable_jscript
1259 enable_jsproxy
1260 enable_kernel32
1261 enable_kernelbase
1262 enable_ksuser
1263 enable_ktmw32
1264 enable_loadperf
1265 enable_localspl
1266 enable_localui
1267 enable_lz32
1268 enable_mapi32
1269 enable_mapistub
1270 enable_mciavi32
1271 enable_mcicda
1272 enable_mciqtz32
1273 enable_mciseq
1274 enable_mciwave
1275 enable_mf
1276 enable_mf3216
1277 enable_mfplat
1278 enable_mfreadwrite
1279 enable_mgmtapi
1280 enable_midimap
1281 enable_mlang
1282 enable_mmcndmgr
1283 enable_mmdevapi
1284 enable_mountmgr_sys
1285 enable_mpr
1286 enable_mprapi
1287 enable_msacm32_drv
1288 enable_msacm32
1289 enable_msadp32_acm
1290 enable_msasn1
1291 enable_mscat32
1292 enable_mscms
1293 enable_mscoree
1294 enable_msctf
1295 enable_msctfp
1296 enable_msdaps
1297 enable_msdelta
1298 enable_msdmo
1299 enable_msdrm
1300 enable_msftedit
1301 enable_msg711_acm
1302 enable_msgsm32_acm
1303 enable_mshtml_tlb
1304 enable_mshtml
1305 enable_msi
1306 enable_msident
1307 enable_msimg32
1308 enable_msimsg
1309 enable_msimtf
1310 enable_msisip
1311 enable_msisys_ocx
1312 enable_msls31
1313 enable_msnet32
1314 enable_mspatcha
1315 enable_msports
1316 enable_msrle32
1317 enable_msscript_ocx
1318 enable_mssign32
1319 enable_mssip32
1320 enable_mstask
1321 enable_msvcirt
1322 enable_msvcm80
1323 enable_msvcm90
1324 enable_msvcp100
1325 enable_msvcp110
1326 enable_msvcp120
1327 enable_msvcp120_app
1328 enable_msvcp140
1329 enable_msvcp60
1330 enable_msvcp70
1331 enable_msvcp71
1332 enable_msvcp80
1333 enable_msvcp90
1334 enable_msvcr100
1335 enable_msvcr110
1336 enable_msvcr120
1337 enable_msvcr120_app
1338 enable_msvcr70
1339 enable_msvcr71
1340 enable_msvcr80
1341 enable_msvcr90
1342 enable_msvcrt
1343 enable_msvcrt20
1344 enable_msvcrt40
1345 enable_msvcrtd
1346 enable_msvfw32
1347 enable_msvidc32
1348 enable_mswsock
1349 enable_msxml
1350 enable_msxml2
1351 enable_msxml3
1352 enable_msxml4
1353 enable_msxml6
1354 enable_mtxdm
1355 enable_ncrypt
1356 enable_nddeapi
1357 enable_ndis_sys
1358 enable_netapi32
1359 enable_netcfgx
1360 enable_netprofm
1361 enable_newdev
1362 enable_normaliz
1363 enable_npmshtml
1364 enable_npptools
1365 enable_ntdll
1366 enable_ntdsapi
1367 enable_ntoskrnl_exe
1368 enable_ntprint
1369 enable_objsel
1370 enable_odbc32
1371 enable_odbccp32
1372 enable_odbccu32
1373 enable_ole32
1374 enable_oleacc
1375 enable_oleaut32
1376 enable_olecli32
1377 enable_oledb32
1378 enable_oledlg
1379 enable_olepro32
1380 enable_olesvr32
1381 enable_olethk32
1382 enable_openal32
1383 enable_opencl
1384 enable_opengl32
1385 enable_packager
1386 enable_pdh
1387 enable_photometadatahandler
1388 enable_pidgen
1389 enable_powrprof
1390 enable_printui
1391 enable_prntvpt
1392 enable_propsys
1393 enable_psapi
1394 enable_pstorec
1395 enable_qcap
1396 enable_qedit
1397 enable_qmgr
1398 enable_qmgrprxy
1399 enable_quartz
1400 enable_query
1401 enable_rasapi32
1402 enable_rasdlg
1403 enable_regapi
1404 enable_resutils
1405 enable_riched20
1406 enable_riched32
1407 enable_rpcrt4
1408 enable_rsabase
1409 enable_rsaenh
1410 enable_rstrtmgr
1411 enable_rtutils
1412 enable_samlib
1413 enable_sane_ds
1414 enable_scarddlg
1415 enable_sccbase
1416 enable_schannel
1417 enable_schedsvc
1418 enable_scrobj
1419 enable_scrrun
1420 enable_scsiport_sys
1421 enable_secur32
1422 enable_security
1423 enable_sensapi
1424 enable_serialui
1425 enable_setupapi
1426 enable_sfc
1427 enable_sfc_os
1428 enable_shdoclc
1429 enable_shdocvw
1430 enable_shell32
1431 enable_shfolder
1432 enable_shlwapi
1433 enable_slbcsp
1434 enable_slc
1435 enable_snmpapi
1436 enable_softpub
1437 enable_spoolss
1438 enable_sspicli
1439 enable_stdole2_tlb
1440 enable_stdole32_tlb
1441 enable_sti
1442 enable_svrapi
1443 enable_sxs
1444 enable_t2embed
1445 enable_tapi32
1446 enable_taskschd
1447 enable_tdh
1448 enable_tdi_sys
1449 enable_traffic
1450 enable_twain_32
1451 enable_ucrtbase
1452 enable_uiautomationcore
1453 enable_uiribbon
1454 enable_unicows
1455 enable_updspapi
1456 enable_url
1457 enable_urlmon
1458 enable_usbd_sys
1459 enable_user32
1460 enable_userenv
1461 enable_usp10
1462 enable_uxtheme
1463 enable_vbscript
1464 enable_vcomp
1465 enable_vcomp100
1466 enable_vcomp110
1467 enable_vcomp120
1468 enable_vcomp140
1469 enable_vcomp90
1470 enable_vcruntime140
1471 enable_vdmdbg
1472 enable_version
1473 enable_virtdisk
1474 enable_vssapi
1475 enable_wbemdisp
1476 enable_wbemprox
1477 enable_webservices
1478 enable_wer
1479 enable_wevtapi
1480 enable_wiaservc
1481 enable_wimgapi
1482 enable_windowscodecs
1483 enable_windowscodecsext
1484 enable_winealsa_drv
1485 enable_wineandroid_drv
1486 enable_winebus_sys
1487 enable_winecoreaudio_drv
1488 enable_wined3d
1489 enable_winegstreamer
1490 enable_winehid_sys
1491 enable_winejoystick_drv
1492 enable_winemac_drv
1493 enable_winemapi
1494 enable_winemp3_acm
1495 enable_wineoss_drv
1496 enable_wineps_drv
1497 enable_winepulse_drv
1498 enable_wineqtdecoder
1499 enable_winex11_drv
1500 enable_wing32
1501 enable_winhttp
1502 enable_wininet
1503 enable_winmm
1504 enable_winnls32
1505 enable_winscard
1506 enable_winspool_drv
1507 enable_winsta
1508 enable_wintab32
1509 enable_wintrust
1510 enable_winusb
1511 enable_wlanapi
1512 enable_wldap32
1513 enable_wmasf
1514 enable_wmi
1515 enable_wmiutils
1516 enable_wmp
1517 enable_wmvcore
1518 enable_wnaspi32
1519 enable_wpc
1520 enable_wpcap
1521 enable_ws2_32
1522 enable_wsdapi
1523 enable_wshom_ocx
1524 enable_wsnmp32
1525 enable_wsock32
1526 enable_wtsapi32
1527 enable_wuapi
1528 enable_wuaueng
1529 enable_x3daudio1_0
1530 enable_x3daudio1_1
1531 enable_x3daudio1_2
1532 enable_x3daudio1_3
1533 enable_x3daudio1_4
1534 enable_x3daudio1_5
1535 enable_x3daudio1_6
1536 enable_x3daudio1_7
1537 enable_xapofx1_1
1538 enable_xapofx1_2
1539 enable_xapofx1_3
1540 enable_xapofx1_4
1541 enable_xapofx1_5
1542 enable_xaudio2_0
1543 enable_xaudio2_1
1544 enable_xaudio2_2
1545 enable_xaudio2_3
1546 enable_xaudio2_4
1547 enable_xaudio2_5
1548 enable_xaudio2_6
1549 enable_xaudio2_7
1550 enable_xaudio2_8
1551 enable_xaudio2_9
1552 enable_xinput1_1
1553 enable_xinput1_2
1554 enable_xinput1_3
1555 enable_xinput1_4
1556 enable_xinput9_1_0
1557 enable_xmllite
1558 enable_xolehlp
1559 enable_xpsprint
1560 enable_xpssvcs
1561 enable_fonts
1562 enable_include
1563 enable_libs_port
1564 enable_libs_wine
1565 enable_libs_wpp
1566 enable_loader
1567 enable_po
1568 enable_arp
1569 enable_aspnet_regiis
1570 enable_attrib
1571 enable_cabarc
1572 enable_cacls
1573 enable_clock
1574 enable_cmd
1575 enable_conhost
1576 enable_control
1577 enable_cscript
1578 enable_dpnsvr
1579 enable_dxdiag
1580 enable_eject
1581 enable_expand
1582 enable_explorer
1583 enable_extrac32
1584 enable_findstr
1585 enable_fsutil
1586 enable_hh
1587 enable_hostname
1588 enable_icacls
1589 enable_icinfo
1590 enable_iexplore
1591 enable_ipconfig
1592 enable_lodctr
1593 enable_mofcomp
1594 enable_mshta
1595 enable_msiexec
1596 enable_msinfo32
1597 enable_net
1598 enable_netsh
1599 enable_netstat
1600 enable_ngen
1601 enable_notepad
1602 enable_oleview
1603 enable_ping
1604 enable_plugplay
1605 enable_powershell
1606 enable_presentationfontcache
1607 enable_progman
1608 enable_reg
1609 enable_regasm
1610 enable_regedit
1611 enable_regsvcs
1612 enable_regsvr32
1613 enable_rpcss
1614 enable_rundll32
1615 enable_sc
1616 enable_schtasks
1617 enable_sdbinst
1618 enable_secedit
1619 enable_servicemodelreg
1620 enable_services
1621 enable_shutdown
1622 enable_spoolsv
1623 enable_start
1624 enable_subst
1625 enable_svchost
1626 enable_systeminfo
1627 enable_taskkill
1628 enable_tasklist
1629 enable_taskmgr
1630 enable_termsv
1631 enable_uninstaller
1632 enable_unlodctr
1633 enable_view
1634 enable_wevtutil
1635 enable_wineboot
1636 enable_winebrowser
1637 enable_winecfg
1638 enable_wineconsole
1639 enable_winedbg
1640 enable_winedevice
1641 enable_winefile
1642 enable_winemenubuilder
1643 enable_winemine
1644 enable_winemsibuilder
1645 enable_winepath
1646 enable_winetest
1647 enable_winhlp32
1648 enable_winver
1649 enable_wmic
1650 enable_wmplayer
1651 enable_wordpad
1652 enable_write
1653 enable_wscript
1654 enable_wusa
1655 enable_xcopy
1656 enable_server
1657 enable_tools
1659 ac_precious_vars='build_alias
1660 host_alias
1661 target_alias
1663 CFLAGS
1664 LDFLAGS
1665 LIBS
1666 CPPFLAGS
1668 CXXFLAGS
1671 XMKMF
1672 XML2_CFLAGS
1673 XML2_LIBS
1674 XSLT_CFLAGS
1675 XSLT_LIBS
1676 DBUS_CFLAGS
1677 DBUS_LIBS
1678 HAL_CFLAGS
1679 HAL_LIBS
1680 GNUTLS_CFLAGS
1681 GNUTLS_LIBS
1682 SANE_CFLAGS
1683 SANE_LIBS
1684 GPHOTO2_CFLAGS
1685 GPHOTO2_LIBS
1686 GPHOTO2_PORT_CFLAGS
1687 GPHOTO2_PORT_LIBS
1688 LCMS2_CFLAGS
1689 LCMS2_LIBS
1690 FREETYPE_CFLAGS
1691 FREETYPE_LIBS
1692 PULSE_CFLAGS
1693 PULSE_LIBS
1694 GSTREAMER_CFLAGS
1695 GSTREAMER_LIBS
1696 UDEV_CFLAGS
1697 UDEV_LIBS
1698 CAPI20_CFLAGS
1699 CAPI20_LIBS
1700 FONTCONFIG_CFLAGS
1701 FONTCONFIG_LIBS
1702 JPEG_CFLAGS
1703 JPEG_LIBS
1704 PNG_CFLAGS
1705 PNG_LIBS
1706 TIFF_CFLAGS
1707 TIFF_LIBS
1708 MPG123_CFLAGS
1709 MPG123_LIBS
1710 NETAPI_CFLAGS
1711 NETAPI_LIBS
1712 LDAP_CFLAGS
1713 LDAP_LIBS'
1716 # Initialize some variables set by options.
1717 ac_init_help=
1718 ac_init_version=false
1719 ac_unrecognized_opts=
1720 ac_unrecognized_sep=
1721 # The variables have the same names as the options, with
1722 # dashes changed to underlines.
1723 cache_file=/dev/null
1724 exec_prefix=NONE
1725 no_create=
1726 no_recursion=
1727 prefix=NONE
1728 program_prefix=NONE
1729 program_suffix=NONE
1730 program_transform_name=s,x,x,
1731 silent=
1732 site=
1733 srcdir=
1734 verbose=
1735 x_includes=NONE
1736 x_libraries=NONE
1738 # Installation directory options.
1739 # These are left unexpanded so users can "make install exec_prefix=/foo"
1740 # and all the variables that are supposed to be based on exec_prefix
1741 # by default will actually change.
1742 # Use braces instead of parens because sh, perl, etc. also accept them.
1743 # (The list follows the same order as the GNU Coding Standards.)
1744 bindir='${exec_prefix}/bin'
1745 sbindir='${exec_prefix}/sbin'
1746 libexecdir='${exec_prefix}/libexec'
1747 datarootdir='${prefix}/share'
1748 datadir='${datarootdir}'
1749 sysconfdir='${prefix}/etc'
1750 sharedstatedir='${prefix}/com'
1751 localstatedir='${prefix}/var'
1752 runstatedir='${localstatedir}/run'
1753 includedir='${prefix}/include'
1754 oldincludedir='/usr/include'
1755 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1756 infodir='${datarootdir}/info'
1757 htmldir='${docdir}'
1758 dvidir='${docdir}'
1759 pdfdir='${docdir}'
1760 psdir='${docdir}'
1761 libdir='${exec_prefix}/lib'
1762 localedir='${datarootdir}/locale'
1763 mandir='${datarootdir}/man'
1765 ac_prev=
1766 ac_dashdash=
1767 for ac_option
1769 # If the previous option needs an argument, assign it.
1770 if test -n "$ac_prev"; then
1771 eval $ac_prev=\$ac_option
1772 ac_prev=
1773 continue
1776 case $ac_option in
1777 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1778 *=) ac_optarg= ;;
1779 *) ac_optarg=yes ;;
1780 esac
1782 # Accept the important Cygnus configure options, so we can diagnose typos.
1784 case $ac_dashdash$ac_option in
1786 ac_dashdash=yes ;;
1788 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1789 ac_prev=bindir ;;
1790 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1791 bindir=$ac_optarg ;;
1793 -build | --build | --buil | --bui | --bu)
1794 ac_prev=build_alias ;;
1795 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1796 build_alias=$ac_optarg ;;
1798 -cache-file | --cache-file | --cache-fil | --cache-fi \
1799 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1800 ac_prev=cache_file ;;
1801 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1802 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1803 cache_file=$ac_optarg ;;
1805 --config-cache | -C)
1806 cache_file=config.cache ;;
1808 -datadir | --datadir | --datadi | --datad)
1809 ac_prev=datadir ;;
1810 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1811 datadir=$ac_optarg ;;
1813 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1814 | --dataroo | --dataro | --datar)
1815 ac_prev=datarootdir ;;
1816 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1817 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1818 datarootdir=$ac_optarg ;;
1820 -disable-* | --disable-*)
1821 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1822 # Reject names that are not valid shell variable names.
1823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1824 as_fn_error $? "invalid feature name: $ac_useropt"
1825 ac_useropt_orig=$ac_useropt
1826 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1827 case $ac_user_opts in
1829 "enable_$ac_useropt"
1830 "*) ;;
1831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1832 ac_unrecognized_sep=', ';;
1833 esac
1834 eval enable_$ac_useropt=no ;;
1836 -docdir | --docdir | --docdi | --doc | --do)
1837 ac_prev=docdir ;;
1838 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1839 docdir=$ac_optarg ;;
1841 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1842 ac_prev=dvidir ;;
1843 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1844 dvidir=$ac_optarg ;;
1846 -enable-* | --enable-*)
1847 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1848 # Reject names that are not valid shell variable names.
1849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1850 as_fn_error $? "invalid feature name: $ac_useropt"
1851 ac_useropt_orig=$ac_useropt
1852 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1853 case $ac_user_opts in
1855 "enable_$ac_useropt"
1856 "*) ;;
1857 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1858 ac_unrecognized_sep=', ';;
1859 esac
1860 eval enable_$ac_useropt=\$ac_optarg ;;
1862 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1863 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1864 | --exec | --exe | --ex)
1865 ac_prev=exec_prefix ;;
1866 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1867 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1868 | --exec=* | --exe=* | --ex=*)
1869 exec_prefix=$ac_optarg ;;
1871 -gas | --gas | --ga | --g)
1872 # Obsolete; use --with-gas.
1873 with_gas=yes ;;
1875 -help | --help | --hel | --he | -h)
1876 ac_init_help=long ;;
1877 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1878 ac_init_help=recursive ;;
1879 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1880 ac_init_help=short ;;
1882 -host | --host | --hos | --ho)
1883 ac_prev=host_alias ;;
1884 -host=* | --host=* | --hos=* | --ho=*)
1885 host_alias=$ac_optarg ;;
1887 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1888 ac_prev=htmldir ;;
1889 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1890 | --ht=*)
1891 htmldir=$ac_optarg ;;
1893 -includedir | --includedir | --includedi | --included | --include \
1894 | --includ | --inclu | --incl | --inc)
1895 ac_prev=includedir ;;
1896 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1897 | --includ=* | --inclu=* | --incl=* | --inc=*)
1898 includedir=$ac_optarg ;;
1900 -infodir | --infodir | --infodi | --infod | --info | --inf)
1901 ac_prev=infodir ;;
1902 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1903 infodir=$ac_optarg ;;
1905 -libdir | --libdir | --libdi | --libd)
1906 ac_prev=libdir ;;
1907 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1908 libdir=$ac_optarg ;;
1910 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1911 | --libexe | --libex | --libe)
1912 ac_prev=libexecdir ;;
1913 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1914 | --libexe=* | --libex=* | --libe=*)
1915 libexecdir=$ac_optarg ;;
1917 -localedir | --localedir | --localedi | --localed | --locale)
1918 ac_prev=localedir ;;
1919 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1920 localedir=$ac_optarg ;;
1922 -localstatedir | --localstatedir | --localstatedi | --localstated \
1923 | --localstate | --localstat | --localsta | --localst | --locals)
1924 ac_prev=localstatedir ;;
1925 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1926 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1927 localstatedir=$ac_optarg ;;
1929 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1930 ac_prev=mandir ;;
1931 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1932 mandir=$ac_optarg ;;
1934 -nfp | --nfp | --nf)
1935 # Obsolete; use --without-fp.
1936 with_fp=no ;;
1938 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1939 | --no-cr | --no-c | -n)
1940 no_create=yes ;;
1942 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1943 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1944 no_recursion=yes ;;
1946 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1947 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1948 | --oldin | --oldi | --old | --ol | --o)
1949 ac_prev=oldincludedir ;;
1950 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1951 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1952 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1953 oldincludedir=$ac_optarg ;;
1955 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1956 ac_prev=prefix ;;
1957 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1958 prefix=$ac_optarg ;;
1960 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1961 | --program-pre | --program-pr | --program-p)
1962 ac_prev=program_prefix ;;
1963 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1964 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1965 program_prefix=$ac_optarg ;;
1967 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1968 | --program-suf | --program-su | --program-s)
1969 ac_prev=program_suffix ;;
1970 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1971 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1972 program_suffix=$ac_optarg ;;
1974 -program-transform-name | --program-transform-name \
1975 | --program-transform-nam | --program-transform-na \
1976 | --program-transform-n | --program-transform- \
1977 | --program-transform | --program-transfor \
1978 | --program-transfo | --program-transf \
1979 | --program-trans | --program-tran \
1980 | --progr-tra | --program-tr | --program-t)
1981 ac_prev=program_transform_name ;;
1982 -program-transform-name=* | --program-transform-name=* \
1983 | --program-transform-nam=* | --program-transform-na=* \
1984 | --program-transform-n=* | --program-transform-=* \
1985 | --program-transform=* | --program-transfor=* \
1986 | --program-transfo=* | --program-transf=* \
1987 | --program-trans=* | --program-tran=* \
1988 | --progr-tra=* | --program-tr=* | --program-t=*)
1989 program_transform_name=$ac_optarg ;;
1991 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1992 ac_prev=pdfdir ;;
1993 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1994 pdfdir=$ac_optarg ;;
1996 -psdir | --psdir | --psdi | --psd | --ps)
1997 ac_prev=psdir ;;
1998 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1999 psdir=$ac_optarg ;;
2001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2002 | -silent | --silent | --silen | --sile | --sil)
2003 silent=yes ;;
2005 -runstatedir | --runstatedir | --runstatedi | --runstated \
2006 | --runstate | --runstat | --runsta | --runst | --runs \
2007 | --run | --ru | --r)
2008 ac_prev=runstatedir ;;
2009 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2010 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2011 | --run=* | --ru=* | --r=*)
2012 runstatedir=$ac_optarg ;;
2014 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2015 ac_prev=sbindir ;;
2016 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2017 | --sbi=* | --sb=*)
2018 sbindir=$ac_optarg ;;
2020 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2021 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2022 | --sharedst | --shareds | --shared | --share | --shar \
2023 | --sha | --sh)
2024 ac_prev=sharedstatedir ;;
2025 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2026 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2027 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2028 | --sha=* | --sh=*)
2029 sharedstatedir=$ac_optarg ;;
2031 -site | --site | --sit)
2032 ac_prev=site ;;
2033 -site=* | --site=* | --sit=*)
2034 site=$ac_optarg ;;
2036 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2037 ac_prev=srcdir ;;
2038 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2039 srcdir=$ac_optarg ;;
2041 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2042 | --syscon | --sysco | --sysc | --sys | --sy)
2043 ac_prev=sysconfdir ;;
2044 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2045 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2046 sysconfdir=$ac_optarg ;;
2048 -target | --target | --targe | --targ | --tar | --ta | --t)
2049 ac_prev=target_alias ;;
2050 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2051 target_alias=$ac_optarg ;;
2053 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2054 verbose=yes ;;
2056 -version | --version | --versio | --versi | --vers | -V)
2057 ac_init_version=: ;;
2059 -with-* | --with-*)
2060 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2061 # Reject names that are not valid shell variable names.
2062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2063 as_fn_error $? "invalid package name: $ac_useropt"
2064 ac_useropt_orig=$ac_useropt
2065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2066 case $ac_user_opts in
2068 "with_$ac_useropt"
2069 "*) ;;
2070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2071 ac_unrecognized_sep=', ';;
2072 esac
2073 eval with_$ac_useropt=\$ac_optarg ;;
2075 -without-* | --without-*)
2076 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2077 # Reject names that are not valid shell variable names.
2078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2079 as_fn_error $? "invalid package name: $ac_useropt"
2080 ac_useropt_orig=$ac_useropt
2081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2082 case $ac_user_opts in
2084 "with_$ac_useropt"
2085 "*) ;;
2086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2087 ac_unrecognized_sep=', ';;
2088 esac
2089 eval with_$ac_useropt=no ;;
2091 --x)
2092 # Obsolete; use --with-x.
2093 with_x=yes ;;
2095 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2096 | --x-incl | --x-inc | --x-in | --x-i)
2097 ac_prev=x_includes ;;
2098 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2099 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2100 x_includes=$ac_optarg ;;
2102 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2103 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2104 ac_prev=x_libraries ;;
2105 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2106 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2107 x_libraries=$ac_optarg ;;
2109 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2110 Try \`$0 --help' for more information"
2113 *=*)
2114 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2115 # Reject names that are not valid shell variable names.
2116 case $ac_envvar in #(
2117 '' | [0-9]* | *[!_$as_cr_alnum]* )
2118 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2119 esac
2120 eval $ac_envvar=\$ac_optarg
2121 export $ac_envvar ;;
2124 # FIXME: should be removed in autoconf 3.0.
2125 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2126 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2127 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2128 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2131 esac
2132 done
2134 if test -n "$ac_prev"; then
2135 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2136 as_fn_error $? "missing argument to $ac_option"
2139 if test -n "$ac_unrecognized_opts"; then
2140 case $enable_option_checking in
2141 no) ;;
2142 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2143 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2144 esac
2147 # Check all directory arguments for consistency.
2148 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2149 datadir sysconfdir sharedstatedir localstatedir includedir \
2150 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2151 libdir localedir mandir runstatedir
2153 eval ac_val=\$$ac_var
2154 # Remove trailing slashes.
2155 case $ac_val in
2156 */ )
2157 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2158 eval $ac_var=\$ac_val;;
2159 esac
2160 # Be sure to have absolute directory names.
2161 case $ac_val in
2162 [\\/$]* | ?:[\\/]* ) continue;;
2163 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2164 esac
2165 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2166 done
2168 # There might be people who depend on the old broken behavior: `$host'
2169 # used to hold the argument of --host etc.
2170 # FIXME: To remove some day.
2171 build=$build_alias
2172 host=$host_alias
2173 target=$target_alias
2175 # FIXME: To remove some day.
2176 if test "x$host_alias" != x; then
2177 if test "x$build_alias" = x; then
2178 cross_compiling=maybe
2179 elif test "x$build_alias" != "x$host_alias"; then
2180 cross_compiling=yes
2184 ac_tool_prefix=
2185 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2187 test "$silent" = yes && exec 6>/dev/null
2190 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2191 ac_ls_di=`ls -di .` &&
2192 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2193 as_fn_error $? "working directory cannot be determined"
2194 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2195 as_fn_error $? "pwd does not report name of working directory"
2198 # Find the source files, if location was not specified.
2199 if test -z "$srcdir"; then
2200 ac_srcdir_defaulted=yes
2201 # Try the directory containing this script, then the parent directory.
2202 ac_confdir=`$as_dirname -- "$as_myself" ||
2203 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2204 X"$as_myself" : 'X\(//\)[^/]' \| \
2205 X"$as_myself" : 'X\(//\)$' \| \
2206 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2207 $as_echo X"$as_myself" |
2208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2209 s//\1/
2212 /^X\(\/\/\)[^/].*/{
2213 s//\1/
2216 /^X\(\/\/\)$/{
2217 s//\1/
2220 /^X\(\/\).*/{
2221 s//\1/
2224 s/.*/./; q'`
2225 srcdir=$ac_confdir
2226 if test ! -r "$srcdir/$ac_unique_file"; then
2227 srcdir=..
2229 else
2230 ac_srcdir_defaulted=no
2232 if test ! -r "$srcdir/$ac_unique_file"; then
2233 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2234 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2236 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2237 ac_abs_confdir=`(
2238 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2239 pwd)`
2240 # When building in place, set srcdir=.
2241 if test "$ac_abs_confdir" = "$ac_pwd"; then
2242 srcdir=.
2244 # Remove unnecessary trailing slashes from srcdir.
2245 # Double slashes in file names in object file debugging info
2246 # mess up M-x gdb in Emacs.
2247 case $srcdir in
2248 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2249 esac
2250 for ac_var in $ac_precious_vars; do
2251 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2252 eval ac_env_${ac_var}_value=\$${ac_var}
2253 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2254 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2255 done
2258 # Report the --help message.
2260 if test "$ac_init_help" = "long"; then
2261 # Omit some internal or obsolete options to make the list less imposing.
2262 # This message is too long to be a string in the A/UX 3.1 sh.
2263 cat <<_ACEOF
2264 \`configure' configures Wine 2.14 to adapt to many kinds of systems.
2266 Usage: $0 [OPTION]... [VAR=VALUE]...
2268 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2269 VAR=VALUE. See below for descriptions of some of the useful variables.
2271 Defaults for the options are specified in brackets.
2273 Configuration:
2274 -h, --help display this help and exit
2275 --help=short display options specific to this package
2276 --help=recursive display the short help of all the included packages
2277 -V, --version display version information and exit
2278 -q, --quiet, --silent do not print \`checking ...' messages
2279 --cache-file=FILE cache test results in FILE [disabled]
2280 -C, --config-cache alias for \`--cache-file=config.cache'
2281 -n, --no-create do not create output files
2282 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2284 Installation directories:
2285 --prefix=PREFIX install architecture-independent files in PREFIX
2286 [$ac_default_prefix]
2287 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2288 [PREFIX]
2290 By default, \`make install' will install all the files in
2291 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2292 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2293 for instance \`--prefix=\$HOME'.
2295 For better control, use the options below.
2297 Fine tuning of the installation directories:
2298 --bindir=DIR user executables [EPREFIX/bin]
2299 --sbindir=DIR system admin executables [EPREFIX/sbin]
2300 --libexecdir=DIR program executables [EPREFIX/libexec]
2301 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2302 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2303 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2304 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2305 --libdir=DIR object code libraries [EPREFIX/lib]
2306 --includedir=DIR C header files [PREFIX/include]
2307 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2308 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2309 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2310 --infodir=DIR info documentation [DATAROOTDIR/info]
2311 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2312 --mandir=DIR man documentation [DATAROOTDIR/man]
2313 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2314 --htmldir=DIR html documentation [DOCDIR]
2315 --dvidir=DIR dvi documentation [DOCDIR]
2316 --pdfdir=DIR pdf documentation [DOCDIR]
2317 --psdir=DIR ps documentation [DOCDIR]
2318 _ACEOF
2320 cat <<\_ACEOF
2322 X features:
2323 --x-includes=DIR X include files are in DIR
2324 --x-libraries=DIR X library files are in DIR
2326 System types:
2327 --build=BUILD configure for building on BUILD [guessed]
2328 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2329 _ACEOF
2332 if test -n "$ac_init_help"; then
2333 case $ac_init_help in
2334 short | recursive ) echo "Configuration of Wine 2.14:";;
2335 esac
2336 cat <<\_ACEOF
2338 Optional Features:
2339 --disable-option-checking ignore unrecognized --enable/--with options
2340 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2341 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2342 --disable-win16 do not include Win16 support
2343 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2344 binaries)
2345 --disable-tests do not build the regression tests
2346 --enable-maintainer-mode
2347 enable maintainer-specific build rules
2348 --disable-largefile omit support for large files
2350 Optional Packages:
2351 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2352 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2353 --without-alsa do not use the Alsa sound support
2354 --without-capi do not use CAPI (ISDN support)
2355 --without-cms do not use CMS (color management support)
2356 --without-coreaudio do not use the CoreAudio sound support
2357 --without-cups do not use CUPS
2358 --without-curses do not use (n)curses
2359 --without-dbus do not use DBus (dynamic device support)
2360 --without-fontconfig do not use fontconfig
2361 --without-freetype do not use the FreeType library
2362 --without-gettext do not use gettext
2363 --with-gettextpo use the GetTextPO library to rebuild po files
2364 --without-gphoto do not use gphoto (Digital Camera support)
2365 --without-glu do not use the GLU library
2366 --without-gnutls do not use GnuTLS (schannel support)
2367 --without-gsm do not use libgsm (GSM 06.10 codec support)
2368 --without-gstreamer do not use GStreamer (codecs support)
2369 --without-hal do not use HAL (dynamic device support)
2370 --without-jpeg do not use JPEG
2371 --without-ldap do not use LDAP
2372 --without-mpg123 do not use the mpg123 library
2373 --without-netapi do not use the Samba NetAPI library
2374 --without-openal do not use OpenAL
2375 --without-opencl do not use OpenCL
2376 --without-opengl do not use OpenGL
2377 --without-osmesa do not use the OSMesa library
2378 --without-oss do not use the OSS sound support
2379 --without-pcap do not use the Packet Capture library
2380 --without-png do not use PNG
2381 --without-pthread do not use the pthread library
2382 --without-pulse do not use PulseAudio sound support
2383 --without-sane do not use SANE (scanner support)
2384 --without-tiff do not use TIFF
2385 --without-udev do not use udev (plug and play support)
2386 --without-v4l do not use v4l1 (v4l support)
2387 --without-xcomposite do not use the Xcomposite extension
2388 --without-xcursor do not use the Xcursor extension
2389 --without-xfixes do not use Xfixes for clipboard change notifications
2390 --without-xinerama do not use Xinerama (multi-monitor support)
2391 --without-xinput do not use the Xinput extension
2392 --without-xinput2 do not use the Xinput 2 extension
2393 --without-xml do not use XML
2394 --without-xrandr do not use Xrandr (resolution changes)
2395 --without-xrender do not use the Xrender extension
2396 --without-xshape do not use the Xshape extension
2397 --without-xshm do not use XShm (shared memory extension)
2398 --without-xslt do not use XSLT
2399 --without-xxf86vm do not use XFree video mode extension
2400 --without-zlib do not use Zlib (data compression)
2401 --with-wine-tools=DIR use Wine tools from directory DIR
2402 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2403 --with-x use the X Window System
2405 Some influential environment variables:
2406 CC C compiler command
2407 CFLAGS C compiler flags
2408 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2409 nonstandard directory <lib dir>
2410 LIBS libraries to pass to the linker, e.g. -l<library>
2411 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2412 you have headers in a nonstandard directory <include dir>
2413 CXX C++ compiler command
2414 CXXFLAGS C++ compiler flags
2415 CPP C preprocessor
2416 XMKMF Path to xmkmf, Makefile generator for X Window System
2417 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2418 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2419 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2420 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2421 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2422 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2423 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2424 HAL_LIBS Linker flags for hal, overriding pkg-config
2425 GNUTLS_CFLAGS
2426 C compiler flags for gnutls, overriding pkg-config
2427 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2428 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2429 SANE_LIBS Linker flags for libsane, overriding pkg-config
2430 GPHOTO2_CFLAGS
2431 C compiler flags for libgphoto2, overriding pkg-config
2432 GPHOTO2_LIBS
2433 Linker flags for libgphoto2, overriding pkg-config
2434 GPHOTO2_PORT_CFLAGS
2435 C compiler flags for libgphoto2_port, overriding pkg-config
2436 GPHOTO2_PORT_LIBS
2437 Linker flags for libgphoto2_port, overriding pkg-config
2438 LCMS2_CFLAGS
2439 C compiler flags for lcms2, overriding pkg-config
2440 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2441 FREETYPE_CFLAGS
2442 C compiler flags for freetype2, overriding pkg-config
2443 FREETYPE_LIBS
2444 Linker flags for freetype2, overriding pkg-config
2445 PULSE_CFLAGS
2446 C compiler flags for libpulse, overriding pkg-config
2447 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2448 GSTREAMER_CFLAGS
2449 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2450 gstreamer-audio-1.0, overriding pkg-config
2451 GSTREAMER_LIBS
2452 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2453 gstreamer-audio-1.0, overriding pkg-config
2454 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2455 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2456 CAPI20_CFLAGS
2457 C compiler flags for capi20, overriding pkg-config
2458 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2459 FONTCONFIG_CFLAGS
2460 C compiler flags for fontconfig, overriding pkg-config
2461 FONTCONFIG_LIBS
2462 Linker flags for fontconfig, overriding pkg-config
2463 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2464 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2465 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2466 PNG_LIBS Linker flags for libpng, overriding pkg-config
2467 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2468 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2469 MPG123_CFLAGS
2470 C compiler flags for libmpg123, overriding pkg-config
2471 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2472 NETAPI_CFLAGS
2473 C compiler flags for netapi, overriding pkg-config
2474 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2475 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2476 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2478 Use these variables to override the choices made by `configure' or to help
2479 it to find libraries and programs with nonstandard names/locations.
2481 Report bugs to <wine-devel@winehq.org>.
2482 Wine home page: <http://www.winehq.org>.
2483 _ACEOF
2484 ac_status=$?
2487 if test "$ac_init_help" = "recursive"; then
2488 # If there are subdirs, report their specific --help.
2489 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2490 test -d "$ac_dir" ||
2491 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2492 continue
2493 ac_builddir=.
2495 case "$ac_dir" in
2496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2498 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2499 # A ".." for each directory in $ac_dir_suffix.
2500 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2501 case $ac_top_builddir_sub in
2502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2504 esac ;;
2505 esac
2506 ac_abs_top_builddir=$ac_pwd
2507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2508 # for backward compatibility:
2509 ac_top_builddir=$ac_top_build_prefix
2511 case $srcdir in
2512 .) # We are building in place.
2513 ac_srcdir=.
2514 ac_top_srcdir=$ac_top_builddir_sub
2515 ac_abs_top_srcdir=$ac_pwd ;;
2516 [\\/]* | ?:[\\/]* ) # Absolute name.
2517 ac_srcdir=$srcdir$ac_dir_suffix;
2518 ac_top_srcdir=$srcdir
2519 ac_abs_top_srcdir=$srcdir ;;
2520 *) # Relative name.
2521 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2522 ac_top_srcdir=$ac_top_build_prefix$srcdir
2523 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2524 esac
2525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2527 cd "$ac_dir" || { ac_status=$?; continue; }
2528 # Check for guested configure.
2529 if test -f "$ac_srcdir/configure.gnu"; then
2530 echo &&
2531 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2532 elif test -f "$ac_srcdir/configure"; then
2533 echo &&
2534 $SHELL "$ac_srcdir/configure" --help=recursive
2535 else
2536 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2537 fi || ac_status=$?
2538 cd "$ac_pwd" || { ac_status=$?; break; }
2539 done
2542 test -n "$ac_init_help" && exit $ac_status
2543 if $ac_init_version; then
2544 cat <<\_ACEOF
2545 Wine configure 2.14
2546 generated by GNU Autoconf 2.69
2548 Copyright (C) 2012 Free Software Foundation, Inc.
2549 This configure script is free software; the Free Software Foundation
2550 gives unlimited permission to copy, distribute and modify it.
2551 _ACEOF
2552 exit
2555 ## ------------------------ ##
2556 ## Autoconf initialization. ##
2557 ## ------------------------ ##
2559 # ac_fn_c_try_compile LINENO
2560 # --------------------------
2561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2562 ac_fn_c_try_compile ()
2564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2565 rm -f conftest.$ac_objext
2566 if { { ac_try="$ac_compile"
2567 case "(($ac_try" in
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2570 esac
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_compile") 2>conftest.err
2574 ac_status=$?
2575 if test -s conftest.err; then
2576 grep -v '^ *+' conftest.err >conftest.er1
2577 cat conftest.er1 >&5
2578 mv -f conftest.er1 conftest.err
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; } && {
2582 test -z "$ac_c_werror_flag" ||
2583 test ! -s conftest.err
2584 } && test -s conftest.$ac_objext; then :
2585 ac_retval=0
2586 else
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 ac_retval=1
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 as_fn_set_status $ac_retval
2595 } # ac_fn_c_try_compile
2597 # ac_fn_cxx_try_compile LINENO
2598 # ----------------------------
2599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2600 ac_fn_cxx_try_compile ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 rm -f conftest.$ac_objext
2604 if { { ac_try="$ac_compile"
2605 case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608 esac
2609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2610 $as_echo "$ac_try_echo"; } >&5
2611 (eval "$ac_compile") 2>conftest.err
2612 ac_status=$?
2613 if test -s conftest.err; then
2614 grep -v '^ *+' conftest.err >conftest.er1
2615 cat conftest.er1 >&5
2616 mv -f conftest.er1 conftest.err
2618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2619 test $ac_status = 0; } && {
2620 test -z "$ac_cxx_werror_flag" ||
2621 test ! -s conftest.err
2622 } && test -s conftest.$ac_objext; then :
2623 ac_retval=0
2624 else
2625 $as_echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.$ac_ext >&5
2628 ac_retval=1
2630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2631 as_fn_set_status $ac_retval
2633 } # ac_fn_cxx_try_compile
2635 # ac_fn_c_try_link LINENO
2636 # -----------------------
2637 # Try to link conftest.$ac_ext, and return whether this succeeded.
2638 ac_fn_c_try_link ()
2640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2641 rm -f conftest.$ac_objext conftest$ac_exeext
2642 if { { ac_try="$ac_link"
2643 case "(($ac_try" in
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2646 esac
2647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2648 $as_echo "$ac_try_echo"; } >&5
2649 (eval "$ac_link") 2>conftest.err
2650 ac_status=$?
2651 if test -s conftest.err; then
2652 grep -v '^ *+' conftest.err >conftest.er1
2653 cat conftest.er1 >&5
2654 mv -f conftest.er1 conftest.err
2656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2657 test $ac_status = 0; } && {
2658 test -z "$ac_c_werror_flag" ||
2659 test ! -s conftest.err
2660 } && test -s conftest$ac_exeext && {
2661 test "$cross_compiling" = yes ||
2662 test -x conftest$ac_exeext
2663 }; then :
2664 ac_retval=0
2665 else
2666 $as_echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2669 ac_retval=1
2671 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2672 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2673 # interfere with the next link command; also delete a directory that is
2674 # left behind by Apple's compiler. We do this before executing the actions.
2675 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 as_fn_set_status $ac_retval
2679 } # ac_fn_c_try_link
2681 # ac_fn_c_try_cpp LINENO
2682 # ----------------------
2683 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2684 ac_fn_c_try_cpp ()
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 if { { ac_try="$ac_cpp conftest.$ac_ext"
2688 case "(($ac_try" in
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2691 esac
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2695 ac_status=$?
2696 if test -s conftest.err; then
2697 grep -v '^ *+' conftest.err >conftest.er1
2698 cat conftest.er1 >&5
2699 mv -f conftest.er1 conftest.err
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; } > conftest.i && {
2703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2704 test ! -s conftest.err
2705 }; then :
2706 ac_retval=0
2707 else
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_retval=1
2713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2714 as_fn_set_status $ac_retval
2716 } # ac_fn_c_try_cpp
2718 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2719 # -------------------------------------------------------
2720 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2721 # the include files in INCLUDES and setting the cache variable VAR
2722 # accordingly.
2723 ac_fn_c_check_header_mongrel ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 if eval \${$3+:} false; then :
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2728 $as_echo_n "checking for $2... " >&6; }
2729 if eval \${$3+:} false; then :
2730 $as_echo_n "(cached) " >&6
2732 eval ac_res=\$$3
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2735 else
2736 # Is the header compilable?
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2738 $as_echo_n "checking $2 usability... " >&6; }
2739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2740 /* end confdefs.h. */
2742 #include <$2>
2743 _ACEOF
2744 if ac_fn_c_try_compile "$LINENO"; then :
2745 ac_header_compiler=yes
2746 else
2747 ac_header_compiler=no
2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2751 $as_echo "$ac_header_compiler" >&6; }
2753 # Is the header present?
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2755 $as_echo_n "checking $2 presence... " >&6; }
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2758 #include <$2>
2759 _ACEOF
2760 if ac_fn_c_try_cpp "$LINENO"; then :
2761 ac_header_preproc=yes
2762 else
2763 ac_header_preproc=no
2765 rm -f conftest.err conftest.i conftest.$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2767 $as_echo "$ac_header_preproc" >&6; }
2769 # So? What about this header?
2770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2771 yes:no: )
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2773 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2775 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2777 no:yes:* )
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2779 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2781 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2783 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2785 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2787 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2788 ( $as_echo "## ------------------------------------ ##
2789 ## Report this to wine-devel@winehq.org ##
2790 ## ------------------------------------ ##"
2791 ) | sed "s/^/$as_me: WARNING: /" >&2
2793 esac
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2795 $as_echo_n "checking for $2... " >&6; }
2796 if eval \${$3+:} false; then :
2797 $as_echo_n "(cached) " >&6
2798 else
2799 eval "$3=\$ac_header_compiler"
2801 eval ac_res=\$$3
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2803 $as_echo "$ac_res" >&6; }
2805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2807 } # ac_fn_c_check_header_mongrel
2809 # ac_fn_c_try_run LINENO
2810 # ----------------------
2811 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2812 # that executables *can* be run.
2813 ac_fn_c_try_run ()
2815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2816 if { { ac_try="$ac_link"
2817 case "(($ac_try" in
2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2820 esac
2821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2822 $as_echo "$ac_try_echo"; } >&5
2823 (eval "$ac_link") 2>&5
2824 ac_status=$?
2825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2826 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2827 { { case "(($ac_try" in
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2830 esac
2831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_try") 2>&5
2834 ac_status=$?
2835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2836 test $ac_status = 0; }; }; then :
2837 ac_retval=0
2838 else
2839 $as_echo "$as_me: program exited with status $ac_status" >&5
2840 $as_echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2843 ac_retval=$ac_status
2845 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2847 as_fn_set_status $ac_retval
2849 } # ac_fn_c_try_run
2851 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2852 # -------------------------------------------------------
2853 # Tests whether HEADER exists and can be compiled using the include files in
2854 # INCLUDES, setting the cache variable VAR accordingly.
2855 ac_fn_c_check_header_compile ()
2857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2859 $as_echo_n "checking for $2... " >&6; }
2860 if eval \${$3+:} false; then :
2861 $as_echo_n "(cached) " >&6
2862 else
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2866 #include <$2>
2867 _ACEOF
2868 if ac_fn_c_try_compile "$LINENO"; then :
2869 eval "$3=yes"
2870 else
2871 eval "$3=no"
2873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2875 eval ac_res=\$$3
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2877 $as_echo "$ac_res" >&6; }
2878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2880 } # ac_fn_c_check_header_compile
2882 # ac_fn_c_check_func LINENO FUNC VAR
2883 # ----------------------------------
2884 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2885 ac_fn_c_check_func ()
2887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2889 $as_echo_n "checking for $2... " >&6; }
2890 if eval \${$3+:} false; then :
2891 $as_echo_n "(cached) " >&6
2892 else
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2897 #define $2 innocuous_$2
2899 /* System header to define __stub macros and hopefully few prototypes,
2900 which can conflict with char $2 (); below.
2901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2902 <limits.h> exists even on freestanding compilers. */
2904 #ifdef __STDC__
2905 # include <limits.h>
2906 #else
2907 # include <assert.h>
2908 #endif
2910 #undef $2
2912 /* Override any GCC internal prototype to avoid an error.
2913 Use char because int might match the return type of a GCC
2914 builtin and then its argument prototype would still apply. */
2915 #ifdef __cplusplus
2916 extern "C"
2917 #endif
2918 char $2 ();
2919 /* The GNU C library defines this for functions which it implements
2920 to always fail with ENOSYS. Some functions are actually named
2921 something starting with __ and the normal name is an alias. */
2922 #if defined __stub_$2 || defined __stub___$2
2923 choke me
2924 #endif
2927 main ()
2929 return $2 ();
2931 return 0;
2933 _ACEOF
2934 if ac_fn_c_try_link "$LINENO"; then :
2935 eval "$3=yes"
2936 else
2937 eval "$3=no"
2939 rm -f core conftest.err conftest.$ac_objext \
2940 conftest$ac_exeext conftest.$ac_ext
2942 eval ac_res=\$$3
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2944 $as_echo "$ac_res" >&6; }
2945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2947 } # ac_fn_c_check_func
2949 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2950 # ----------------------------------------------------
2951 # Tries to find if the field MEMBER exists in type AGGR, after including
2952 # INCLUDES, setting cache variable VAR accordingly.
2953 ac_fn_c_check_member ()
2955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2957 $as_echo_n "checking for $2.$3... " >&6; }
2958 if eval \${$4+:} false; then :
2959 $as_echo_n "(cached) " >&6
2960 else
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2965 main ()
2967 static $2 ac_aggr;
2968 if (ac_aggr.$3)
2969 return 0;
2971 return 0;
2973 _ACEOF
2974 if ac_fn_c_try_compile "$LINENO"; then :
2975 eval "$4=yes"
2976 else
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2981 main ()
2983 static $2 ac_aggr;
2984 if (sizeof ac_aggr.$3)
2985 return 0;
2987 return 0;
2989 _ACEOF
2990 if ac_fn_c_try_compile "$LINENO"; then :
2991 eval "$4=yes"
2992 else
2993 eval "$4=no"
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 eval ac_res=\$$4
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3001 $as_echo "$ac_res" >&6; }
3002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 } # ac_fn_c_check_member
3006 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3007 # -------------------------------------------
3008 # Tests whether TYPE exists after having included INCLUDES, setting cache
3009 # variable VAR accordingly.
3010 ac_fn_c_check_type ()
3012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3014 $as_echo_n "checking for $2... " >&6; }
3015 if eval \${$3+:} false; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 eval "$3=no"
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3023 main ()
3025 if (sizeof ($2))
3026 return 0;
3028 return 0;
3030 _ACEOF
3031 if ac_fn_c_try_compile "$LINENO"; then :
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3036 main ()
3038 if (sizeof (($2)))
3039 return 0;
3041 return 0;
3043 _ACEOF
3044 if ac_fn_c_try_compile "$LINENO"; then :
3046 else
3047 eval "$3=yes"
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 eval ac_res=\$$3
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055 $as_echo "$ac_res" >&6; }
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 } # ac_fn_c_check_type
3059 cat >config.log <<_ACEOF
3060 This file contains any messages produced by compilers while
3061 running configure, to aid debugging if configure makes a mistake.
3063 It was created by Wine $as_me 2.14, which was
3064 generated by GNU Autoconf 2.69. Invocation command line was
3066 $ $0 $@
3068 _ACEOF
3069 exec 5>>config.log
3071 cat <<_ASUNAME
3072 ## --------- ##
3073 ## Platform. ##
3074 ## --------- ##
3076 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3077 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3078 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3079 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3080 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3082 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3083 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3085 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3086 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3087 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3088 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3089 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3090 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3091 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3093 _ASUNAME
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH
3098 IFS=$as_save_IFS
3099 test -z "$as_dir" && as_dir=.
3100 $as_echo "PATH: $as_dir"
3101 done
3102 IFS=$as_save_IFS
3104 } >&5
3106 cat >&5 <<_ACEOF
3109 ## ----------- ##
3110 ## Core tests. ##
3111 ## ----------- ##
3113 _ACEOF
3116 # Keep a trace of the command line.
3117 # Strip out --no-create and --no-recursion so they do not pile up.
3118 # Strip out --silent because we don't want to record it for future runs.
3119 # Also quote any args containing shell meta-characters.
3120 # Make two passes to allow for proper duplicate-argument suppression.
3121 ac_configure_args=
3122 ac_configure_args0=
3123 ac_configure_args1=
3124 ac_must_keep_next=false
3125 for ac_pass in 1 2
3127 for ac_arg
3129 case $ac_arg in
3130 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3132 | -silent | --silent | --silen | --sile | --sil)
3133 continue ;;
3134 *\'*)
3135 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3136 esac
3137 case $ac_pass in
3138 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3140 as_fn_append ac_configure_args1 " '$ac_arg'"
3141 if test $ac_must_keep_next = true; then
3142 ac_must_keep_next=false # Got value, back to normal.
3143 else
3144 case $ac_arg in
3145 *=* | --config-cache | -C | -disable-* | --disable-* \
3146 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3147 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3148 | -with-* | --with-* | -without-* | --without-* | --x)
3149 case "$ac_configure_args0 " in
3150 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3151 esac
3153 -* ) ac_must_keep_next=true ;;
3154 esac
3156 as_fn_append ac_configure_args " '$ac_arg'"
3158 esac
3159 done
3160 done
3161 { ac_configure_args0=; unset ac_configure_args0;}
3162 { ac_configure_args1=; unset ac_configure_args1;}
3164 # When interrupted or exit'd, cleanup temporary files, and complete
3165 # config.log. We remove comments because anyway the quotes in there
3166 # would cause problems or look ugly.
3167 # WARNING: Use '\'' to represent an apostrophe within the trap.
3168 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3169 trap 'exit_status=$?
3170 # Save into config.log some information that might help in debugging.
3172 echo
3174 $as_echo "## ---------------- ##
3175 ## Cache variables. ##
3176 ## ---------------- ##"
3177 echo
3178 # The following way of writing the cache mishandles newlines in values,
3180 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3181 eval ac_val=\$$ac_var
3182 case $ac_val in #(
3183 *${as_nl}*)
3184 case $ac_var in #(
3185 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3187 esac
3188 case $ac_var in #(
3189 _ | IFS | as_nl) ;; #(
3190 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3191 *) { eval $ac_var=; unset $ac_var;} ;;
3192 esac ;;
3193 esac
3194 done
3195 (set) 2>&1 |
3196 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3197 *${as_nl}ac_space=\ *)
3198 sed -n \
3199 "s/'\''/'\''\\\\'\'''\''/g;
3200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3201 ;; #(
3203 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3205 esac |
3206 sort
3208 echo
3210 $as_echo "## ----------------- ##
3211 ## Output variables. ##
3212 ## ----------------- ##"
3213 echo
3214 for ac_var in $ac_subst_vars
3216 eval ac_val=\$$ac_var
3217 case $ac_val in
3218 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3219 esac
3220 $as_echo "$ac_var='\''$ac_val'\''"
3221 done | sort
3222 echo
3224 if test -n "$ac_subst_files"; then
3225 $as_echo "## ------------------- ##
3226 ## File substitutions. ##
3227 ## ------------------- ##"
3228 echo
3229 for ac_var in $ac_subst_files
3231 eval ac_val=\$$ac_var
3232 case $ac_val in
3233 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3234 esac
3235 $as_echo "$ac_var='\''$ac_val'\''"
3236 done | sort
3237 echo
3240 if test -s confdefs.h; then
3241 $as_echo "## ----------- ##
3242 ## confdefs.h. ##
3243 ## ----------- ##"
3244 echo
3245 cat confdefs.h
3246 echo
3248 test "$ac_signal" != 0 &&
3249 $as_echo "$as_me: caught signal $ac_signal"
3250 $as_echo "$as_me: exit $exit_status"
3251 } >&5
3252 rm -f core *.core core.conftest.* &&
3253 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3254 exit $exit_status
3256 for ac_signal in 1 2 13 15; do
3257 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3258 done
3259 ac_signal=0
3261 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3262 rm -f -r conftest* confdefs.h
3264 $as_echo "/* confdefs.h */" > confdefs.h
3266 # Predefined preprocessor variables.
3268 cat >>confdefs.h <<_ACEOF
3269 #define PACKAGE_NAME "$PACKAGE_NAME"
3270 _ACEOF
3272 cat >>confdefs.h <<_ACEOF
3273 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3274 _ACEOF
3276 cat >>confdefs.h <<_ACEOF
3277 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3278 _ACEOF
3280 cat >>confdefs.h <<_ACEOF
3281 #define PACKAGE_STRING "$PACKAGE_STRING"
3282 _ACEOF
3284 cat >>confdefs.h <<_ACEOF
3285 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3286 _ACEOF
3288 cat >>confdefs.h <<_ACEOF
3289 #define PACKAGE_URL "$PACKAGE_URL"
3290 _ACEOF
3293 # Let the site file select an alternate cache file if it wants to.
3294 # Prefer an explicitly selected file to automatically selected ones.
3295 ac_site_file1=NONE
3296 ac_site_file2=NONE
3297 if test -n "$CONFIG_SITE"; then
3298 # We do not want a PATH search for config.site.
3299 case $CONFIG_SITE in #((
3300 -*) ac_site_file1=./$CONFIG_SITE;;
3301 */*) ac_site_file1=$CONFIG_SITE;;
3302 *) ac_site_file1=./$CONFIG_SITE;;
3303 esac
3304 elif test "x$prefix" != xNONE; then
3305 ac_site_file1=$prefix/share/config.site
3306 ac_site_file2=$prefix/etc/config.site
3307 else
3308 ac_site_file1=$ac_default_prefix/share/config.site
3309 ac_site_file2=$ac_default_prefix/etc/config.site
3311 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3313 test "x$ac_site_file" = xNONE && continue
3314 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3316 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3317 sed 's/^/| /' "$ac_site_file" >&5
3318 . "$ac_site_file" \
3319 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 as_fn_error $? "failed to load site script $ac_site_file
3322 See \`config.log' for more details" "$LINENO" 5; }
3324 done
3326 if test -r "$cache_file"; then
3327 # Some versions of bash will fail to source /dev/null (special files
3328 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3329 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3331 $as_echo "$as_me: loading cache $cache_file" >&6;}
3332 case $cache_file in
3333 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3334 *) . "./$cache_file";;
3335 esac
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3339 $as_echo "$as_me: creating cache $cache_file" >&6;}
3340 >$cache_file
3343 # Check that the precious variables saved in the cache have kept the same
3344 # value.
3345 ac_cache_corrupted=false
3346 for ac_var in $ac_precious_vars; do
3347 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3348 eval ac_new_set=\$ac_env_${ac_var}_set
3349 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3350 eval ac_new_val=\$ac_env_${ac_var}_value
3351 case $ac_old_set,$ac_new_set in
3352 set,)
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3354 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3355 ac_cache_corrupted=: ;;
3356 ,set)
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3358 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3359 ac_cache_corrupted=: ;;
3360 ,);;
3362 if test "x$ac_old_val" != "x$ac_new_val"; then
3363 # differences in whitespace do not lead to failure.
3364 ac_old_val_w=`echo x $ac_old_val`
3365 ac_new_val_w=`echo x $ac_new_val`
3366 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3368 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3369 ac_cache_corrupted=:
3370 else
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3372 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3373 eval $ac_var=\$ac_old_val
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3376 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3378 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3379 fi;;
3380 esac
3381 # Pass precious variables to config.status.
3382 if test "$ac_new_set" = set; then
3383 case $ac_new_val in
3384 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3385 *) ac_arg=$ac_var=$ac_new_val ;;
3386 esac
3387 case " $ac_configure_args " in
3388 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3389 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3390 esac
3392 done
3393 if $ac_cache_corrupted; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3397 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3398 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3400 ## -------------------- ##
3401 ## Main body of script. ##
3402 ## -------------------- ##
3404 ac_ext=c
3405 ac_cpp='$CPP $CPPFLAGS'
3406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3412 ac_config_headers="$ac_config_headers include/config.h"
3414 ac_aux_dir=
3415 for ac_dir in tools "$srcdir"/tools; do
3416 if test -f "$ac_dir/install-sh"; then
3417 ac_aux_dir=$ac_dir
3418 ac_install_sh="$ac_aux_dir/install-sh -c"
3419 break
3420 elif test -f "$ac_dir/install.sh"; then
3421 ac_aux_dir=$ac_dir
3422 ac_install_sh="$ac_aux_dir/install.sh -c"
3423 break
3424 elif test -f "$ac_dir/shtool"; then
3425 ac_aux_dir=$ac_dir
3426 ac_install_sh="$ac_aux_dir/shtool install -c"
3427 break
3429 done
3430 if test -z "$ac_aux_dir"; then
3431 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3434 # These three variables are undocumented and unsupported,
3435 # and are intended to be withdrawn in a future Autoconf release.
3436 # They can cause serious problems if a builder's source tree is in a directory
3437 # whose full name contains unusual characters.
3438 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3439 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3440 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3444 libwine_version="1.0"
3448 # Check whether --enable-win16 was given.
3449 if test "${enable_win16+set}" = set; then :
3450 enableval=$enable_win16;
3453 # Check whether --enable-win64 was given.
3454 if test "${enable_win64+set}" = set; then :
3455 enableval=$enable_win64;
3458 # Check whether --enable-tests was given.
3459 if test "${enable_tests+set}" = set; then :
3460 enableval=$enable_tests;
3463 # Check whether --enable-maintainer-mode was given.
3464 if test "${enable_maintainer_mode+set}" = set; then :
3465 enableval=$enable_maintainer_mode;
3470 # Check whether --with-alsa was given.
3471 if test "${with_alsa+set}" = set; then :
3472 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3476 # Check whether --with-capi was given.
3477 if test "${with_capi+set}" = set; then :
3478 withval=$with_capi;
3482 # Check whether --with-cms was given.
3483 if test "${with_cms+set}" = set; then :
3484 withval=$with_cms;
3488 # Check whether --with-coreaudio was given.
3489 if test "${with_coreaudio+set}" = set; then :
3490 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3494 # Check whether --with-cups was given.
3495 if test "${with_cups+set}" = set; then :
3496 withval=$with_cups;
3500 # Check whether --with-curses was given.
3501 if test "${with_curses+set}" = set; then :
3502 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3506 # Check whether --with-dbus was given.
3507 if test "${with_dbus+set}" = set; then :
3508 withval=$with_dbus;
3512 # Check whether --with-fontconfig was given.
3513 if test "${with_fontconfig+set}" = set; then :
3514 withval=$with_fontconfig;
3518 # Check whether --with-freetype was given.
3519 if test "${with_freetype+set}" = set; then :
3520 withval=$with_freetype;
3524 # Check whether --with-gettext was given.
3525 if test "${with_gettext+set}" = set; then :
3526 withval=$with_gettext;
3530 # Check whether --with-gettextpo was given.
3531 if test "${with_gettextpo+set}" = set; then :
3532 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3536 # Check whether --with-gphoto was given.
3537 if test "${with_gphoto+set}" = set; then :
3538 withval=$with_gphoto;
3542 # Check whether --with-glu was given.
3543 if test "${with_glu+set}" = set; then :
3544 withval=$with_glu;
3548 # Check whether --with-gnutls was given.
3549 if test "${with_gnutls+set}" = set; then :
3550 withval=$with_gnutls;
3554 # Check whether --with-gsm was given.
3555 if test "${with_gsm+set}" = set; then :
3556 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3560 # Check whether --with-gstreamer was given.
3561 if test "${with_gstreamer+set}" = set; then :
3562 withval=$with_gstreamer;
3566 # Check whether --with-hal was given.
3567 if test "${with_hal+set}" = set; then :
3568 withval=$with_hal;
3572 # Check whether --with-jpeg was given.
3573 if test "${with_jpeg+set}" = set; then :
3574 withval=$with_jpeg;
3578 # Check whether --with-ldap was given.
3579 if test "${with_ldap+set}" = set; then :
3580 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3584 # Check whether --with-mpg123 was given.
3585 if test "${with_mpg123+set}" = set; then :
3586 withval=$with_mpg123;
3590 # Check whether --with-netapi was given.
3591 if test "${with_netapi+set}" = set; then :
3592 withval=$with_netapi;
3596 # Check whether --with-openal was given.
3597 if test "${with_openal+set}" = set; then :
3598 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3602 # Check whether --with-opencl was given.
3603 if test "${with_opencl+set}" = set; then :
3604 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3608 # Check whether --with-opengl was given.
3609 if test "${with_opengl+set}" = set; then :
3610 withval=$with_opengl;
3614 # Check whether --with-osmesa was given.
3615 if test "${with_osmesa+set}" = set; then :
3616 withval=$with_osmesa;
3620 # Check whether --with-oss was given.
3621 if test "${with_oss+set}" = set; then :
3622 withval=$with_oss;
3626 # Check whether --with-pcap was given.
3627 if test "${with_pcap+set}" = set; then :
3628 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3632 # Check whether --with-png was given.
3633 if test "${with_png+set}" = set; then :
3634 withval=$with_png;
3638 # Check whether --with-pthread was given.
3639 if test "${with_pthread+set}" = set; then :
3640 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3644 # Check whether --with-pulse was given.
3645 if test "${with_pulse+set}" = set; then :
3646 withval=$with_pulse;
3650 # Check whether --with-sane was given.
3651 if test "${with_sane+set}" = set; then :
3652 withval=$with_sane;
3656 # Check whether --with-tiff was given.
3657 if test "${with_tiff+set}" = set; then :
3658 withval=$with_tiff;
3662 # Check whether --with-udev was given.
3663 if test "${with_udev+set}" = set; then :
3664 withval=$with_udev;
3668 # Check whether --with-v4l was given.
3669 if test "${with_v4l+set}" = set; then :
3670 withval=$with_v4l;
3674 # Check whether --with-xcomposite was given.
3675 if test "${with_xcomposite+set}" = set; then :
3676 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3680 # Check whether --with-xcursor was given.
3681 if test "${with_xcursor+set}" = set; then :
3682 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3686 # Check whether --with-xfixes was given.
3687 if test "${with_xfixes+set}" = set; then :
3688 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3692 # Check whether --with-xinerama was given.
3693 if test "${with_xinerama+set}" = set; then :
3694 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3698 # Check whether --with-xinput was given.
3699 if test "${with_xinput+set}" = set; then :
3700 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3704 # Check whether --with-xinput2 was given.
3705 if test "${with_xinput2+set}" = set; then :
3706 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3710 # Check whether --with-xml was given.
3711 if test "${with_xml+set}" = set; then :
3712 withval=$with_xml;
3716 # Check whether --with-xrandr was given.
3717 if test "${with_xrandr+set}" = set; then :
3718 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3722 # Check whether --with-xrender was given.
3723 if test "${with_xrender+set}" = set; then :
3724 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3728 # Check whether --with-xshape was given.
3729 if test "${with_xshape+set}" = set; then :
3730 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3734 # Check whether --with-xshm was given.
3735 if test "${with_xshm+set}" = set; then :
3736 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3740 # Check whether --with-xslt was given.
3741 if test "${with_xslt+set}" = set; then :
3742 withval=$with_xslt;
3746 # Check whether --with-xxf86vm was given.
3747 if test "${with_xxf86vm+set}" = set; then :
3748 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
3752 # Check whether --with-zlib was given.
3753 if test "${with_zlib+set}" = set; then :
3754 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3759 # Check whether --with-wine-tools was given.
3760 if test "${with_wine_tools+set}" = set; then :
3761 withval=$with_wine_tools;
3765 # Check whether --with-wine64 was given.
3766 if test "${with_wine64+set}" = set; then :
3767 withval=$with_wine64;
3771 # Make sure we can run config.sub.
3772 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3773 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3776 $as_echo_n "checking build system type... " >&6; }
3777 if ${ac_cv_build+:} false; then :
3778 $as_echo_n "(cached) " >&6
3779 else
3780 ac_build_alias=$build_alias
3781 test "x$ac_build_alias" = x &&
3782 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3783 test "x$ac_build_alias" = x &&
3784 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3785 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3786 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3790 $as_echo "$ac_cv_build" >&6; }
3791 case $ac_cv_build in
3792 *-*-*) ;;
3793 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3794 esac
3795 build=$ac_cv_build
3796 ac_save_IFS=$IFS; IFS='-'
3797 set x $ac_cv_build
3798 shift
3799 build_cpu=$1
3800 build_vendor=$2
3801 shift; shift
3802 # Remember, the first character of IFS is used to create $*,
3803 # except with old shells:
3804 build_os=$*
3805 IFS=$ac_save_IFS
3806 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3810 $as_echo_n "checking host system type... " >&6; }
3811 if ${ac_cv_host+:} false; then :
3812 $as_echo_n "(cached) " >&6
3813 else
3814 if test "x$host_alias" = x; then
3815 ac_cv_host=$ac_cv_build
3816 else
3817 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3818 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3823 $as_echo "$ac_cv_host" >&6; }
3824 case $ac_cv_host in
3825 *-*-*) ;;
3826 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3827 esac
3828 host=$ac_cv_host
3829 ac_save_IFS=$IFS; IFS='-'
3830 set x $ac_cv_host
3831 shift
3832 host_cpu=$1
3833 host_vendor=$2
3834 shift; shift
3835 # Remember, the first character of IFS is used to create $*,
3836 # except with old shells:
3837 host_os=$*
3838 IFS=$ac_save_IFS
3839 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3843 case "$srcdir" in
3844 .) ;;
3845 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3846 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3847 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3848 fi ;;
3849 esac
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3853 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3854 set x ${MAKE-make}
3855 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3856 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3857 $as_echo_n "(cached) " >&6
3858 else
3859 cat >conftest.make <<\_ACEOF
3860 SHELL = /bin/sh
3861 all:
3862 @echo '@@@%%%=$(MAKE)=@@@%%%'
3863 _ACEOF
3864 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3865 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3866 *@@@%%%=?*=@@@%%%*)
3867 eval ac_cv_prog_make_${ac_make}_set=yes;;
3869 eval ac_cv_prog_make_${ac_make}_set=no;;
3870 esac
3871 rm -f conftest.make
3873 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3875 $as_echo "yes" >&6; }
3876 SET_MAKE=
3877 else
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879 $as_echo "no" >&6; }
3880 SET_MAKE="MAKE=${MAKE-make}"
3883 ac_ext=c
3884 ac_cpp='$CPP $CPPFLAGS'
3885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888 if test -n "$ac_tool_prefix"; then
3889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if ${ac_cv_prog_CC+:} false; then :
3894 $as_echo_n "(cached) " >&6
3895 else
3896 if test -n "$CC"; then
3897 ac_cv_prog_CC="$CC" # Let the user override the test.
3898 else
3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3900 for as_dir in $PATH
3902 IFS=$as_save_IFS
3903 test -z "$as_dir" && as_dir=.
3904 for ac_exec_ext in '' $ac_executable_extensions; do
3905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 break 2
3910 done
3911 done
3912 IFS=$as_save_IFS
3916 CC=$ac_cv_prog_CC
3917 if test -n "$CC"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3919 $as_echo "$CC" >&6; }
3920 else
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3927 if test -z "$ac_cv_prog_CC"; then
3928 ac_ct_CC=$CC
3929 # Extract the first word of "gcc", so it can be a program name with args.
3930 set dummy gcc; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test -n "$ac_ct_CC"; then
3937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3938 else
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3942 IFS=$as_save_IFS
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_ac_ct_CC="gcc"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 break 2
3950 done
3951 done
3952 IFS=$as_save_IFS
3956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3957 if test -n "$ac_ct_CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3959 $as_echo "$ac_ct_CC" >&6; }
3960 else
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3965 if test "x$ac_ct_CC" = x; then
3966 CC=""
3967 else
3968 case $cross_compiling:$ac_tool_warned in
3969 yes:)
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3972 ac_tool_warned=yes ;;
3973 esac
3974 CC=$ac_ct_CC
3976 else
3977 CC="$ac_cv_prog_CC"
3980 if test -z "$CC"; then
3981 if test -n "$ac_tool_prefix"; then
3982 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3983 set dummy ${ac_tool_prefix}cc; ac_word=$2
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3985 $as_echo_n "checking for $ac_word... " >&6; }
3986 if ${ac_cv_prog_CC+:} false; then :
3987 $as_echo_n "(cached) " >&6
3988 else
3989 if test -n "$CC"; then
3990 ac_cv_prog_CC="$CC" # Let the user override the test.
3991 else
3992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 for as_dir in $PATH
3995 IFS=$as_save_IFS
3996 test -z "$as_dir" && as_dir=.
3997 for ac_exec_ext in '' $ac_executable_extensions; do
3998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999 ac_cv_prog_CC="${ac_tool_prefix}cc"
4000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 break 2
4003 done
4004 done
4005 IFS=$as_save_IFS
4009 CC=$ac_cv_prog_CC
4010 if test -n "$CC"; then
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4012 $as_echo "$CC" >&6; }
4013 else
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4021 if test -z "$CC"; then
4022 # Extract the first word of "cc", so it can be a program name with args.
4023 set dummy cc; ac_word=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if ${ac_cv_prog_CC+:} false; then :
4027 $as_echo_n "(cached) " >&6
4028 else
4029 if test -n "$CC"; then
4030 ac_cv_prog_CC="$CC" # Let the user override the test.
4031 else
4032 ac_prog_rejected=no
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH
4036 IFS=$as_save_IFS
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4041 ac_prog_rejected=yes
4042 continue
4044 ac_cv_prog_CC="cc"
4045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 break 2
4048 done
4049 done
4050 IFS=$as_save_IFS
4052 if test $ac_prog_rejected = yes; then
4053 # We found a bogon in the path, so make sure we never use it.
4054 set dummy $ac_cv_prog_CC
4055 shift
4056 if test $# != 0; then
4057 # We chose a different compiler from the bogus one.
4058 # However, it has the same basename, so the bogon will be chosen
4059 # first if we set CC to just the basename; use the full file name.
4060 shift
4061 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4066 CC=$ac_cv_prog_CC
4067 if test -n "$CC"; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4069 $as_echo "$CC" >&6; }
4070 else
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4072 $as_echo "no" >&6; }
4077 if test -z "$CC"; then
4078 if test -n "$ac_tool_prefix"; then
4079 for ac_prog in cl.exe
4081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4084 $as_echo_n "checking for $ac_word... " >&6; }
4085 if ${ac_cv_prog_CC+:} false; then :
4086 $as_echo_n "(cached) " >&6
4087 else
4088 if test -n "$CC"; then
4089 ac_cv_prog_CC="$CC" # Let the user override the test.
4090 else
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 for as_dir in $PATH
4094 IFS=$as_save_IFS
4095 test -z "$as_dir" && as_dir=.
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4098 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4100 break 2
4102 done
4103 done
4104 IFS=$as_save_IFS
4108 CC=$ac_cv_prog_CC
4109 if test -n "$CC"; then
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4111 $as_echo "$CC" >&6; }
4112 else
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4118 test -n "$CC" && break
4119 done
4121 if test -z "$CC"; then
4122 ac_ct_CC=$CC
4123 for ac_prog in cl.exe
4125 # Extract the first word of "$ac_prog", so it can be a program name with args.
4126 set dummy $ac_prog; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4130 $as_echo_n "(cached) " >&6
4131 else
4132 if test -n "$ac_ct_CC"; then
4133 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4134 else
4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4136 for as_dir in $PATH
4138 IFS=$as_save_IFS
4139 test -z "$as_dir" && as_dir=.
4140 for ac_exec_ext in '' $ac_executable_extensions; do
4141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4142 ac_cv_prog_ac_ct_CC="$ac_prog"
4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 break 2
4146 done
4147 done
4148 IFS=$as_save_IFS
4152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4153 if test -n "$ac_ct_CC"; then
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4155 $as_echo "$ac_ct_CC" >&6; }
4156 else
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4162 test -n "$ac_ct_CC" && break
4163 done
4165 if test "x$ac_ct_CC" = x; then
4166 CC=""
4167 else
4168 case $cross_compiling:$ac_tool_warned in
4169 yes:)
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4172 ac_tool_warned=yes ;;
4173 esac
4174 CC=$ac_ct_CC
4181 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4183 as_fn_error $? "no acceptable C compiler found in \$PATH
4184 See \`config.log' for more details" "$LINENO" 5; }
4186 # Provide some information about the compiler.
4187 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4188 set X $ac_compile
4189 ac_compiler=$2
4190 for ac_option in --version -v -V -qversion; do
4191 { { ac_try="$ac_compiler $ac_option >&5"
4192 case "(($ac_try" in
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4195 esac
4196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4197 $as_echo "$ac_try_echo"; } >&5
4198 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4199 ac_status=$?
4200 if test -s conftest.err; then
4201 sed '10a\
4202 ... rest of stderr output deleted ...
4203 10q' conftest.err >conftest.er1
4204 cat conftest.er1 >&5
4206 rm -f conftest.er1 conftest.err
4207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4208 test $ac_status = 0; }
4209 done
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4215 main ()
4219 return 0;
4221 _ACEOF
4222 ac_clean_files_save=$ac_clean_files
4223 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4224 # Try to create an executable without -o first, disregard a.out.
4225 # It will help us diagnose broken compilers, and finding out an intuition
4226 # of exeext.
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4228 $as_echo_n "checking whether the C compiler works... " >&6; }
4229 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4231 # The possible output files:
4232 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4234 ac_rmfiles=
4235 for ac_file in $ac_files
4237 case $ac_file in
4238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4239 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4240 esac
4241 done
4242 rm -f $ac_rmfiles
4244 if { { ac_try="$ac_link_default"
4245 case "(($ac_try" in
4246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4248 esac
4249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4250 $as_echo "$ac_try_echo"; } >&5
4251 (eval "$ac_link_default") 2>&5
4252 ac_status=$?
4253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4254 test $ac_status = 0; }; then :
4255 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4256 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4257 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4258 # so that the user can short-circuit this test for compilers unknown to
4259 # Autoconf.
4260 for ac_file in $ac_files ''
4262 test -f "$ac_file" || continue
4263 case $ac_file in
4264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4266 [ab].out )
4267 # We found the default executable, but exeext='' is most
4268 # certainly right.
4269 break;;
4270 *.* )
4271 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4272 then :; else
4273 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4275 # We set ac_cv_exeext here because the later test for it is not
4276 # safe: cross compilers may not add the suffix if given an `-o'
4277 # argument, so we may need to know it at that point already.
4278 # Even if this section looks crufty: it has the advantage of
4279 # actually working.
4280 break;;
4282 break;;
4283 esac
4284 done
4285 test "$ac_cv_exeext" = no && ac_cv_exeext=
4287 else
4288 ac_file=''
4290 if test -z "$ac_file"; then :
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4293 $as_echo "$as_me: failed program was:" >&5
4294 sed 's/^/| /' conftest.$ac_ext >&5
4296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4298 as_fn_error 77 "C compiler cannot create executables
4299 See \`config.log' for more details" "$LINENO" 5; }
4300 else
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4302 $as_echo "yes" >&6; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4305 $as_echo_n "checking for C compiler default output file name... " >&6; }
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4307 $as_echo "$ac_file" >&6; }
4308 ac_exeext=$ac_cv_exeext
4310 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4311 ac_clean_files=$ac_clean_files_save
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4313 $as_echo_n "checking for suffix of executables... " >&6; }
4314 if { { ac_try="$ac_link"
4315 case "(($ac_try" in
4316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317 *) ac_try_echo=$ac_try;;
4318 esac
4319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4320 $as_echo "$ac_try_echo"; } >&5
4321 (eval "$ac_link") 2>&5
4322 ac_status=$?
4323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4324 test $ac_status = 0; }; then :
4325 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4326 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4327 # work properly (i.e., refer to `conftest.exe'), while it won't with
4328 # `rm'.
4329 for ac_file in conftest.exe conftest conftest.*; do
4330 test -f "$ac_file" || continue
4331 case $ac_file in
4332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4333 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4334 break;;
4335 * ) break;;
4336 esac
4337 done
4338 else
4339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4341 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4342 See \`config.log' for more details" "$LINENO" 5; }
4344 rm -f conftest conftest$ac_cv_exeext
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4346 $as_echo "$ac_cv_exeext" >&6; }
4348 rm -f conftest.$ac_ext
4349 EXEEXT=$ac_cv_exeext
4350 ac_exeext=$EXEEXT
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4353 #include <stdio.h>
4355 main ()
4357 FILE *f = fopen ("conftest.out", "w");
4358 return ferror (f) || fclose (f) != 0;
4361 return 0;
4363 _ACEOF
4364 ac_clean_files="$ac_clean_files conftest.out"
4365 # Check that the compiler produces executables we can run. If not, either
4366 # the compiler is broken, or we cross compile.
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4368 $as_echo_n "checking whether we are cross compiling... " >&6; }
4369 if test "$cross_compiling" != yes; then
4370 { { ac_try="$ac_link"
4371 case "(($ac_try" in
4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4374 esac
4375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4376 $as_echo "$ac_try_echo"; } >&5
4377 (eval "$ac_link") 2>&5
4378 ac_status=$?
4379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4380 test $ac_status = 0; }
4381 if { ac_try='./conftest$ac_cv_exeext'
4382 { { case "(($ac_try" in
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4385 esac
4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388 (eval "$ac_try") 2>&5
4389 ac_status=$?
4390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391 test $ac_status = 0; }; }; then
4392 cross_compiling=no
4393 else
4394 if test "$cross_compiling" = maybe; then
4395 cross_compiling=yes
4396 else
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 as_fn_error $? "cannot run C compiled programs.
4400 If you meant to cross compile, use \`--host'.
4401 See \`config.log' for more details" "$LINENO" 5; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4406 $as_echo "$cross_compiling" >&6; }
4408 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4409 ac_clean_files=$ac_clean_files_save
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4411 $as_echo_n "checking for suffix of object files... " >&6; }
4412 if ${ac_cv_objext+:} false; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4419 main ()
4423 return 0;
4425 _ACEOF
4426 rm -f conftest.o conftest.obj
4427 if { { ac_try="$ac_compile"
4428 case "(($ac_try" in
4429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4430 *) ac_try_echo=$ac_try;;
4431 esac
4432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4433 $as_echo "$ac_try_echo"; } >&5
4434 (eval "$ac_compile") 2>&5
4435 ac_status=$?
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; }; then :
4438 for ac_file in conftest.o conftest.obj conftest.*; do
4439 test -f "$ac_file" || continue;
4440 case $ac_file in
4441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4442 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4443 break;;
4444 esac
4445 done
4446 else
4447 $as_echo "$as_me: failed program was:" >&5
4448 sed 's/^/| /' conftest.$ac_ext >&5
4450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4452 as_fn_error $? "cannot compute suffix of object files: cannot compile
4453 See \`config.log' for more details" "$LINENO" 5; }
4455 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4458 $as_echo "$ac_cv_objext" >&6; }
4459 OBJEXT=$ac_cv_objext
4460 ac_objext=$OBJEXT
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4462 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4463 if ${ac_cv_c_compiler_gnu+:} false; then :
4464 $as_echo_n "(cached) " >&6
4465 else
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4470 main ()
4472 #ifndef __GNUC__
4473 choke me
4474 #endif
4477 return 0;
4479 _ACEOF
4480 if ac_fn_c_try_compile "$LINENO"; then :
4481 ac_compiler_gnu=yes
4482 else
4483 ac_compiler_gnu=no
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4490 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4491 if test $ac_compiler_gnu = yes; then
4492 GCC=yes
4493 else
4494 GCC=
4496 ac_test_CFLAGS=${CFLAGS+set}
4497 ac_save_CFLAGS=$CFLAGS
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4499 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4500 if ${ac_cv_prog_cc_g+:} false; then :
4501 $as_echo_n "(cached) " >&6
4502 else
4503 ac_save_c_werror_flag=$ac_c_werror_flag
4504 ac_c_werror_flag=yes
4505 ac_cv_prog_cc_g=no
4506 CFLAGS="-g"
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4511 main ()
4515 return 0;
4517 _ACEOF
4518 if ac_fn_c_try_compile "$LINENO"; then :
4519 ac_cv_prog_cc_g=yes
4520 else
4521 CFLAGS=""
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4526 main ()
4530 return 0;
4532 _ACEOF
4533 if ac_fn_c_try_compile "$LINENO"; then :
4535 else
4536 ac_c_werror_flag=$ac_save_c_werror_flag
4537 CFLAGS="-g"
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 main ()
4546 return 0;
4548 _ACEOF
4549 if ac_fn_c_try_compile "$LINENO"; then :
4550 ac_cv_prog_cc_g=yes
4552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 ac_c_werror_flag=$ac_save_c_werror_flag
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4560 $as_echo "$ac_cv_prog_cc_g" >&6; }
4561 if test "$ac_test_CFLAGS" = set; then
4562 CFLAGS=$ac_save_CFLAGS
4563 elif test $ac_cv_prog_cc_g = yes; then
4564 if test "$GCC" = yes; then
4565 CFLAGS="-g -O2"
4566 else
4567 CFLAGS="-g"
4569 else
4570 if test "$GCC" = yes; then
4571 CFLAGS="-O2"
4572 else
4573 CFLAGS=
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4577 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4578 if ${ac_cv_prog_cc_c89+:} false; then :
4579 $as_echo_n "(cached) " >&6
4580 else
4581 ac_cv_prog_cc_c89=no
4582 ac_save_CC=$CC
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4585 #include <stdarg.h>
4586 #include <stdio.h>
4587 struct stat;
4588 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4589 struct buf { int x; };
4590 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4591 static char *e (p, i)
4592 char **p;
4593 int i;
4595 return p[i];
4597 static char *f (char * (*g) (char **, int), char **p, ...)
4599 char *s;
4600 va_list v;
4601 va_start (v,p);
4602 s = g (p, va_arg (v,int));
4603 va_end (v);
4604 return s;
4607 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4608 function prototypes and stuff, but not '\xHH' hex character constants.
4609 These don't provoke an error unfortunately, instead are silently treated
4610 as 'x'. The following induces an error, until -std is added to get
4611 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4612 array size at least. It's necessary to write '\x00'==0 to get something
4613 that's true only with -std. */
4614 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4616 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4617 inside strings and character constants. */
4618 #define FOO(x) 'x'
4619 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4621 int test (int i, double x);
4622 struct s1 {int (*f) (int a);};
4623 struct s2 {int (*f) (double a);};
4624 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4625 int argc;
4626 char **argv;
4628 main ()
4630 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4632 return 0;
4634 _ACEOF
4635 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4636 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4638 CC="$ac_save_CC $ac_arg"
4639 if ac_fn_c_try_compile "$LINENO"; then :
4640 ac_cv_prog_cc_c89=$ac_arg
4642 rm -f core conftest.err conftest.$ac_objext
4643 test "x$ac_cv_prog_cc_c89" != "xno" && break
4644 done
4645 rm -f conftest.$ac_ext
4646 CC=$ac_save_CC
4649 # AC_CACHE_VAL
4650 case "x$ac_cv_prog_cc_c89" in
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4653 $as_echo "none needed" >&6; } ;;
4654 xno)
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4656 $as_echo "unsupported" >&6; } ;;
4658 CC="$CC $ac_cv_prog_cc_c89"
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4660 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4661 esac
4662 if test "x$ac_cv_prog_cc_c89" != xno; then :
4666 ac_ext=c
4667 ac_cpp='$CPP $CPPFLAGS'
4668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4672 ac_ext=cpp
4673 ac_cpp='$CXXCPP $CPPFLAGS'
4674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4677 if test -z "$CXX"; then
4678 if test -n "$CCC"; then
4679 CXX=$CCC
4680 else
4681 if test -n "$ac_tool_prefix"; then
4682 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4685 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_CXX+:} false; then :
4689 $as_echo_n "(cached) " >&6
4690 else
4691 if test -n "$CXX"; then
4692 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4693 else
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH
4697 IFS=$as_save_IFS
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 break 2
4705 done
4706 done
4707 IFS=$as_save_IFS
4711 CXX=$ac_cv_prog_CXX
4712 if test -n "$CXX"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4714 $as_echo "$CXX" >&6; }
4715 else
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4721 test -n "$CXX" && break
4722 done
4724 if test -z "$CXX"; then
4725 ac_ct_CXX=$CXX
4726 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4728 # Extract the first word of "$ac_prog", so it can be a program name with args.
4729 set dummy $ac_prog; ac_word=$2
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 $as_echo_n "checking for $ac_word... " >&6; }
4732 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4733 $as_echo_n "(cached) " >&6
4734 else
4735 if test -n "$ac_ct_CXX"; then
4736 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4737 else
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 for as_dir in $PATH
4741 IFS=$as_save_IFS
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4745 ac_cv_prog_ac_ct_CXX="$ac_prog"
4746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 break 2
4749 done
4750 done
4751 IFS=$as_save_IFS
4755 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4756 if test -n "$ac_ct_CXX"; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4758 $as_echo "$ac_ct_CXX" >&6; }
4759 else
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4765 test -n "$ac_ct_CXX" && break
4766 done
4768 if test "x$ac_ct_CXX" = x; then
4769 CXX="g++"
4770 else
4771 case $cross_compiling:$ac_tool_warned in
4772 yes:)
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4775 ac_tool_warned=yes ;;
4776 esac
4777 CXX=$ac_ct_CXX
4783 # Provide some information about the compiler.
4784 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4785 set X $ac_compile
4786 ac_compiler=$2
4787 for ac_option in --version -v -V -qversion; do
4788 { { ac_try="$ac_compiler $ac_option >&5"
4789 case "(($ac_try" in
4790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4792 esac
4793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4794 $as_echo "$ac_try_echo"; } >&5
4795 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4796 ac_status=$?
4797 if test -s conftest.err; then
4798 sed '10a\
4799 ... rest of stderr output deleted ...
4800 10q' conftest.err >conftest.er1
4801 cat conftest.er1 >&5
4803 rm -f conftest.er1 conftest.err
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }
4806 done
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4809 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4810 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4817 main ()
4819 #ifndef __GNUC__
4820 choke me
4821 #endif
4824 return 0;
4826 _ACEOF
4827 if ac_fn_cxx_try_compile "$LINENO"; then :
4828 ac_compiler_gnu=yes
4829 else
4830 ac_compiler_gnu=no
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4837 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4838 if test $ac_compiler_gnu = yes; then
4839 GXX=yes
4840 else
4841 GXX=
4843 ac_test_CXXFLAGS=${CXXFLAGS+set}
4844 ac_save_CXXFLAGS=$CXXFLAGS
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4846 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4847 if ${ac_cv_prog_cxx_g+:} false; then :
4848 $as_echo_n "(cached) " >&6
4849 else
4850 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4851 ac_cxx_werror_flag=yes
4852 ac_cv_prog_cxx_g=no
4853 CXXFLAGS="-g"
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4858 main ()
4862 return 0;
4864 _ACEOF
4865 if ac_fn_cxx_try_compile "$LINENO"; then :
4866 ac_cv_prog_cxx_g=yes
4867 else
4868 CXXFLAGS=""
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4873 main ()
4877 return 0;
4879 _ACEOF
4880 if ac_fn_cxx_try_compile "$LINENO"; then :
4882 else
4883 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4884 CXXFLAGS="-g"
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4889 main ()
4893 return 0;
4895 _ACEOF
4896 if ac_fn_cxx_try_compile "$LINENO"; then :
4897 ac_cv_prog_cxx_g=yes
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4907 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4908 if test "$ac_test_CXXFLAGS" = set; then
4909 CXXFLAGS=$ac_save_CXXFLAGS
4910 elif test $ac_cv_prog_cxx_g = yes; then
4911 if test "$GXX" = yes; then
4912 CXXFLAGS="-g -O2"
4913 else
4914 CXXFLAGS="-g"
4916 else
4917 if test "$GXX" = yes; then
4918 CXXFLAGS="-O2"
4919 else
4920 CXXFLAGS=
4923 ac_ext=c
4924 ac_cpp='$CPP $CPPFLAGS'
4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4929 if test -n "$ac_tool_prefix"; then
4930 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4931 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4933 $as_echo_n "checking for $ac_word... " >&6; }
4934 if ${ac_cv_prog_CPPBIN+:} false; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 if test -n "$CPPBIN"; then
4938 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4939 else
4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 for as_dir in $PATH
4943 IFS=$as_save_IFS
4944 test -z "$as_dir" && as_dir=.
4945 for ac_exec_ext in '' $ac_executable_extensions; do
4946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4947 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4949 break 2
4951 done
4952 done
4953 IFS=$as_save_IFS
4957 CPPBIN=$ac_cv_prog_CPPBIN
4958 if test -n "$CPPBIN"; then
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4960 $as_echo "$CPPBIN" >&6; }
4961 else
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 $as_echo "no" >&6; }
4968 if test -z "$ac_cv_prog_CPPBIN"; then
4969 ac_ct_CPPBIN=$CPPBIN
4970 # Extract the first word of "cpp", so it can be a program name with args.
4971 set dummy cpp; ac_word=$2
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 $as_echo_n "checking for $ac_word... " >&6; }
4974 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 if test -n "$ac_ct_CPPBIN"; then
4978 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4979 else
4980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 for as_dir in $PATH
4983 IFS=$as_save_IFS
4984 test -z "$as_dir" && as_dir=.
4985 for ac_exec_ext in '' $ac_executable_extensions; do
4986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_ac_ct_CPPBIN="cpp"
4988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 break 2
4991 done
4992 done
4993 IFS=$as_save_IFS
4997 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4998 if test -n "$ac_ct_CPPBIN"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5000 $as_echo "$ac_ct_CPPBIN" >&6; }
5001 else
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5006 if test "x$ac_ct_CPPBIN" = x; then
5007 CPPBIN="cpp"
5008 else
5009 case $cross_compiling:$ac_tool_warned in
5010 yes:)
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5013 ac_tool_warned=yes ;;
5014 esac
5015 CPPBIN=$ac_ct_CPPBIN
5017 else
5018 CPPBIN="$ac_cv_prog_CPPBIN"
5022 cat >>confdefs.h <<_ACEOF
5023 #define EXEEXT "$ac_exeext"
5024 _ACEOF
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5028 set dummy ${ac_tool_prefix}ld; ac_word=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if ${ac_cv_prog_LD+:} false; then :
5032 $as_echo_n "(cached) " >&6
5033 else
5034 if test -n "$LD"; then
5035 ac_cv_prog_LD="$LD" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5040 IFS=$as_save_IFS
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_LD="${ac_tool_prefix}ld"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 break 2
5048 done
5049 done
5050 IFS=$as_save_IFS
5054 LD=$ac_cv_prog_LD
5055 if test -n "$LD"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5057 $as_echo "$LD" >&6; }
5058 else
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5065 if test -z "$ac_cv_prog_LD"; then
5066 ac_ct_LD=$LD
5067 # Extract the first word of "ld", so it can be a program name with args.
5068 set dummy ld; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5072 $as_echo_n "(cached) " >&6
5073 else
5074 if test -n "$ac_ct_LD"; then
5075 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5084 ac_cv_prog_ac_ct_LD="ld"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5088 done
5089 done
5090 IFS=$as_save_IFS
5094 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5095 if test -n "$ac_ct_LD"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5097 $as_echo "$ac_ct_LD" >&6; }
5098 else
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5103 if test "x$ac_ct_LD" = x; then
5104 LD=""
5105 else
5106 case $cross_compiling:$ac_tool_warned in
5107 yes:)
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5110 ac_tool_warned=yes ;;
5111 esac
5112 LD=$ac_ct_LD
5114 else
5115 LD="$ac_cv_prog_LD"
5119 case $host in
5120 *-darwin*)
5121 with_fontconfig=${with_fontconfig:-no}
5123 *-mingw32*|*-cygwin*)
5124 enable_win16=${enable_win16:-no}
5125 CFLAGS="$CFLAGS -D_WIN32"
5127 esac
5129 case $host in
5130 x86_64*|amd64*)
5131 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5132 then
5133 CC="$CC -m32"
5134 CXX="$CXX -m32"
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5136 $as_echo_n "checking whether $CC works... " >&6; }
5138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5139 /* end confdefs.h. */
5142 main ()
5146 return 0;
5148 _ACEOF
5149 if ac_fn_c_try_link "$LINENO"; then :
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5151 $as_echo "yes" >&6; }
5152 else
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5155 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5157 rm -f core conftest.err conftest.$ac_objext \
5158 conftest$ac_exeext conftest.$ac_ext
5159 host_cpu="i386"
5160 notice_platform="32-bit "
5161 TARGETFLAGS="-m32"
5163 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5164 export PKG_CONFIG_PATH
5165 enable_win16=${enable_win16:-yes}
5166 else
5167 if test "x${GCC}" = "xyes"
5168 then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5170 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5173 #include <stdarg.h>
5175 main ()
5177 void func(__builtin_ms_va_list *args);
5179 return 0;
5181 _ACEOF
5182 if ac_fn_c_try_compile "$LINENO"; then :
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5184 $as_echo "yes" >&6; }
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5188 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5192 CC="$CC -m64"
5193 CXX="$CXX -m64"
5194 host_cpu="x86_64"
5195 notice_platform="64-bit "
5196 TARGETFLAGS="-m64"
5200 arm*)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5202 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5205 int ac_test(int i) { return i; }
5207 main ()
5209 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5211 return 0;
5213 _ACEOF
5214 if ac_fn_c_try_link "$LINENO"; then :
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5216 $as_echo "yes" >&6; }
5217 else
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5220 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5222 rm -f core conftest.err conftest.$ac_objext \
5223 conftest$ac_exeext conftest.$ac_ext
5224 CFLAGS="$CFLAGS -marm"
5225 TARGETFLAGS="-marm"
5228 i[3456789]86*)
5229 enable_win16=${enable_win16:-yes}
5231 esac
5233 enable_win16=${enable_win16:-no}
5234 enable_win64=${enable_win64:-no}
5236 enable_winetest=${enable_winetest:-$enable_tests}
5238 if test -n "$with_wine64"
5239 then
5240 if test "x$enable_win64" = "xyes"
5241 then
5242 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5243 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5245 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5246 You should create a separate build directory and run configure from there." "$LINENO" 5
5247 enable_fonts=${enable_fonts:-no}
5248 enable_server=${enable_server:-no}
5249 elif test "x$enable_win64" = "xyes"
5250 then
5251 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5255 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5256 if ${wine_cv_toolsdir+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258 else
5259 wine_cv_toolsdir="$with_wine_tools"
5260 if test -z "$with_wine_tools"; then
5261 if test "$cross_compiling" = "yes"; then
5262 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5263 elif test -n "$with_wine64"; then
5264 wine_cv_toolsdir="$with_wine64"
5267 if test -z "$wine_cv_toolsdir"; then
5268 wine_makedep=tools/makedep
5269 wine_cv_toolsdir="\$(top_builddir)"
5270 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5271 wine_makedep=$wine_cv_toolsdir/tools/makedep
5272 case "$wine_cv_toolsdir" in
5273 /*) ;;
5274 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5275 esac
5276 enable_tools=${enable_tools:-no}
5277 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5278 else
5279 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5283 $as_echo "$wine_cv_toolsdir" >&6; }
5284 TOOLSDIR=$wine_cv_toolsdir
5286 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5287 then
5288 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5292 for ac_prog in flex
5294 # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy $ac_prog; ac_word=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if ${ac_cv_prog_FLEX+:} false; then :
5299 $as_echo_n "(cached) " >&6
5300 else
5301 if test -n "$FLEX"; then
5302 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5303 else
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 for as_dir in $PATH
5307 IFS=$as_save_IFS
5308 test -z "$as_dir" && as_dir=.
5309 for ac_exec_ext in '' $ac_executable_extensions; do
5310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5311 ac_cv_prog_FLEX="$ac_prog"
5312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 break 2
5315 done
5316 done
5317 IFS=$as_save_IFS
5321 FLEX=$ac_cv_prog_FLEX
5322 if test -n "$FLEX"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5324 $as_echo "$FLEX" >&6; }
5325 else
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5331 test -n "$FLEX" && break
5332 done
5333 test -n "$FLEX" || FLEX="none"
5335 if test "$FLEX" = "none"
5336 then
5337 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5340 $as_echo_n "checking whether flex is recent enough... " >&6; }
5341 cat >conftest.l <<EOF
5342 %top{
5343 #include "prediluvian.h"
5347 if $FLEX -t conftest.l >/dev/null 2>&5
5348 then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5350 $as_echo "yes" >&6; }
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5354 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5357 for ac_prog in bison
5359 # Extract the first word of "$ac_prog", so it can be a program name with args.
5360 set dummy $ac_prog; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_BISON+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 if test -n "$BISON"; then
5367 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5372 IFS=$as_save_IFS
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5376 ac_cv_prog_BISON="$ac_prog"
5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 break 2
5380 done
5381 done
5382 IFS=$as_save_IFS
5386 BISON=$ac_cv_prog_BISON
5387 if test -n "$BISON"; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5389 $as_echo "$BISON" >&6; }
5390 else
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5396 test -n "$BISON" && break
5397 done
5398 test -n "$BISON" || BISON="none"
5400 if test "$BISON" = "none"
5401 then
5402 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5405 if test -n "$ac_tool_prefix"; then
5406 for ac_prog in ar gar
5408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; }
5412 if ${ac_cv_prog_AR+:} false; then :
5413 $as_echo_n "(cached) " >&6
5414 else
5415 if test -n "$AR"; then
5416 ac_cv_prog_AR="$AR" # Let the user override the test.
5417 else
5418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 for as_dir in $PATH
5421 IFS=$as_save_IFS
5422 test -z "$as_dir" && as_dir=.
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5425 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 break 2
5429 done
5430 done
5431 IFS=$as_save_IFS
5435 AR=$ac_cv_prog_AR
5436 if test -n "$AR"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5438 $as_echo "$AR" >&6; }
5439 else
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5445 test -n "$AR" && break
5446 done
5448 if test -z "$AR"; then
5449 ac_ct_AR=$AR
5450 for ac_prog in ar gar
5452 # Extract the first word of "$ac_prog", so it can be a program name with args.
5453 set dummy $ac_prog; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if test -n "$ac_ct_AR"; then
5460 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_ac_ct_AR="$ac_prog"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5480 if test -n "$ac_ct_AR"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5482 $as_echo "$ac_ct_AR" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5489 test -n "$ac_ct_AR" && break
5490 done
5492 if test "x$ac_ct_AR" = x; then
5493 AR="ar"
5494 else
5495 case $cross_compiling:$ac_tool_warned in
5496 yes:)
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5499 ac_tool_warned=yes ;;
5500 esac
5501 AR=$ac_ct_AR
5505 if test -n "$ac_tool_prefix"; then
5506 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5507 set dummy ${ac_tool_prefix}strip; ac_word=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_STRIP+:} false; then :
5511 $as_echo_n "(cached) " >&6
5512 else
5513 if test -n "$STRIP"; then
5514 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5515 else
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 for as_dir in $PATH
5519 IFS=$as_save_IFS
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5523 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 break 2
5527 done
5528 done
5529 IFS=$as_save_IFS
5533 STRIP=$ac_cv_prog_STRIP
5534 if test -n "$STRIP"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5536 $as_echo "$STRIP" >&6; }
5537 else
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5544 if test -z "$ac_cv_prog_STRIP"; then
5545 ac_ct_STRIP=$STRIP
5546 # Extract the first word of "strip", so it can be a program name with args.
5547 set dummy strip; ac_word=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if test -n "$ac_ct_STRIP"; then
5554 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5555 else
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 for as_dir in $PATH
5559 IFS=$as_save_IFS
5560 test -z "$as_dir" && as_dir=.
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_ac_ct_STRIP="strip"
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 break 2
5567 done
5568 done
5569 IFS=$as_save_IFS
5573 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5574 if test -n "$ac_ct_STRIP"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5576 $as_echo "$ac_ct_STRIP" >&6; }
5577 else
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5582 if test "x$ac_ct_STRIP" = x; then
5583 STRIP="strip"
5584 else
5585 case $cross_compiling:$ac_tool_warned in
5586 yes:)
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5589 ac_tool_warned=yes ;;
5590 esac
5591 STRIP=$ac_ct_STRIP
5593 else
5594 STRIP="$ac_cv_prog_STRIP"
5597 ARFLAGS=rc
5599 if test -n "$ac_tool_prefix"; then
5600 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5601 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if ${ac_cv_prog_RANLIB+:} false; then :
5605 $as_echo_n "(cached) " >&6
5606 else
5607 if test -n "$RANLIB"; then
5608 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5613 IFS=$as_save_IFS
5614 test -z "$as_dir" && as_dir=.
5615 for ac_exec_ext in '' $ac_executable_extensions; do
5616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 break 2
5621 done
5622 done
5623 IFS=$as_save_IFS
5627 RANLIB=$ac_cv_prog_RANLIB
5628 if test -n "$RANLIB"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5630 $as_echo "$RANLIB" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5638 if test -z "$ac_cv_prog_RANLIB"; then
5639 ac_ct_RANLIB=$RANLIB
5640 # Extract the first word of "ranlib", so it can be a program name with args.
5641 set dummy ranlib; ac_word=$2
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5643 $as_echo_n "checking for $ac_word... " >&6; }
5644 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5645 $as_echo_n "(cached) " >&6
5646 else
5647 if test -n "$ac_ct_RANLIB"; then
5648 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5649 else
5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 for as_dir in $PATH
5653 IFS=$as_save_IFS
5654 test -z "$as_dir" && as_dir=.
5655 for ac_exec_ext in '' $ac_executable_extensions; do
5656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657 ac_cv_prog_ac_ct_RANLIB="ranlib"
5658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 break 2
5661 done
5662 done
5663 IFS=$as_save_IFS
5667 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5668 if test -n "$ac_ct_RANLIB"; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5670 $as_echo "$ac_ct_RANLIB" >&6; }
5671 else
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5673 $as_echo "no" >&6; }
5676 if test "x$ac_ct_RANLIB" = x; then
5677 RANLIB=":"
5678 else
5679 case $cross_compiling:$ac_tool_warned in
5680 yes:)
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5683 ac_tool_warned=yes ;;
5684 esac
5685 RANLIB=$ac_ct_RANLIB
5687 else
5688 RANLIB="$ac_cv_prog_RANLIB"
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5692 $as_echo_n "checking whether ln -s works... " >&6; }
5693 LN_S=$as_ln_s
5694 if test "$LN_S" = "ln -s"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5696 $as_echo "yes" >&6; }
5697 else
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5699 $as_echo "no, using $LN_S" >&6; }
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5703 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5704 if ${ac_cv_path_GREP+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 if test -z "$GREP"; then
5708 ac_path_GREP_found=false
5709 # Loop through the user's path and test for each of PROGNAME-LIST
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5713 IFS=$as_save_IFS
5714 test -z "$as_dir" && as_dir=.
5715 for ac_prog in grep ggrep; do
5716 for ac_exec_ext in '' $ac_executable_extensions; do
5717 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5718 as_fn_executable_p "$ac_path_GREP" || continue
5719 # Check for GNU ac_path_GREP and select it if it is found.
5720 # Check for GNU $ac_path_GREP
5721 case `"$ac_path_GREP" --version 2>&1` in
5722 *GNU*)
5723 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5725 ac_count=0
5726 $as_echo_n 0123456789 >"conftest.in"
5727 while :
5729 cat "conftest.in" "conftest.in" >"conftest.tmp"
5730 mv "conftest.tmp" "conftest.in"
5731 cp "conftest.in" "conftest.nl"
5732 $as_echo 'GREP' >> "conftest.nl"
5733 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5734 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5735 as_fn_arith $ac_count + 1 && ac_count=$as_val
5736 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5737 # Best one so far, save it but keep looking for a better one
5738 ac_cv_path_GREP="$ac_path_GREP"
5739 ac_path_GREP_max=$ac_count
5741 # 10*(2^10) chars as input seems more than enough
5742 test $ac_count -gt 10 && break
5743 done
5744 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5745 esac
5747 $ac_path_GREP_found && break 3
5748 done
5749 done
5750 done
5751 IFS=$as_save_IFS
5752 if test -z "$ac_cv_path_GREP"; then
5753 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5755 else
5756 ac_cv_path_GREP=$GREP
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5761 $as_echo "$ac_cv_path_GREP" >&6; }
5762 GREP="$ac_cv_path_GREP"
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5766 $as_echo_n "checking for egrep... " >&6; }
5767 if ${ac_cv_path_EGREP+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5771 then ac_cv_path_EGREP="$GREP -E"
5772 else
5773 if test -z "$EGREP"; then
5774 ac_path_EGREP_found=false
5775 # Loop through the user's path and test for each of PROGNAME-LIST
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_prog in egrep; do
5782 for ac_exec_ext in '' $ac_executable_extensions; do
5783 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5784 as_fn_executable_p "$ac_path_EGREP" || continue
5785 # Check for GNU ac_path_EGREP and select it if it is found.
5786 # Check for GNU $ac_path_EGREP
5787 case `"$ac_path_EGREP" --version 2>&1` in
5788 *GNU*)
5789 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5791 ac_count=0
5792 $as_echo_n 0123456789 >"conftest.in"
5793 while :
5795 cat "conftest.in" "conftest.in" >"conftest.tmp"
5796 mv "conftest.tmp" "conftest.in"
5797 cp "conftest.in" "conftest.nl"
5798 $as_echo 'EGREP' >> "conftest.nl"
5799 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5800 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5801 as_fn_arith $ac_count + 1 && ac_count=$as_val
5802 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5803 # Best one so far, save it but keep looking for a better one
5804 ac_cv_path_EGREP="$ac_path_EGREP"
5805 ac_path_EGREP_max=$ac_count
5807 # 10*(2^10) chars as input seems more than enough
5808 test $ac_count -gt 10 && break
5809 done
5810 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5811 esac
5813 $ac_path_EGREP_found && break 3
5814 done
5815 done
5816 done
5817 IFS=$as_save_IFS
5818 if test -z "$ac_cv_path_EGREP"; then
5819 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5821 else
5822 ac_cv_path_EGREP=$EGREP
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5828 $as_echo "$ac_cv_path_EGREP" >&6; }
5829 EGREP="$ac_cv_path_EGREP"
5832 # Extract the first word of "ldconfig", so it can be a program name with args.
5833 set dummy ldconfig; ac_word=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if ${ac_cv_path_LDCONFIG+:} false; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 case $LDCONFIG in
5840 [\\/]* | ?:[\\/]*)
5841 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in /sbin /usr/sbin $PATH
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 break 2
5855 done
5856 done
5857 IFS=$as_save_IFS
5859 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5861 esac
5863 LDCONFIG=$ac_cv_path_LDCONFIG
5864 if test -n "$LDCONFIG"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5866 $as_echo "$LDCONFIG" >&6; }
5867 else
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5873 for ac_prog in msgfmt
5875 # Extract the first word of "$ac_prog", so it can be a program name with args.
5876 set dummy $ac_prog; ac_word=$2
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5878 $as_echo_n "checking for $ac_word... " >&6; }
5879 if ${ac_cv_prog_MSGFMT+:} false; then :
5880 $as_echo_n "(cached) " >&6
5881 else
5882 if test -n "$MSGFMT"; then
5883 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5884 else
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 for as_dir in $PATH
5888 IFS=$as_save_IFS
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_prog_MSGFMT="$ac_prog"
5893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 break 2
5896 done
5897 done
5898 IFS=$as_save_IFS
5902 MSGFMT=$ac_cv_prog_MSGFMT
5903 if test -n "$MSGFMT"; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5905 $as_echo "$MSGFMT" >&6; }
5906 else
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5908 $as_echo "no" >&6; }
5912 test -n "$MSGFMT" && break
5913 done
5914 test -n "$MSGFMT" || MSGFMT="false"
5916 if ${ac_tool_prefix+:} false; then :
5917 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5918 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5920 $as_echo_n "checking for $ac_word... " >&6; }
5921 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5922 $as_echo_n "(cached) " >&6
5923 else
5924 if test -n "$PKG_CONFIG"; then
5925 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 break 2
5938 done
5939 done
5940 IFS=$as_save_IFS
5944 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5945 if test -n "$PKG_CONFIG"; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5947 $as_echo "$PKG_CONFIG" >&6; }
5948 else
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950 $as_echo "no" >&6; }
5955 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5956 if test "x$cross_compiling" = xyes; then :
5958 else
5959 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5960 # Extract the first word of "pkg-config", so it can be a program name with args.
5961 set dummy pkg-config; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5967 if test -n "$PKG_CONFIG"; then
5968 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973 IFS=$as_save_IFS
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_PKG_CONFIG="pkg-config"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 break 2
5981 done
5982 done
5983 IFS=$as_save_IFS
5987 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5988 if test -n "$PKG_CONFIG"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5990 $as_echo "$PKG_CONFIG" >&6; }
5991 else
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5998 else
5999 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6002 if test "x$enable_maintainer_mode" != "xyes"
6003 then
6004 FONTFORGE=""
6005 RSVG=""
6006 CONVERT=""
6007 ICOTOOL=""
6008 else
6009 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6010 for ac_prog in fontforge
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_FONTFORGE+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 if test -n "$FONTFORGE"; then
6020 ac_cv_prog_FONTFORGE="$FONTFORGE" # 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_FONTFORGE="$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 FONTFORGE=$ac_cv_prog_FONTFORGE
6040 if test -n "$FONTFORGE"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6042 $as_echo "$FONTFORGE" >&6; }
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6049 test -n "$FONTFORGE" && break
6050 done
6051 test -n "$FONTFORGE" || FONTFORGE="false"
6053 for ac_prog in rsvg-convert rsvg
6055 # Extract the first word of "$ac_prog", so it can be a program name with args.
6056 set dummy $ac_prog; ac_word=$2
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 $as_echo_n "checking for $ac_word... " >&6; }
6059 if ${ac_cv_prog_RSVG+:} false; then :
6060 $as_echo_n "(cached) " >&6
6061 else
6062 if test -n "$RSVG"; then
6063 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6064 else
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 for as_dir in $PATH
6068 IFS=$as_save_IFS
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6072 ac_cv_prog_RSVG="$ac_prog"
6073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 break 2
6076 done
6077 done
6078 IFS=$as_save_IFS
6082 RSVG=$ac_cv_prog_RSVG
6083 if test -n "$RSVG"; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6085 $as_echo "$RSVG" >&6; }
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6088 $as_echo "no" >&6; }
6092 test -n "$RSVG" && break
6093 done
6094 test -n "$RSVG" || RSVG="false"
6096 for ac_prog in convert
6098 # Extract the first word of "$ac_prog", so it can be a program name with args.
6099 set dummy $ac_prog; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_CONVERT+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 if test -n "$CONVERT"; then
6106 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_CONVERT="$ac_prog"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 CONVERT=$ac_cv_prog_CONVERT
6126 if test -n "$CONVERT"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6128 $as_echo "$CONVERT" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6135 test -n "$CONVERT" && break
6136 done
6137 test -n "$CONVERT" || CONVERT="false"
6139 for ac_prog in icotool
6141 # Extract the first word of "$ac_prog", so it can be a program name with args.
6142 set dummy $ac_prog; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144 $as_echo_n "checking for $ac_word... " >&6; }
6145 if ${ac_cv_prog_ICOTOOL+:} false; then :
6146 $as_echo_n "(cached) " >&6
6147 else
6148 if test -n "$ICOTOOL"; then
6149 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6150 else
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 for as_dir in $PATH
6154 IFS=$as_save_IFS
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_ICOTOOL="$ac_prog"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 break 2
6162 done
6163 done
6164 IFS=$as_save_IFS
6168 ICOTOOL=$ac_cv_prog_ICOTOOL
6169 if test -n "$ICOTOOL"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6171 $as_echo "$ICOTOOL" >&6; }
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174 $as_echo "no" >&6; }
6178 test -n "$ICOTOOL" && break
6179 done
6180 test -n "$ICOTOOL" || ICOTOOL="false"
6182 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6183 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6185 if test "$CONVERT" = false
6186 then
6187 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6190 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6191 convert_version=`convert --version | head -n1`
6192 if test "x$convert_version" != "x"
6193 then
6194 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6195 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6196 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6197 then
6198 CONVERT=false
6201 if test "$CONVERT" = false
6202 then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6204 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6205 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6206 else
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6208 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6212 if test "$ICOTOOL" = false
6213 then
6214 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6215 else
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6217 $as_echo_n "checking for recent enough icotool... " >&6; }
6218 icotool_version=`icotool --version | head -n1`
6219 if test "x$icotool_version" != "x"
6220 then
6221 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6222 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6223 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6224 then
6225 ICOTOOL=false
6226 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6229 if test "$ICOTOOL" = false
6230 then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6232 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6233 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6234 else
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6236 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6240 with_gettext=yes
6241 with_gettextpo=yes
6242 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6245 test "x$with_gettext" != xno || MSGFMT=false
6246 if test "$MSGFMT" != "false"
6247 then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6249 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6250 cat >conftest.po <<EOF
6251 # comment
6252 msgctxt "ctxt"
6253 msgid "id"
6254 msgstr "str"
6256 if $MSGFMT -o /dev/null conftest.po 2>&5
6257 then
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6259 $as_echo "yes" >&6; }
6260 else
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6262 $as_echo "no" >&6; }
6263 MSGFMT=false
6266 if test "$MSGFMT" = false; then :
6267 case "x$with_gettext" in
6268 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6269 xno) ;;
6270 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6271 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6272 esac
6273 enable_po=${enable_po:-no}
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6278 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6279 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6280 $as_echo_n "(cached) " >&6
6281 else
6282 ac_check_lib_save_LIBS=$LIBS
6283 LIBS="-li386 $LIBS"
6284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6285 /* end confdefs.h. */
6287 /* Override any GCC internal prototype to avoid an error.
6288 Use char because int might match the return type of a GCC
6289 builtin and then its argument prototype would still apply. */
6290 #ifdef __cplusplus
6291 extern "C"
6292 #endif
6293 char i386_set_ldt ();
6295 main ()
6297 return i386_set_ldt ();
6299 return 0;
6301 _ACEOF
6302 if ac_fn_c_try_link "$LINENO"; then :
6303 ac_cv_lib_i386_i386_set_ldt=yes
6304 else
6305 ac_cv_lib_i386_i386_set_ldt=no
6307 rm -f core conftest.err conftest.$ac_objext \
6308 conftest$ac_exeext conftest.$ac_ext
6309 LIBS=$ac_check_lib_save_LIBS
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6312 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6313 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6314 cat >>confdefs.h <<_ACEOF
6315 #define HAVE_LIBI386 1
6316 _ACEOF
6318 LIBS="-li386 $LIBS"
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6323 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6324 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6325 $as_echo_n "(cached) " >&6
6326 else
6327 ac_check_lib_save_LIBS=$LIBS
6328 LIBS="-lossaudio $LIBS"
6329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h. */
6332 /* Override any GCC internal prototype to avoid an error.
6333 Use char because int might match the return type of a GCC
6334 builtin and then its argument prototype would still apply. */
6335 #ifdef __cplusplus
6336 extern "C"
6337 #endif
6338 char _oss_ioctl ();
6340 main ()
6342 return _oss_ioctl ();
6344 return 0;
6346 _ACEOF
6347 if ac_fn_c_try_link "$LINENO"; then :
6348 ac_cv_lib_ossaudio__oss_ioctl=yes
6349 else
6350 ac_cv_lib_ossaudio__oss_ioctl=no
6352 rm -f core conftest.err conftest.$ac_objext \
6353 conftest$ac_exeext conftest.$ac_ext
6354 LIBS=$ac_check_lib_save_LIBS
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6357 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6358 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6359 cat >>confdefs.h <<_ACEOF
6360 #define HAVE_LIBOSSAUDIO 1
6361 _ACEOF
6363 LIBS="-lossaudio $LIBS"
6368 OPENGL_LIBS=""
6372 # Check whether --enable-largefile was given.
6373 if test "${enable_largefile+set}" = set; then :
6374 enableval=$enable_largefile;
6377 if test "$enable_largefile" != no; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6380 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6381 if ${ac_cv_sys_largefile_CC+:} false; then :
6382 $as_echo_n "(cached) " >&6
6383 else
6384 ac_cv_sys_largefile_CC=no
6385 if test "$GCC" != yes; then
6386 ac_save_CC=$CC
6387 while :; do
6388 # IRIX 6.2 and later do not support large files by default,
6389 # so use the C compiler's -n32 option if that helps.
6390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6392 #include <sys/types.h>
6393 /* Check that off_t can represent 2**63 - 1 correctly.
6394 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6395 since some C++ compilers masquerading as C compilers
6396 incorrectly reject 9223372036854775807. */
6397 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6398 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6399 && LARGE_OFF_T % 2147483647 == 1)
6400 ? 1 : -1];
6402 main ()
6406 return 0;
6408 _ACEOF
6409 if ac_fn_c_try_compile "$LINENO"; then :
6410 break
6412 rm -f core conftest.err conftest.$ac_objext
6413 CC="$CC -n32"
6414 if ac_fn_c_try_compile "$LINENO"; then :
6415 ac_cv_sys_largefile_CC=' -n32'; break
6417 rm -f core conftest.err conftest.$ac_objext
6418 break
6419 done
6420 CC=$ac_save_CC
6421 rm -f conftest.$ac_ext
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6425 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6426 if test "$ac_cv_sys_largefile_CC" != no; then
6427 CC=$CC$ac_cv_sys_largefile_CC
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6431 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6432 if ${ac_cv_sys_file_offset_bits+:} false; then :
6433 $as_echo_n "(cached) " >&6
6434 else
6435 while :; do
6436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6438 #include <sys/types.h>
6439 /* Check that off_t can represent 2**63 - 1 correctly.
6440 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6441 since some C++ compilers masquerading as C compilers
6442 incorrectly reject 9223372036854775807. */
6443 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6444 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6445 && LARGE_OFF_T % 2147483647 == 1)
6446 ? 1 : -1];
6448 main ()
6452 return 0;
6454 _ACEOF
6455 if ac_fn_c_try_compile "$LINENO"; then :
6456 ac_cv_sys_file_offset_bits=no; break
6458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6460 /* end confdefs.h. */
6461 #define _FILE_OFFSET_BITS 64
6462 #include <sys/types.h>
6463 /* Check that off_t can represent 2**63 - 1 correctly.
6464 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6465 since some C++ compilers masquerading as C compilers
6466 incorrectly reject 9223372036854775807. */
6467 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6468 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6469 && LARGE_OFF_T % 2147483647 == 1)
6470 ? 1 : -1];
6472 main ()
6476 return 0;
6478 _ACEOF
6479 if ac_fn_c_try_compile "$LINENO"; then :
6480 ac_cv_sys_file_offset_bits=64; break
6482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6483 ac_cv_sys_file_offset_bits=unknown
6484 break
6485 done
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6488 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6489 case $ac_cv_sys_file_offset_bits in #(
6490 no | unknown) ;;
6492 cat >>confdefs.h <<_ACEOF
6493 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6494 _ACEOF
6496 esac
6497 rm -rf conftest*
6498 if test $ac_cv_sys_file_offset_bits = unknown; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6500 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6501 if ${ac_cv_sys_large_files+:} false; then :
6502 $as_echo_n "(cached) " >&6
6503 else
6504 while :; do
6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6507 #include <sys/types.h>
6508 /* Check that off_t can represent 2**63 - 1 correctly.
6509 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6510 since some C++ compilers masquerading as C compilers
6511 incorrectly reject 9223372036854775807. */
6512 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6513 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6514 && LARGE_OFF_T % 2147483647 == 1)
6515 ? 1 : -1];
6517 main ()
6521 return 0;
6523 _ACEOF
6524 if ac_fn_c_try_compile "$LINENO"; then :
6525 ac_cv_sys_large_files=no; break
6527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6530 #define _LARGE_FILES 1
6531 #include <sys/types.h>
6532 /* Check that off_t can represent 2**63 - 1 correctly.
6533 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6534 since some C++ compilers masquerading as C compilers
6535 incorrectly reject 9223372036854775807. */
6536 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6537 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6538 && LARGE_OFF_T % 2147483647 == 1)
6539 ? 1 : -1];
6541 main ()
6545 return 0;
6547 _ACEOF
6548 if ac_fn_c_try_compile "$LINENO"; then :
6549 ac_cv_sys_large_files=1; break
6551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6552 ac_cv_sys_large_files=unknown
6553 break
6554 done
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6557 $as_echo "$ac_cv_sys_large_files" >&6; }
6558 case $ac_cv_sys_large_files in #(
6559 no | unknown) ;;
6561 cat >>confdefs.h <<_ACEOF
6562 #define _LARGE_FILES $ac_cv_sys_large_files
6563 _ACEOF
6565 esac
6566 rm -rf conftest*
6573 ac_ext=c
6574 ac_cpp='$CPP $CPPFLAGS'
6575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6579 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6580 # On Suns, sometimes $CPP names a directory.
6581 if test -n "$CPP" && test -d "$CPP"; then
6582 CPP=
6584 if test -z "$CPP"; then
6585 if ${ac_cv_prog_CPP+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 # Double quotes because CPP needs to be expanded
6589 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6591 ac_preproc_ok=false
6592 for ac_c_preproc_warn_flag in '' yes
6594 # Use a header file that comes with gcc, so configuring glibc
6595 # with a fresh cross-compiler works.
6596 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6597 # <limits.h> exists even on freestanding compilers.
6598 # On the NeXT, cc -E runs the code through the compiler's parser,
6599 # not just through cpp. "Syntax error" is here to catch this case.
6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6602 #ifdef __STDC__
6603 # include <limits.h>
6604 #else
6605 # include <assert.h>
6606 #endif
6607 Syntax error
6608 _ACEOF
6609 if ac_fn_c_try_cpp "$LINENO"; then :
6611 else
6612 # Broken: fails on valid input.
6613 continue
6615 rm -f conftest.err conftest.i conftest.$ac_ext
6617 # OK, works on sane cases. Now check whether nonexistent headers
6618 # can be detected and how.
6619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6620 /* end confdefs.h. */
6621 #include <ac_nonexistent.h>
6622 _ACEOF
6623 if ac_fn_c_try_cpp "$LINENO"; then :
6624 # Broken: success on invalid input.
6625 continue
6626 else
6627 # Passes both tests.
6628 ac_preproc_ok=:
6629 break
6631 rm -f conftest.err conftest.i conftest.$ac_ext
6633 done
6634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6635 rm -f conftest.i conftest.err conftest.$ac_ext
6636 if $ac_preproc_ok; then :
6637 break
6640 done
6641 ac_cv_prog_CPP=$CPP
6644 CPP=$ac_cv_prog_CPP
6645 else
6646 ac_cv_prog_CPP=$CPP
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6649 $as_echo "$CPP" >&6; }
6650 ac_preproc_ok=false
6651 for ac_c_preproc_warn_flag in '' yes
6653 # Use a header file that comes with gcc, so configuring glibc
6654 # with a fresh cross-compiler works.
6655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6656 # <limits.h> exists even on freestanding compilers.
6657 # On the NeXT, cc -E runs the code through the compiler's parser,
6658 # not just through cpp. "Syntax error" is here to catch this case.
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 #ifdef __STDC__
6662 # include <limits.h>
6663 #else
6664 # include <assert.h>
6665 #endif
6666 Syntax error
6667 _ACEOF
6668 if ac_fn_c_try_cpp "$LINENO"; then :
6670 else
6671 # Broken: fails on valid input.
6672 continue
6674 rm -f conftest.err conftest.i conftest.$ac_ext
6676 # OK, works on sane cases. Now check whether nonexistent headers
6677 # can be detected and how.
6678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6680 #include <ac_nonexistent.h>
6681 _ACEOF
6682 if ac_fn_c_try_cpp "$LINENO"; then :
6683 # Broken: success on invalid input.
6684 continue
6685 else
6686 # Passes both tests.
6687 ac_preproc_ok=:
6688 break
6690 rm -f conftest.err conftest.i conftest.$ac_ext
6692 done
6693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6694 rm -f conftest.i conftest.err conftest.$ac_ext
6695 if $ac_preproc_ok; then :
6697 else
6698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6700 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6701 See \`config.log' for more details" "$LINENO" 5; }
6704 ac_ext=c
6705 ac_cpp='$CPP $CPPFLAGS'
6706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6712 $as_echo_n "checking for ANSI C header files... " >&6; }
6713 if ${ac_cv_header_stdc+:} false; then :
6714 $as_echo_n "(cached) " >&6
6715 else
6716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6717 /* end confdefs.h. */
6718 #include <stdlib.h>
6719 #include <stdarg.h>
6720 #include <string.h>
6721 #include <float.h>
6724 main ()
6728 return 0;
6730 _ACEOF
6731 if ac_fn_c_try_compile "$LINENO"; then :
6732 ac_cv_header_stdc=yes
6733 else
6734 ac_cv_header_stdc=no
6736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6738 if test $ac_cv_header_stdc = yes; then
6739 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6742 #include <string.h>
6744 _ACEOF
6745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6746 $EGREP "memchr" >/dev/null 2>&1; then :
6748 else
6749 ac_cv_header_stdc=no
6751 rm -f conftest*
6755 if test $ac_cv_header_stdc = yes; then
6756 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h. */
6759 #include <stdlib.h>
6761 _ACEOF
6762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6763 $EGREP "free" >/dev/null 2>&1; then :
6765 else
6766 ac_cv_header_stdc=no
6768 rm -f conftest*
6772 if test $ac_cv_header_stdc = yes; then
6773 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6774 if test "$cross_compiling" = yes; then :
6776 else
6777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6778 /* end confdefs.h. */
6779 #include <ctype.h>
6780 #include <stdlib.h>
6781 #if ((' ' & 0x0FF) == 0x020)
6782 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6783 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6784 #else
6785 # define ISLOWER(c) \
6786 (('a' <= (c) && (c) <= 'i') \
6787 || ('j' <= (c) && (c) <= 'r') \
6788 || ('s' <= (c) && (c) <= 'z'))
6789 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6790 #endif
6792 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6794 main ()
6796 int i;
6797 for (i = 0; i < 256; i++)
6798 if (XOR (islower (i), ISLOWER (i))
6799 || toupper (i) != TOUPPER (i))
6800 return 2;
6801 return 0;
6803 _ACEOF
6804 if ac_fn_c_try_run "$LINENO"; then :
6806 else
6807 ac_cv_header_stdc=no
6809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6810 conftest.$ac_objext conftest.beam conftest.$ac_ext
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6816 $as_echo "$ac_cv_header_stdc" >&6; }
6817 if test $ac_cv_header_stdc = yes; then
6819 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6823 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6824 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6825 inttypes.h stdint.h unistd.h
6826 do :
6827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6833 _ACEOF
6837 done
6840 for ac_header in \
6841 AL/al.h \
6842 ApplicationServices/ApplicationServices.h \
6843 AudioToolbox/AudioConverter.h \
6844 AudioUnit/AudioUnit.h \
6845 AudioUnit/AudioComponent.h \
6846 CL/cl.h \
6847 Carbon/Carbon.h \
6848 CommonCrypto/CommonDigest.h \
6849 CoreAudio/CoreAudio.h \
6850 CoreServices/CoreServices.h \
6851 DiskArbitration/DiskArbitration.h \
6852 EGL/egl.h \
6853 IOKit/IOKitLib.h \
6854 IOKit/hid/IOHIDLib.h \
6855 OpenAL/al.h \
6856 OpenCL/opencl.h \
6857 QuickTime/ImageCompression.h \
6858 Security/Security.h \
6859 alias.h \
6860 alsa/asoundlib.h \
6861 arpa/inet.h \
6862 arpa/nameser.h \
6863 asm/types.h \
6864 asm/user.h \
6865 curses.h \
6866 direct.h \
6867 dirent.h \
6868 dlfcn.h \
6869 elf.h \
6870 float.h \
6871 fnmatch.h \
6872 getopt.h \
6873 gettext-po.h \
6874 grp.h \
6875 gsm.h \
6876 gsm/gsm.h \
6877 ieeefp.h \
6878 inet/mib2.h \
6879 io.h \
6880 kstat.h \
6881 libproc.h \
6882 link.h \
6883 linux/cdrom.h \
6884 linux/compiler.h \
6885 linux/filter.h \
6886 linux/hdreg.h \
6887 linux/hidraw.h \
6888 linux/input.h \
6889 linux/ioctl.h \
6890 linux/joystick.h \
6891 linux/major.h \
6892 linux/param.h \
6893 linux/serial.h \
6894 linux/types.h \
6895 linux/ucdrom.h \
6896 lwp.h \
6897 mach-o/nlist.h \
6898 mach-o/loader.h \
6899 mach/mach.h \
6900 mach/machine.h \
6901 machine/cpu.h \
6902 machine/limits.h \
6903 machine/sysarch.h \
6904 mntent.h \
6905 ncurses.h \
6906 netdb.h \
6907 netinet/in.h \
6908 netinet/in_systm.h \
6909 netinet/tcp.h \
6910 netinet/tcp_fsm.h \
6911 pcap/pcap.h \
6912 poll.h \
6913 port.h \
6914 process.h \
6915 pthread.h \
6916 pwd.h \
6917 sched.h \
6918 scsi/scsi.h \
6919 scsi/scsi_ioctl.h \
6920 scsi/sg.h \
6921 stdbool.h \
6922 stdint.h \
6923 stropts.h \
6924 sys/asoundlib.h \
6925 sys/attr.h \
6926 sys/auxv.h \
6927 sys/cdio.h \
6928 sys/elf32.h \
6929 sys/epoll.h \
6930 sys/event.h \
6931 sys/exec_elf.h \
6932 sys/filio.h \
6933 sys/inotify.h \
6934 sys/ioctl.h \
6935 sys/ipc.h \
6936 sys/limits.h \
6937 sys/link.h \
6938 sys/mman.h \
6939 sys/modem.h \
6940 sys/msg.h \
6941 sys/mtio.h \
6942 sys/param.h \
6943 sys/poll.h \
6944 sys/prctl.h \
6945 sys/protosw.h \
6946 sys/ptrace.h \
6947 sys/queue.h \
6948 sys/resource.h \
6949 sys/scsiio.h \
6950 sys/shm.h \
6951 sys/signal.h \
6952 sys/socket.h \
6953 sys/socketvar.h \
6954 sys/sockio.h \
6955 sys/statvfs.h \
6956 sys/strtio.h \
6957 sys/syscall.h \
6958 sys/sysinfo.h \
6959 sys/tihdr.h \
6960 sys/time.h \
6961 sys/timeout.h \
6962 sys/times.h \
6963 sys/uio.h \
6964 sys/user.h \
6965 sys/utsname.h \
6966 sys/vm86.h \
6967 sys/vnode.h \
6968 sys/wait.h \
6969 syscall.h \
6970 termios.h \
6971 unistd.h \
6972 utime.h \
6973 valgrind/memcheck.h \
6974 valgrind/valgrind.h \
6975 zlib.h
6977 do :
6978 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6979 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6980 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6981 cat >>confdefs.h <<_ACEOF
6982 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6983 _ACEOF
6987 done
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6990 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6991 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6992 $as_echo_n "(cached) " >&6
6993 else
6994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6995 /* end confdefs.h. */
6996 #include <sys/types.h>
6998 main ()
7000 return makedev(0, 0);
7002 return 0;
7004 _ACEOF
7005 if ac_fn_c_try_link "$LINENO"; then :
7006 ac_cv_header_sys_types_h_makedev=yes
7007 else
7008 ac_cv_header_sys_types_h_makedev=no
7010 rm -f core conftest.err conftest.$ac_objext \
7011 conftest$ac_exeext conftest.$ac_ext
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7015 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7017 if test $ac_cv_header_sys_types_h_makedev = no; then
7018 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7019 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7021 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7027 if test $ac_cv_header_sys_mkdev_h = no; then
7028 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7029 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7031 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7040 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7041 if ${ac_cv_header_stat_broken+:} false; then :
7042 $as_echo_n "(cached) " >&6
7043 else
7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7046 #include <sys/types.h>
7047 #include <sys/stat.h>
7049 #if defined S_ISBLK && defined S_IFDIR
7050 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7051 #endif
7053 #if defined S_ISBLK && defined S_IFCHR
7054 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7055 #endif
7057 #if defined S_ISLNK && defined S_IFREG
7058 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7059 #endif
7061 #if defined S_ISSOCK && defined S_IFREG
7062 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7063 #endif
7065 _ACEOF
7066 if ac_fn_c_try_compile "$LINENO"; then :
7067 ac_cv_header_stat_broken=no
7068 else
7069 ac_cv_header_stat_broken=yes
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7074 $as_echo "$ac_cv_header_stat_broken" >&6; }
7075 if test $ac_cv_header_stat_broken = yes; then
7077 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7083 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7084 do :
7085 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7086 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7087 #ifdef HAVE_SYS_PARAM_H
7088 # include <sys/param.h>
7089 #endif
7091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7092 cat >>confdefs.h <<_ACEOF
7093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7094 _ACEOF
7098 done
7101 for ac_header in \
7102 netinet/ip.h \
7103 net/if.h \
7104 net/if_arp.h \
7105 net/if_dl.h \
7106 net/if_types.h \
7107 net/route.h \
7108 netinet/if_ether.h \
7109 netinet/if_inarp.h \
7110 netinet/in_pcb.h \
7111 netinet/ip_icmp.h \
7112 netinet/ip_var.h \
7113 netinet/udp.h \
7114 netipx/ipx.h \
7115 sys/un.h \
7117 do :
7118 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7119 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7120 #ifdef HAVE_SYS_SOCKET_H
7121 # include <sys/socket.h>
7122 #endif
7123 #ifdef HAVE_SYS_SOCKETVAR_H
7124 # include <sys/socketvar.h>
7125 #endif
7126 #ifdef HAVE_NET_ROUTE_H
7127 # include <net/route.h>
7128 #endif
7129 #ifdef HAVE_NETINET_IN_H
7130 # include <netinet/in.h>
7131 #endif
7132 #ifdef HAVE_NETINET_IN_SYSTM_H
7133 # include <netinet/in_systm.h>
7134 #endif
7135 #ifdef HAVE_NET_IF_H
7136 # include <net/if.h>
7137 #endif
7138 #ifdef HAVE_NETINET_IP_H
7139 # include <netinet/ip.h>
7140 #endif
7142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7143 cat >>confdefs.h <<_ACEOF
7144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7145 _ACEOF
7149 done
7152 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7153 do :
7154 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7155 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7156 #ifdef HAVE_ALIAS_H
7157 # include <alias.h>
7158 #endif
7159 #ifdef HAVE_SYS_SOCKET_H
7160 # include <sys/socket.h>
7161 #endif
7162 #ifdef HAVE_SYS_SOCKETVAR_H
7163 # include <sys/socketvar.h>
7164 #endif
7165 #ifdef HAVE_SYS_TIMEOUT_H
7166 # include <sys/timeout.h>
7167 #endif
7168 #ifdef HAVE_NETINET_IN_H
7169 # include <netinet/in.h>
7170 #endif
7171 #ifdef HAVE_NETINET_IN_SYSTM_H
7172 # include <netinet/in_systm.h>
7173 #endif
7174 #ifdef HAVE_NETINET_IP_H
7175 # include <netinet/ip.h>
7176 #endif
7177 #ifdef HAVE_NETINET_IP_VAR_H
7178 # include <netinet/ip_var.h>
7179 #endif
7180 #ifdef HAVE_NETINET_IP_ICMP_H
7181 # include <netinet/ip_icmp.h>
7182 #endif
7183 #ifdef HAVE_NETINET_UDP_H
7184 # include <netinet/udp.h>
7185 #endif
7186 #ifdef HAVE_NETINET_TCP_H
7187 # include <netinet/tcp.h>
7188 #endif
7189 #ifdef HAVE_NETINET_TCP_TIMER_H
7190 #include <netinet/tcp_timer.h>
7191 #endif
7193 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7194 cat >>confdefs.h <<_ACEOF
7195 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7196 _ACEOF
7200 done
7203 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7204 do :
7205 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7206 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7207 #ifdef HAVE_ASM_TYPES_H
7208 # include <asm/types.h>
7209 #endif
7210 #ifdef HAVE_SYS_SOCKET_H
7211 # include <sys/socket.h>
7212 #endif
7213 #ifdef HAVE_LINUX_TYPES_H
7214 # include <linux/types.h>
7215 #endif
7217 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7218 cat >>confdefs.h <<_ACEOF
7219 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7220 _ACEOF
7224 done
7227 for ac_header in mach-o/dyld_images.h
7228 do :
7229 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7230 # include <stdbool.h>
7231 #endif
7232 #ifdef HAVE_STDINT_H
7233 # include <stdint.h>
7234 #endif
7236 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7237 cat >>confdefs.h <<_ACEOF
7238 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7239 _ACEOF
7243 done
7246 for ac_header in resolv.h
7247 do :
7248 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7249 #ifdef HAVE_SYS_SOCKET_H
7250 # include <sys/socket.h>
7251 #endif
7252 #ifdef HAVE_NETINET_IN_H
7253 # include <netinet/in.h>
7254 #endif
7255 #ifdef HAVE_ARPA_NAMESER_H
7256 # include <arpa/nameser.h>
7257 #endif
7259 if test "x$ac_cv_header_resolv_h" = xyes; then :
7260 cat >>confdefs.h <<_ACEOF
7261 #define HAVE_RESOLV_H 1
7262 _ACEOF
7266 done
7269 for ac_header in ifaddrs.h
7270 do :
7271 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7273 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7274 cat >>confdefs.h <<_ACEOF
7275 #define HAVE_IFADDRS_H 1
7276 _ACEOF
7280 done
7283 for ac_header in sys/ucontext.h
7284 do :
7285 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7287 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7288 cat >>confdefs.h <<_ACEOF
7289 #define HAVE_SYS_UCONTEXT_H 1
7290 _ACEOF
7294 done
7297 for ac_header in sys/thr.h
7298 do :
7299 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7300 #ifdef HAVE_SYS_UCONTEXT_H
7301 #include <sys/ucontext.h>
7302 #endif
7304 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7305 cat >>confdefs.h <<_ACEOF
7306 #define HAVE_SYS_THR_H 1
7307 _ACEOF
7311 done
7314 for ac_header in pthread_np.h
7315 do :
7316 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7317 #include <pthread.h>
7318 #endif
7320 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7321 cat >>confdefs.h <<_ACEOF
7322 #define HAVE_PTHREAD_NP_H 1
7323 _ACEOF
7327 done
7330 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7331 do :
7332 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7333 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7334 #include <sys/time.h>
7335 #endif
7336 #include <sys/types.h>
7337 #ifdef HAVE_ASM_TYPES_H
7338 #include <asm/types.h>
7339 #endif
7341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7342 cat >>confdefs.h <<_ACEOF
7343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7344 _ACEOF
7348 done
7351 for ac_header in libprocstat.h
7352 do :
7353 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7354 #include <sys/param.h>
7355 #endif
7356 #ifdef HAVE_SYS_QUEUE_H
7357 #include <sys/queue.h>
7358 #endif
7359 #ifdef HAVE_SYS_SOCKET_H
7360 #include <sys/socket.h>
7361 #endif
7363 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7364 cat >>confdefs.h <<_ACEOF
7365 #define HAVE_LIBPROCSTAT_H 1
7366 _ACEOF
7370 done
7374 dlldir="\${libdir}/wine"
7376 DLLFLAGS="-D_REENTRANT"
7378 LDRPATH_INSTALL=""
7380 LDRPATH_LOCAL=""
7382 LDEXECFLAGS=""
7384 WINELOADER_LDFLAGS=""
7386 LIBEXT="so"
7387 DLLEXT=".so"
7388 IMPLIBEXT="def"
7389 # Extract the first word of "ldd", so it can be a program name with args.
7390 set dummy ldd; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if ${ac_cv_path_LDD+:} false; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 case $LDD in
7397 [\\/]* | ?:[\\/]*)
7398 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7402 as_dummy="/sbin:/usr/sbin:$PATH"
7403 for as_dir in $as_dummy
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_path_LDD="$as_dir/$ac_word$ac_exec_ext"
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
7417 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7419 esac
7421 LDD=$ac_cv_path_LDD
7422 if test -n "$LDD"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7424 $as_echo "$LDD" >&6; }
7425 else
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7431 if test -n "$ac_tool_prefix"; then
7432 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7433 set dummy ${ac_tool_prefix}otool; 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_OTOOL+:} false; then :
7437 $as_echo_n "(cached) " >&6
7438 else
7439 if test -n "$OTOOL"; then
7440 ac_cv_prog_OTOOL="$OTOOL" # 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_OTOOL="${ac_tool_prefix}otool"
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 OTOOL=$ac_cv_prog_OTOOL
7460 if test -n "$OTOOL"; then
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7462 $as_echo "$OTOOL" >&6; }
7463 else
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7470 if test -z "$ac_cv_prog_OTOOL"; then
7471 ac_ct_OTOOL=$OTOOL
7472 # Extract the first word of "otool", so it can be a program name with args.
7473 set dummy otool; ac_word=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7475 $as_echo_n "checking for $ac_word... " >&6; }
7476 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7477 $as_echo_n "(cached) " >&6
7478 else
7479 if test -n "$ac_ct_OTOOL"; then
7480 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7481 else
7482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7483 for as_dir in $PATH
7485 IFS=$as_save_IFS
7486 test -z "$as_dir" && as_dir=.
7487 for ac_exec_ext in '' $ac_executable_extensions; do
7488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7489 ac_cv_prog_ac_ct_OTOOL="otool"
7490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 break 2
7493 done
7494 done
7495 IFS=$as_save_IFS
7499 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7500 if test -n "$ac_ct_OTOOL"; then
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7502 $as_echo "$ac_ct_OTOOL" >&6; }
7503 else
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7508 if test "x$ac_ct_OTOOL" = x; then
7509 OTOOL="otool"
7510 else
7511 case $cross_compiling:$ac_tool_warned in
7512 yes:)
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7515 ac_tool_warned=yes ;;
7516 esac
7517 OTOOL=$ac_ct_OTOOL
7519 else
7520 OTOOL="$ac_cv_prog_OTOOL"
7523 if test -n "$ac_tool_prefix"; then
7524 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7525 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527 $as_echo_n "checking for $ac_word... " >&6; }
7528 if ${ac_cv_prog_READELF+:} false; then :
7529 $as_echo_n "(cached) " >&6
7530 else
7531 if test -n "$READELF"; then
7532 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7533 else
7534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535 for as_dir in $PATH
7537 IFS=$as_save_IFS
7538 test -z "$as_dir" && as_dir=.
7539 for ac_exec_ext in '' $ac_executable_extensions; do
7540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7541 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543 break 2
7545 done
7546 done
7547 IFS=$as_save_IFS
7551 READELF=$ac_cv_prog_READELF
7552 if test -n "$READELF"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7554 $as_echo "$READELF" >&6; }
7555 else
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557 $as_echo "no" >&6; }
7562 if test -z "$ac_cv_prog_READELF"; then
7563 ac_ct_READELF=$READELF
7564 # Extract the first word of "readelf", so it can be a program name with args.
7565 set dummy readelf; ac_word=$2
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567 $as_echo_n "checking for $ac_word... " >&6; }
7568 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7569 $as_echo_n "(cached) " >&6
7570 else
7571 if test -n "$ac_ct_READELF"; then
7572 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7573 else
7574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 for as_dir in $PATH
7577 IFS=$as_save_IFS
7578 test -z "$as_dir" && as_dir=.
7579 for ac_exec_ext in '' $ac_executable_extensions; do
7580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7581 ac_cv_prog_ac_ct_READELF="readelf"
7582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7583 break 2
7585 done
7586 done
7587 IFS=$as_save_IFS
7591 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7592 if test -n "$ac_ct_READELF"; then
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7594 $as_echo "$ac_ct_READELF" >&6; }
7595 else
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597 $as_echo "no" >&6; }
7600 if test "x$ac_ct_READELF" = x; then
7601 READELF="true"
7602 else
7603 case $cross_compiling:$ac_tool_warned in
7604 yes:)
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7607 ac_tool_warned=yes ;;
7608 esac
7609 READELF=$ac_ct_READELF
7611 else
7612 READELF="$ac_cv_prog_READELF"
7615 wine_rules_file=conf$$rules.make
7616 rm -f $wine_rules_file
7617 SUBDIRS=""
7619 DISABLED_SUBDIRS=""
7621 CONFIGURE_TARGETS=""
7623 ALL_TEST_RESOURCES=""
7626 wine_fn_append_file ()
7628 as_fn_append $1 " \\$as_nl $2"
7631 wine_fn_append_rule ()
7633 $as_echo "$1" >>$wine_rules_file
7636 wine_fn_has_flag ()
7638 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7641 wine_fn_all_rules ()
7643 wine_fn_append_file SUBDIRS $ac_dir
7644 wine_fn_append_rule \
7645 "all: $ac_dir
7646 .PHONY: $ac_dir
7647 $ac_dir: dummy
7648 @cd $ac_dir && \$(MAKE)"
7651 wine_fn_install_rules ()
7653 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7655 wine_fn_append_rule \
7656 ".PHONY: $ac_dir/install $ac_dir/uninstall
7657 $ac_dir/install:: $ac_dir
7658 @cd $ac_dir && \$(MAKE) install
7659 $ac_dir/uninstall::
7660 @cd $ac_dir && \$(MAKE) uninstall
7661 install:: $ac_dir/install
7662 __uninstall__: $ac_dir/uninstall"
7664 if wine_fn_has_flag install-lib
7665 then
7666 wine_fn_append_rule \
7667 ".PHONY: $ac_dir/install-lib
7668 $ac_dir/install-lib:: $ac_dir
7669 @cd $ac_dir && \$(MAKE) install-lib
7670 install-lib:: $ac_dir/install-lib"
7673 if wine_fn_has_flag install-dev
7674 then
7675 wine_fn_append_rule \
7676 ".PHONY: $ac_dir/install-dev
7677 $ac_dir/install-dev:: $ac_dir
7678 @cd $ac_dir && \$(MAKE) install-dev
7679 install-dev:: $ac_dir/install-dev"
7683 wine_fn_clean_rules ()
7685 ac_clean=$@
7687 if wine_fn_has_flag clean
7688 then
7689 wine_fn_append_rule \
7690 "$ac_dir/clean: dummy
7691 @cd $ac_dir && \$(MAKE) clean"
7692 else
7693 wine_fn_append_rule \
7694 "$ac_dir/clean: dummy
7695 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7697 wine_fn_append_rule \
7698 "__clean__: $ac_dir/clean
7699 .PHONY: $ac_dir/clean"
7702 wine_fn_disabled_rules ()
7704 ac_clean=$@
7706 wine_fn_append_file SUBDIRS $ac_dir
7707 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7708 wine_fn_append_rule \
7709 "__clean__: $ac_dir/clean
7710 .PHONY: $ac_dir/clean
7711 $ac_dir/clean: dummy
7712 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7715 wine_fn_config_makefile ()
7717 ac_dir=$1
7718 ac_enable=$2
7719 ac_flags=$3
7721 case $ac_dir in
7722 fonts|server) test -z "$with_wine64" || return ;;
7723 esac
7724 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7725 wine_fn_disabled_rules; return
7727 wine_fn_all_rules
7728 wine_fn_install_rules
7729 wine_fn_clean_rules
7732 wine_fn_config_lib ()
7734 ac_name=$1
7735 ac_flags=$2
7736 ac_dir=dlls/$ac_name
7737 ac_deps="include"
7739 if test "x$enable_tools" = xno; then :
7741 else
7742 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7744 wine_fn_all_rules
7745 wine_fn_clean_rules
7747 wine_fn_append_rule \
7748 ".PHONY: $ac_dir/install $ac_dir/uninstall
7749 $ac_dir/install:: $ac_dir
7750 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7751 $ac_dir/uninstall::
7752 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7753 install install-dev:: $ac_dir/install
7754 __uninstall__: $ac_dir/uninstall
7755 __builddeps__: $ac_dir
7756 $ac_dir: $ac_deps"
7759 wine_fn_config_dll ()
7761 ac_name=$1
7762 ac_dir=dlls/$ac_name
7763 ac_enable=$2
7764 ac_flags=$3
7765 ac_implib=${4:-$ac_name}
7766 ac_file=$ac_dir/lib$ac_implib
7767 ac_dll=$ac_name
7768 ac_deps="include"
7769 ac_implibflags=""
7771 if test "x$enable_tools" = xno; then :
7773 else
7774 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7776 case $ac_name in
7777 *.*16) ac_implibflags=" -m16" ;;
7778 *.*) ;;
7779 *) ac_dll=$ac_dll.dll ;;
7780 esac
7782 ac_clean=
7783 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7784 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7786 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7787 if test "$ac_enable" != enable_win16
7788 then
7789 wine_fn_clean_rules $ac_clean
7790 wine_fn_append_file SUBDIRS $ac_dir
7791 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7792 else
7793 wine_fn_disabled_rules $ac_clean
7794 return
7796 else
7797 wine_fn_all_rules
7798 wine_fn_clean_rules $ac_clean
7799 wine_fn_append_rule \
7800 "$ac_dir: __builddeps__
7801 manpages htmlpages sgmlpages xmlpages::
7802 @cd $ac_dir && \$(MAKE) \$@
7803 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7804 install install-lib:: $ac_dir/install-lib
7805 __uninstall__: $ac_dir/uninstall"
7806 if test -n "$DLLEXT"
7807 then
7808 wine_fn_append_rule \
7809 "$ac_dir/install-lib:: $ac_dir
7810 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7811 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7812 $ac_dir/uninstall::
7813 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7814 else
7815 wine_fn_append_rule \
7816 "$ac_dir/install-lib:: $ac_dir
7817 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7818 $ac_dir/uninstall::
7819 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7823 if wine_fn_has_flag staticimplib
7824 then
7825 wine_fn_append_rule \
7826 "__builddeps__: $ac_file.a
7827 $ac_file.a $ac_file.cross.a: $ac_deps
7828 $ac_file.a: dummy
7829 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7830 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7831 $ac_dir/install-dev:: $ac_file.a
7832 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7833 $ac_dir/uninstall::
7834 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7835 install install-dev:: $ac_dir/install-dev
7836 __uninstall__: $ac_dir/uninstall"
7838 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7839 then
7840 wine_fn_append_rule \
7841 "__builddeps__: $ac_file.cross.a
7842 $ac_file.cross.a: dummy
7843 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7846 elif wine_fn_has_flag implib
7847 then
7848 wine_fn_append_rule \
7849 "__builddeps__: $ac_file.$IMPLIBEXT
7850 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7851 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7852 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7853 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7854 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7855 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7856 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7857 $ac_dir/uninstall::
7858 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7859 install install-dev:: $ac_dir/install-dev
7860 __uninstall__: $ac_dir/uninstall"
7861 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7862 then
7863 wine_fn_append_rule \
7864 "__builddeps__: $ac_file.cross.a
7865 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7866 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7871 wine_fn_config_program ()
7873 ac_name=$1
7874 ac_dir=programs/$ac_name
7875 ac_enable=$2
7876 ac_flags=$3
7877 ac_program=$ac_name
7879 case $ac_name in
7880 *.*) ;;
7881 *) ac_program=$ac_program.exe ;;
7882 esac
7884 ac_clean=
7885 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7886 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7888 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7889 wine_fn_disabled_rules $ac_clean; return
7892 wine_fn_all_rules
7893 wine_fn_clean_rules $ac_clean
7894 wine_fn_append_rule "$ac_dir: __builddeps__"
7896 wine_fn_has_flag install || return
7897 wine_fn_append_rule \
7898 ".PHONY: $ac_dir/install $ac_dir/uninstall
7899 install install-lib:: $ac_dir/install
7900 __uninstall__: $ac_dir/uninstall"
7902 if test -n "$DLLEXT"
7903 then
7904 wine_fn_append_rule \
7905 "$ac_dir/install:: $ac_dir
7906 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7907 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7908 $ac_dir/uninstall::
7909 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7911 if test -z "$with_wine64" && wine_fn_has_flag installbin
7912 then
7913 wine_fn_append_rule \
7914 "$ac_dir/install:: __tooldeps__
7915 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7916 $ac_dir/uninstall::
7917 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7919 else
7920 wine_fn_append_rule \
7921 "$ac_dir/install:: $ac_dir
7922 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7923 $ac_dir/uninstall::
7924 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7927 if test -z "$with_wine64" && wine_fn_has_flag manpage
7928 then
7929 wine_fn_append_rule \
7930 "$ac_dir/install:: $ac_dir
7931 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7932 $ac_dir/uninstall::
7933 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7937 wine_fn_config_test ()
7939 ac_dir=$1
7940 ac_name=$2
7941 ac_flags=$3
7943 ac_clean=
7944 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7945 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7947 if test "x$enable_tests" = xno; then :
7948 wine_fn_disabled_rules $ac_clean; return
7951 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7952 wine_fn_all_rules
7953 wine_fn_clean_rules $ac_clean
7955 wine_fn_append_rule \
7956 "$ac_dir: __builddeps__
7957 programs/winetest: $ac_dir
7958 check test: $ac_dir/test
7959 .PHONY: $ac_dir/test
7960 $ac_dir/test: dummy
7961 @cd $ac_dir && \$(MAKE) test
7962 testclean::
7963 \$(RM) $ac_dir/*.ok"
7965 if test -n "$CROSSTARGET"
7966 then
7967 wine_fn_append_rule \
7968 "crosstest: $ac_dir/crosstest
7969 .PHONY: $ac_dir/crosstest
7970 $ac_dir/crosstest: __builddeps__ dummy
7971 @cd $ac_dir && \$(MAKE) crosstest"
7975 wine_fn_config_tool ()
7977 ac_dir=$1
7978 ac_flags=$2
7979 if test "x$enable_tools" = xno; then :
7980 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7983 wine_fn_all_rules
7984 wine_fn_install_rules
7985 wine_fn_clean_rules
7987 wine_fn_append_rule "__tooldeps__: $ac_dir"
7988 wine_fn_append_rule "$ac_dir: libs/port"
7989 case $ac_dir in
7990 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7991 esac
7994 wine_fn_config_symlink ()
7996 ac_linkdir=
7997 if test "x$1" = "x-d"
7998 then
7999 ac_linkdir=$2
8000 shift; shift
8002 ac_links=$@
8003 wine_fn_append_rule \
8004 "$ac_links:
8005 @./config.status \$@"
8006 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8007 test -n "$ac_linkdir" || return
8008 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8011 wine_binary="wine"
8012 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8013 WINELOADER_PROGRAMS="$wine_binary"
8015 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8017 case $host_os in
8018 cygwin*|mingw32*)
8019 if test -n "$ac_tool_prefix"; then
8020 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8021 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8023 $as_echo_n "checking for $ac_word... " >&6; }
8024 if ${ac_cv_prog_DLLTOOL+:} false; then :
8025 $as_echo_n "(cached) " >&6
8026 else
8027 if test -n "$DLLTOOL"; then
8028 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8029 else
8030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031 for as_dir in $PATH
8033 IFS=$as_save_IFS
8034 test -z "$as_dir" && as_dir=.
8035 for ac_exec_ext in '' $ac_executable_extensions; do
8036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8037 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 break 2
8041 done
8042 done
8043 IFS=$as_save_IFS
8047 DLLTOOL=$ac_cv_prog_DLLTOOL
8048 if test -n "$DLLTOOL"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8050 $as_echo "$DLLTOOL" >&6; }
8051 else
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8053 $as_echo "no" >&6; }
8058 if test -z "$ac_cv_prog_DLLTOOL"; then
8059 ac_ct_DLLTOOL=$DLLTOOL
8060 # Extract the first word of "dlltool", so it can be a program name with args.
8061 set dummy dlltool; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 if test -n "$ac_ct_DLLTOOL"; then
8068 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8069 else
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 for as_dir in $PATH
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8081 done
8082 done
8083 IFS=$as_save_IFS
8087 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8088 if test -n "$ac_ct_DLLTOOL"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8090 $as_echo "$ac_ct_DLLTOOL" >&6; }
8091 else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8096 if test "x$ac_ct_DLLTOOL" = x; then
8097 DLLTOOL="false"
8098 else
8099 case $cross_compiling:$ac_tool_warned in
8100 yes:)
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8103 ac_tool_warned=yes ;;
8104 esac
8105 DLLTOOL=$ac_ct_DLLTOOL
8107 else
8108 DLLTOOL="$ac_cv_prog_DLLTOOL"
8111 LIBEXT="dll"
8112 DLLEXT=""
8113 IMPLIBEXT="a"
8114 enable_iphlpapi=${enable_iphlpapi:-no}
8115 enable_kernel32=${enable_kernel32:-no}
8116 enable_msvcrt=${enable_msvcrt:-no}
8117 enable_ntdll=${enable_ntdll:-no}
8118 enable_ws2_32=${enable_ws2_32:-no}
8119 enable_loader=${enable_loader:-no}
8120 enable_server=${enable_server:-no}
8121 with_x=${with_x:-no}
8122 with_pthread=${with_pthread:-no}
8124 crtlibs=""
8125 case $host_os in
8126 mingw32*)
8127 crtlibs="-lmsvcrt"
8128 SOCKET_LIBS="-lws2_32"
8130 esac
8132 LIBWINE_SHAREDLIB="libwine.dll"
8134 LIBWINE_IMPORTLIB="libwine.a"
8136 LIBWINE_INSTALL_LIB="libwine.dll"
8138 LIBWINE_INSTALL_DEV="libwine.a"
8140 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8142 LIBWINE_DEPENDS="wine.def"
8146 darwin*|macosx*)
8147 for ac_header in libunwind.h
8148 do :
8149 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8151 cat >>confdefs.h <<_ACEOF
8152 #define HAVE_LIBUNWIND_H 1
8153 _ACEOF
8157 done
8159 LIBEXT="dylib"
8160 DLLFLAGS="$DLLFLAGS -fPIC"
8161 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8162 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8163 COREFOUNDATION_LIBS="-framework CoreFoundation"
8165 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8167 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8169 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8171 CORESERVICES_LIBS="-framework CoreServices"
8173 APPKIT_LIBS="-framework AppKit"
8175 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8177 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8178 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8179 $as_echo_n "(cached) " >&6
8180 else
8181 ac_wine_try_cflags_saved=$CFLAGS
8182 CFLAGS="$CFLAGS -Wl,-no_pie"
8183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8184 /* end confdefs.h. */
8185 int main(int argc, char **argv) { return 0; }
8186 _ACEOF
8187 if ac_fn_c_try_link "$LINENO"; then :
8188 ac_cv_cflags__Wl__no_pie=yes
8189 else
8190 ac_cv_cflags__Wl__no_pie=no
8192 rm -f core conftest.err conftest.$ac_objext \
8193 conftest$ac_exeext conftest.$ac_ext
8194 CFLAGS=$ac_wine_try_cflags_saved
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8197 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8198 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8199 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8201 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8202 then
8203 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8206 if test "$ac_cv_header_Security_Security_h" = "yes"
8207 then
8208 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8210 ac_save_LIBS="$LIBS"
8211 LIBS="$LIBS $SECURITY_LIBS"
8212 for ac_func in SSLCopyPeerCertificates
8213 do :
8214 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8215 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8216 cat >>confdefs.h <<_ACEOF
8217 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8218 _ACEOF
8221 done
8223 LIBS="$ac_save_LIBS"
8224 with_gnutls=${with_gnutls:-no}
8226 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8227 then
8228 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8229 then
8230 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8232 else
8233 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8236 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8237 ac_save_LIBS="$LIBS"
8238 LIBS="$LIBS $COREAUDIO_LIBS"
8239 for ac_func in AUGraphAddNode
8240 do :
8241 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8242 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8243 cat >>confdefs.h <<_ACEOF
8244 #define HAVE_AUGRAPHADDNODE 1
8245 _ACEOF
8248 done
8250 LIBS="$ac_save_LIBS"
8252 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8253 then
8254 OPENAL_LIBS="-framework OpenAL"
8257 cat >>confdefs.h <<_ACEOF
8258 #define HAVE_OPENAL 1
8259 _ACEOF
8261 ac_cv_lib_openal=yes
8263 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8264 then
8265 OPENCL_LIBS="-framework OpenCL"
8267 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8269 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8270 then
8271 ac_save_LIBS="$LIBS"
8272 LIBS="$LIBS $IOKIT_LIBS"
8273 for ac_func in IOHIDManagerCreate
8274 do :
8275 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8276 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8277 cat >>confdefs.h <<_ACEOF
8278 #define HAVE_IOHIDMANAGERCREATE 1
8279 _ACEOF
8282 done
8284 LIBS="$ac_save_LIBS"
8286 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8287 then
8288 ac_save_LIBS="$LIBS"
8289 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8291 $as_echo_n "checking for the QuickTime framework... " >&6; }
8292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8294 #include <QuickTime/ImageCompression.h>
8296 main ()
8298 CodecManagerVersion(NULL);
8300 return 0;
8302 _ACEOF
8303 if ac_fn_c_try_link "$LINENO"; then :
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8305 $as_echo "yes" >&6; }
8306 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8308 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8309 else
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8311 $as_echo "no" >&6; }
8312 ac_cv_header_QuickTime_ImageCompression_h=no
8314 rm -f core conftest.err conftest.$ac_objext \
8315 conftest$ac_exeext conftest.$ac_ext
8316 LIBS="$ac_save_LIBS"
8318 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8319 then
8320 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8322 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8323 then
8324 CARBON_LIBS="-framework Carbon"
8328 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8329 then
8330 ac_save_LIBS="$LIBS"
8331 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8332 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8333 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8334 enable_winemac_drv=${enable_winemac_drv:-yes}
8337 LIBS="$ac_save_LIBS"
8340 if test "x$enable_win16" = "xyes"
8341 then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8343 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8344 if test "$cross_compiling" = yes; then :
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8346 $as_echo "cross-compiling, assuming yes" >&6; }
8347 else
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 asm(".text\n"
8351 "bad:\tnop;nop\n"
8352 "good:\tnop;nop\n\t"
8353 ".globl _testfunc\n"
8354 "_testfunc:\tcallw good");
8355 extern void testfunc();
8357 main ()
8359 unsigned short *p = (unsigned short *)testfunc;
8360 return p[0] != 0xe866 || p[1] != 0xfffa
8362 return 0;
8364 _ACEOF
8365 if ac_fn_c_try_run "$LINENO"; then :
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8367 $as_echo "yes" >&6; }
8368 else
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8370 $as_echo "no" >&6; }
8371 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
8373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8374 conftest.$ac_objext conftest.beam conftest.$ac_ext
8379 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8381 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8383 LIBWINE_INSTALL_DEV="libwine.dylib"
8385 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8387 WINELOADER_DEPENDS="wine_info.plist"
8391 linux-android*)
8392 DLLFLAGS="$DLLFLAGS -fPIC"
8393 LDEXECFLAGS="-Wl,-pie"
8394 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8396 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8397 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 ac_wine_try_cflags_saved=$CFLAGS
8401 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 int main(int argc, char **argv) { return 0; }
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8408 else
8409 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8416 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8417 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8418 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8420 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8422 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8423 if eval \${$as_ac_var+:} false; then :
8424 $as_echo_n "(cached) " >&6
8425 else
8426 ac_wine_try_cflags_saved=$CFLAGS
8427 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8430 int main(int argc, char **argv) { return 0; }
8431 _ACEOF
8432 if ac_fn_c_try_link "$LINENO"; then :
8433 eval "$as_ac_var=yes"
8434 else
8435 eval "$as_ac_var=no"
8437 rm -f core conftest.err conftest.$ac_objext \
8438 conftest$ac_exeext conftest.$ac_ext
8439 CFLAGS=$ac_wine_try_cflags_saved
8441 eval ac_res=\$$as_ac_var
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8443 $as_echo "$ac_res" >&6; }
8444 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8445 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8446 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8447 else
8448 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8450 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8451 if eval \${$as_ac_var+:} false; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 ac_wine_try_cflags_saved=$CFLAGS
8455 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8458 int main(int argc, char **argv) { return 0; }
8459 _ACEOF
8460 if ac_fn_c_try_link "$LINENO"; then :
8461 eval "$as_ac_var=yes"
8462 else
8463 eval "$as_ac_var=no"
8465 rm -f core conftest.err conftest.$ac_objext \
8466 conftest$ac_exeext conftest.$ac_ext
8467 CFLAGS=$ac_wine_try_cflags_saved
8469 eval ac_res=\$$as_ac_var
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8471 $as_echo "$ac_res" >&6; }
8472 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8473 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8474 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8478 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8479 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8480 $as_echo_n "(cached) " >&6
8481 else
8482 ac_wine_try_cflags_saved=$CFLAGS
8483 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8486 int main(int argc, char **argv) { return 0; }
8487 _ACEOF
8488 if ac_fn_c_try_link "$LINENO"; then :
8489 ac_cv_cflags__Wl___enable_new_dtags=yes
8490 else
8491 ac_cv_cflags__Wl___enable_new_dtags=no
8493 rm -f core conftest.err conftest.$ac_objext \
8494 conftest$ac_exeext conftest.$ac_ext
8495 CFLAGS=$ac_wine_try_cflags_saved
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8498 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8499 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8500 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8503 LIBWINE_SHAREDLIB="libwine.so"
8505 LIBWINE_INSTALL_LIB="libwine.so"
8507 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8511 $as_echo_n "checking for -lEGL... " >&6; }
8512 if ${ac_cv_lib_soname_EGL+:} false; then :
8513 $as_echo_n "(cached) " >&6
8514 else
8515 ac_check_soname_save_LIBS=$LIBS
8516 LIBS="-lEGL $LIBS"
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8520 /* Override any GCC internal prototype to avoid an error.
8521 Use char because int might match the return type of a GCC
8522 builtin and then its argument prototype would still apply. */
8523 #ifdef __cplusplus
8524 extern "C"
8525 #endif
8526 char eglGetProcAddress ();
8528 main ()
8530 return eglGetProcAddress ();
8532 return 0;
8534 _ACEOF
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 case "$LIBEXT" in
8537 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8538 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8539 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8540 if ${ac_cv_lib_soname_EGL:+false} :; then :
8541 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8542 fi ;;
8543 esac
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 LIBS=$ac_check_soname_save_LIBS
8549 if ${ac_cv_lib_soname_EGL:+false} :; then :
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8551 $as_echo "not found" >&6; }
8553 else
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8555 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8557 cat >>confdefs.h <<_ACEOF
8558 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8559 _ACEOF
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8564 $as_echo_n "checking for -lGLESv2... " >&6; }
8565 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8566 $as_echo_n "(cached) " >&6
8567 else
8568 ac_check_soname_save_LIBS=$LIBS
8569 LIBS="-lGLESv2 $LIBS"
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8573 /* Override any GCC internal prototype to avoid an error.
8574 Use char because int might match the return type of a GCC
8575 builtin and then its argument prototype would still apply. */
8576 #ifdef __cplusplus
8577 extern "C"
8578 #endif
8579 char glFlush ();
8581 main ()
8583 return glFlush ();
8585 return 0;
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 case "$LIBEXT" in
8590 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8591 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8592 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8593 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8594 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8595 fi ;;
8596 esac
8598 rm -f core conftest.err conftest.$ac_objext \
8599 conftest$ac_exeext conftest.$ac_ext
8600 LIBS=$ac_check_soname_save_LIBS
8602 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8604 $as_echo "not found" >&6; }
8606 else
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8608 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8610 cat >>confdefs.h <<_ACEOF
8611 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8612 _ACEOF
8617 if test "x$exec_prefix" = xNONE
8618 then
8619 case $host_cpu in
8620 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8621 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8622 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8623 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8624 esac
8629 DLLFLAGS="$DLLFLAGS -fPIC"
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8631 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8632 if ${ac_cv_c_dll_gnuelf+:} false; then :
8633 $as_echo_n "(cached) " >&6
8634 else
8635 ac_wine_try_cflags_saved=$CFLAGS
8636 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8639 void myfunc() {}
8640 _ACEOF
8641 if ac_fn_c_try_link "$LINENO"; then :
8642 ac_cv_c_dll_gnuelf="yes"
8643 else
8644 ac_cv_c_dll_gnuelf="no"
8646 rm -f core conftest.err conftest.$ac_objext \
8647 conftest$ac_exeext conftest.$ac_ext
8648 CFLAGS=$ac_wine_try_cflags_saved
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8651 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8652 if test "$ac_cv_c_dll_gnuelf" = "yes"
8653 then
8654 LIBWINE_LDFLAGS="-shared"
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8656 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8657 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8658 $as_echo_n "(cached) " >&6
8659 else
8660 ac_wine_try_cflags_saved=$CFLAGS
8661 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8664 int main(int argc, char **argv) { return 0; }
8665 _ACEOF
8666 if ac_fn_c_try_link "$LINENO"; then :
8667 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8668 else
8669 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8671 rm -f core conftest.err conftest.$ac_objext \
8672 conftest$ac_exeext conftest.$ac_ext
8673 CFLAGS=$ac_wine_try_cflags_saved
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8676 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8677 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8678 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8679 else
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8681 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8682 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8683 $as_echo_n "(cached) " >&6
8684 else
8685 ac_wine_try_cflags_saved=$CFLAGS
8686 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8689 int main(int argc, char **argv) { return 0; }
8690 _ACEOF
8691 if ac_fn_c_try_link "$LINENO"; then :
8692 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8693 else
8694 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8696 rm -f core conftest.err conftest.$ac_objext \
8697 conftest$ac_exeext conftest.$ac_ext
8698 CFLAGS=$ac_wine_try_cflags_saved
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8701 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8702 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8703 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8707 echo '{ global: *; };' >conftest.map
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8709 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8710 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8711 $as_echo_n "(cached) " >&6
8712 else
8713 ac_wine_try_cflags_saved=$CFLAGS
8714 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8717 int main(int argc, char **argv) { return 0; }
8718 _ACEOF
8719 if ac_fn_c_try_link "$LINENO"; then :
8720 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8721 else
8722 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8724 rm -f core conftest.err conftest.$ac_objext \
8725 conftest$ac_exeext conftest.$ac_ext
8726 CFLAGS=$ac_wine_try_cflags_saved
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8729 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8730 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8731 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8733 rm -f conftest.map
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8736 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8737 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 int main(int argc, char **argv) { return 0; }
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8748 else
8749 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8756 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8757 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8758 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8761 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8763 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8764 if eval \${$as_ac_var+:} false; then :
8765 $as_echo_n "(cached) " >&6
8766 else
8767 ac_wine_try_cflags_saved=$CFLAGS
8768 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8770 /* end confdefs.h. */
8771 int main(int argc, char **argv) { return 0; }
8772 _ACEOF
8773 if ac_fn_c_try_link "$LINENO"; then :
8774 eval "$as_ac_var=yes"
8775 else
8776 eval "$as_ac_var=no"
8778 rm -f core conftest.err conftest.$ac_objext \
8779 conftest$ac_exeext conftest.$ac_ext
8780 CFLAGS=$ac_wine_try_cflags_saved
8782 eval ac_res=\$$as_ac_var
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8784 $as_echo "$ac_res" >&6; }
8785 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8786 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8787 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8788 else
8789 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8791 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8792 if eval \${$as_ac_var+:} false; then :
8793 $as_echo_n "(cached) " >&6
8794 else
8795 ac_wine_try_cflags_saved=$CFLAGS
8796 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8798 /* end confdefs.h. */
8799 int main(int argc, char **argv) { return 0; }
8800 _ACEOF
8801 if ac_fn_c_try_link "$LINENO"; then :
8802 eval "$as_ac_var=yes"
8803 else
8804 eval "$as_ac_var=no"
8806 rm -f core conftest.err conftest.$ac_objext \
8807 conftest$ac_exeext conftest.$ac_ext
8808 CFLAGS=$ac_wine_try_cflags_saved
8810 eval ac_res=\$$as_ac_var
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8812 $as_echo "$ac_res" >&6; }
8813 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8814 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8815 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8820 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8821 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8822 $as_echo_n "(cached) " >&6
8823 else
8824 ac_wine_try_cflags_saved=$CFLAGS
8825 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8828 int main(int argc, char **argv) { return 0; }
8829 _ACEOF
8830 if ac_fn_c_try_link "$LINENO"; then :
8831 ac_cv_cflags__Wl___enable_new_dtags=yes
8832 else
8833 ac_cv_cflags__Wl___enable_new_dtags=no
8835 rm -f core conftest.err conftest.$ac_objext \
8836 conftest$ac_exeext conftest.$ac_ext
8837 CFLAGS=$ac_wine_try_cflags_saved
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8840 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8841 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8842 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8845 case $host_cpu in
8846 *i[3456789]86* | x86_64)
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8848 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8849 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 ac_wine_try_cflags_saved=$CFLAGS
8853 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8856 int main(int argc, char **argv) { return 0; }
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8860 else
8861 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8863 rm -f core conftest.err conftest.$ac_objext \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8868 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8869 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8870 case $host_os in
8871 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8872 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8873 esac
8874 else
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8876 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8877 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8878 $as_echo_n "(cached) " >&6
8879 else
8880 ac_wine_try_cflags_saved=$CFLAGS
8881 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8884 int main(int argc, char **argv) { return 0; }
8885 _ACEOF
8886 if ac_fn_c_try_link "$LINENO"; then :
8887 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8888 else
8889 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8891 rm -f core conftest.err conftest.$ac_objext \
8892 conftest$ac_exeext conftest.$ac_ext
8893 CFLAGS=$ac_wine_try_cflags_saved
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8896 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8897 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8898 case $host_os in
8899 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8900 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8901 esac
8903 # Extract the first word of "prelink", so it can be a program name with args.
8904 set dummy prelink; ac_word=$2
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8906 $as_echo_n "checking for $ac_word... " >&6; }
8907 if ${ac_cv_path_PRELINK+:} false; then :
8908 $as_echo_n "(cached) " >&6
8909 else
8910 case $PRELINK in
8911 [\\/]* | ?:[\\/]*)
8912 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8916 for as_dir in /sbin /usr/sbin $PATH
8918 IFS=$as_save_IFS
8919 test -z "$as_dir" && as_dir=.
8920 for ac_exec_ext in '' $ac_executable_extensions; do
8921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8922 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8924 break 2
8926 done
8927 done
8928 IFS=$as_save_IFS
8930 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8932 esac
8934 PRELINK=$ac_cv_path_PRELINK
8935 if test -n "$PRELINK"; then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8937 $as_echo "$PRELINK" >&6; }
8938 else
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8940 $as_echo "no" >&6; }
8944 if test "x$PRELINK" = xfalse
8945 then
8946 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8950 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8951 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8952 $as_echo_n "(cached) " >&6
8953 else
8954 ac_wine_try_cflags_saved=$CFLAGS
8955 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8957 /* end confdefs.h. */
8958 int main(int argc, char **argv) { return 0; }
8959 _ACEOF
8960 if ac_fn_c_try_link "$LINENO"; then :
8961 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8962 else
8963 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8965 rm -f core conftest.err conftest.$ac_objext \
8966 conftest$ac_exeext conftest.$ac_ext
8967 CFLAGS=$ac_wine_try_cflags_saved
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8970 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8971 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8972 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8975 esac
8977 else
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8979 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8980 if ${ac_cv_c_dll_unixware+:} false; then :
8981 $as_echo_n "(cached) " >&6
8982 else
8983 ac_wine_try_cflags_saved=$CFLAGS
8984 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8987 void myfunc() {}
8988 _ACEOF
8989 if ac_fn_c_try_link "$LINENO"; then :
8990 ac_cv_c_dll_unixware="yes"
8991 else
8992 ac_cv_c_dll_unixware="no"
8994 rm -f core conftest.err conftest.$ac_objext \
8995 conftest$ac_exeext conftest.$ac_ext
8996 CFLAGS=$ac_wine_try_cflags_saved
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8999 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9000 if test "$ac_cv_c_dll_unixware" = "yes"
9001 then
9002 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9005 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9007 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9009 LIBWINE_INSTALL_DEV="libwine.so"
9011 LIBWINE_DEPENDS="wine.map"
9014 esac
9016 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9017 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9018 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9019 enable_winemac_drv=${enable_winemac_drv:-no}
9020 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9022 CROSSTARGET=""
9024 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9025 then
9026 case "$host_cpu" in
9027 arm*)
9028 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9029 i[3456789]86*)
9030 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
9031 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9032 mingw32-gcc" ;;
9033 x86_64)
9034 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
9035 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9037 ac_prefix_list="" ;;
9038 esac
9039 for ac_prog in $ac_prefix_list
9041 # Extract the first word of "$ac_prog", so it can be a program name with args.
9042 set dummy $ac_prog; ac_word=$2
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9044 $as_echo_n "checking for $ac_word... " >&6; }
9045 if ${ac_cv_prog_CROSSCC+:} false; then :
9046 $as_echo_n "(cached) " >&6
9047 else
9048 if test -n "$CROSSCC"; then
9049 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9050 else
9051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9052 for as_dir in $PATH
9054 IFS=$as_save_IFS
9055 test -z "$as_dir" && as_dir=.
9056 for ac_exec_ext in '' $ac_executable_extensions; do
9057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9058 ac_cv_prog_CROSSCC="$ac_prog"
9059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9060 break 2
9062 done
9063 done
9064 IFS=$as_save_IFS
9068 CROSSCC=$ac_cv_prog_CROSSCC
9069 if test -n "$CROSSCC"; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9071 $as_echo "$CROSSCC" >&6; }
9072 else
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9074 $as_echo "no" >&6; }
9078 test -n "$CROSSCC" && break
9079 done
9080 test -n "$CROSSCC" || CROSSCC="false"
9082 if test "$CROSSCC" != "false"
9083 then
9084 ac_save_CC="$CC"
9085 CC="$CROSSCC"
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9087 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9092 main ()
9096 return 0;
9098 _ACEOF
9099 if ac_fn_c_try_compile "$LINENO"; then :
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9101 $as_echo "yes" >&6; }
9102 set x $CROSSCC
9103 shift
9104 while test $# -ge 1
9106 case "$1" in
9107 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9108 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9109 esac
9110 shift
9111 done
9112 else
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114 $as_echo "no" >&6; }
9116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9117 CC="$ac_save_CC"
9118 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9124 if test "$ac_cv_header_pthread_h" = "yes"
9125 then
9126 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9127 if test "x$ac_cv_func_pthread_create" = xyes; then :
9129 else
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9131 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9132 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9133 $as_echo_n "(cached) " >&6
9134 else
9135 ac_check_lib_save_LIBS=$LIBS
9136 LIBS="-lpthread $LIBS"
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9140 /* Override any GCC internal prototype to avoid an error.
9141 Use char because int might match the return type of a GCC
9142 builtin and then its argument prototype would still apply. */
9143 #ifdef __cplusplus
9144 extern "C"
9145 #endif
9146 char pthread_create ();
9148 main ()
9150 return pthread_create ();
9152 return 0;
9154 _ACEOF
9155 if ac_fn_c_try_link "$LINENO"; then :
9156 ac_cv_lib_pthread_pthread_create=yes
9157 else
9158 ac_cv_lib_pthread_pthread_create=no
9160 rm -f core conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LIBS=$ac_check_lib_save_LIBS
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9165 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9166 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9167 PTHREAD_LIBS="-lpthread"
9174 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9175 case "x$with_pthread" in
9176 xno) ;;
9177 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9178 Wine cannot support threads without libpthread.
9179 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9180 esac
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9186 $as_echo_n "checking for X... " >&6; }
9189 # Check whether --with-x was given.
9190 if test "${with_x+set}" = set; then :
9191 withval=$with_x;
9194 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9195 if test "x$with_x" = xno; then
9196 # The user explicitly disabled X.
9197 have_x=disabled
9198 else
9199 case $x_includes,$x_libraries in #(
9200 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9201 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9202 $as_echo_n "(cached) " >&6
9203 else
9204 # One or both of the vars are not set, and there is no cached value.
9205 ac_x_includes=no ac_x_libraries=no
9206 rm -f -r conftest.dir
9207 if mkdir conftest.dir; then
9208 cd conftest.dir
9209 cat >Imakefile <<'_ACEOF'
9210 incroot:
9211 @echo incroot='${INCROOT}'
9212 usrlibdir:
9213 @echo usrlibdir='${USRLIBDIR}'
9214 libdir:
9215 @echo libdir='${LIBDIR}'
9216 _ACEOF
9217 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9218 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9219 for ac_var in incroot usrlibdir libdir; do
9220 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9221 done
9222 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9223 for ac_extension in a so sl dylib la dll; do
9224 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9225 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9226 ac_im_usrlibdir=$ac_im_libdir; break
9228 done
9229 # Screen out bogus values from the imake configuration. They are
9230 # bogus both because they are the default anyway, and because
9231 # using them would break gcc on systems where it needs fixed includes.
9232 case $ac_im_incroot in
9233 /usr/include) ac_x_includes= ;;
9234 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9235 esac
9236 case $ac_im_usrlibdir in
9237 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9238 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9239 esac
9241 cd ..
9242 rm -f -r conftest.dir
9245 # Standard set of common directories for X headers.
9246 # Check X11 before X11Rn because it is often a symlink to the current release.
9247 ac_x_header_dirs='
9248 /usr/X11/include
9249 /usr/X11R7/include
9250 /usr/X11R6/include
9251 /usr/X11R5/include
9252 /usr/X11R4/include
9254 /usr/include/X11
9255 /usr/include/X11R7
9256 /usr/include/X11R6
9257 /usr/include/X11R5
9258 /usr/include/X11R4
9260 /usr/local/X11/include
9261 /usr/local/X11R7/include
9262 /usr/local/X11R6/include
9263 /usr/local/X11R5/include
9264 /usr/local/X11R4/include
9266 /usr/local/include/X11
9267 /usr/local/include/X11R7
9268 /usr/local/include/X11R6
9269 /usr/local/include/X11R5
9270 /usr/local/include/X11R4
9272 /usr/X386/include
9273 /usr/x386/include
9274 /usr/XFree86/include/X11
9276 /usr/include
9277 /usr/local/include
9278 /usr/unsupported/include
9279 /usr/athena/include
9280 /usr/local/x11r5/include
9281 /usr/lpp/Xamples/include
9283 /usr/openwin/include
9284 /usr/openwin/share/include'
9286 if test "$ac_x_includes" = no; then
9287 # Guess where to find include files, by looking for Xlib.h.
9288 # First, try using that file with no special directory specified.
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9291 #include <X11/Xlib.h>
9292 _ACEOF
9293 if ac_fn_c_try_cpp "$LINENO"; then :
9294 # We can compile using X headers with no special include directory.
9295 ac_x_includes=
9296 else
9297 for ac_dir in $ac_x_header_dirs; do
9298 if test -r "$ac_dir/X11/Xlib.h"; then
9299 ac_x_includes=$ac_dir
9300 break
9302 done
9304 rm -f conftest.err conftest.i conftest.$ac_ext
9305 fi # $ac_x_includes = no
9307 if test "$ac_x_libraries" = no; then
9308 # Check for the libraries.
9309 # See if we find them without any special options.
9310 # Don't add to $LIBS permanently.
9311 ac_save_LIBS=$LIBS
9312 LIBS="-lX11 $LIBS"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9315 #include <X11/Xlib.h>
9317 main ()
9319 XrmInitialize ()
9321 return 0;
9323 _ACEOF
9324 if ac_fn_c_try_link "$LINENO"; then :
9325 LIBS=$ac_save_LIBS
9326 # We can link X programs with no special library path.
9327 ac_x_libraries=
9328 else
9329 LIBS=$ac_save_LIBS
9330 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9332 # Don't even attempt the hair of trying to link an X program!
9333 for ac_extension in a so sl dylib la dll; do
9334 if test -r "$ac_dir/libX11.$ac_extension"; then
9335 ac_x_libraries=$ac_dir
9336 break 2
9338 done
9339 done
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 fi # $ac_x_libraries = no
9345 case $ac_x_includes,$ac_x_libraries in #(
9346 no,* | *,no | *\'*)
9347 # Didn't find X, or a directory has "'" in its name.
9348 ac_cv_have_x="have_x=no";; #(
9350 # Record where we found X for the cache.
9351 ac_cv_have_x="have_x=yes\
9352 ac_x_includes='$ac_x_includes'\
9353 ac_x_libraries='$ac_x_libraries'"
9354 esac
9356 ;; #(
9357 *) have_x=yes;;
9358 esac
9359 eval "$ac_cv_have_x"
9360 fi # $with_x != no
9362 if test "$have_x" != yes; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9364 $as_echo "$have_x" >&6; }
9365 no_x=yes
9366 else
9367 # If each of the values was on the command line, it overrides each guess.
9368 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9369 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9370 # Update the cache value to reflect the command line values.
9371 ac_cv_have_x="have_x=yes\
9372 ac_x_includes='$x_includes'\
9373 ac_x_libraries='$x_libraries'"
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9375 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9378 if test "$no_x" = yes; then
9379 # Not all programs may use this symbol, but it does not hurt to define it.
9381 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9383 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9384 else
9385 if test -n "$x_includes"; then
9386 X_CFLAGS="$X_CFLAGS -I$x_includes"
9389 # It would also be nice to do this for all -L options, not just this one.
9390 if test -n "$x_libraries"; then
9391 X_LIBS="$X_LIBS -L$x_libraries"
9392 # For Solaris; some versions of Sun CC require a space after -R and
9393 # others require no space. Words are not sufficient . . . .
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9395 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9396 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9397 ac_xsave_c_werror_flag=$ac_c_werror_flag
9398 ac_c_werror_flag=yes
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9403 main ()
9407 return 0;
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9412 $as_echo "no" >&6; }
9413 X_LIBS="$X_LIBS -R$x_libraries"
9414 else
9415 LIBS="$ac_xsave_LIBS -R $x_libraries"
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9420 main ()
9424 return 0;
9426 _ACEOF
9427 if ac_fn_c_try_link "$LINENO"; then :
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9429 $as_echo "yes" >&6; }
9430 X_LIBS="$X_LIBS -R $x_libraries"
9431 else
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9433 $as_echo "neither works" >&6; }
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 ac_c_werror_flag=$ac_xsave_c_werror_flag
9441 LIBS=$ac_xsave_LIBS
9444 # Check for system-dependent libraries X programs must link with.
9445 # Do this before checking for the system-independent R6 libraries
9446 # (-lICE), since we may need -lsocket or whatever for X linking.
9448 if test "$ISC" = yes; then
9449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9450 else
9451 # Martyn Johnson says this is needed for Ultrix, if the X
9452 # libraries were built with DECnet support. And Karl Berry says
9453 # the Alpha needs dnet_stub (dnet does not exist).
9454 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9458 /* Override any GCC internal prototype to avoid an error.
9459 Use char because int might match the return type of a GCC
9460 builtin and then its argument prototype would still apply. */
9461 #ifdef __cplusplus
9462 extern "C"
9463 #endif
9464 char XOpenDisplay ();
9466 main ()
9468 return XOpenDisplay ();
9470 return 0;
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9475 else
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9477 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9478 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_check_lib_save_LIBS=$LIBS
9482 LIBS="-ldnet $LIBS"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9489 #ifdef __cplusplus
9490 extern "C"
9491 #endif
9492 char dnet_ntoa ();
9494 main ()
9496 return dnet_ntoa ();
9498 return 0;
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 ac_cv_lib_dnet_dnet_ntoa=yes
9503 else
9504 ac_cv_lib_dnet_dnet_ntoa=no
9506 rm -f core conftest.err conftest.$ac_objext \
9507 conftest$ac_exeext conftest.$ac_ext
9508 LIBS=$ac_check_lib_save_LIBS
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9511 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9512 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9513 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9516 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9518 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9519 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 ac_check_lib_save_LIBS=$LIBS
9523 LIBS="-ldnet_stub $LIBS"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9527 /* Override any GCC internal prototype to avoid an error.
9528 Use char because int might match the return type of a GCC
9529 builtin and then its argument prototype would still apply. */
9530 #ifdef __cplusplus
9531 extern "C"
9532 #endif
9533 char dnet_ntoa ();
9535 main ()
9537 return dnet_ntoa ();
9539 return 0;
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"; then :
9543 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9544 else
9545 ac_cv_lib_dnet_stub_dnet_ntoa=no
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 LIBS=$ac_check_lib_save_LIBS
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9552 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9553 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9554 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS="$ac_xsave_LIBS"
9563 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9564 # to get the SysV transport functions.
9565 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9566 # needs -lnsl.
9567 # The nsl library prevents programs from opening the X display
9568 # on Irix 5.2, according to T.E. Dickey.
9569 # The functions gethostbyname, getservbyname, and inet_addr are
9570 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9571 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9572 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9576 if test $ac_cv_func_gethostbyname = no; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9578 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9579 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 ac_check_lib_save_LIBS=$LIBS
9583 LIBS="-lnsl $LIBS"
9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9590 #ifdef __cplusplus
9591 extern "C"
9592 #endif
9593 char gethostbyname ();
9595 main ()
9597 return gethostbyname ();
9599 return 0;
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 ac_cv_lib_nsl_gethostbyname=yes
9604 else
9605 ac_cv_lib_nsl_gethostbyname=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 LIBS=$ac_check_lib_save_LIBS
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9612 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9613 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9614 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9617 if test $ac_cv_lib_nsl_gethostbyname = no; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9619 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9620 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-lbsd $LIBS"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9631 #ifdef __cplusplus
9632 extern "C"
9633 #endif
9634 char gethostbyname ();
9636 main ()
9638 return gethostbyname ();
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644 ac_cv_lib_bsd_gethostbyname=yes
9645 else
9646 ac_cv_lib_bsd_gethostbyname=no
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9653 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9654 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9655 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9661 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9662 # socket/setsockopt and other routines are undefined under SCO ODT
9663 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9664 # on later versions), says Simon Leinen: it contains gethostby*
9665 # variants that don't use the name server (or something). -lsocket
9666 # must be given before -lnsl if both are needed. We assume that
9667 # if connect needs -lnsl, so does gethostbyname.
9668 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9669 if test "x$ac_cv_func_connect" = xyes; then :
9673 if test $ac_cv_func_connect = no; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9675 $as_echo_n "checking for connect in -lsocket... " >&6; }
9676 if ${ac_cv_lib_socket_connect+:} false; then :
9677 $as_echo_n "(cached) " >&6
9678 else
9679 ac_check_lib_save_LIBS=$LIBS
9680 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9684 /* Override any GCC internal prototype to avoid an error.
9685 Use char because int might match the return type of a GCC
9686 builtin and then its argument prototype would still apply. */
9687 #ifdef __cplusplus
9688 extern "C"
9689 #endif
9690 char connect ();
9692 main ()
9694 return connect ();
9696 return 0;
9698 _ACEOF
9699 if ac_fn_c_try_link "$LINENO"; then :
9700 ac_cv_lib_socket_connect=yes
9701 else
9702 ac_cv_lib_socket_connect=no
9704 rm -f core conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_lib_save_LIBS
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9709 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9710 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9711 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9716 # Guillermo Gomez says -lposix is necessary on A/UX.
9717 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9718 if test "x$ac_cv_func_remove" = xyes; then :
9722 if test $ac_cv_func_remove = no; then
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9724 $as_echo_n "checking for remove in -lposix... " >&6; }
9725 if ${ac_cv_lib_posix_remove+:} false; then :
9726 $as_echo_n "(cached) " >&6
9727 else
9728 ac_check_lib_save_LIBS=$LIBS
9729 LIBS="-lposix $LIBS"
9730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9736 #ifdef __cplusplus
9737 extern "C"
9738 #endif
9739 char remove ();
9741 main ()
9743 return remove ();
9745 return 0;
9747 _ACEOF
9748 if ac_fn_c_try_link "$LINENO"; then :
9749 ac_cv_lib_posix_remove=yes
9750 else
9751 ac_cv_lib_posix_remove=no
9753 rm -f core conftest.err conftest.$ac_objext \
9754 conftest$ac_exeext conftest.$ac_ext
9755 LIBS=$ac_check_lib_save_LIBS
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9758 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9759 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9760 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9765 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9766 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9767 if test "x$ac_cv_func_shmat" = xyes; then :
9771 if test $ac_cv_func_shmat = no; then
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9773 $as_echo_n "checking for shmat in -lipc... " >&6; }
9774 if ${ac_cv_lib_ipc_shmat+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
9777 ac_check_lib_save_LIBS=$LIBS
9778 LIBS="-lipc $LIBS"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9782 /* Override any GCC internal prototype to avoid an error.
9783 Use char because int might match the return type of a GCC
9784 builtin and then its argument prototype would still apply. */
9785 #ifdef __cplusplus
9786 extern "C"
9787 #endif
9788 char shmat ();
9790 main ()
9792 return shmat ();
9794 return 0;
9796 _ACEOF
9797 if ac_fn_c_try_link "$LINENO"; then :
9798 ac_cv_lib_ipc_shmat=yes
9799 else
9800 ac_cv_lib_ipc_shmat=no
9802 rm -f core conftest.err conftest.$ac_objext \
9803 conftest$ac_exeext conftest.$ac_ext
9804 LIBS=$ac_check_lib_save_LIBS
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9807 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9808 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9809 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9815 # Check for libraries that X11R6 Xt/Xaw programs need.
9816 ac_save_LDFLAGS=$LDFLAGS
9817 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9818 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9819 # check for ICE first), but we must link in the order -lSM -lICE or
9820 # we get undefined symbols. So assume we have SM if we have ICE.
9821 # These have to be linked with before -lX11, unlike the other
9822 # libraries we check for below, so use a different variable.
9823 # John Interrante, Karl Berry
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9825 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9826 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_check_lib_save_LIBS=$LIBS
9830 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9837 #ifdef __cplusplus
9838 extern "C"
9839 #endif
9840 char IceConnectionNumber ();
9842 main ()
9844 return IceConnectionNumber ();
9846 return 0;
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 ac_cv_lib_ICE_IceConnectionNumber=yes
9851 else
9852 ac_cv_lib_ICE_IceConnectionNumber=no
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 LIBS=$ac_check_lib_save_LIBS
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9859 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9860 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9861 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9864 LDFLAGS=$ac_save_LDFLAGS
9869 if test "$have_x" = "yes"
9870 then
9871 ac_save_CPPFLAGS="$CPPFLAGS"
9872 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9875 $as_echo_n "checking for -lX11... " >&6; }
9876 if ${ac_cv_lib_soname_X11+:} false; then :
9877 $as_echo_n "(cached) " >&6
9878 else
9879 ac_check_soname_save_LIBS=$LIBS
9880 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9884 /* Override any GCC internal prototype to avoid an error.
9885 Use char because int might match the return type of a GCC
9886 builtin and then its argument prototype would still apply. */
9887 #ifdef __cplusplus
9888 extern "C"
9889 #endif
9890 char XCreateWindow ();
9892 main ()
9894 return XCreateWindow ();
9896 return 0;
9898 _ACEOF
9899 if ac_fn_c_try_link "$LINENO"; then :
9900 case "$LIBEXT" in
9901 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9902 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'` ;;
9903 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9904 if ${ac_cv_lib_soname_X11:+false} :; then :
9905 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9906 fi ;;
9907 esac
9909 rm -f core conftest.err conftest.$ac_objext \
9910 conftest$ac_exeext conftest.$ac_ext
9911 LIBS=$ac_check_soname_save_LIBS
9913 if ${ac_cv_lib_soname_X11:+false} :; then :
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9915 $as_echo "not found" >&6; }
9917 else
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9919 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9921 cat >>confdefs.h <<_ACEOF
9922 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9923 _ACEOF
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9928 $as_echo_n "checking for -lXext... " >&6; }
9929 if ${ac_cv_lib_soname_Xext+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_check_soname_save_LIBS=$LIBS
9933 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9940 #ifdef __cplusplus
9941 extern "C"
9942 #endif
9943 char XextCreateExtension ();
9945 main ()
9947 return XextCreateExtension ();
9949 return 0;
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"; then :
9953 case "$LIBEXT" in
9954 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9955 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'` ;;
9956 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9957 if ${ac_cv_lib_soname_Xext:+false} :; then :
9958 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9959 fi ;;
9960 esac
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_soname_save_LIBS
9966 if ${ac_cv_lib_soname_Xext:+false} :; then :
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9968 $as_echo "not found" >&6; }
9970 else
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9972 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9974 cat >>confdefs.h <<_ACEOF
9975 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9976 _ACEOF
9978 X_LIBS="$X_LIBS -lXext"
9980 X_LIBS="$X_LIBS -lX11"
9982 for ac_header in X11/Xlib.h \
9983 X11/XKBlib.h \
9984 X11/Xutil.h \
9985 X11/Xcursor/Xcursor.h \
9986 X11/extensions/shape.h \
9987 X11/extensions/XInput.h \
9988 X11/extensions/XInput2.h \
9989 X11/extensions/XShm.h \
9990 X11/extensions/Xcomposite.h \
9991 X11/extensions/Xfixes.h \
9992 X11/extensions/Xinerama.h \
9993 X11/extensions/Xrandr.h \
9994 X11/extensions/Xrender.h \
9995 X11/extensions/xf86vmode.h \
9996 X11/extensions/xf86vmproto.h
9997 do :
9998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10000 # include <X11/Xlib.h>
10001 #endif
10002 #ifdef HAVE_X11_XUTIL_H
10003 # include <X11/Xutil.h>
10004 #endif
10006 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10007 cat >>confdefs.h <<_ACEOF
10008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10009 _ACEOF
10013 done
10016 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10017 then
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10019 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10020 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_check_lib_save_LIBS=$LIBS
10024 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10026 /* end confdefs.h. */
10028 /* Override any GCC internal prototype to avoid an error.
10029 Use char because int might match the return type of a GCC
10030 builtin and then its argument prototype would still apply. */
10031 #ifdef __cplusplus
10032 extern "C"
10033 #endif
10034 char XkbQueryExtension ();
10036 main ()
10038 return XkbQueryExtension ();
10040 return 0;
10042 _ACEOF
10043 if ac_fn_c_try_link "$LINENO"; then :
10044 ac_cv_lib_X11_XkbQueryExtension=yes
10045 else
10046 ac_cv_lib_X11_XkbQueryExtension=no
10048 rm -f core conftest.err conftest.$ac_objext \
10049 conftest$ac_exeext conftest.$ac_ext
10050 LIBS=$ac_check_lib_save_LIBS
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10053 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10054 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10056 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10062 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10063 then
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10065 $as_echo_n "checking for -lXcursor... " >&6; }
10066 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10067 $as_echo_n "(cached) " >&6
10068 else
10069 ac_check_soname_save_LIBS=$LIBS
10070 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10077 #ifdef __cplusplus
10078 extern "C"
10079 #endif
10080 char XcursorImageLoadCursor ();
10082 main ()
10084 return XcursorImageLoadCursor ();
10086 return 0;
10088 _ACEOF
10089 if ac_fn_c_try_link "$LINENO"; then :
10090 case "$LIBEXT" in
10091 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10092 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'` ;;
10093 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10094 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10095 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10096 fi ;;
10097 esac
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 LIBS=$ac_check_soname_save_LIBS
10103 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10105 $as_echo "not found" >&6; }
10107 else
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10109 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10111 cat >>confdefs.h <<_ACEOF
10112 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10113 _ACEOF
10118 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10119 case "x$with_xcursor" in
10120 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10121 xno) ;;
10122 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10123 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10124 esac
10128 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10129 then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10131 $as_echo_n "checking for -lXi... " >&6; }
10132 if ${ac_cv_lib_soname_Xi+:} false; then :
10133 $as_echo_n "(cached) " >&6
10134 else
10135 ac_check_soname_save_LIBS=$LIBS
10136 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10140 /* Override any GCC internal prototype to avoid an error.
10141 Use char because int might match the return type of a GCC
10142 builtin and then its argument prototype would still apply. */
10143 #ifdef __cplusplus
10144 extern "C"
10145 #endif
10146 char XOpenDevice ();
10148 main ()
10150 return XOpenDevice ();
10152 return 0;
10154 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"; then :
10156 case "$LIBEXT" in
10157 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10158 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'` ;;
10159 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10160 if ${ac_cv_lib_soname_Xi:+false} :; then :
10161 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10162 fi ;;
10163 esac
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 LIBS=$ac_check_soname_save_LIBS
10169 if ${ac_cv_lib_soname_Xi:+false} :; then :
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10171 $as_echo "not found" >&6; }
10173 else
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10175 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10177 cat >>confdefs.h <<_ACEOF
10178 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10179 _ACEOF
10184 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10185 case "x$with_xinput" in
10186 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10187 xno) ;;
10188 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10189 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10190 esac
10194 if test "x$ac_cv_lib_soname_Xi" != x
10195 then
10196 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10197 case "x$with_xinput2" in
10198 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10199 xno) ;;
10200 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10201 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10202 esac
10207 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10208 then
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10210 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10211 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_check_lib_save_LIBS=$LIBS
10215 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10219 /* Override any GCC internal prototype to avoid an error.
10220 Use char because int might match the return type of a GCC
10221 builtin and then its argument prototype would still apply. */
10222 #ifdef __cplusplus
10223 extern "C"
10224 #endif
10225 char XShmQueryExtension ();
10227 main ()
10229 return XShmQueryExtension ();
10231 return 0;
10233 _ACEOF
10234 if ac_fn_c_try_link "$LINENO"; then :
10235 ac_cv_lib_Xext_XShmQueryExtension=yes
10236 else
10237 ac_cv_lib_Xext_XShmQueryExtension=no
10239 rm -f core conftest.err conftest.$ac_objext \
10240 conftest$ac_exeext conftest.$ac_ext
10241 LIBS=$ac_check_lib_save_LIBS
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10244 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10245 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10247 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10252 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10253 case "x$with_xshm" in
10254 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10255 xno) ;;
10256 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10257 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10258 esac
10262 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10263 then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10265 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10266 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 ac_check_lib_save_LIBS=$LIBS
10270 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10277 #ifdef __cplusplus
10278 extern "C"
10279 #endif
10280 char XShapeQueryExtension ();
10282 main ()
10284 return XShapeQueryExtension ();
10286 return 0;
10288 _ACEOF
10289 if ac_fn_c_try_link "$LINENO"; then :
10290 ac_cv_lib_Xext_XShapeQueryExtension=yes
10291 else
10292 ac_cv_lib_Xext_XShapeQueryExtension=no
10294 rm -f core conftest.err conftest.$ac_objext \
10295 conftest$ac_exeext conftest.$ac_ext
10296 LIBS=$ac_check_lib_save_LIBS
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10299 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10300 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10302 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10307 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10308 case "x$with_xshape" in
10309 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10310 xno) ;;
10311 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10312 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10313 esac
10317 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10318 then
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10320 $as_echo_n "checking for -lXxf86vm... " >&6; }
10321 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10322 $as_echo_n "(cached) " >&6
10323 else
10324 ac_check_soname_save_LIBS=$LIBS
10325 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10329 /* Override any GCC internal prototype to avoid an error.
10330 Use char because int might match the return type of a GCC
10331 builtin and then its argument prototype would still apply. */
10332 #ifdef __cplusplus
10333 extern "C"
10334 #endif
10335 char XF86VidModeQueryExtension ();
10337 main ()
10339 return XF86VidModeQueryExtension ();
10341 return 0;
10343 _ACEOF
10344 if ac_fn_c_try_link "$LINENO"; then :
10345 case "$LIBEXT" in
10346 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10347 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'` ;;
10348 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10349 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10350 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10351 fi ;;
10352 esac
10354 rm -f core conftest.err conftest.$ac_objext \
10355 conftest$ac_exeext conftest.$ac_ext
10356 LIBS=$ac_check_soname_save_LIBS
10358 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10360 $as_echo "not found" >&6; }
10362 else
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10364 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10366 cat >>confdefs.h <<_ACEOF
10367 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10368 _ACEOF
10373 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10374 case "x$with_xxf86vm" in
10375 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10376 xno) ;;
10377 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10378 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10379 esac
10383 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10384 then
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10386 $as_echo_n "checking for -lXrender... " >&6; }
10387 if ${ac_cv_lib_soname_Xrender+:} false; then :
10388 $as_echo_n "(cached) " >&6
10389 else
10390 ac_check_soname_save_LIBS=$LIBS
10391 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10398 #ifdef __cplusplus
10399 extern "C"
10400 #endif
10401 char XRenderQueryExtension ();
10403 main ()
10405 return XRenderQueryExtension ();
10407 return 0;
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 case "$LIBEXT" in
10412 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10413 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'` ;;
10414 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10415 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10416 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10417 fi ;;
10418 esac
10420 rm -f core conftest.err conftest.$ac_objext \
10421 conftest$ac_exeext conftest.$ac_ext
10422 LIBS=$ac_check_soname_save_LIBS
10424 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10426 $as_echo "not found" >&6; }
10428 else
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10430 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10432 cat >>confdefs.h <<_ACEOF
10433 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10434 _ACEOF
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10437 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10438 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10439 $as_echo_n "(cached) " >&6
10440 else
10441 ac_check_lib_save_LIBS=$LIBS
10442 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10444 /* end confdefs.h. */
10446 /* Override any GCC internal prototype to avoid an error.
10447 Use char because int might match the return type of a GCC
10448 builtin and then its argument prototype would still apply. */
10449 #ifdef __cplusplus
10450 extern "C"
10451 #endif
10452 char XRenderSetPictureTransform ();
10454 main ()
10456 return XRenderSetPictureTransform ();
10458 return 0;
10460 _ACEOF
10461 if ac_fn_c_try_link "$LINENO"; then :
10462 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10463 else
10464 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 LIBS=$ac_check_lib_save_LIBS
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10471 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10472 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10474 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10479 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10480 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10481 $as_echo_n "(cached) " >&6
10482 else
10483 ac_check_lib_save_LIBS=$LIBS
10484 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10486 /* end confdefs.h. */
10488 /* Override any GCC internal prototype to avoid an error.
10489 Use char because int might match the return type of a GCC
10490 builtin and then its argument prototype would still apply. */
10491 #ifdef __cplusplus
10492 extern "C"
10493 #endif
10494 char XRenderCreateLinearGradient ();
10496 main ()
10498 return XRenderCreateLinearGradient ();
10500 return 0;
10502 _ACEOF
10503 if ac_fn_c_try_link "$LINENO"; then :
10504 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10505 else
10506 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LIBS=$ac_check_lib_save_LIBS
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10513 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10514 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10516 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10523 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10524 case "x$with_xrender" in
10525 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10526 xno) ;;
10527 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10528 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10529 esac
10533 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10534 then
10535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10537 #include <X11/Xlib.h>
10538 #include <X11/extensions/Xrandr.h>
10540 main ()
10542 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10544 return 0;
10546 _ACEOF
10547 if ac_fn_c_try_compile "$LINENO"; then :
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10549 $as_echo_n "checking for -lXrandr... " >&6; }
10550 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10551 $as_echo_n "(cached) " >&6
10552 else
10553 ac_check_soname_save_LIBS=$LIBS
10554 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10556 /* end confdefs.h. */
10558 /* Override any GCC internal prototype to avoid an error.
10559 Use char because int might match the return type of a GCC
10560 builtin and then its argument prototype would still apply. */
10561 #ifdef __cplusplus
10562 extern "C"
10563 #endif
10564 char XRRQueryExtension ();
10566 main ()
10568 return XRRQueryExtension ();
10570 return 0;
10572 _ACEOF
10573 if ac_fn_c_try_link "$LINENO"; then :
10574 case "$LIBEXT" in
10575 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10576 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'` ;;
10577 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10578 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10579 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10580 fi ;;
10581 esac
10583 rm -f core conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10585 LIBS=$ac_check_soname_save_LIBS
10587 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10589 $as_echo "not found" >&6; }
10591 else
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10593 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10595 cat >>confdefs.h <<_ACEOF
10596 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10597 _ACEOF
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10601 #include <X11/Xlib.h>
10602 #include <X11/extensions/Xrandr.h>
10604 main ()
10606 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10608 return 0;
10610 _ACEOF
10611 if ac_fn_c_try_compile "$LINENO"; then :
10613 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10621 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10622 case "x$with_xrandr" in
10623 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10624 xno) ;;
10625 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10626 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10627 esac
10631 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10632 then
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10634 /* end confdefs.h. */
10635 #include <X11/Xlib.h>
10636 #include <X11/extensions/Xfixes.h>
10638 main ()
10640 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10642 return 0;
10644 _ACEOF
10645 if ac_fn_c_try_compile "$LINENO"; then :
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10647 $as_echo_n "checking for -lXfixes... " >&6; }
10648 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10649 $as_echo_n "(cached) " >&6
10650 else
10651 ac_check_soname_save_LIBS=$LIBS
10652 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10656 /* Override any GCC internal prototype to avoid an error.
10657 Use char because int might match the return type of a GCC
10658 builtin and then its argument prototype would still apply. */
10659 #ifdef __cplusplus
10660 extern "C"
10661 #endif
10662 char XFixesQueryVersion ();
10664 main ()
10666 return XFixesQueryVersion ();
10668 return 0;
10670 _ACEOF
10671 if ac_fn_c_try_link "$LINENO"; then :
10672 case "$LIBEXT" in
10673 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10674 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10675 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10676 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10677 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10678 fi ;;
10679 esac
10681 rm -f core conftest.err conftest.$ac_objext \
10682 conftest$ac_exeext conftest.$ac_ext
10683 LIBS=$ac_check_soname_save_LIBS
10685 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10687 $as_echo "not found" >&6; }
10689 else
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10691 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10693 cat >>confdefs.h <<_ACEOF
10694 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10695 _ACEOF
10700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10702 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10703 case "x$with_xfixes" in
10704 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10705 xno) ;;
10706 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10707 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10708 esac
10712 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10713 then
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10716 #include <X11/Xlib.h>
10717 #include <X11/extensions/Xinerama.h>
10719 main ()
10721 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10723 return 0;
10725 _ACEOF
10726 if ac_fn_c_try_compile "$LINENO"; then :
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10728 $as_echo_n "checking for -lXinerama... " >&6; }
10729 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10730 $as_echo_n "(cached) " >&6
10731 else
10732 ac_check_soname_save_LIBS=$LIBS
10733 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10740 #ifdef __cplusplus
10741 extern "C"
10742 #endif
10743 char XineramaQueryScreens ();
10745 main ()
10747 return XineramaQueryScreens ();
10749 return 0;
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"; then :
10753 case "$LIBEXT" in
10754 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10755 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'` ;;
10756 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10757 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10758 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10759 fi ;;
10760 esac
10762 rm -f core conftest.err conftest.$ac_objext \
10763 conftest$ac_exeext conftest.$ac_ext
10764 LIBS=$ac_check_soname_save_LIBS
10766 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10768 $as_echo "not found" >&6; }
10770 else
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10772 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10774 cat >>confdefs.h <<_ACEOF
10775 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10776 _ACEOF
10781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10783 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10784 case "x$with_xinerama" in
10785 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10786 xno) ;;
10787 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10788 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10789 esac
10793 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10794 then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10796 $as_echo_n "checking for -lXcomposite... " >&6; }
10797 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10798 $as_echo_n "(cached) " >&6
10799 else
10800 ac_check_soname_save_LIBS=$LIBS
10801 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10805 /* Override any GCC internal prototype to avoid an error.
10806 Use char because int might match the return type of a GCC
10807 builtin and then its argument prototype would still apply. */
10808 #ifdef __cplusplus
10809 extern "C"
10810 #endif
10811 char XCompositeRedirectWindow ();
10813 main ()
10815 return XCompositeRedirectWindow ();
10817 return 0;
10819 _ACEOF
10820 if ac_fn_c_try_link "$LINENO"; then :
10821 case "$LIBEXT" in
10822 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10823 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'` ;;
10824 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10825 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10826 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10827 fi ;;
10828 esac
10830 rm -f core conftest.err conftest.$ac_objext \
10831 conftest$ac_exeext conftest.$ac_ext
10832 LIBS=$ac_check_soname_save_LIBS
10834 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10836 $as_echo "not found" >&6; }
10838 else
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10840 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10842 cat >>confdefs.h <<_ACEOF
10843 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10844 _ACEOF
10849 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10850 case "x$with_xcomposite" in
10851 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10852 xno) ;;
10853 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10854 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10855 esac
10859 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10860 #include <X11/Xlib.h>
10861 #endif
10863 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10865 cat >>confdefs.h <<_ACEOF
10866 #define HAVE_XICCALLBACK_CALLBACK 1
10867 _ACEOF
10871 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10872 #include <X11/Xlib.h>
10873 #endif
10875 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10877 cat >>confdefs.h <<_ACEOF
10878 #define HAVE_XEVENT_XCOOKIE 1
10879 _ACEOF
10886 opengl_msg=""
10887 if test "x$with_opengl" != "xno"
10888 then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10890 $as_echo_n "checking for -lGL... " >&6; }
10891 if ${ac_cv_lib_soname_GL+:} false; then :
10892 $as_echo_n "(cached) " >&6
10893 else
10894 ac_check_soname_save_LIBS=$LIBS
10895 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10899 /* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10902 #ifdef __cplusplus
10903 extern "C"
10904 #endif
10905 char glXCreateContext ();
10907 main ()
10909 return glXCreateContext ();
10911 return 0;
10913 _ACEOF
10914 if ac_fn_c_try_link "$LINENO"; then :
10915 case "$LIBEXT" in
10916 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10917 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'` ;;
10918 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10919 if ${ac_cv_lib_soname_GL:+false} :; then :
10920 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10921 fi ;;
10922 esac
10924 rm -f core conftest.err conftest.$ac_objext \
10925 conftest$ac_exeext conftest.$ac_ext
10926 LIBS=$ac_check_soname_save_LIBS
10928 if ${ac_cv_lib_soname_GL:+false} :; then :
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10930 $as_echo "not found" >&6; }
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10932 $as_echo_n "checking for -lGL... " >&6; }
10933 if ${ac_cv_lib_soname_GL+:} false; then :
10934 $as_echo_n "(cached) " >&6
10935 else
10936 ac_check_soname_save_LIBS=$LIBS
10937 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"
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10941 /* Override any GCC internal prototype to avoid an error.
10942 Use char because int might match the return type of a GCC
10943 builtin and then its argument prototype would still apply. */
10944 #ifdef __cplusplus
10945 extern "C"
10946 #endif
10947 char glXCreateContext ();
10949 main ()
10951 return glXCreateContext ();
10953 return 0;
10955 _ACEOF
10956 if ac_fn_c_try_link "$LINENO"; then :
10957 case "$LIBEXT" in
10958 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10959 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'` ;;
10960 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10961 if ${ac_cv_lib_soname_GL:+false} :; then :
10962 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10963 fi ;;
10964 esac
10966 rm -f core conftest.err conftest.$ac_objext \
10967 conftest$ac_exeext conftest.$ac_ext
10968 LIBS=$ac_check_soname_save_LIBS
10970 if ${ac_cv_lib_soname_GL:+false} :; then :
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10972 $as_echo "not found" >&6; }
10973 if test -f /usr/X11R6/lib/libGL.a
10974 then
10975 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10976 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10977 else
10978 opengl_msg="No OpenGL library found on this system."
10980 else
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10982 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10984 cat >>confdefs.h <<_ACEOF
10985 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10986 _ACEOF
10988 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"
10990 else
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10992 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10994 cat >>confdefs.h <<_ACEOF
10995 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10996 _ACEOF
10998 OPENGL_LIBS="-lGL"
11000 if test "x$with_glu" != "xno"
11001 then
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11003 $as_echo_n "checking for -lGLU... " >&6; }
11004 if ${ac_cv_lib_soname_GLU+:} false; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 ac_check_soname_save_LIBS=$LIBS
11008 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11015 #ifdef __cplusplus
11016 extern "C"
11017 #endif
11018 char gluLookAt ();
11020 main ()
11022 return gluLookAt ();
11024 return 0;
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 case "$LIBEXT" in
11029 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11030 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11031 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11032 if ${ac_cv_lib_soname_GLU:+false} :; then :
11033 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11034 fi ;;
11035 esac
11037 rm -f core conftest.err conftest.$ac_objext \
11038 conftest$ac_exeext conftest.$ac_ext
11039 LIBS=$ac_check_soname_save_LIBS
11041 if ${ac_cv_lib_soname_GLU:+false} :; then :
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11043 $as_echo "not found" >&6; }
11045 else
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11047 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11049 cat >>confdefs.h <<_ACEOF
11050 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11051 _ACEOF
11055 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11056 case "x$with_glu" in
11057 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11058 xno) ;;
11059 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11060 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11061 esac
11066 if test "x$with_osmesa" != "xno"
11067 then
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11069 $as_echo_n "checking for -lOSMesa... " >&6; }
11070 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11071 $as_echo_n "(cached) " >&6
11072 else
11073 ac_check_soname_save_LIBS=$LIBS
11074 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11078 /* Override any GCC internal prototype to avoid an error.
11079 Use char because int might match the return type of a GCC
11080 builtin and then its argument prototype would still apply. */
11081 #ifdef __cplusplus
11082 extern "C"
11083 #endif
11084 char OSMesaGetProcAddress ();
11086 main ()
11088 return OSMesaGetProcAddress ();
11090 return 0;
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"; then :
11094 case "$LIBEXT" in
11095 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11096 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'` ;;
11097 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11098 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11099 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11100 fi ;;
11101 esac
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11105 LIBS=$ac_check_soname_save_LIBS
11107 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11109 $as_echo "not found" >&6; }
11111 else
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11113 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11115 cat >>confdefs.h <<_ACEOF
11116 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11117 _ACEOF
11121 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11122 case "x$with_osmesa" in
11123 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11124 xno) ;;
11125 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11126 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11127 esac
11132 if test -n "$opengl_msg"; then :
11133 case "x$with_opengl" in
11134 x) as_fn_append wine_warnings "|$opengl_msg
11135 OpenGL and Direct3D won't be supported." ;;
11136 xno) ;;
11137 *) as_fn_error $? "$opengl_msg
11138 OpenGL and Direct3D won't be supported.
11139 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11140 esac
11144 CPPFLAGS="$ac_save_CPPFLAGS"
11145 else
11146 X_CFLAGS=""
11147 X_LIBS=""
11150 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11151 then
11152 if test "x$X_LIBS" = "x"; then :
11153 case "x$with_x" in
11154 xno) ;;
11155 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11156 without X support, which probably isn't what you want. You will need
11157 to install ${notice_platform}development packages of Xlib at the very least.
11158 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11159 esac
11160 enable_winex11_drv=${enable_winex11_drv:-no}
11162 else
11163 if test "x$X_LIBS" = "x"; then :
11164 case "x$with_x" in
11165 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11166 xno) ;;
11167 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11168 This is an error since --with-x was requested." "$LINENO" 5 ;;
11169 esac
11170 enable_winex11_drv=${enable_winex11_drv:-no}
11174 if test "$ac_cv_header_CL_cl_h" = "yes"
11175 then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11177 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11178 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11179 $as_echo_n "(cached) " >&6
11180 else
11181 ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-lOpenCL $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char clGetPlatformInfo ();
11194 main ()
11196 return clGetPlatformInfo ();
11198 return 0;
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11203 else
11204 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11211 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11212 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11213 OPENCL_LIBS="-lOpenCL"
11218 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11219 case "x$with_opencl" in
11220 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11221 xno) ;;
11222 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11223 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11224 esac
11225 enable_opencl=${enable_opencl:-no}
11228 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11229 then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11231 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11232 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lpcap $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char pcap_create ();
11248 main ()
11250 return pcap_create ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 ac_cv_lib_pcap_pcap_create=yes
11257 else
11258 ac_cv_lib_pcap_pcap_create=no
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11265 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11266 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11267 PCAP_LIBS="-lpcap"
11272 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11273 case "x$with_pcap" in
11274 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11275 xno) ;;
11276 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11277 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11278 esac
11279 enable_wpcap=${enable_wpcap:-no}
11283 if test "x$with_xml" != "xno"
11284 then
11285 if ${XML2_CFLAGS:+false} :; then :
11286 if ${PKG_CONFIG+:} false; then :
11287 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11290 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11291 if ${XML2_LIBS:+false} :; then :
11292 if ${PKG_CONFIG+:} false; then :
11293 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11296 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11297 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11298 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11299 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11300 ac_save_CPPFLAGS=$CPPFLAGS
11301 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11302 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11303 do :
11304 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11305 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11306 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11307 cat >>confdefs.h <<_ACEOF
11308 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11309 _ACEOF
11313 done
11315 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"
11316 then
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11318 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11319 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11320 $as_echo_n "(cached) " >&6
11321 else
11322 ac_check_lib_save_LIBS=$LIBS
11323 LIBS="-lxml2 $XML2_LIBS $LIBS"
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11327 /* Override any GCC internal prototype to avoid an error.
11328 Use char because int might match the return type of a GCC
11329 builtin and then its argument prototype would still apply. */
11330 #ifdef __cplusplus
11331 extern "C"
11332 #endif
11333 char xmlParseMemory ();
11335 main ()
11337 return xmlParseMemory ();
11339 return 0;
11341 _ACEOF
11342 if ac_fn_c_try_link "$LINENO"; then :
11343 ac_cv_lib_xml2_xmlParseMemory=yes
11344 else
11345 ac_cv_lib_xml2_xmlParseMemory=no
11347 rm -f core conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_lib_save_LIBS
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11352 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11353 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11355 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11357 else
11358 XML2_LIBS=""
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11362 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11363 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-lxml2 $XML2_LIBS $LIBS"
11368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11371 /* Override any GCC internal prototype to avoid an error.
11372 Use char because int might match the return type of a GCC
11373 builtin and then its argument prototype would still apply. */
11374 #ifdef __cplusplus
11375 extern "C"
11376 #endif
11377 char xmlReadMemory ();
11379 main ()
11381 return xmlReadMemory ();
11383 return 0;
11385 _ACEOF
11386 if ac_fn_c_try_link "$LINENO"; then :
11387 ac_cv_lib_xml2_xmlReadMemory=yes
11388 else
11389 ac_cv_lib_xml2_xmlReadMemory=no
11391 rm -f core conftest.err conftest.$ac_objext \
11392 conftest$ac_exeext conftest.$ac_ext
11393 LIBS=$ac_check_lib_save_LIBS
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11396 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11397 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11399 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11404 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11405 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_lib_save_LIBS=$LIBS
11409 LIBS="-lxml2 $XML2_LIBS $LIBS"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11416 #ifdef __cplusplus
11417 extern "C"
11418 #endif
11419 char xmlNewDocPI ();
11421 main ()
11423 return xmlNewDocPI ();
11425 return 0;
11427 _ACEOF
11428 if ac_fn_c_try_link "$LINENO"; then :
11429 ac_cv_lib_xml2_xmlNewDocPI=yes
11430 else
11431 ac_cv_lib_xml2_xmlNewDocPI=no
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_lib_save_LIBS
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11438 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11439 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11441 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11446 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11447 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-lxml2 $XML2_LIBS $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char xmlSchemaSetParserStructuredErrors ();
11463 main ()
11465 return xmlSchemaSetParserStructuredErrors ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11472 else
11473 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_lib_save_LIBS
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11480 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11481 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11483 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11488 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11489 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11490 $as_echo_n "(cached) " >&6
11491 else
11492 ac_check_lib_save_LIBS=$LIBS
11493 LIBS="-lxml2 $XML2_LIBS $LIBS"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11500 #ifdef __cplusplus
11501 extern "C"
11502 #endif
11503 char xmlSchemaSetValidStructuredErrors ();
11505 main ()
11507 return xmlSchemaSetValidStructuredErrors ();
11509 return 0;
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"; then :
11513 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11514 else
11515 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11517 rm -f core conftest.err conftest.$ac_objext \
11518 conftest$ac_exeext conftest.$ac_ext
11519 LIBS=$ac_check_lib_save_LIBS
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11522 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11523 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11525 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11530 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11531 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11532 $as_echo_n "(cached) " >&6
11533 else
11534 ac_check_lib_save_LIBS=$LIBS
11535 LIBS="-lxml2 $XML2_LIBS $LIBS"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11542 #ifdef __cplusplus
11543 extern "C"
11544 #endif
11545 char xmlFirstElementChild ();
11547 main ()
11549 return xmlFirstElementChild ();
11551 return 0;
11553 _ACEOF
11554 if ac_fn_c_try_link "$LINENO"; then :
11555 ac_cv_lib_xml2_xmlFirstElementChild=yes
11556 else
11557 ac_cv_lib_xml2_xmlFirstElementChild=no
11559 rm -f core conftest.err conftest.$ac_objext \
11560 conftest$ac_exeext conftest.$ac_ext
11561 LIBS=$ac_check_lib_save_LIBS
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11564 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11565 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11567 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11571 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11573 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11575 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11579 else
11580 XML2_CFLAGS=""
11581 XML2_LIBS=""
11583 CPPFLAGS=$ac_save_CPPFLAGS
11584 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11585 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11588 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11589 case "x$with_xml" in
11590 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11591 xno) ;;
11592 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11593 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11594 esac
11598 if test "x$with_xslt" != "xno"
11599 then
11600 if ${XSLT_CFLAGS:+false} :; then :
11601 if ${PKG_CONFIG+:} false; then :
11602 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11605 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11606 if ${XSLT_LIBS:+false} :; then :
11607 if ${PKG_CONFIG+:} false; then :
11608 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11611 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11612 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11613 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11614 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11615 ac_save_CPPFLAGS=$CPPFLAGS
11616 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11617 for ac_header in libxslt/pattern.h libxslt/transform.h
11618 do :
11619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11621 # include <libxslt/pattern.h>
11622 #endif
11624 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11625 cat >>confdefs.h <<_ACEOF
11626 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11627 _ACEOF
11631 done
11633 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11634 then
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11636 $as_echo_n "checking for -lxslt... " >&6; }
11637 if ${ac_cv_lib_soname_xslt+:} false; then :
11638 $as_echo_n "(cached) " >&6
11639 else
11640 ac_check_soname_save_LIBS=$LIBS
11641 LIBS="-lxslt $XSLT_LIBS $LIBS"
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11645 /* Override any GCC internal prototype to avoid an error.
11646 Use char because int might match the return type of a GCC
11647 builtin and then its argument prototype would still apply. */
11648 #ifdef __cplusplus
11649 extern "C"
11650 #endif
11651 char xsltCompilePattern ();
11653 main ()
11655 return xsltCompilePattern ();
11657 return 0;
11659 _ACEOF
11660 if ac_fn_c_try_link "$LINENO"; then :
11661 case "$LIBEXT" in
11662 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11663 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'` ;;
11664 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11665 if ${ac_cv_lib_soname_xslt:+false} :; then :
11666 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11667 fi ;;
11668 esac
11670 rm -f core conftest.err conftest.$ac_objext \
11671 conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_soname_save_LIBS
11674 if ${ac_cv_lib_soname_xslt:+false} :; then :
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11676 $as_echo "not found" >&6; }
11678 else
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11680 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11682 cat >>confdefs.h <<_ACEOF
11683 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11684 _ACEOF
11688 else
11689 XSLT_CFLAGS=""
11691 CPPFLAGS=$ac_save_CPPFLAGS
11692 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11693 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11696 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11697 case "x$with_xslt" in
11698 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11699 xno) ;;
11700 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11701 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11702 esac
11706 if test "x$with_dbus" != "xno"
11707 then
11708 if ${DBUS_CFLAGS:+false} :; then :
11709 if ${PKG_CONFIG+:} false; then :
11710 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11714 if ${DBUS_LIBS:+false} :; then :
11715 if ${PKG_CONFIG+:} false; then :
11716 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11721 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11722 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11723 ac_save_CPPFLAGS=$CPPFLAGS
11724 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11725 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11726 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11728 $as_echo_n "checking for -ldbus-1... " >&6; }
11729 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_soname_save_LIBS=$LIBS
11733 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char dbus_connection_close ();
11745 main ()
11747 return dbus_connection_close ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 case "$LIBEXT" in
11754 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11755 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'` ;;
11756 *) 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'`
11757 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11758 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11759 fi ;;
11760 esac
11762 rm -f core conftest.err conftest.$ac_objext \
11763 conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_soname_save_LIBS
11766 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11768 $as_echo "not found" >&6; }
11769 DBUS_CFLAGS=""
11770 else
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11772 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11774 cat >>confdefs.h <<_ACEOF
11775 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11776 _ACEOF
11780 else
11781 DBUS_CFLAGS=""
11785 CPPFLAGS=$ac_save_CPPFLAGS
11786 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11787 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11790 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11791 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11792 case "x$with_dbus" in
11793 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11794 xno) ;;
11795 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11796 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11797 esac
11801 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11802 then
11803 if ${HAL_CFLAGS:+false} :; then :
11804 if ${PKG_CONFIG+:} false; then :
11805 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11809 if ${HAL_LIBS:+false} :; then :
11810 if ${PKG_CONFIG+:} false; then :
11811 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11815 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11816 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11817 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11818 ac_save_CPPFLAGS=$CPPFLAGS
11819 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11820 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11821 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11823 $as_echo_n "checking for -lhal... " >&6; }
11824 if ${ac_cv_lib_soname_hal+:} false; then :
11825 $as_echo_n "(cached) " >&6
11826 else
11827 ac_check_soname_save_LIBS=$LIBS
11828 LIBS="-lhal $HAL_LIBS $LIBS"
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11835 #ifdef __cplusplus
11836 extern "C"
11837 #endif
11838 char libhal_ctx_new ();
11840 main ()
11842 return libhal_ctx_new ();
11844 return 0;
11846 _ACEOF
11847 if ac_fn_c_try_link "$LINENO"; then :
11848 case "$LIBEXT" in
11849 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11850 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'` ;;
11851 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11852 if ${ac_cv_lib_soname_hal:+false} :; then :
11853 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11854 fi ;;
11855 esac
11857 rm -f core conftest.err conftest.$ac_objext \
11858 conftest$ac_exeext conftest.$ac_ext
11859 LIBS=$ac_check_soname_save_LIBS
11861 if ${ac_cv_lib_soname_hal:+false} :; then :
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11863 $as_echo "not found" >&6; }
11864 HAL_CFLAGS=""
11865 else
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11867 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11869 cat >>confdefs.h <<_ACEOF
11870 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11871 _ACEOF
11875 else
11876 HAL_CFLAGS=""
11880 CPPFLAGS=$ac_save_CPPFLAGS
11881 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11882 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11884 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11885 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11886 case "x$with_hal" in
11887 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11888 xno) ;;
11889 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11890 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11891 esac
11896 if test "x$with_gnutls" != "xno"
11897 then
11898 if ${GNUTLS_CFLAGS:+false} :; then :
11899 if ${PKG_CONFIG+:} false; then :
11900 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11904 if ${GNUTLS_LIBS:+false} :; then :
11905 if ${PKG_CONFIG+:} false; then :
11906 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11911 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11912 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11913 ac_save_CPPFLAGS=$CPPFLAGS
11914 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11915 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11916 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11919 #include <gnutls/gnutls.h>
11920 #include <gnutls/crypto.h>
11922 main ()
11924 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11926 return 0;
11928 _ACEOF
11929 if ac_fn_c_try_compile "$LINENO"; then :
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11931 $as_echo_n "checking for -lgnutls... " >&6; }
11932 if ${ac_cv_lib_soname_gnutls+:} false; then :
11933 $as_echo_n "(cached) " >&6
11934 else
11935 ac_check_soname_save_LIBS=$LIBS
11936 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11940 /* Override any GCC internal prototype to avoid an error.
11941 Use char because int might match the return type of a GCC
11942 builtin and then its argument prototype would still apply. */
11943 #ifdef __cplusplus
11944 extern "C"
11945 #endif
11946 char gnutls_global_init ();
11948 main ()
11950 return gnutls_global_init ();
11952 return 0;
11954 _ACEOF
11955 if ac_fn_c_try_link "$LINENO"; then :
11956 case "$LIBEXT" in
11957 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11958 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'` ;;
11959 *) 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'`
11960 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11961 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'`
11962 fi ;;
11963 esac
11965 rm -f core conftest.err conftest.$ac_objext \
11966 conftest$ac_exeext conftest.$ac_ext
11967 LIBS=$ac_check_soname_save_LIBS
11969 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11971 $as_echo "not found" >&6; }
11972 GNUTLS_CFLAGS=""
11973 else
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11975 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11977 cat >>confdefs.h <<_ACEOF
11978 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11979 _ACEOF
11983 ac_wine_check_funcs_save_LIBS="$LIBS"
11984 LIBS="$LIBS $GNUTLS_LIBS"
11985 for ac_func in gnutls_hash
11986 do :
11987 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11988 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11989 cat >>confdefs.h <<_ACEOF
11990 #define HAVE_GNUTLS_HASH 1
11991 _ACEOF
11993 else
11994 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11996 done
11998 LIBS="$ac_wine_check_funcs_save_LIBS"
12000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12001 else
12002 GNUTLS_CFLAGS=""
12006 CPPFLAGS=$ac_save_CPPFLAGS
12007 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12008 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12011 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12012 case "x$with_gnutls" in
12013 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12014 xno) ;;
12015 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12016 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12017 esac
12021 CURSES_LIBS=""
12022 if test "$ac_cv_header_ncurses_h" = "yes"
12023 then
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12025 $as_echo_n "checking for -lncurses... " >&6; }
12026 if ${ac_cv_lib_soname_ncurses+:} false; then :
12027 $as_echo_n "(cached) " >&6
12028 else
12029 ac_check_soname_save_LIBS=$LIBS
12030 LIBS="-lncurses $LIBS"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char waddch ();
12042 main ()
12044 return waddch ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 case "$LIBEXT" in
12051 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12052 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'` ;;
12053 *) 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'`
12054 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12055 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12056 fi ;;
12057 esac
12059 rm -f core conftest.err conftest.$ac_objext \
12060 conftest$ac_exeext conftest.$ac_ext
12061 LIBS=$ac_check_soname_save_LIBS
12063 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12065 $as_echo "not found" >&6; }
12067 else
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12069 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12071 cat >>confdefs.h <<_ACEOF
12072 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12073 _ACEOF
12075 CURSES_LIBS="-lncurses"
12077 elif test "$ac_cv_header_curses_h" = "yes"
12078 then
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12080 $as_echo_n "checking for -lcurses... " >&6; }
12081 if ${ac_cv_lib_soname_curses+:} false; then :
12082 $as_echo_n "(cached) " >&6
12083 else
12084 ac_check_soname_save_LIBS=$LIBS
12085 LIBS="-lcurses $LIBS"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12092 #ifdef __cplusplus
12093 extern "C"
12094 #endif
12095 char waddch ();
12097 main ()
12099 return waddch ();
12101 return 0;
12103 _ACEOF
12104 if ac_fn_c_try_link "$LINENO"; then :
12105 case "$LIBEXT" in
12106 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12107 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'` ;;
12108 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12109 if ${ac_cv_lib_soname_curses:+false} :; then :
12110 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12111 fi ;;
12112 esac
12114 rm -f core conftest.err conftest.$ac_objext \
12115 conftest$ac_exeext conftest.$ac_ext
12116 LIBS=$ac_check_soname_save_LIBS
12118 if ${ac_cv_lib_soname_curses:+false} :; then :
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12120 $as_echo "not found" >&6; }
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12124 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12126 cat >>confdefs.h <<_ACEOF
12127 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12128 _ACEOF
12130 CURSES_LIBS="-lcurses"
12133 ac_save_LIBS="$LIBS"
12134 LIBS="$LIBS $CURSES_LIBS"
12135 for ac_func in mousemask
12136 do :
12137 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12138 if test "x$ac_cv_func_mousemask" = xyes; then :
12139 cat >>confdefs.h <<_ACEOF
12140 #define HAVE_MOUSEMASK 1
12141 _ACEOF
12144 done
12146 LIBS="$ac_save_LIBS"
12147 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12148 case "x$with_curses" in
12149 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12150 xno) ;;
12151 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12152 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12153 esac
12157 if test "x$with_sane" != "xno"
12158 then
12159 if ${SANE_CFLAGS:+false} :; then :
12160 if ${PKG_CONFIG+:} false; then :
12161 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12164 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12165 if ${SANE_LIBS:+false} :; then :
12166 if ${PKG_CONFIG+:} false; then :
12167 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12170 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12172 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12173 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12174 ac_save_CPPFLAGS=$CPPFLAGS
12175 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12176 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12177 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12179 $as_echo_n "checking for -lsane... " >&6; }
12180 if ${ac_cv_lib_soname_sane+:} false; then :
12181 $as_echo_n "(cached) " >&6
12182 else
12183 ac_check_soname_save_LIBS=$LIBS
12184 LIBS="-lsane $SANE_LIBS $LIBS"
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12188 /* Override any GCC internal prototype to avoid an error.
12189 Use char because int might match the return type of a GCC
12190 builtin and then its argument prototype would still apply. */
12191 #ifdef __cplusplus
12192 extern "C"
12193 #endif
12194 char sane_init ();
12196 main ()
12198 return sane_init ();
12200 return 0;
12202 _ACEOF
12203 if ac_fn_c_try_link "$LINENO"; then :
12204 case "$LIBEXT" in
12205 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12206 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'` ;;
12207 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12208 if ${ac_cv_lib_soname_sane:+false} :; then :
12209 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12210 fi ;;
12211 esac
12213 rm -f core conftest.err conftest.$ac_objext \
12214 conftest$ac_exeext conftest.$ac_ext
12215 LIBS=$ac_check_soname_save_LIBS
12217 if ${ac_cv_lib_soname_sane:+false} :; then :
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12219 $as_echo "not found" >&6; }
12220 SANE_CFLAGS=""
12221 else
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12223 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12225 cat >>confdefs.h <<_ACEOF
12226 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12227 _ACEOF
12231 else
12232 SANE_CFLAGS=""
12236 CPPFLAGS=$ac_save_CPPFLAGS
12237 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12238 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12241 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12242 case "x$with_sane" in
12243 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12244 xno) ;;
12245 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12246 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12247 esac
12251 if test "x$with_v4l" != "xno"
12252 then
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12254 $as_echo_n "checking for -lv4l1... " >&6; }
12255 if ${ac_cv_lib_soname_v4l1+:} false; then :
12256 $as_echo_n "(cached) " >&6
12257 else
12258 ac_check_soname_save_LIBS=$LIBS
12259 LIBS="-lv4l1 $LIBS"
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 /* Override any GCC internal prototype to avoid an error.
12264 Use char because int might match the return type of a GCC
12265 builtin and then its argument prototype would still apply. */
12266 #ifdef __cplusplus
12267 extern "C"
12268 #endif
12269 char v4l1_open ();
12271 main ()
12273 return v4l1_open ();
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_link "$LINENO"; then :
12279 case "$LIBEXT" in
12280 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12281 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'` ;;
12282 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12283 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12284 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12285 fi ;;
12286 esac
12288 rm -f core conftest.err conftest.$ac_objext \
12289 conftest$ac_exeext conftest.$ac_ext
12290 LIBS=$ac_check_soname_save_LIBS
12292 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12294 $as_echo "not found" >&6; }
12296 else
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12298 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12300 cat >>confdefs.h <<_ACEOF
12301 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12302 _ACEOF
12307 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12308 case "x$with_v4l" in
12309 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12310 xno) ;;
12311 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12312 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12313 esac
12317 if test "x$with_gphoto" != "xno"
12318 then
12319 if ${GPHOTO2_CFLAGS:+false} :; then :
12320 if ${PKG_CONFIG+:} false; then :
12321 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12324 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12325 if ${GPHOTO2_LIBS:+false} :; then :
12326 if ${PKG_CONFIG+:} false; then :
12327 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12330 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12331 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12332 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12333 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12334 ac_save_CPPFLAGS=$CPPFLAGS
12335 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12336 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12337 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12339 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12340 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12341 $as_echo_n "(cached) " >&6
12342 else
12343 ac_check_lib_save_LIBS=$LIBS
12344 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h. */
12348 /* Override any GCC internal prototype to avoid an error.
12349 Use char because int might match the return type of a GCC
12350 builtin and then its argument prototype would still apply. */
12351 #ifdef __cplusplus
12352 extern "C"
12353 #endif
12354 char gp_camera_new ();
12356 main ()
12358 return gp_camera_new ();
12360 return 0;
12362 _ACEOF
12363 if ac_fn_c_try_link "$LINENO"; then :
12364 ac_cv_lib_gphoto2_gp_camera_new=yes
12365 else
12366 ac_cv_lib_gphoto2_gp_camera_new=no
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 LIBS=$ac_check_lib_save_LIBS
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12373 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12374 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12376 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12378 else
12379 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12382 else
12383 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12387 CPPFLAGS=$ac_save_CPPFLAGS
12388 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12389 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12391 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12392 if ${PKG_CONFIG+:} false; then :
12393 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12396 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12397 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12398 if ${PKG_CONFIG+:} false; then :
12399 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12402 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12403 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12404 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12405 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12406 ac_save_CPPFLAGS=$CPPFLAGS
12407 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12408 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12409 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12411 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12412 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12413 $as_echo_n "(cached) " >&6
12414 else
12415 ac_check_lib_save_LIBS=$LIBS
12416 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12420 /* Override any GCC internal prototype to avoid an error.
12421 Use char because int might match the return type of a GCC
12422 builtin and then its argument prototype would still apply. */
12423 #ifdef __cplusplus
12424 extern "C"
12425 #endif
12426 char gp_port_info_list_new ();
12428 main ()
12430 return gp_port_info_list_new ();
12432 return 0;
12434 _ACEOF
12435 if ac_fn_c_try_link "$LINENO"; then :
12436 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12437 else
12438 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12440 rm -f core conftest.err conftest.$ac_objext \
12441 conftest$ac_exeext conftest.$ac_ext
12442 LIBS=$ac_check_lib_save_LIBS
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12445 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12446 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12448 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12450 else
12451 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12454 else
12455 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12459 CPPFLAGS=$ac_save_CPPFLAGS
12460 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12461 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12464 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12465 case "x$with_gphoto" in
12466 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12467 xno) ;;
12468 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12469 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12470 esac
12473 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12474 case "x$with_gphoto" in
12475 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12476 xno) ;;
12477 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12478 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12479 esac
12484 if test "$ac_cv_header_resolv_h" = "yes"
12485 then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12487 $as_echo_n "checking for resolver library... " >&6; }
12488 if ${ac_cv_have_resolv+:} false; then :
12489 $as_echo_n "(cached) " >&6
12490 else
12491 ac_save_LIBS="$LIBS"
12492 for lib in '' -lresolv
12494 LIBS="$lib $ac_save_LIBS"
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12497 #ifdef HAVE_NETINET_IN_H
12498 #include <netinet/in.h>
12499 #endif
12500 #include <resolv.h>
12502 main ()
12504 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 ac_cv_have_resolv=${lib:-"none required"}
12511 else
12512 ac_cv_have_resolv="not found"
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 test "x$ac_cv_have_resolv" = "xnot found" || break
12517 done
12518 LIBS="$ac_save_LIBS"
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12521 $as_echo "$ac_cv_have_resolv" >&6; }
12523 case "$ac_cv_have_resolv" in
12524 "not found") ;;
12525 "none required")
12527 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12530 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12532 RESOLV_LIBS=$ac_cv_have_resolv
12534 esac
12537 if test "x$with_cms" != "xno"
12538 then
12539 if ${LCMS2_CFLAGS:+false} :; then :
12540 if ${PKG_CONFIG+:} false; then :
12541 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12545 if ${LCMS2_LIBS:+false} :; then :
12546 if ${PKG_CONFIG+:} false; then :
12547 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12551 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12552 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12553 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12554 ac_save_CPPFLAGS=$CPPFLAGS
12555 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12556 for ac_header in lcms2.h
12557 do :
12558 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12559 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12560 cat >>confdefs.h <<_ACEOF
12561 #define HAVE_LCMS2_H 1
12562 _ACEOF
12566 done
12568 if test "$ac_cv_header_lcms2_h" = "yes"
12569 then
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12571 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12572 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12573 $as_echo_n "(cached) " >&6
12574 else
12575 ac_check_lib_save_LIBS=$LIBS
12576 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12580 /* Override any GCC internal prototype to avoid an error.
12581 Use char because int might match the return type of a GCC
12582 builtin and then its argument prototype would still apply. */
12583 #ifdef __cplusplus
12584 extern "C"
12585 #endif
12586 char cmsOpenProfileFromFile ();
12588 main ()
12590 return cmsOpenProfileFromFile ();
12592 return 0;
12594 _ACEOF
12595 if ac_fn_c_try_link "$LINENO"; then :
12596 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12597 else
12598 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12600 rm -f core conftest.err conftest.$ac_objext \
12601 conftest$ac_exeext conftest.$ac_ext
12602 LIBS=$ac_check_lib_save_LIBS
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12605 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12606 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12608 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12610 else
12611 LCMS2_LIBS=""
12614 else
12615 LCMS2_CFLAGS=""
12616 LCMS2_LIBS=""
12618 CPPFLAGS=$ac_save_CPPFLAGS
12619 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12620 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12623 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12624 case "x$with_cms" in
12625 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12626 xno) ;;
12627 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12628 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12629 esac
12633 if test "x$with_freetype" != "xno"
12634 then
12635 if ${FREETYPE_CFLAGS:+false} :; then :
12636 if ${PKG_CONFIG+:} false; then :
12637 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12640 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12641 if ${FREETYPE_LIBS:+false} :; then :
12642 if ${PKG_CONFIG+:} false; then :
12643 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12646 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12647 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12648 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12649 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12650 ac_save_CPPFLAGS=$CPPFLAGS
12651 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12652 for ac_header in ft2build.h
12653 do :
12654 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12655 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12656 cat >>confdefs.h <<_ACEOF
12657 #define HAVE_FT2BUILD_H 1
12658 _ACEOF
12662 done
12664 if test "$ac_cv_header_ft2build_h" = "yes"
12665 then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12667 $as_echo_n "checking for -lfreetype... " >&6; }
12668 if ${ac_cv_lib_soname_freetype+:} false; then :
12669 $as_echo_n "(cached) " >&6
12670 else
12671 ac_check_soname_save_LIBS=$LIBS
12672 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12676 /* Override any GCC internal prototype to avoid an error.
12677 Use char because int might match the return type of a GCC
12678 builtin and then its argument prototype would still apply. */
12679 #ifdef __cplusplus
12680 extern "C"
12681 #endif
12682 char FT_Init_FreeType ();
12684 main ()
12686 return FT_Init_FreeType ();
12688 return 0;
12690 _ACEOF
12691 if ac_fn_c_try_link "$LINENO"; then :
12692 case "$LIBEXT" in
12693 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12694 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'` ;;
12695 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12696 if ${ac_cv_lib_soname_freetype:+false} :; then :
12697 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12698 fi ;;
12699 esac
12701 rm -f core conftest.err conftest.$ac_objext \
12702 conftest$ac_exeext conftest.$ac_ext
12703 LIBS=$ac_check_soname_save_LIBS
12705 if ${ac_cv_lib_soname_freetype:+false} :; then :
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12707 $as_echo "not found" >&6; }
12708 FREETYPE_LIBS=""
12709 else
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12711 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12713 cat >>confdefs.h <<_ACEOF
12714 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12715 _ACEOF
12718 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12720 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12721 #include FT_MODULE_H
12723 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12725 cat >>confdefs.h <<_ACEOF
12726 #define HAVE_FT_TRUETYPEENGINETYPE 1
12727 _ACEOF
12733 else
12734 FREETYPE_CFLAGS=""
12735 FREETYPE_LIBS=""
12737 CPPFLAGS=$ac_save_CPPFLAGS
12738 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12739 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12742 if test "x$ac_cv_lib_soname_freetype" = x; then :
12743 case "x$with_freetype" in
12744 xno) ;;
12745 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12746 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12747 esac
12748 enable_fonts=${enable_fonts:-no}
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12752 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12753 if ${ac_cv_c_ppdev+:} false; then :
12754 $as_echo_n "(cached) " >&6
12755 else
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12758 #ifdef HAVE_SYS_IOCTL_H
12759 # include <sys/ioctl.h>
12760 #endif
12761 #include <linux/ppdev.h>
12763 main ()
12765 ioctl (1,PPCLAIM,0)
12767 return 0;
12769 _ACEOF
12770 if ac_fn_c_try_compile "$LINENO"; then :
12771 ac_cv_c_ppdev="yes"
12772 else
12773 ac_cv_c_ppdev="no"
12775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12778 $as_echo "$ac_cv_c_ppdev" >&6; }
12779 if test "$ac_cv_c_ppdev" = "yes"
12780 then
12782 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12786 ac_wine_check_funcs_save_LIBS="$LIBS"
12787 LIBS="$LIBS $PTHREAD_LIBS"
12788 for ac_func in \
12789 pthread_attr_get_np \
12790 pthread_getattr_np \
12791 pthread_getthreadid_np \
12792 pthread_get_stackaddr_np \
12793 pthread_get_stacksize_np
12794 do :
12795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12798 cat >>confdefs.h <<_ACEOF
12799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12800 _ACEOF
12803 done
12805 LIBS="$ac_wine_check_funcs_save_LIBS"
12807 if test "$ac_cv_header_zlib_h" = "yes"
12808 then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12810 $as_echo_n "checking for inflate in -lz... " >&6; }
12811 if ${ac_cv_lib_z_inflate+:} false; then :
12812 $as_echo_n "(cached) " >&6
12813 else
12814 ac_check_lib_save_LIBS=$LIBS
12815 LIBS="-lz $LIBS"
12816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12822 #ifdef __cplusplus
12823 extern "C"
12824 #endif
12825 char inflate ();
12827 main ()
12829 return inflate ();
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_link "$LINENO"; then :
12835 ac_cv_lib_z_inflate=yes
12836 else
12837 ac_cv_lib_z_inflate=no
12839 rm -f core conftest.err conftest.$ac_objext \
12840 conftest$ac_exeext conftest.$ac_ext
12841 LIBS=$ac_check_lib_save_LIBS
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12844 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12845 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12847 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12849 Z_LIBS="-lz"
12854 if test "x$Z_LIBS" = "x"; then :
12855 case "x$with_zlib" in
12856 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12857 xno) ;;
12858 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12859 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12860 esac
12864 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12865 then
12866 if test "$ac_cv_header_gettext_po_h" = "yes"
12867 then
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12869 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12870 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12871 $as_echo_n "(cached) " >&6
12872 else
12873 ac_check_lib_save_LIBS=$LIBS
12874 LIBS="-lgettextpo $LIBS"
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12881 #ifdef __cplusplus
12882 extern "C"
12883 #endif
12884 char po_message_msgctxt ();
12886 main ()
12888 return po_message_msgctxt ();
12890 return 0;
12892 _ACEOF
12893 if ac_fn_c_try_link "$LINENO"; then :
12894 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12895 else
12896 ac_cv_lib_gettextpo_po_message_msgctxt=no
12898 rm -f core conftest.err conftest.$ac_objext \
12899 conftest$ac_exeext conftest.$ac_ext
12900 LIBS=$ac_check_lib_save_LIBS
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12903 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12904 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12906 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12908 GETTEXTPO_LIBS="-lgettextpo"
12913 if test "x$GETTEXTPO_LIBS" = "x"; then :
12914 case "x$with_gettextpo" in
12915 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12916 xno) ;;
12917 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12918 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12919 esac
12922 if test "$srcdir" != .; then :
12923 case "x$with_gettextpo" in
12924 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12925 xno) ;;
12926 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12927 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12928 esac
12933 if test "x$with_pulse" != "xno";
12934 then
12935 if ${PULSE_CFLAGS:+false} :; then :
12936 if ${PKG_CONFIG+:} false; then :
12937 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12941 if ${PULSE_LIBS:+false} :; then :
12942 if ${PKG_CONFIG+:} false; then :
12943 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12948 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12949 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12950 ac_save_CPPFLAGS=$CPPFLAGS
12951 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12952 for ac_header in pulse/pulseaudio.h
12953 do :
12954 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12955 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12956 cat >>confdefs.h <<_ACEOF
12957 #define HAVE_PULSE_PULSEAUDIO_H 1
12958 _ACEOF
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12960 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12961 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12962 $as_echo_n "(cached) " >&6
12963 else
12964 ac_check_lib_save_LIBS=$LIBS
12965 LIBS="-lpulse $PULSE_LIBS $LIBS"
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12972 #ifdef __cplusplus
12973 extern "C"
12974 #endif
12975 char pa_stream_is_corked ();
12977 main ()
12979 return pa_stream_is_corked ();
12981 return 0;
12983 _ACEOF
12984 if ac_fn_c_try_link "$LINENO"; then :
12985 ac_cv_lib_pulse_pa_stream_is_corked=yes
12986 else
12987 ac_cv_lib_pulse_pa_stream_is_corked=no
12989 rm -f core conftest.err conftest.$ac_objext \
12990 conftest$ac_exeext conftest.$ac_ext
12991 LIBS=$ac_check_lib_save_LIBS
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12994 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12995 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12997 else
12998 PULSE_LIBS=""
13001 else
13002 PULSE_LIBS=""
13005 done
13007 CPPFLAGS=$ac_save_CPPFLAGS
13008 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13009 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13012 if test -z "$PULSE_LIBS"; then :
13013 case "x$with_pulse" in
13014 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13015 xno) ;;
13016 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13017 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13018 esac
13019 enable_winepulse_drv=${enable_winepulse_drv:-no}
13022 if test "x$with_gstreamer" != "xno"
13023 then
13024 if ${GSTREAMER_CFLAGS:+false} :; then :
13025 if ${PKG_CONFIG+:} false; then :
13026 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13030 if ${GSTREAMER_LIBS:+false} :; then :
13031 if ${PKG_CONFIG+:} false; then :
13032 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13037 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13038 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13039 ac_save_CPPFLAGS=$CPPFLAGS
13040 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13041 ac_gst_incl=""
13042 for i in $GSTREAMER_CFLAGS
13044 case "$i" in
13045 -I*) ac_gst_incl="$ac_gst_incl $i";;
13046 esac
13047 done
13048 GSTREAMER_CFLAGS=$ac_gst_incl
13049 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13050 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13051 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13053 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13056 #include <gst/gst.h>
13058 main ()
13060 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13062 return 0;
13064 _ACEOF
13065 if ac_fn_c_try_compile "$LINENO"; then :
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13067 $as_echo "yes" >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13069 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13070 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13071 $as_echo_n "(cached) " >&6
13072 else
13073 ac_check_lib_save_LIBS=$LIBS
13074 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13078 /* Override any GCC internal prototype to avoid an error.
13079 Use char because int might match the return type of a GCC
13080 builtin and then its argument prototype would still apply. */
13081 #ifdef __cplusplus
13082 extern "C"
13083 #endif
13084 char gst_pad_new ();
13086 main ()
13088 return gst_pad_new ();
13090 return 0;
13092 _ACEOF
13093 if ac_fn_c_try_link "$LINENO"; then :
13094 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13095 else
13096 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13098 rm -f core conftest.err conftest.$ac_objext \
13099 conftest$ac_exeext conftest.$ac_ext
13100 LIBS=$ac_check_lib_save_LIBS
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13103 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13104 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13108 else
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13110 $as_echo "no" >&6; }
13111 ac_glib2_broken=yes
13112 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13118 CPPFLAGS=$ac_save_CPPFLAGS
13119 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13120 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13123 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 :
13124 case "x$with_gstreamer" in
13125 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13126 xno) ;;
13127 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13128 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13129 esac
13132 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13134 ALSA_LIBS=""
13136 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13137 then
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13139 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13140 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13141 $as_echo_n "(cached) " >&6
13142 else
13143 ac_check_lib_save_LIBS=$LIBS
13144 LIBS="-lasound $LIBS"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13151 #ifdef __cplusplus
13152 extern "C"
13153 #endif
13154 char snd_pcm_hw_params_get_access_mask ();
13156 main ()
13158 return snd_pcm_hw_params_get_access_mask ();
13160 return 0;
13162 _ACEOF
13163 if ac_fn_c_try_link "$LINENO"; then :
13164 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13165 else
13166 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13168 rm -f core conftest.err conftest.$ac_objext \
13169 conftest$ac_exeext conftest.$ac_ext
13170 LIBS=$ac_check_lib_save_LIBS
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13173 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13174 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13176 /* end confdefs.h. */
13177 #ifdef HAVE_ALSA_ASOUNDLIB_H
13178 #include <alsa/asoundlib.h>
13179 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13180 #include <sys/asoundlib.h>
13181 #endif
13183 main ()
13185 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13187 return 0;
13189 _ACEOF
13190 if ac_fn_c_try_compile "$LINENO"; then :
13191 ALSA_LIBS="-lasound"
13193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13197 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13199 if test "x$with_oss" != xno
13200 then
13201 ac_save_CPPFLAGS="$CPPFLAGS"
13202 if test -f /etc/oss.conf
13203 then
13204 . /etc/oss.conf
13206 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13207 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13208 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13209 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13210 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13212 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13214 cat >>confdefs.h <<_ACEOF
13215 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13216 _ACEOF
13218 OSS4_CFLAGS="$ac_oss_incl"
13225 CPPFLAGS="$ac_save_CPPFLAGS"
13227 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13228 case "x$with_oss" in
13229 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13230 xno) ;;
13231 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13232 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13233 esac
13234 enable_wineoss_drv=${enable_wineoss_drv:-no}
13237 if test "x$with_udev" != "xno"
13238 then
13239 if ${UDEV_CFLAGS:+false} :; then :
13240 if ${PKG_CONFIG+:} false; then :
13241 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13245 if ${UDEV_LIBS:+false} :; then :
13246 if ${PKG_CONFIG+:} false; then :
13247 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13251 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13252 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13253 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13254 ac_save_CPPFLAGS=$CPPFLAGS
13255 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13256 for ac_header in libudev.h
13257 do :
13258 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13259 if test "x$ac_cv_header_libudev_h" = xyes; then :
13260 cat >>confdefs.h <<_ACEOF
13261 #define HAVE_LIBUDEV_H 1
13262 _ACEOF
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13264 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13265 if ${ac_cv_lib_udev_udev_new+:} false; then :
13266 $as_echo_n "(cached) " >&6
13267 else
13268 ac_check_lib_save_LIBS=$LIBS
13269 LIBS="-ludev $UDEV_LIBS $LIBS"
13270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13273 /* Override any GCC internal prototype to avoid an error.
13274 Use char because int might match the return type of a GCC
13275 builtin and then its argument prototype would still apply. */
13276 #ifdef __cplusplus
13277 extern "C"
13278 #endif
13279 char udev_new ();
13281 main ()
13283 return udev_new ();
13285 return 0;
13287 _ACEOF
13288 if ac_fn_c_try_link "$LINENO"; then :
13289 ac_cv_lib_udev_udev_new=yes
13290 else
13291 ac_cv_lib_udev_udev_new=no
13293 rm -f core conftest.err conftest.$ac_objext \
13294 conftest$ac_exeext conftest.$ac_ext
13295 LIBS=$ac_check_lib_save_LIBS
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13298 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13299 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13301 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13303 else
13304 UDEV_LIBS=""
13307 else
13308 UDEV_LIBS=""
13311 done
13313 CPPFLAGS=$ac_save_CPPFLAGS
13314 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13315 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13318 if test "x$UDEV_LIBS" = "x"; then :
13319 case "x$with_udev" in
13320 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13321 xno) ;;
13322 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13323 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13324 esac
13328 if test "x$with_capi" != "xno"
13329 then
13330 if ${CAPI20_CFLAGS:+false} :; then :
13331 if ${PKG_CONFIG+:} false; then :
13332 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13336 if ${CAPI20_LIBS:+false} :; then :
13337 if ${PKG_CONFIG+:} false; then :
13338 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13343 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13344 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13345 ac_save_CPPFLAGS=$CPPFLAGS
13346 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13347 for ac_header in capi20.h linux/capi.h
13348 do :
13349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13350 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13352 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13353 cat >>confdefs.h <<_ACEOF
13354 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13355 _ACEOF
13359 done
13361 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13362 then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13364 $as_echo_n "checking for -lcapi20... " >&6; }
13365 if ${ac_cv_lib_soname_capi20+:} false; then :
13366 $as_echo_n "(cached) " >&6
13367 else
13368 ac_check_soname_save_LIBS=$LIBS
13369 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13376 #ifdef __cplusplus
13377 extern "C"
13378 #endif
13379 char capi20_register ();
13381 main ()
13383 return capi20_register ();
13385 return 0;
13387 _ACEOF
13388 if ac_fn_c_try_link "$LINENO"; then :
13389 case "$LIBEXT" in
13390 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13391 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'` ;;
13392 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13393 if ${ac_cv_lib_soname_capi20:+false} :; then :
13394 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13395 fi ;;
13396 esac
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_soname_save_LIBS
13402 if ${ac_cv_lib_soname_capi20:+false} :; then :
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13404 $as_echo "not found" >&6; }
13406 else
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13408 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13410 cat >>confdefs.h <<_ACEOF
13411 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13412 _ACEOF
13417 CPPFLAGS=$ac_save_CPPFLAGS
13418 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13419 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13422 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13423 case "x$with_capi" in
13424 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13425 xno) ;;
13426 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13427 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13428 esac
13432 CUPS_CFLAGS=""
13434 if test "x$with_cups" != "xno"
13435 then
13436 ac_save_CPPFLAGS="$CPPFLAGS"
13437 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13438 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13439 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13440 for ac_header in cups/cups.h
13441 do :
13442 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13443 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13444 cat >>confdefs.h <<_ACEOF
13445 #define HAVE_CUPS_CUPS_H 1
13446 _ACEOF
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13448 $as_echo_n "checking for -lcups... " >&6; }
13449 if ${ac_cv_lib_soname_cups+:} false; then :
13450 $as_echo_n "(cached) " >&6
13451 else
13452 ac_check_soname_save_LIBS=$LIBS
13453 LIBS="-lcups $ac_cups_libs $LIBS"
13454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13455 /* end confdefs.h. */
13457 /* Override any GCC internal prototype to avoid an error.
13458 Use char because int might match the return type of a GCC
13459 builtin and then its argument prototype would still apply. */
13460 #ifdef __cplusplus
13461 extern "C"
13462 #endif
13463 char cupsGetDefault ();
13465 main ()
13467 return cupsGetDefault ();
13469 return 0;
13471 _ACEOF
13472 if ac_fn_c_try_link "$LINENO"; then :
13473 case "$LIBEXT" in
13474 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13475 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'` ;;
13476 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13477 if ${ac_cv_lib_soname_cups:+false} :; then :
13478 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13479 fi ;;
13480 esac
13482 rm -f core conftest.err conftest.$ac_objext \
13483 conftest$ac_exeext conftest.$ac_ext
13484 LIBS=$ac_check_soname_save_LIBS
13486 if ${ac_cv_lib_soname_cups:+false} :; then :
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13488 $as_echo "not found" >&6; }
13490 else
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13492 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13494 cat >>confdefs.h <<_ACEOF
13495 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13496 _ACEOF
13498 CUPS_CFLAGS="$ac_cups_cflags"
13500 for ac_header in cups/ppd.h
13501 do :
13502 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13503 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13504 cat >>confdefs.h <<_ACEOF
13505 #define HAVE_CUPS_PPD_H 1
13506 _ACEOF
13510 done
13514 done
13516 CPPFLAGS="$ac_save_CPPFLAGS"
13518 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13519 case "x$with_cups" in
13520 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13521 xno) ;;
13522 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13523 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13524 esac
13528 if test "x$with_fontconfig" != "xno"
13529 then
13530 if ${FONTCONFIG_CFLAGS:+false} :; then :
13531 if ${PKG_CONFIG+:} false; then :
13532 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13535 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13536 if ${FONTCONFIG_LIBS:+false} :; then :
13537 if ${PKG_CONFIG+:} false; then :
13538 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13541 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13543 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13544 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13545 ac_save_CPPFLAGS=$CPPFLAGS
13546 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13547 for ac_header in fontconfig/fontconfig.h
13548 do :
13549 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13550 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13551 cat >>confdefs.h <<_ACEOF
13552 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13553 _ACEOF
13557 done
13559 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13560 then
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13562 $as_echo_n "checking for -lfontconfig... " >&6; }
13563 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13564 $as_echo_n "(cached) " >&6
13565 else
13566 ac_check_soname_save_LIBS=$LIBS
13567 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13569 /* end confdefs.h. */
13571 /* Override any GCC internal prototype to avoid an error.
13572 Use char because int might match the return type of a GCC
13573 builtin and then its argument prototype would still apply. */
13574 #ifdef __cplusplus
13575 extern "C"
13576 #endif
13577 char FcInit ();
13579 main ()
13581 return FcInit ();
13583 return 0;
13585 _ACEOF
13586 if ac_fn_c_try_link "$LINENO"; then :
13587 case "$LIBEXT" in
13588 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13589 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'` ;;
13590 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13591 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13592 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13593 fi ;;
13594 esac
13596 rm -f core conftest.err conftest.$ac_objext \
13597 conftest$ac_exeext conftest.$ac_ext
13598 LIBS=$ac_check_soname_save_LIBS
13600 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13602 $as_echo "not found" >&6; }
13603 FONTCONFIG_CFLAGS=""
13604 else
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13606 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13608 cat >>confdefs.h <<_ACEOF
13609 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13610 _ACEOF
13614 else
13615 FONTCONFIG_CFLAGS=""
13617 CPPFLAGS=$ac_save_CPPFLAGS
13618 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13619 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13622 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13623 case "x$with_fontconfig" in
13624 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13625 xno) ;;
13626 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13627 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13628 esac
13632 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13633 then
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13635 $as_echo_n "checking for -lgsm... " >&6; }
13636 if ${ac_cv_lib_soname_gsm+:} false; then :
13637 $as_echo_n "(cached) " >&6
13638 else
13639 ac_check_soname_save_LIBS=$LIBS
13640 LIBS="-lgsm $LIBS"
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13644 /* Override any GCC internal prototype to avoid an error.
13645 Use char because int might match the return type of a GCC
13646 builtin and then its argument prototype would still apply. */
13647 #ifdef __cplusplus
13648 extern "C"
13649 #endif
13650 char gsm_create ();
13652 main ()
13654 return gsm_create ();
13656 return 0;
13658 _ACEOF
13659 if ac_fn_c_try_link "$LINENO"; then :
13660 case "$LIBEXT" in
13661 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13662 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'` ;;
13663 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13664 if ${ac_cv_lib_soname_gsm:+false} :; then :
13665 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13666 fi ;;
13667 esac
13669 rm -f core conftest.err conftest.$ac_objext \
13670 conftest$ac_exeext conftest.$ac_ext
13671 LIBS=$ac_check_soname_save_LIBS
13673 if ${ac_cv_lib_soname_gsm:+false} :; then :
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13675 $as_echo "not found" >&6; }
13677 else
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13679 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13681 cat >>confdefs.h <<_ACEOF
13682 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13683 _ACEOF
13688 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13689 case "x$with_gsm" in
13690 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13691 xno) ;;
13692 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13693 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13694 esac
13698 if test "x$with_jpeg" != "xno"
13699 then
13700 if ${JPEG_CFLAGS:+false} :; then :
13701 if ${PKG_CONFIG+:} false; then :
13702 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13706 if ${JPEG_LIBS:+false} :; then :
13707 if ${PKG_CONFIG+:} false; then :
13708 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13713 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13714 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13715 ac_save_CPPFLAGS=$CPPFLAGS
13716 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13717 for ac_header in jpeglib.h
13718 do :
13719 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13720 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13721 cat >>confdefs.h <<_ACEOF
13722 #define HAVE_JPEGLIB_H 1
13723 _ACEOF
13727 done
13729 if test "$ac_cv_header_jpeglib_h" = "yes"
13730 then
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13732 $as_echo_n "checking for -ljpeg... " >&6; }
13733 if ${ac_cv_lib_soname_jpeg+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 ac_check_soname_save_LIBS=$LIBS
13737 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13741 /* Override any GCC internal prototype to avoid an error.
13742 Use char because int might match the return type of a GCC
13743 builtin and then its argument prototype would still apply. */
13744 #ifdef __cplusplus
13745 extern "C"
13746 #endif
13747 char jpeg_start_decompress ();
13749 main ()
13751 return jpeg_start_decompress ();
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_link "$LINENO"; then :
13757 case "$LIBEXT" in
13758 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13759 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'` ;;
13760 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13761 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13762 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13763 fi ;;
13764 esac
13766 rm -f core conftest.err conftest.$ac_objext \
13767 conftest$ac_exeext conftest.$ac_ext
13768 LIBS=$ac_check_soname_save_LIBS
13770 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13772 $as_echo "not found" >&6; }
13773 JPEG_CFLAGS=""
13774 else
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13776 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13778 cat >>confdefs.h <<_ACEOF
13779 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13780 _ACEOF
13784 else
13785 JPEG_CFLAGS=""
13787 CPPFLAGS=$ac_save_CPPFLAGS
13788 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13789 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13792 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13793 case "x$with_jpeg" in
13794 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13795 xno) ;;
13796 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13797 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13798 esac
13802 if test "x$with_png" != "xno"
13803 then
13804 if ${PNG_CFLAGS:+false} :; then :
13805 if ${PKG_CONFIG+:} false; then :
13806 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13809 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13810 if ${PNG_LIBS:+false} :; then :
13811 if ${PKG_CONFIG+:} false; then :
13812 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13815 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13817 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13818 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13819 ac_save_CPPFLAGS=$CPPFLAGS
13820 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13821 for ac_header in png.h
13822 do :
13823 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13824 if test "x$ac_cv_header_png_h" = xyes; then :
13825 cat >>confdefs.h <<_ACEOF
13826 #define HAVE_PNG_H 1
13827 _ACEOF
13831 done
13833 if test "$ac_cv_header_png_h" = "yes"
13834 then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13836 $as_echo_n "checking for -lpng... " >&6; }
13837 if ${ac_cv_lib_soname_png+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_check_soname_save_LIBS=$LIBS
13841 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13848 #ifdef __cplusplus
13849 extern "C"
13850 #endif
13851 char png_create_read_struct ();
13853 main ()
13855 return png_create_read_struct ();
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 case "$LIBEXT" in
13862 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13863 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'` ;;
13864 *) 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'`
13865 if ${ac_cv_lib_soname_png:+false} :; then :
13866 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13867 fi ;;
13868 esac
13870 rm -f core conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_soname_save_LIBS
13874 if ${ac_cv_lib_soname_png:+false} :; then :
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13876 $as_echo "not found" >&6; }
13877 PNG_CFLAGS=""
13878 else
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13880 $as_echo "$ac_cv_lib_soname_png" >&6; }
13882 cat >>confdefs.h <<_ACEOF
13883 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13884 _ACEOF
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13888 #include <png.h>
13890 main ()
13892 typeof(png_set_expand_gray_1_2_4_to_8) *p
13894 return 0;
13896 _ACEOF
13897 if ac_fn_c_try_compile "$LINENO"; then :
13899 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13904 else
13905 PNG_CFLAGS=""
13907 CPPFLAGS=$ac_save_CPPFLAGS
13908 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13909 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13912 if test "x$ac_cv_lib_soname_png" = "x"; then :
13913 case "x$with_png" in
13914 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13915 xno) ;;
13916 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13917 This is an error since --with-png was requested." "$LINENO" 5 ;;
13918 esac
13922 if test "x$with_tiff" != "xno"
13923 then
13924 if ${TIFF_CFLAGS:+false} :; then :
13925 if ${PKG_CONFIG+:} false; then :
13926 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13930 if ${TIFF_LIBS:+false} :; then :
13931 if ${PKG_CONFIG+:} false; then :
13932 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13937 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13938 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13939 ac_save_CPPFLAGS=$CPPFLAGS
13940 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13941 for ac_header in tiffio.h
13942 do :
13943 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13944 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13945 cat >>confdefs.h <<_ACEOF
13946 #define HAVE_TIFFIO_H 1
13947 _ACEOF
13951 done
13953 if test "$ac_cv_header_tiffio_h" = "yes"
13954 then
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13956 $as_echo_n "checking for -ltiff... " >&6; }
13957 if ${ac_cv_lib_soname_tiff+:} false; then :
13958 $as_echo_n "(cached) " >&6
13959 else
13960 ac_check_soname_save_LIBS=$LIBS
13961 LIBS="-ltiff $TIFF_LIBS $LIBS"
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13965 /* Override any GCC internal prototype to avoid an error.
13966 Use char because int might match the return type of a GCC
13967 builtin and then its argument prototype would still apply. */
13968 #ifdef __cplusplus
13969 extern "C"
13970 #endif
13971 char TIFFClientOpen ();
13973 main ()
13975 return TIFFClientOpen ();
13977 return 0;
13979 _ACEOF
13980 if ac_fn_c_try_link "$LINENO"; then :
13981 case "$LIBEXT" in
13982 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13983 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'` ;;
13984 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13985 if ${ac_cv_lib_soname_tiff:+false} :; then :
13986 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13987 fi ;;
13988 esac
13990 rm -f core conftest.err conftest.$ac_objext \
13991 conftest$ac_exeext conftest.$ac_ext
13992 LIBS=$ac_check_soname_save_LIBS
13994 if ${ac_cv_lib_soname_tiff:+false} :; then :
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13996 $as_echo "not found" >&6; }
13998 else
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14000 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14002 cat >>confdefs.h <<_ACEOF
14003 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14004 _ACEOF
14009 CPPFLAGS=$ac_save_CPPFLAGS
14010 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14011 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14014 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14015 case "x$with_tiff" in
14016 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14017 xno) ;;
14018 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14019 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14020 esac
14024 if test "x$with_mpg123" != "xno"
14025 then
14026 if ${MPG123_CFLAGS:+false} :; then :
14027 if ${PKG_CONFIG+:} false; then :
14028 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14032 if ${MPG123_LIBS:+false} :; then :
14033 if ${PKG_CONFIG+:} false; then :
14034 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14038 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14039 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14040 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14041 ac_save_CPPFLAGS=$CPPFLAGS
14042 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14043 for ac_header in mpg123.h
14044 do :
14045 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14046 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14047 cat >>confdefs.h <<_ACEOF
14048 #define HAVE_MPG123_H 1
14049 _ACEOF
14053 done
14055 if test "$ac_cv_header_mpg123_h" = "yes"
14056 then
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14058 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14059 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14060 $as_echo_n "(cached) " >&6
14061 else
14062 ac_check_lib_save_LIBS=$LIBS
14063 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14070 #ifdef __cplusplus
14071 extern "C"
14072 #endif
14073 char mpg123_feed ();
14075 main ()
14077 return mpg123_feed ();
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"; then :
14083 ac_cv_lib_mpg123_mpg123_feed=yes
14084 else
14085 ac_cv_lib_mpg123_mpg123_feed=no
14087 rm -f core conftest.err conftest.$ac_objext \
14088 conftest$ac_exeext conftest.$ac_ext
14089 LIBS=$ac_check_lib_save_LIBS
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14092 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14093 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14095 else
14096 MPG123_LIBS=""
14099 else
14100 MPG123_CFLAGS=""
14101 MPG123_LIBS=""
14103 CPPFLAGS=$ac_save_CPPFLAGS
14104 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14105 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14108 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14109 case "x$with_mpg123" in
14110 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14111 xno) ;;
14112 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14113 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14114 esac
14115 enable_winemp3_acm=${enable_winemp3_acm:-no}
14118 if test "$ac_cv_header_AL_al_h" = "yes"
14119 then
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14121 $as_echo_n "checking for -lopenal... " >&6; }
14122 if ${ac_cv_lib_soname_openal+:} false; then :
14123 $as_echo_n "(cached) " >&6
14124 else
14125 ac_check_soname_save_LIBS=$LIBS
14126 LIBS="-lopenal $LIBS"
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14130 /* Override any GCC internal prototype to avoid an error.
14131 Use char because int might match the return type of a GCC
14132 builtin and then its argument prototype would still apply. */
14133 #ifdef __cplusplus
14134 extern "C"
14135 #endif
14136 char alGetSource3i ();
14138 main ()
14140 return alGetSource3i ();
14142 return 0;
14144 _ACEOF
14145 if ac_fn_c_try_link "$LINENO"; then :
14146 case "$LIBEXT" in
14147 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14148 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'` ;;
14149 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14150 if ${ac_cv_lib_soname_openal:+false} :; then :
14151 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14152 fi ;;
14153 esac
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157 LIBS=$ac_check_soname_save_LIBS
14159 if ${ac_cv_lib_soname_openal:+false} :; then :
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14161 $as_echo "not found" >&6; }
14163 else
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14165 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14167 cat >>confdefs.h <<_ACEOF
14168 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14169 _ACEOF
14171 OPENAL_LIBS="-lopenal"
14173 ac_cv_lib_openal=yes
14175 cat >>confdefs.h <<_ACEOF
14176 #define HAVE_OPENAL 1
14177 _ACEOF
14181 if test "x$ac_cv_lib_openal" != xyes; then :
14182 case "x$with_openal" in
14183 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14184 xno) ;;
14185 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14186 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14187 esac
14188 enable_openal32=${enable_openal32:-no}
14191 if test "x$ac_cv_lib_openal" = xyes
14192 then
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14194 $as_echo_n "checking for openal-soft... " >&6; }
14195 if ${ac_cv_have_openalsoft+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14200 #include <AL/al.h>
14201 #include <AL/alc.h>
14202 #include <AL/alext.h>
14203 LPALCRENDERSAMPLESSOFT x;
14205 main ()
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_compile "$LINENO"; then :
14213 ac_cv_have_openalsoft=yes
14214 else
14215 ac_cv_have_openalsoft=no
14217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14220 $as_echo "$ac_cv_have_openalsoft" >&6; }
14222 if test "x$ac_cv_have_openalsoft" != xyes
14223 then
14224 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14225 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14226 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14227 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14228 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14229 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14230 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14231 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14232 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14233 enable_xapofx1_1=${enable_xapofx1_1:-no}
14234 enable_xapofx1_2=${enable_xapofx1_2:-no}
14235 enable_xapofx1_3=${enable_xapofx1_3:-no}
14236 enable_xapofx1_4=${enable_xapofx1_4:-no}
14237 enable_xapofx1_5=${enable_xapofx1_5:-no}
14238 enable_xaudio2_0=${enable_xaudio2_0:-no}
14239 enable_xaudio2_1=${enable_xaudio2_1:-no}
14240 enable_xaudio2_2=${enable_xaudio2_2:-no}
14241 enable_xaudio2_3=${enable_xaudio2_3:-no}
14242 enable_xaudio2_4=${enable_xaudio2_4:-no}
14243 enable_xaudio2_5=${enable_xaudio2_5:-no}
14244 enable_xaudio2_6=${enable_xaudio2_6:-no}
14245 enable_xaudio2_7=${enable_xaudio2_7:-no}
14246 enable_xaudio2_8=${enable_xaudio2_8:-no}
14247 enable_xaudio2_9=${enable_xaudio2_9:-no}
14250 if test "$ac_cv_header_kstat_h" = "yes"
14251 then
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14253 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14254 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 ac_check_lib_save_LIBS=$LIBS
14258 LIBS="-lkstat $LIBS"
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14265 #ifdef __cplusplus
14266 extern "C"
14267 #endif
14268 char kstat_open ();
14270 main ()
14272 return kstat_open ();
14274 return 0;
14276 _ACEOF
14277 if ac_fn_c_try_link "$LINENO"; then :
14278 ac_cv_lib_kstat_kstat_open=yes
14279 else
14280 ac_cv_lib_kstat_kstat_open=no
14282 rm -f core conftest.err conftest.$ac_objext \
14283 conftest$ac_exeext conftest.$ac_ext
14284 LIBS=$ac_check_lib_save_LIBS
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14287 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14288 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14290 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14292 KSTAT_LIBS="-lkstat"
14298 if test "$ac_cv_header_libprocstat_h" = "yes"
14299 then
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14301 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14302 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 ac_check_lib_save_LIBS=$LIBS
14306 LIBS="-lprocstat $LIBS"
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14310 /* Override any GCC internal prototype to avoid an error.
14311 Use char because int might match the return type of a GCC
14312 builtin and then its argument prototype would still apply. */
14313 #ifdef __cplusplus
14314 extern "C"
14315 #endif
14316 char procstat_open_sysctl ();
14318 main ()
14320 return procstat_open_sysctl ();
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_lib_procstat_procstat_open_sysctl=yes
14327 else
14328 ac_cv_lib_procstat_procstat_open_sysctl=no
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_lib_save_LIBS
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14335 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14336 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14338 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14340 PROCSTAT_LIBS="-lprocstat"
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14347 $as_echo_n "checking for -lodbc... " >&6; }
14348 if ${ac_cv_lib_soname_odbc+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 ac_check_soname_save_LIBS=$LIBS
14352 LIBS="-lodbc $LIBS"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14356 /* Override any GCC internal prototype to avoid an error.
14357 Use char because int might match the return type of a GCC
14358 builtin and then its argument prototype would still apply. */
14359 #ifdef __cplusplus
14360 extern "C"
14361 #endif
14362 char SQLConnect ();
14364 main ()
14366 return SQLConnect ();
14368 return 0;
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 case "$LIBEXT" in
14373 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14374 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'` ;;
14375 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14376 if ${ac_cv_lib_soname_odbc:+false} :; then :
14377 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14378 fi ;;
14379 esac
14381 rm -f core conftest.err conftest.$ac_objext \
14382 conftest$ac_exeext conftest.$ac_ext
14383 LIBS=$ac_check_soname_save_LIBS
14385 if ${ac_cv_lib_soname_odbc:+false} :; then :
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14387 $as_echo "not found" >&6; }
14388 cat >>confdefs.h <<_ACEOF
14389 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14390 _ACEOF
14392 else
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14394 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14396 cat >>confdefs.h <<_ACEOF
14397 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14398 _ACEOF
14403 if test "x$with_netapi" != "xno"
14404 then
14405 if ${NETAPI_CFLAGS:+false} :; then :
14406 if ${PKG_CONFIG+:} false; then :
14407 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14411 if ${NETAPI_LIBS:+false} :; then :
14412 if ${PKG_CONFIG+:} false; then :
14413 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14418 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14419 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14420 ac_save_CPPFLAGS=$CPPFLAGS
14421 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14423 $as_echo_n "checking for -lnetapi... " >&6; }
14424 if ${ac_cv_lib_soname_netapi+:} false; then :
14425 $as_echo_n "(cached) " >&6
14426 else
14427 ac_check_soname_save_LIBS=$LIBS
14428 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14430 /* end confdefs.h. */
14432 /* Override any GCC internal prototype to avoid an error.
14433 Use char because int might match the return type of a GCC
14434 builtin and then its argument prototype would still apply. */
14435 #ifdef __cplusplus
14436 extern "C"
14437 #endif
14438 char libnetapi_init ();
14440 main ()
14442 return libnetapi_init ();
14444 return 0;
14446 _ACEOF
14447 if ac_fn_c_try_link "$LINENO"; then :
14448 case "$LIBEXT" in
14449 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14450 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'` ;;
14451 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14452 if ${ac_cv_lib_soname_netapi:+false} :; then :
14453 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14454 fi ;;
14455 esac
14457 rm -f core conftest.err conftest.$ac_objext \
14458 conftest$ac_exeext conftest.$ac_ext
14459 LIBS=$ac_check_soname_save_LIBS
14461 if ${ac_cv_lib_soname_netapi:+false} :; then :
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14463 $as_echo "not found" >&6; }
14464 cat >>confdefs.h <<_ACEOF
14465 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14466 _ACEOF
14468 else
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14470 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14472 cat >>confdefs.h <<_ACEOF
14473 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14474 _ACEOF
14478 CPPFLAGS=$ac_save_CPPFLAGS
14479 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14480 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14484 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14485 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14486 then
14487 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14491 EXTRACFLAGS=""
14493 if test "x${GCC}" = "xyes"
14494 then
14495 EXTRACFLAGS="-Wall -pipe"
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14498 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14499 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14500 $as_echo_n "(cached) " >&6
14501 else
14502 if test "$cross_compiling" = yes; then :
14503 ac_cv_c_gcc_strength_bug="no"
14504 else
14505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14507 int L[4] = {0,1,2,3};
14509 main ()
14511 static int Array[3];
14512 unsigned int B = 3;
14513 int i;
14514 for(i=0; i<B; i++) Array[i] = i - 3;
14515 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14516 L[i] = 4;
14517 return (Array[1] != -2 || L[2] != 3)
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_run "$LINENO"; then :
14523 ac_cv_c_gcc_strength_bug="no"
14524 else
14525 ac_cv_c_gcc_strength_bug="yes"
14527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14528 conftest.$ac_objext conftest.beam conftest.$ac_ext
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14533 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14534 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14535 then
14536 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14540 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14541 if ${ac_cv_cflags__fno_builtin+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -fno-builtin"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_cflags__fno_builtin=yes
14552 else
14553 ac_cv_cflags__fno_builtin=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 CFLAGS=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14560 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14561 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14562 BUILTINFLAG="-fno-builtin"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14566 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14567 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_wine_try_cflags_saved=$CFLAGS
14571 CFLAGS="$CFLAGS -fno-strict-aliasing"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 int main(int argc, char **argv) { return 0; }
14575 _ACEOF
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 ac_cv_cflags__fno_strict_aliasing=yes
14578 else
14579 ac_cv_cflags__fno_strict_aliasing=no
14581 rm -f core conftest.err conftest.$ac_objext \
14582 conftest$ac_exeext conftest.$ac_ext
14583 CFLAGS=$ac_wine_try_cflags_saved
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14586 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14587 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14588 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14591 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14592 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 ac_wine_try_cflags_saved=$CFLAGS
14596 CFLAGS="$CFLAGS -fexcess-precision=standard"
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 int main(int argc, char **argv) { return 0; }
14600 _ACEOF
14601 if ac_fn_c_try_link "$LINENO"; then :
14602 ac_cv_cflags__fexcess_precision_standard=yes
14603 else
14604 ac_cv_cflags__fexcess_precision_standard=no
14606 rm -f core conftest.err conftest.$ac_objext \
14607 conftest$ac_exeext conftest.$ac_ext
14608 CFLAGS=$ac_wine_try_cflags_saved
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14611 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14612 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14613 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14616 saved_CFLAGS=$CFLAGS
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14618 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14619 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14620 $as_echo_n "(cached) " >&6
14621 else
14622 ac_wine_try_cflags_saved=$CFLAGS
14623 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14626 int main(int argc, char **argv) { return 0; }
14627 _ACEOF
14628 if ac_fn_c_try_link "$LINENO"; then :
14629 ac_cv_cflags__Werror_unknown_warning_option=yes
14630 else
14631 ac_cv_cflags__Werror_unknown_warning_option=no
14633 rm -f core conftest.err conftest.$ac_objext \
14634 conftest$ac_exeext conftest.$ac_ext
14635 CFLAGS=$ac_wine_try_cflags_saved
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14638 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14639 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14640 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14643 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14644 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14645 $as_echo_n "(cached) " >&6
14646 else
14647 ac_wine_try_cflags_saved=$CFLAGS
14648 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14651 int main(int argc, char **argv) { return 0; }
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 ac_cv_cflags__Wdeclaration_after_statement=yes
14655 else
14656 ac_cv_cflags__Wdeclaration_after_statement=no
14658 rm -f core conftest.err conftest.$ac_objext \
14659 conftest$ac_exeext conftest.$ac_ext
14660 CFLAGS=$ac_wine_try_cflags_saved
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14663 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14664 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14665 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14668 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14669 if ${ac_cv_cflags__Wempty_body+:} false; then :
14670 $as_echo_n "(cached) " >&6
14671 else
14672 ac_wine_try_cflags_saved=$CFLAGS
14673 CFLAGS="$CFLAGS -Wempty-body"
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__Wempty_body=yes
14680 else
14681 ac_cv_cflags__Wempty_body=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__Wempty_body" >&5
14688 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14689 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14690 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14693 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14694 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14695 $as_echo_n "(cached) " >&6
14696 else
14697 ac_wine_try_cflags_saved=$CFLAGS
14698 CFLAGS="$CFLAGS -Wignored-qualifiers"
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 int main(int argc, char **argv) { return 0; }
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_cflags__Wignored_qualifiers=yes
14705 else
14706 ac_cv_cflags__Wignored_qualifiers=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 CFLAGS=$ac_wine_try_cflags_saved
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14713 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14714 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14715 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14718 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14719 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 ac_wine_try_cflags_saved=$CFLAGS
14723 CFLAGS="$CFLAGS -Wshift-overflow=2"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 int main(int argc, char **argv) { return 0; }
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 ac_cv_cflags__Wshift_overflow_2=yes
14730 else
14731 ac_cv_cflags__Wshift_overflow_2=no
14733 rm -f core conftest.err conftest.$ac_objext \
14734 conftest$ac_exeext conftest.$ac_ext
14735 CFLAGS=$ac_wine_try_cflags_saved
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14738 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14739 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14740 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14743 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14744 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14745 $as_echo_n "(cached) " >&6
14746 else
14747 ac_wine_try_cflags_saved=$CFLAGS
14748 CFLAGS="$CFLAGS -Wstrict-prototypes"
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14751 int main(int argc, char **argv) { return 0; }
14752 _ACEOF
14753 if ac_fn_c_try_link "$LINENO"; then :
14754 ac_cv_cflags__Wstrict_prototypes=yes
14755 else
14756 ac_cv_cflags__Wstrict_prototypes=no
14758 rm -f core conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext conftest.$ac_ext
14760 CFLAGS=$ac_wine_try_cflags_saved
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14763 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14764 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14765 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14768 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14769 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14770 $as_echo_n "(cached) " >&6
14771 else
14772 ac_wine_try_cflags_saved=$CFLAGS
14773 CFLAGS="$CFLAGS -Wtype-limits"
14774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 /* end confdefs.h. */
14776 int main(int argc, char **argv) { return 0; }
14777 _ACEOF
14778 if ac_fn_c_try_link "$LINENO"; then :
14779 ac_cv_cflags__Wtype_limits=yes
14780 else
14781 ac_cv_cflags__Wtype_limits=no
14783 rm -f core conftest.err conftest.$ac_objext \
14784 conftest$ac_exeext conftest.$ac_ext
14785 CFLAGS=$ac_wine_try_cflags_saved
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14788 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14789 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14790 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14793 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14794 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_wine_try_cflags_saved=$CFLAGS
14798 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 int main(int argc, char **argv) { return 0; }
14802 _ACEOF
14803 if ac_fn_c_try_link "$LINENO"; then :
14804 ac_cv_cflags__Wunused_but_set_parameter=yes
14805 else
14806 ac_cv_cflags__Wunused_but_set_parameter=no
14808 rm -f core conftest.err conftest.$ac_objext \
14809 conftest$ac_exeext conftest.$ac_ext
14810 CFLAGS=$ac_wine_try_cflags_saved
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14813 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14814 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14815 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14818 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14819 if ${ac_cv_cflags__Wvla+:} false; then :
14820 $as_echo_n "(cached) " >&6
14821 else
14822 ac_wine_try_cflags_saved=$CFLAGS
14823 CFLAGS="$CFLAGS -Wvla"
14824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14825 /* end confdefs.h. */
14826 int main(int argc, char **argv) { return 0; }
14827 _ACEOF
14828 if ac_fn_c_try_link "$LINENO"; then :
14829 ac_cv_cflags__Wvla=yes
14830 else
14831 ac_cv_cflags__Wvla=no
14833 rm -f core conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 CFLAGS=$ac_wine_try_cflags_saved
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14838 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14839 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14840 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14843 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14844 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 ac_wine_try_cflags_saved=$CFLAGS
14848 CFLAGS="$CFLAGS -Wwrite-strings"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14851 int main(int argc, char **argv) { return 0; }
14852 _ACEOF
14853 if ac_fn_c_try_link "$LINENO"; then :
14854 ac_cv_cflags__Wwrite_strings=yes
14855 else
14856 ac_cv_cflags__Wwrite_strings=no
14858 rm -f core conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 CFLAGS=$ac_wine_try_cflags_saved
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14863 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14864 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14865 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14869 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14870 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 ac_wine_try_cflags_saved=$CFLAGS
14874 CFLAGS="$CFLAGS -Wpointer-arith"
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14877 int main(int argc, char **argv) { return 0; }
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 ac_cv_cflags__Wpointer_arith=yes
14881 else
14882 ac_cv_cflags__Wpointer_arith=no
14884 rm -f core conftest.err conftest.$ac_objext \
14885 conftest$ac_exeext conftest.$ac_ext
14886 CFLAGS=$ac_wine_try_cflags_saved
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14889 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14890 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14891 saved_string_h_CFLAGS=$CFLAGS
14892 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14894 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14895 if ${ac_cv_c_string_h_warnings+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 #include <string.h>
14902 main ()
14906 return 0;
14908 _ACEOF
14909 if ac_fn_c_try_compile "$LINENO"; then :
14910 ac_cv_c_string_h_warnings=no
14911 else
14912 ac_cv_c_string_h_warnings=yes
14914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14917 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14918 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14919 CFLAGS=$saved_string_h_CFLAGS
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14923 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14924 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14925 $as_echo_n "(cached) " >&6
14926 else
14927 ac_wine_try_cflags_saved=$CFLAGS
14928 CFLAGS="$CFLAGS -Wlogical-op"
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14931 int main(int argc, char **argv) { return 0; }
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"; then :
14934 ac_cv_cflags__Wlogical_op=yes
14935 else
14936 ac_cv_cflags__Wlogical_op=no
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext conftest.$ac_ext
14940 CFLAGS=$ac_wine_try_cflags_saved
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14943 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14944 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14945 saved_string_h_CFLAGS=$CFLAGS
14946 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14948 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14949 if ${ac_cv_c_logicalop_noisy+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 #include <string.h>
14955 char*f(const char *h,char n) {return strchr(h,n);}
14957 main ()
14961 return 0;
14963 _ACEOF
14964 if ac_fn_c_try_compile "$LINENO"; then :
14965 ac_cv_c_logicalop_noisy=no
14966 else
14967 ac_cv_c_logicalop_noisy=yes
14969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14972 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14973 CFLAGS=$saved_string_h_CFLAGS
14974 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14977 CFLAGS=$saved_CFLAGS
14979 for ac_flag in $CFLAGS; do
14980 case $ac_flag in
14981 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14982 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14983 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14984 $as_echo_n "(cached) " >&6
14985 else
14986 ac_wine_try_cflags_saved=$CFLAGS
14987 CFLAGS="$CFLAGS -gdwarf-2"
14988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h. */
14990 int main(int argc, char **argv) { return 0; }
14991 _ACEOF
14992 if ac_fn_c_try_link "$LINENO"; then :
14993 ac_cv_cflags__gdwarf_2=yes
14994 else
14995 ac_cv_cflags__gdwarf_2=no
14997 rm -f core conftest.err conftest.$ac_objext \
14998 conftest$ac_exeext conftest.$ac_ext
14999 CFLAGS=$ac_wine_try_cflags_saved
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15002 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15003 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15004 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15007 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15008 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15009 $as_echo_n "(cached) " >&6
15010 else
15011 ac_wine_try_cflags_saved=$CFLAGS
15012 CFLAGS="$CFLAGS -gstrict-dwarf"
15013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15015 int main(int argc, char **argv) { return 0; }
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 ac_cv_cflags__gstrict_dwarf=yes
15019 else
15020 ac_cv_cflags__gstrict_dwarf=no
15022 rm -f core conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15024 CFLAGS=$ac_wine_try_cflags_saved
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15027 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15028 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15029 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15030 fi ;;
15031 esac
15032 done
15034 case $host_cpu in
15035 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15036 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15037 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15038 $as_echo_n "(cached) " >&6
15039 else
15040 ac_wine_try_cflags_saved=$CFLAGS
15041 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15044 int main(int argc, char **argv) { return 0; }
15045 _ACEOF
15046 if ac_fn_c_try_link "$LINENO"; then :
15047 ac_cv_cflags__fno_omit_frame_pointer=yes
15048 else
15049 ac_cv_cflags__fno_omit_frame_pointer=no
15051 rm -f core conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext conftest.$ac_ext
15053 CFLAGS=$ac_wine_try_cflags_saved
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15056 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15057 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15058 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15059 fi ;;
15060 esac
15062 case $host in
15063 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15064 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15065 if ${ac_cv_cflags__Wno_format+:} false; then :
15066 $as_echo_n "(cached) " >&6
15067 else
15068 ac_wine_try_cflags_saved=$CFLAGS
15069 CFLAGS="$CFLAGS -Wno-format"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15072 int main(int argc, char **argv) { return 0; }
15073 _ACEOF
15074 if ac_fn_c_try_link "$LINENO"; then :
15075 ac_cv_cflags__Wno_format=yes
15076 else
15077 ac_cv_cflags__Wno_format=no
15079 rm -f core conftest.err conftest.$ac_objext \
15080 conftest$ac_exeext conftest.$ac_ext
15081 CFLAGS=$ac_wine_try_cflags_saved
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15084 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15085 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15086 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15087 fi ;;
15088 esac
15090 if test "x$enable_maintainer_mode" = "xyes"
15091 then
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15093 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15094 if ${ac_cv_cflags__Werror+:} false; then :
15095 $as_echo_n "(cached) " >&6
15096 else
15097 ac_wine_try_cflags_saved=$CFLAGS
15098 CFLAGS="$CFLAGS -Werror"
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15101 int main(int argc, char **argv) { return 0; }
15102 _ACEOF
15103 if ac_fn_c_try_link "$LINENO"; then :
15104 ac_cv_cflags__Werror=yes
15105 else
15106 ac_cv_cflags__Werror=no
15108 rm -f core conftest.err conftest.$ac_objext \
15109 conftest$ac_exeext conftest.$ac_ext
15110 CFLAGS=$ac_wine_try_cflags_saved
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15113 $as_echo "$ac_cv_cflags__Werror" >&6; }
15114 if test "x$ac_cv_cflags__Werror" = xyes; then :
15115 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15119 saved_CFLAGS="$CFLAGS"
15120 CFLAGS="$CFLAGS -Werror"
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15122 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15123 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15130 main ()
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_compile "$LINENO"; then :
15138 ac_cv_have_ms_hook_prologue="yes"
15139 else
15140 ac_cv_have_ms_hook_prologue="no"
15142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15145 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15146 CFLAGS="$saved_CFLAGS"
15147 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15148 then
15150 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15152 else
15153 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15160 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15161 if ${ac_cv_c_fortify_enabled+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 #include <string.h>
15168 main ()
15170 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15171 #error Fortify enabled
15172 #endif
15174 return 0;
15176 _ACEOF
15177 if ac_fn_c_try_compile "$LINENO"; then :
15178 ac_cv_c_fortify_enabled=no
15179 else
15180 ac_cv_c_fortify_enabled=yes
15182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15185 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15186 if test "$ac_cv_c_fortify_enabled" = yes
15187 then
15188 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15193 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15194 if ${ac_cv_c_extern_prefix+:} false; then :
15195 $as_echo_n "(cached) " >&6
15196 else
15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15199 extern int ac_test;
15201 main ()
15203 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15205 return 0;
15207 _ACEOF
15208 if ac_fn_c_try_link "$LINENO"; then :
15209 ac_cv_c_extern_prefix="yes"
15210 else
15211 ac_cv_c_extern_prefix="no"
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15217 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15219 case $host_cpu in
15220 *i[3456789]86*)
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15222 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15223 if ${ac_cv_c_stdcall_suffix+:} false; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15228 #ifndef _MSC_VER
15229 #define __stdcall __attribute__((__stdcall__))
15230 #endif
15231 int __stdcall ac_test(int i) { return i; }
15233 main ()
15235 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15237 return 0;
15239 _ACEOF
15240 if ac_fn_c_try_link "$LINENO"; then :
15241 ac_cv_c_stdcall_suffix="yes"
15242 else
15243 ac_cv_c_stdcall_suffix="no"
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15249 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15250 *) ac_cv_c_stdcall_suffix="no" ;;
15251 esac
15254 if test "$ac_cv_c_extern_prefix" = "yes"
15255 then
15256 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15258 asm_name_prefix="_"
15259 else
15260 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15262 asm_name_prefix=""
15266 if test "$ac_cv_c_stdcall_suffix" = "yes"
15267 then
15268 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15270 else
15271 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15277 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15278 if ${ac_cv_asm_func_def+:} false; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15285 main ()
15287 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15289 return 0;
15291 _ACEOF
15292 if ac_fn_c_try_link "$LINENO"; then :
15293 ac_cv_asm_func_def=".def"
15294 else
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15299 main ()
15301 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15303 return 0;
15305 _ACEOF
15306 if ac_fn_c_try_link "$LINENO"; then :
15307 ac_cv_asm_func_def=".type @function"
15308 else
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15313 main ()
15315 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15317 return 0;
15319 _ACEOF
15320 if ac_fn_c_try_link "$LINENO"; then :
15321 ac_cv_asm_func_def=".type 2"
15322 else
15323 ac_cv_asm_func_def="unknown"
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15328 rm -f core conftest.err conftest.$ac_objext \
15329 conftest$ac_exeext conftest.$ac_ext
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15335 $as_echo "$ac_cv_asm_func_def" >&6; }
15338 case "$ac_cv_asm_func_def" in
15339 ".def")
15340 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15342 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15343 ".type @function")
15344 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15346 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15347 ".type 2")
15348 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15350 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15352 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15354 asm_func_header="" ;;
15355 esac
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15358 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15359 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15360 $as_echo_n "(cached) " >&6
15361 else
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15364 asm(".text\n\t.long 0");
15366 main ()
15370 return 0;
15372 _ACEOF
15373 if ac_fn_c_try_compile "$LINENO"; then :
15374 ac_cv_c_asm_outside_funcs="yes"
15375 else
15376 ac_cv_c_asm_outside_funcs="no"
15378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15381 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15384 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15385 if ${ac_cv_c_dot_previous+:} false; then :
15386 $as_echo_n "(cached) " >&6
15387 else
15388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 /* end confdefs.h. */
15392 main ()
15394 asm(".text\nac_test:\t.long 0\n\t.previous");
15396 return 0;
15398 _ACEOF
15399 if ac_fn_c_try_link "$LINENO"; then :
15400 ac_cv_c_dot_previous="yes"
15401 else
15402 ac_cv_c_dot_previous="no"
15404 rm -f core conftest.err conftest.$ac_objext \
15405 conftest$ac_exeext conftest.$ac_ext
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15408 $as_echo "$ac_cv_c_dot_previous" >&6; }
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15411 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15412 if ${ac_cv_c_cfi_support+:} false; then :
15413 $as_echo_n "(cached) " >&6
15414 else
15415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15417 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15419 main ()
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_compile "$LINENO"; then :
15427 ac_cv_c_cfi_support="yes"
15428 else
15429 ac_cv_c_cfi_support="no"
15431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15434 $as_echo "$ac_cv_c_cfi_support" >&6; }
15436 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15437 asm_func_trailer=""
15438 if test "$ac_cv_c_dot_previous" = "yes"
15439 then
15440 asm_func_trailer="\\n\\t.previous"
15442 if test "$ac_cv_c_cfi_support" = "yes"
15443 then
15444 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15445 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15447 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15449 UNWINDFLAGS=-fasynchronous-unwind-tables
15451 else
15452 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15454 if test "x$enable_win64" = "xyes"
15455 then
15456 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15460 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15463 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15464 then
15465 cat >>confdefs.h <<_ACEOF
15466 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15467 _ACEOF
15469 else
15470 cat >>confdefs.h <<_ACEOF
15471 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15472 _ACEOF
15476 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15479 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15483 case $build_os in
15484 cygwin*|mingw32*) TOOLSEXT=".exe"
15486 esac
15488 case $host_os in
15489 linux*)
15490 case $host_cpu in
15491 *i[3456789]86*|x86_64*)
15492 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15493 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15495 esac
15497 esac
15500 ac_save_CFLAGS="$CFLAGS"
15501 CFLAGS="$CFLAGS $BUILTINFLAG"
15502 for ac_func in \
15503 __res_get_state \
15504 __res_getservers \
15505 _finite \
15506 _isnan \
15507 _pclose \
15508 _popen \
15509 _snprintf \
15510 _spawnvp \
15511 _strdup \
15512 _stricmp \
15513 _strnicmp \
15514 _strtoi64 \
15515 _strtoui64 \
15516 _vsnprintf \
15517 asctime_r \
15518 chsize \
15519 dlopen \
15520 epoll_create \
15521 ffs \
15522 finitef \
15523 fnmatch \
15524 fork \
15525 fpclass \
15526 fstatfs \
15527 fstatvfs \
15528 ftruncate \
15529 futimens \
15530 futimes \
15531 futimesat \
15532 getattrlist \
15533 getauxval \
15534 getifaddrs \
15535 getopt_long_only \
15536 getpwuid \
15537 gettimeofday \
15538 getuid \
15539 isnanf \
15540 kqueue \
15541 lstat \
15542 memmove \
15543 mmap \
15544 pclose \
15545 pipe2 \
15546 poll \
15547 popen \
15548 port_create \
15549 prctl \
15550 pread \
15551 proc_pidinfo \
15552 pwrite \
15553 readdir \
15554 readlink \
15555 sched_yield \
15556 select \
15557 setproctitle \
15558 setprogname \
15559 setrlimit \
15560 settimeofday \
15561 sigaltstack \
15562 sigprocmask \
15563 snprintf \
15564 statfs \
15565 statvfs \
15566 strcasecmp \
15567 strdup \
15568 strerror \
15569 strncasecmp \
15570 strtold \
15571 strtoll \
15572 strtoull \
15573 symlink \
15574 sysinfo \
15575 tcdrain \
15576 thr_kill2 \
15577 timegm \
15578 usleep \
15579 vsnprintf
15581 do :
15582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15585 cat >>confdefs.h <<_ACEOF
15586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15587 _ACEOF
15590 done
15592 CFLAGS="$ac_save_CFLAGS"
15594 if test "$ac_cv_func_dlopen" = no
15595 then
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15597 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15598 if ${ac_cv_lib_dl_dlopen+:} false; then :
15599 $as_echo_n "(cached) " >&6
15600 else
15601 ac_check_lib_save_LIBS=$LIBS
15602 LIBS="-ldl $LIBS"
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15606 /* Override any GCC internal prototype to avoid an error.
15607 Use char because int might match the return type of a GCC
15608 builtin and then its argument prototype would still apply. */
15609 #ifdef __cplusplus
15610 extern "C"
15611 #endif
15612 char dlopen ();
15614 main ()
15616 return dlopen ();
15618 return 0;
15620 _ACEOF
15621 if ac_fn_c_try_link "$LINENO"; then :
15622 ac_cv_lib_dl_dlopen=yes
15623 else
15624 ac_cv_lib_dl_dlopen=no
15626 rm -f core conftest.err conftest.$ac_objext \
15627 conftest$ac_exeext conftest.$ac_ext
15628 LIBS=$ac_check_lib_save_LIBS
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15631 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15632 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15633 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15634 DL_LIBS="-ldl"
15639 ac_wine_check_funcs_save_LIBS="$LIBS"
15640 LIBS="$LIBS $DL_LIBS"
15641 for ac_func in dladdr
15642 do :
15643 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15644 if test "x$ac_cv_func_dladdr" = xyes; then :
15645 cat >>confdefs.h <<_ACEOF
15646 #define HAVE_DLADDR 1
15647 _ACEOF
15650 done
15652 LIBS="$ac_wine_check_funcs_save_LIBS"
15654 if test "$ac_cv_func_poll" = no
15655 then
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15657 $as_echo_n "checking for poll in -lpoll... " >&6; }
15658 if ${ac_cv_lib_poll_poll+:} false; then :
15659 $as_echo_n "(cached) " >&6
15660 else
15661 ac_check_lib_save_LIBS=$LIBS
15662 LIBS="-lpoll $LIBS"
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15666 /* Override any GCC internal prototype to avoid an error.
15667 Use char because int might match the return type of a GCC
15668 builtin and then its argument prototype would still apply. */
15669 #ifdef __cplusplus
15670 extern "C"
15671 #endif
15672 char poll ();
15674 main ()
15676 return poll ();
15678 return 0;
15680 _ACEOF
15681 if ac_fn_c_try_link "$LINENO"; then :
15682 ac_cv_lib_poll_poll=yes
15683 else
15684 ac_cv_lib_poll_poll=no
15686 rm -f core conftest.err conftest.$ac_objext \
15687 conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_check_lib_save_LIBS
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15691 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15692 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15693 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15694 POLL_LIBS="-lpoll"
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15701 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15702 if ${ac_cv_search_gethostbyname+:} false; then :
15703 $as_echo_n "(cached) " >&6
15704 else
15705 ac_func_search_save_LIBS=$LIBS
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 /* end confdefs.h. */
15709 /* Override any GCC internal prototype to avoid an error.
15710 Use char because int might match the return type of a GCC
15711 builtin and then its argument prototype would still apply. */
15712 #ifdef __cplusplus
15713 extern "C"
15714 #endif
15715 char gethostbyname ();
15717 main ()
15719 return gethostbyname ();
15721 return 0;
15723 _ACEOF
15724 for ac_lib in '' nsl; do
15725 if test -z "$ac_lib"; then
15726 ac_res="none required"
15727 else
15728 ac_res=-l$ac_lib
15729 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15731 if ac_fn_c_try_link "$LINENO"; then :
15732 ac_cv_search_gethostbyname=$ac_res
15734 rm -f core conftest.err conftest.$ac_objext \
15735 conftest$ac_exeext
15736 if ${ac_cv_search_gethostbyname+:} false; then :
15737 break
15739 done
15740 if ${ac_cv_search_gethostbyname+:} false; then :
15742 else
15743 ac_cv_search_gethostbyname=no
15745 rm conftest.$ac_ext
15746 LIBS=$ac_func_search_save_LIBS
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15749 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15750 ac_res=$ac_cv_search_gethostbyname
15751 if test "$ac_res" != no; then :
15752 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15758 $as_echo_n "checking for library containing connect... " >&6; }
15759 if ${ac_cv_search_connect+:} false; then :
15760 $as_echo_n "(cached) " >&6
15761 else
15762 ac_func_search_save_LIBS=$LIBS
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15766 /* Override any GCC internal prototype to avoid an error.
15767 Use char because int might match the return type of a GCC
15768 builtin and then its argument prototype would still apply. */
15769 #ifdef __cplusplus
15770 extern "C"
15771 #endif
15772 char connect ();
15774 main ()
15776 return connect ();
15778 return 0;
15780 _ACEOF
15781 for ac_lib in '' socket; do
15782 if test -z "$ac_lib"; then
15783 ac_res="none required"
15784 else
15785 ac_res=-l$ac_lib
15786 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15788 if ac_fn_c_try_link "$LINENO"; then :
15789 ac_cv_search_connect=$ac_res
15791 rm -f core conftest.err conftest.$ac_objext \
15792 conftest$ac_exeext
15793 if ${ac_cv_search_connect+:} false; then :
15794 break
15796 done
15797 if ${ac_cv_search_connect+:} false; then :
15799 else
15800 ac_cv_search_connect=no
15802 rm conftest.$ac_ext
15803 LIBS=$ac_func_search_save_LIBS
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15806 $as_echo "$ac_cv_search_connect" >&6; }
15807 ac_res=$ac_cv_search_connect
15808 if test "$ac_res" != no; then :
15809 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15815 $as_echo_n "checking for library containing inet_aton... " >&6; }
15816 if ${ac_cv_search_inet_aton+:} false; then :
15817 $as_echo_n "(cached) " >&6
15818 else
15819 ac_func_search_save_LIBS=$LIBS
15820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15821 /* end confdefs.h. */
15823 /* Override any GCC internal prototype to avoid an error.
15824 Use char because int might match the return type of a GCC
15825 builtin and then its argument prototype would still apply. */
15826 #ifdef __cplusplus
15827 extern "C"
15828 #endif
15829 char inet_aton ();
15831 main ()
15833 return inet_aton ();
15835 return 0;
15837 _ACEOF
15838 for ac_lib in '' resolv; do
15839 if test -z "$ac_lib"; then
15840 ac_res="none required"
15841 else
15842 ac_res=-l$ac_lib
15843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15845 if ac_fn_c_try_link "$LINENO"; then :
15846 ac_cv_search_inet_aton=$ac_res
15848 rm -f core conftest.err conftest.$ac_objext \
15849 conftest$ac_exeext
15850 if ${ac_cv_search_inet_aton+:} false; then :
15851 break
15853 done
15854 if ${ac_cv_search_inet_aton+:} false; then :
15856 else
15857 ac_cv_search_inet_aton=no
15859 rm conftest.$ac_ext
15860 LIBS=$ac_func_search_save_LIBS
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15863 $as_echo "$ac_cv_search_inet_aton" >&6; }
15864 ac_res=$ac_cv_search_inet_aton
15865 if test "$ac_res" != no; then :
15866 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15871 for ac_func in \
15872 getaddrinfo \
15873 getnameinfo \
15874 getnetbyname \
15875 getprotobyname \
15876 getprotobynumber \
15877 getservbyport \
15878 inet_addr \
15879 inet_network \
15880 inet_ntop \
15881 inet_pton \
15882 sendmsg \
15883 socketpair \
15885 do :
15886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15891 _ACEOF
15894 done
15897 ac_save_LIBS=$LIBS
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15899 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15900 if ${ac_cv_search_clock_gettime+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 ac_func_search_save_LIBS=$LIBS
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15907 /* Override any GCC internal prototype to avoid an error.
15908 Use char because int might match the return type of a GCC
15909 builtin and then its argument prototype would still apply. */
15910 #ifdef __cplusplus
15911 extern "C"
15912 #endif
15913 char clock_gettime ();
15915 main ()
15917 return clock_gettime ();
15919 return 0;
15921 _ACEOF
15922 for ac_lib in '' rt; do
15923 if test -z "$ac_lib"; then
15924 ac_res="none required"
15925 else
15926 ac_res=-l$ac_lib
15927 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15929 if ac_fn_c_try_link "$LINENO"; then :
15930 ac_cv_search_clock_gettime=$ac_res
15932 rm -f core conftest.err conftest.$ac_objext \
15933 conftest$ac_exeext
15934 if ${ac_cv_search_clock_gettime+:} false; then :
15935 break
15937 done
15938 if ${ac_cv_search_clock_gettime+:} false; then :
15940 else
15941 ac_cv_search_clock_gettime=no
15943 rm conftest.$ac_ext
15944 LIBS=$ac_func_search_save_LIBS
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15947 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15948 ac_res=$ac_cv_search_clock_gettime
15949 if test "$ac_res" != no; then :
15950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15952 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15954 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15958 LIBS=$ac_save_LIBS
15960 if test "x$with_ldap" != "xno"
15961 then
15962 if ${LDAP_CFLAGS:+false} :; then :
15963 if ${PKG_CONFIG+:} false; then :
15964 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15968 if ${LDAP_LIBS:+false} :; then :
15969 if ${PKG_CONFIG+:} false; then :
15970 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15974 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15975 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15976 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15977 ac_save_CPPFLAGS=$CPPFLAGS
15978 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15979 for ac_header in ldap.h lber.h
15980 do :
15981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15986 _ACEOF
15990 done
15992 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15993 then
15994 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15996 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15998 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15999 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16000 $as_echo_n "(cached) " >&6
16001 else
16002 ac_check_lib_save_LIBS=$LIBS
16003 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16010 #ifdef __cplusplus
16011 extern "C"
16012 #endif
16013 char ldap_initialize ();
16015 main ()
16017 return ldap_initialize ();
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 ac_cv_lib_ldap_r_ldap_initialize=yes
16024 else
16025 ac_cv_lib_ldap_r_ldap_initialize=no
16027 rm -f core conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16029 LIBS=$ac_check_lib_save_LIBS
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16032 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16033 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16035 $as_echo_n "checking for ber_init in -llber... " >&6; }
16036 if ${ac_cv_lib_lber_ber_init+:} false; then :
16037 $as_echo_n "(cached) " >&6
16038 else
16039 ac_check_lib_save_LIBS=$LIBS
16040 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16042 /* end confdefs.h. */
16044 /* Override any GCC internal prototype to avoid an error.
16045 Use char because int might match the return type of a GCC
16046 builtin and then its argument prototype would still apply. */
16047 #ifdef __cplusplus
16048 extern "C"
16049 #endif
16050 char ber_init ();
16052 main ()
16054 return ber_init ();
16056 return 0;
16058 _ACEOF
16059 if ac_fn_c_try_link "$LINENO"; then :
16060 ac_cv_lib_lber_ber_init=yes
16061 else
16062 ac_cv_lib_lber_ber_init=no
16064 rm -f core conftest.err conftest.$ac_objext \
16065 conftest$ac_exeext conftest.$ac_ext
16066 LIBS=$ac_check_lib_save_LIBS
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16069 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16070 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16072 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16074 else
16075 LDAP_LIBS=""
16078 else
16079 LDAP_LIBS=""
16082 else
16083 LDAP_LIBS=""
16086 ac_wine_check_funcs_save_LIBS="$LIBS"
16087 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16088 for ac_func in \
16089 ldap_count_references \
16090 ldap_first_reference \
16091 ldap_next_reference \
16092 ldap_parse_reference \
16093 ldap_parse_sort_control \
16094 ldap_parse_sortresponse_control \
16095 ldap_parse_vlv_control \
16096 ldap_parse_vlvresponse_control
16097 do :
16098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16103 _ACEOF
16106 done
16108 LIBS="$ac_wine_check_funcs_save_LIBS"
16109 else
16110 LDAP_LIBS=""
16112 CPPFLAGS=$ac_save_CPPFLAGS
16113 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16114 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16117 if test "x$LDAP_LIBS" = "x"; then :
16118 case "x$with_ldap" in
16119 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16120 xno) ;;
16121 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16122 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16123 esac
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16128 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16129 if ${wine_cv_one_arg_mkdir+:} false; then :
16130 $as_echo_n "(cached) " >&6
16131 else
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16134 #include <sys/stat.h>
16136 main ()
16138 mkdir("foo");
16140 return 0;
16142 _ACEOF
16143 if ac_fn_c_try_compile "$LINENO"; then :
16144 wine_cv_one_arg_mkdir=yes
16145 else
16146 wine_cv_one_arg_mkdir=no
16148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16151 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16152 if test "$wine_cv_one_arg_mkdir" = "yes"
16153 then
16155 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16160 $as_echo_n "checking for sched_setaffinity... " >&6; }
16161 if ${wine_cv_have_sched_setaffinity+:} false; then :
16162 $as_echo_n "(cached) " >&6
16163 else
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16166 #define _GNU_SOURCE
16167 #include <sched.h>
16169 main ()
16171 sched_setaffinity(0, 0, 0);
16173 return 0;
16175 _ACEOF
16176 if ac_fn_c_try_link "$LINENO"; then :
16177 wine_cv_have_sched_setaffinity=yes
16178 else
16179 wine_cv_have_sched_setaffinity=no
16181 rm -f core conftest.err conftest.$ac_objext \
16182 conftest$ac_exeext conftest.$ac_ext
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16185 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16186 if test "$wine_cv_have_sched_setaffinity" = "yes"
16187 then
16189 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16194 $as_echo_n "checking for fallocate... " >&6; }
16195 if ${wine_cv_have_fallocate+:} false; then :
16196 $as_echo_n "(cached) " >&6
16197 else
16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16200 #define _GNU_SOURCE
16201 #include <fcntl.h>
16203 main ()
16205 fallocate(-1, 0, 0, 0);
16207 return 0;
16209 _ACEOF
16210 if ac_fn_c_try_link "$LINENO"; then :
16211 wine_cv_have_fallocate=yes
16212 else
16213 wine_cv_have_fallocate=no
16215 rm -f core conftest.err conftest.$ac_objext \
16216 conftest$ac_exeext conftest.$ac_ext
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16219 $as_echo "$wine_cv_have_fallocate" >&6; }
16220 if test "$wine_cv_have_fallocate" = "yes"
16221 then
16223 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16229 $as_echo_n "checking for inline... " >&6; }
16230 if ${ac_cv_c_inline+:} false; then :
16231 $as_echo_n "(cached) " >&6
16232 else
16233 ac_cv_c_inline=no
16234 for ac_kw in inline __inline__ __inline; do
16235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16236 /* end confdefs.h. */
16237 #ifndef __cplusplus
16238 typedef int foo_t;
16239 static $ac_kw foo_t static_foo () {return 0; }
16240 $ac_kw foo_t foo () {return 0; }
16241 #endif
16243 _ACEOF
16244 if ac_fn_c_try_compile "$LINENO"; then :
16245 ac_cv_c_inline=$ac_kw
16247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16248 test "$ac_cv_c_inline" != no && break
16249 done
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16253 $as_echo "$ac_cv_c_inline" >&6; }
16255 case $ac_cv_c_inline in
16256 inline | yes) ;;
16258 case $ac_cv_c_inline in
16259 no) ac_val=;;
16260 *) ac_val=$ac_cv_c_inline;;
16261 esac
16262 cat >>confdefs.h <<_ACEOF
16263 #ifndef __cplusplus
16264 #define inline $ac_val
16265 #endif
16266 _ACEOF
16268 esac
16270 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16271 if test "x$ac_cv_type_mode_t" = xyes; then :
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_MODE_T 1
16275 _ACEOF
16279 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16280 if test "x$ac_cv_type_off_t" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_OFF_T 1
16284 _ACEOF
16288 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16289 if test "x$ac_cv_type_pid_t" = xyes; then :
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_PID_T 1
16293 _ACEOF
16297 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16298 if test "x$ac_cv_type_size_t" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_SIZE_T 1
16302 _ACEOF
16306 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16307 if test "x$ac_cv_type_ssize_t" = xyes; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define HAVE_SSIZE_T 1
16311 _ACEOF
16315 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16316 if test "x$ac_cv_type_long_long" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_LONG_LONG 1
16320 _ACEOF
16324 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16325 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_FSBLKCNT_T 1
16329 _ACEOF
16333 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16334 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_FSFILCNT_T 1
16338 _ACEOF
16343 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16344 #include <signal.h>
16346 if test "x$ac_cv_type_sigset_t" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_SIGSET_T 1
16350 _ACEOF
16355 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16357 if test "x$ac_cv_type_request_sense" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_REQUEST_SENSE 1
16361 _ACEOF
16367 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16368 #ifdef HAVE_SYS_SOCKET_H
16369 #include <sys/socket.h>
16370 #endif
16371 #ifdef HAVE_SYS_SOCKETVAR_H
16372 #include <sys/socketvar.h>
16373 #endif
16374 #ifdef HAVE_NET_ROUTE_H
16375 #include <net/route.h>
16376 #endif
16377 #ifdef HAVE_NETINET_IN_H
16378 #include <netinet/in.h>
16379 #endif
16380 #ifdef HAVE_NETINET_IN_SYSTM_H
16381 #include <netinet/in_systm.h>
16382 #endif
16383 #ifdef HAVE_NETINET_IP_H
16384 #include <netinet/ip.h>
16385 #endif
16386 #ifdef HAVE_NETINET_IN_PCB_H
16387 #include <netinet/in_pcb.h>
16388 #endif
16390 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16392 cat >>confdefs.h <<_ACEOF
16393 #define HAVE_STRUCT_XINPGEN 1
16394 _ACEOF
16400 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16401 #include <link.h>
16402 #endif
16403 #ifdef HAVE_SYS_LINK_H
16404 #include <sys/link.h>
16405 #endif
16407 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_STRUCT_R_DEBUG 1
16411 _ACEOF
16415 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16416 #include <link.h>
16417 #endif
16418 #ifdef HAVE_SYS_LINK_H
16419 #include <sys/link.h>
16420 #endif
16422 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT_LINK_MAP 1
16426 _ACEOF
16432 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16433 #include <linux/input.h>
16434 #endif
16436 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16440 _ACEOF
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16447 $as_echo_n "checking for if_nameindex... " >&6; }
16448 if ${wine_cv_have_if_nameindex+:} false; then :
16449 $as_echo_n "(cached) " >&6
16450 else
16451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16453 #ifdef HAVE_SYS_TYPES_H
16454 #include <sys/types.h>
16455 #endif
16456 #ifdef HAVE_SYS_SOCKET_H
16457 #include <sys/socket.h>
16458 #endif
16459 #ifdef HAVE_NET_IF_H
16460 # include <net/if.h>
16461 #endif
16463 main ()
16465 struct if_nameindex *p = if_nameindex(); return p->if_index;
16467 return 0;
16469 _ACEOF
16470 if ac_fn_c_try_link "$LINENO"; then :
16471 wine_cv_have_if_nameindex=yes
16472 else
16473 wine_cv_have_if_nameindex=no
16475 rm -f core conftest.err conftest.$ac_objext \
16476 conftest$ac_exeext conftest.$ac_ext
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16479 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16480 if test "$wine_cv_have_if_nameindex" = "yes"
16481 then
16483 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16488 $as_echo_n "checking for sigaddset... " >&6; }
16489 if ${wine_cv_have_sigaddset+:} false; then :
16490 $as_echo_n "(cached) " >&6
16491 else
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16494 #include <signal.h>
16496 main ()
16498 sigset_t set; sigaddset(&set,SIGTERM);
16500 return 0;
16502 _ACEOF
16503 if ac_fn_c_try_link "$LINENO"; then :
16504 wine_cv_have_sigaddset=yes
16505 else
16506 wine_cv_have_sigaddset=no
16508 rm -f core conftest.err conftest.$ac_objext \
16509 conftest$ac_exeext conftest.$ac_ext
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16512 $as_echo "$wine_cv_have_sigaddset" >&6; }
16513 if test "$wine_cv_have_sigaddset" = "yes"
16514 then
16516 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16522 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16523 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16524 $as_echo_n "(cached) " >&6
16525 else
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16528 #include <netdb.h>
16530 main ()
16533 char *name=0;
16534 struct hostent he;
16535 struct hostent *result;
16536 char *buf=0;
16537 int bufsize=0;
16538 int errnr;
16539 char *addr=0;
16540 int addrlen=0;
16541 int addrtype=0;
16542 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16543 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16546 return 0;
16548 _ACEOF
16549 if ac_fn_c_try_link "$LINENO"; then :
16550 wine_cv_linux_gethostbyname_r_6=yes
16551 else
16552 wine_cv_linux_gethostbyname_r_6=no
16555 rm -f core conftest.err conftest.$ac_objext \
16556 conftest$ac_exeext conftest.$ac_ext
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16560 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16561 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16562 then
16564 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16568 if test "$ac_cv_header_linux_joystick_h" = "yes"
16569 then
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16571 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16572 if ${wine_cv_linux_joystick_22_api+:} false; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16576 /* end confdefs.h. */
16578 #include <sys/ioctl.h>
16579 #include <sys/types.h>
16580 #include <linux/joystick.h>
16582 struct js_event blub;
16583 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16584 #error "no 2.2 header"
16585 #endif
16588 main ()
16590 /*empty*/
16592 return 0;
16594 _ACEOF
16595 if ac_fn_c_try_compile "$LINENO"; then :
16596 wine_cv_linux_joystick_22_api=yes
16597 else
16598 wine_cv_linux_joystick_22_api=no
16600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16604 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16605 if test "$wine_cv_linux_joystick_22_api" = "yes"
16606 then
16608 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16614 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16615 #ifdef HAVE_SYS_PARAM_H
16616 # include <sys/param.h>
16617 #endif
16618 #ifdef HAVE_SYS_MOUNT_H
16619 # include <sys/mount.h>
16620 #endif
16621 #ifdef HAVE_SYS_VFS_H
16622 # include <sys/vfs.h>
16623 #endif
16624 #ifdef HAVE_SYS_STATFS_H
16625 # include <sys/statfs.h>
16626 #endif
16628 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_STATFS_F_BFREE 1
16632 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16637 #ifdef HAVE_SYS_PARAM_H
16638 # include <sys/param.h>
16639 #endif
16640 #ifdef HAVE_SYS_MOUNT_H
16641 # include <sys/mount.h>
16642 #endif
16643 #ifdef HAVE_SYS_VFS_H
16644 # include <sys/vfs.h>
16645 #endif
16646 #ifdef HAVE_SYS_STATFS_H
16647 # include <sys/statfs.h>
16648 #endif
16650 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16652 cat >>confdefs.h <<_ACEOF
16653 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16654 _ACEOF
16658 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16659 #ifdef HAVE_SYS_PARAM_H
16660 # include <sys/param.h>
16661 #endif
16662 #ifdef HAVE_SYS_MOUNT_H
16663 # include <sys/mount.h>
16664 #endif
16665 #ifdef HAVE_SYS_VFS_H
16666 # include <sys/vfs.h>
16667 #endif
16668 #ifdef HAVE_SYS_STATFS_H
16669 # include <sys/statfs.h>
16670 #endif
16672 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16674 cat >>confdefs.h <<_ACEOF
16675 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16676 _ACEOF
16680 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16681 #ifdef HAVE_SYS_PARAM_H
16682 # include <sys/param.h>
16683 #endif
16684 #ifdef HAVE_SYS_MOUNT_H
16685 # include <sys/mount.h>
16686 #endif
16687 #ifdef HAVE_SYS_VFS_H
16688 # include <sys/vfs.h>
16689 #endif
16690 #ifdef HAVE_SYS_STATFS_H
16691 # include <sys/statfs.h>
16692 #endif
16694 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_STRUCT_STATFS_F_FFREE 1
16698 _ACEOF
16702 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16703 #ifdef HAVE_SYS_PARAM_H
16704 # include <sys/param.h>
16705 #endif
16706 #ifdef HAVE_SYS_MOUNT_H
16707 # include <sys/mount.h>
16708 #endif
16709 #ifdef HAVE_SYS_VFS_H
16710 # include <sys/vfs.h>
16711 #endif
16712 #ifdef HAVE_SYS_STATFS_H
16713 # include <sys/statfs.h>
16714 #endif
16716 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16718 cat >>confdefs.h <<_ACEOF
16719 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16720 _ACEOF
16724 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16725 #ifdef HAVE_SYS_PARAM_H
16726 # include <sys/param.h>
16727 #endif
16728 #ifdef HAVE_SYS_MOUNT_H
16729 # include <sys/mount.h>
16730 #endif
16731 #ifdef HAVE_SYS_VFS_H
16732 # include <sys/vfs.h>
16733 #endif
16734 #ifdef HAVE_SYS_STATFS_H
16735 # include <sys/statfs.h>
16736 #endif
16738 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16742 _ACEOF
16748 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16749 #include <sys/statvfs.h>
16750 #endif
16752 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16754 cat >>confdefs.h <<_ACEOF
16755 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16756 _ACEOF
16762 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16763 #include <dirent.h>
16764 #endif
16766 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16770 _ACEOF
16776 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16777 #ifdef HAVE_SYS_SOCKET_H
16778 # include <sys/socket.h>
16779 #endif
16780 #ifdef HAVE_SYS_UN_H
16781 # include <sys/un.h>
16782 #endif
16784 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16788 _ACEOF
16792 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16793 #ifdef HAVE_SYS_SOCKET_H
16794 # include <sys/socket.h>
16795 #endif
16796 #ifdef HAVE_SYS_UN_H
16797 # include <sys/un.h>
16798 #endif
16800 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16802 cat >>confdefs.h <<_ACEOF
16803 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16804 _ACEOF
16808 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16809 #ifdef HAVE_SYS_SOCKET_H
16810 # include <sys/socket.h>
16811 #endif
16812 #ifdef HAVE_SYS_UN_H
16813 # include <sys/un.h>
16814 #endif
16816 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16820 _ACEOF
16826 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16827 #ifdef HAVE_SCSI_SG_H
16828 #include <scsi/sg.h>
16829 #endif
16831 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16833 cat >>confdefs.h <<_ACEOF
16834 #define HAVE_SCSIREQ_T_CMD 1
16835 _ACEOF
16839 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>
16840 #ifdef HAVE_SCSI_SG_H
16841 #include <scsi/sg.h>
16842 #endif
16844 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16846 cat >>confdefs.h <<_ACEOF
16847 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16848 _ACEOF
16854 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16856 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16858 cat >>confdefs.h <<_ACEOF
16859 #define HAVE_SIGINFO_T_SI_FD 1
16860 _ACEOF
16866 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16867 #ifdef HAVE_SYS_MTIO_H
16868 #include <sys/mtio.h>
16869 #endif
16871 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16873 cat >>confdefs.h <<_ACEOF
16874 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16875 _ACEOF
16879 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16880 #ifdef HAVE_SYS_MTIO_H
16881 #include <sys/mtio.h>
16882 #endif
16884 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16886 cat >>confdefs.h <<_ACEOF
16887 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16888 _ACEOF
16892 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16893 #ifdef HAVE_SYS_MTIO_H
16894 #include <sys/mtio.h>
16895 #endif
16897 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16899 cat >>confdefs.h <<_ACEOF
16900 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16901 _ACEOF
16907 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16908 #include <getopt.h>
16909 #endif
16911 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16913 cat >>confdefs.h <<_ACEOF
16914 #define HAVE_STRUCT_OPTION_NAME 1
16915 _ACEOF
16921 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16922 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16924 cat >>confdefs.h <<_ACEOF
16925 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16926 _ACEOF
16930 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16931 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_STRUCT_STAT_ST_MTIM 1
16935 _ACEOF
16939 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16940 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16944 _ACEOF
16948 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16949 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16951 cat >>confdefs.h <<_ACEOF
16952 #define HAVE_STRUCT_STAT_ST_CTIM 1
16953 _ACEOF
16957 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16958 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16962 _ACEOF
16966 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16967 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16969 cat >>confdefs.h <<_ACEOF
16970 #define HAVE_STRUCT_STAT_ST_ATIM 1
16971 _ACEOF
16975 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16976 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16978 cat >>confdefs.h <<_ACEOF
16979 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16980 _ACEOF
16984 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16985 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16987 cat >>confdefs.h <<_ACEOF
16988 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16989 _ACEOF
16993 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16994 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16998 _ACEOF
17002 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17003 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17005 cat >>confdefs.h <<_ACEOF
17006 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17007 _ACEOF
17011 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17012 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17014 cat >>confdefs.h <<_ACEOF
17015 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17016 _ACEOF
17020 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17021 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17023 cat >>confdefs.h <<_ACEOF
17024 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17025 _ACEOF
17031 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
17032 #include <sys/types.h>
17033 #endif
17034 #ifdef HAVE_NETINET_IN_H
17035 #include <netinet/in.h>
17036 #endif
17038 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17040 cat >>confdefs.h <<_ACEOF
17041 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17042 _ACEOF
17048 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17049 #include <sys/types.h>
17050 #endif
17051 #ifdef HAVE_NETINET_IN_H
17052 #include <netinet/in.h>
17053 #endif
17054 #ifdef HAVE_RESOLV_H
17055 #include <resolv.h>
17056 #endif
17058 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17060 cat >>confdefs.h <<_ACEOF
17061 #define HAVE_STRUCT___RES_STATE 1
17062 _ACEOF
17068 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
17069 #include <resolv.h>
17070 #endif
17072 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17074 cat >>confdefs.h <<_ACEOF
17075 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17076 _ACEOF
17082 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17083 #include <sys/types.h>
17084 #endif
17085 #ifdef HAVE_NETINET_IN_H
17086 # include <netinet/in.h>
17087 #endif
17088 #ifdef HAVE_ARPA_NAMESER_H
17089 # include <arpa/nameser.h>
17090 #endif
17092 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17094 cat >>confdefs.h <<_ACEOF
17095 #define HAVE_NS_MSG__MSG_PTR 1
17096 _ACEOF
17102 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17103 #include <sys/types.h>
17104 #endif
17105 #ifdef HAVE_NETINET_IN_H
17106 #include <netinet/in.h>
17107 #endif
17108 #ifdef HAVE_NETINET_IP_H
17109 #include <netinet/ip.h>
17110 #endif
17111 #ifdef HAVE_NETINET_IP_ICMP_H
17112 #include <netinet/ip_icmp.h>
17113 #endif
17114 #ifdef HAVE_NETINET_ICMP_VAR_H
17115 #include <netinet/icmp_var.h>
17116 #endif
17118 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17120 cat >>confdefs.h <<_ACEOF
17121 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17122 _ACEOF
17128 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17129 #include <sys/types.h>
17130 #endif
17131 #ifdef HAVE_ALIAS_H
17132 #include <alias.h>
17133 #endif
17134 #ifdef HAVE_SYS_SOCKET_H
17135 #include <sys/socket.h>
17136 #endif
17137 #ifdef HAVE_SYS_SOCKETVAR_H
17138 #include <sys/socketvar.h>
17139 #endif
17140 #ifdef HAVE_SYS_TIMEOUT_H
17141 #include <sys/timeout.h>
17142 #endif
17143 #ifdef HAVE_NETINET_IN_H
17144 #include <netinet/in.h>
17145 #endif
17146 #ifdef HAVE_NETINET_IN_SYSTM_H
17147 #include <netinet/in_systm.h>
17148 #endif
17149 #ifdef HAVE_NETINET_IP_H
17150 #include <netinet/ip.h>
17151 #endif
17152 #ifdef HAVE_NETINET_IP_VAR_H
17153 #include <netinet/ip_var.h>
17154 #endif
17155 #ifdef HAVE_NETINET_IP_ICMP_H
17156 #include <netinet/ip_icmp.h>
17157 #endif
17158 #ifdef HAVE_NETINET_ICMP_VAR_H
17159 #include <netinet/icmp_var.h>
17160 #endif
17162 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17164 cat >>confdefs.h <<_ACEOF
17165 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17166 _ACEOF
17172 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17173 #include <sys/types.h>
17174 #endif
17175 #ifdef HAVE_SYS_SOCKETVAR_H
17176 #include <sys/socketvar.h>
17177 #endif
17178 #ifdef HAVE_NETINET_IN_H
17179 #include <netinet/in.h>
17180 #endif
17181 #ifdef HAVE_NETINET_IP_VAR_H
17182 #include <netinet/ip_var.h>
17183 #endif
17185 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17189 _ACEOF
17195 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
17196 #include <netinet/ip_var.h>
17197 #endif
17199 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17201 cat >>confdefs.h <<_ACEOF
17202 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17203 _ACEOF
17209 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17210 #include <sys/types.h>
17211 #endif
17212 #ifdef HAVE_SYS_SOCKETVAR_H
17213 #include <sys/socketvar.h>
17214 #endif
17215 #ifdef HAVE_NETINET_IN_H
17216 #include <netinet/in.h>
17217 #endif
17218 #ifdef HAVE_NETINET_TCP_H
17219 #include <netinet/tcp.h>
17220 #endif
17221 #ifdef HAVE_NETINET_TCP_VAR_H
17222 #include <netinet/tcp_var.h>
17223 #endif
17225 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17229 _ACEOF
17235 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
17236 #include <netinet/tcp_var.h>
17237 #endif
17239 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17241 cat >>confdefs.h <<_ACEOF
17242 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17243 _ACEOF
17249 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17250 #include <sys/types.h>
17251 #endif
17252 #ifdef HAVE_NETINET_IN_H
17253 #include <netinet/in.h>
17254 #endif
17255 #ifdef HAVE_NETINET_IP_VAR_H
17256 #include <netinet/ip_var.h>
17257 #endif
17258 #ifdef HAVE_NETINET_UDP_H
17259 #include <netinet/udp.h>
17260 #endif
17261 #ifdef HAVE_NETINET_UDP_VAR_H
17262 #include <netinet/udp_var.h>
17263 #endif
17265 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17267 cat >>confdefs.h <<_ACEOF
17268 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17269 _ACEOF
17275 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17276 #include <sys/types.h>
17277 #endif
17278 #ifdef HAVE_NET_IF_H
17279 # include <net/if.h>
17280 #endif
17282 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17286 _ACEOF
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17293 $as_echo_n "checking for timezone variable... " >&6; }
17294 if ${ac_cv_have_timezone+:} false; then :
17295 $as_echo_n "(cached) " >&6
17296 else
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 #include <time.h>
17301 main ()
17303 timezone = 1
17305 return 0;
17307 _ACEOF
17308 if ac_fn_c_try_link "$LINENO"; then :
17309 ac_cv_have_timezone="yes"
17310 else
17311 ac_cv_have_timezone="no"
17313 rm -f core conftest.err conftest.$ac_objext \
17314 conftest$ac_exeext conftest.$ac_ext
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17317 $as_echo "$ac_cv_have_timezone" >&6; }
17318 if test "$ac_cv_have_timezone" = "yes"
17319 then
17321 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17325 $as_echo_n "checking for daylight variable... " >&6; }
17326 if ${ac_cv_have_daylight+:} false; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #include <time.h>
17333 main ()
17335 daylight = 1
17337 return 0;
17339 _ACEOF
17340 if ac_fn_c_try_link "$LINENO"; then :
17341 ac_cv_have_daylight="yes"
17342 else
17343 ac_cv_have_daylight="no"
17345 rm -f core conftest.err conftest.$ac_objext \
17346 conftest$ac_exeext conftest.$ac_ext
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17349 $as_echo "$ac_cv_have_daylight" >&6; }
17350 if test "$ac_cv_have_daylight" = "yes"
17351 then
17353 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17357 ac_save_LIBS="$LIBS"
17358 LIBS="$LIBS -lm"
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17360 $as_echo_n "checking for isfinite... " >&6; }
17361 if ${ac_cv_have_isfinite+:} false; then :
17362 $as_echo_n "(cached) " >&6
17363 else
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #define _GNU_SOURCE
17367 #include <math.h>
17369 main ()
17371 float f = 0.0; return isfinite(f)
17373 return 0;
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"; then :
17377 ac_cv_have_isfinite="yes"
17378 else
17379 ac_cv_have_isfinite="no"
17381 rm -f core conftest.err conftest.$ac_objext \
17382 conftest$ac_exeext conftest.$ac_ext
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17385 $as_echo "$ac_cv_have_isfinite" >&6; }
17386 if test "$ac_cv_have_isfinite" = "yes"
17387 then
17389 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17394 $as_echo_n "checking for isinf... " >&6; }
17395 if ${ac_cv_have_isinf+:} false; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 #include <math.h>
17402 main ()
17404 float f = 0.0; return isinf(f)
17406 return 0;
17408 _ACEOF
17409 if ac_fn_c_try_link "$LINENO"; then :
17410 ac_cv_have_isinf="yes"
17411 else
17412 ac_cv_have_isinf="no"
17414 rm -f core conftest.err conftest.$ac_objext \
17415 conftest$ac_exeext conftest.$ac_ext
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17418 $as_echo "$ac_cv_have_isinf" >&6; }
17419 if test "$ac_cv_have_isinf" = "yes"
17420 then
17422 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17427 $as_echo_n "checking for isnan... " >&6; }
17428 if ${ac_cv_have_isnan+:} false; then :
17429 $as_echo_n "(cached) " >&6
17430 else
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 #include <math.h>
17435 main ()
17437 float f = 0.0; return isnan(f)
17439 return 0;
17441 _ACEOF
17442 if ac_fn_c_try_link "$LINENO"; then :
17443 ac_cv_have_isnan="yes"
17444 else
17445 ac_cv_have_isnan="no"
17447 rm -f core conftest.err conftest.$ac_objext \
17448 conftest$ac_exeext conftest.$ac_ext
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17451 $as_echo "$ac_cv_have_isnan" >&6; }
17452 if test "$ac_cv_have_isnan" = "yes"
17453 then
17455 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17459 for ac_func in \
17460 acosh \
17461 acoshf \
17462 asinh \
17463 asinhf \
17464 atanh \
17465 atanhf \
17466 cbrt \
17467 cbrtf \
17468 erf \
17469 erfc \
17470 erfcf \
17471 erff \
17472 exp2 \
17473 exp2f \
17474 expm1 \
17475 expm1f \
17476 lgamma \
17477 lgammaf \
17478 llrint \
17479 llrintf \
17480 llround \
17481 llroundf \
17482 log1p \
17483 log1pf \
17484 log2 \
17485 log2f \
17486 lrint \
17487 lrintf \
17488 lround \
17489 lroundf \
17490 nearbyint \
17491 nearbyintf \
17492 powl \
17493 remainder \
17494 remainderf \
17495 rint \
17496 rintf \
17497 round \
17498 roundf \
17499 trunc \
17500 truncf
17502 do :
17503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17505 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17506 cat >>confdefs.h <<_ACEOF
17507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17508 _ACEOF
17511 done
17513 LIBS="$ac_save_LIBS"
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17516 $as_echo_n "checking for __builtin_clz... " >&6; }
17517 if ${ac_cv_have___builtin_clz+:} false; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17524 main ()
17526 return __builtin_clz(1)
17528 return 0;
17530 _ACEOF
17531 if ac_fn_c_try_link "$LINENO"; then :
17532 ac_cv_have___builtin_clz="yes"
17533 else
17534 ac_cv_have___builtin_clz="no"
17536 rm -f core conftest.err conftest.$ac_objext \
17537 conftest$ac_exeext conftest.$ac_ext
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17540 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17541 if test "$ac_cv_have___builtin_clz" = "yes"
17542 then
17544 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17549 $as_echo_n "checking for __builtin_popcount... " >&6; }
17550 if ${ac_cv_have___builtin_popcount+:} false; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17557 main ()
17559 return __builtin_popcount(1)
17561 return 0;
17563 _ACEOF
17564 if ac_fn_c_try_link "$LINENO"; then :
17565 ac_cv_have___builtin_popcount="yes"
17566 else
17567 ac_cv_have___builtin_popcount="no"
17569 rm -f core conftest.err conftest.$ac_objext \
17570 conftest$ac_exeext conftest.$ac_ext
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17573 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17574 if test "$ac_cv_have___builtin_popcount" = "yes"
17575 then
17577 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17582 case $host_cpu in
17583 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17584 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17585 if ${ac_cv_cpp_def___i386__+:} false; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590 #ifndef __i386__
17592 #endif
17593 _ACEOF
17594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17595 $EGREP "yes" >/dev/null 2>&1; then :
17596 ac_cv_cpp_def___i386__=yes
17597 else
17598 ac_cv_cpp_def___i386__=no
17600 rm -f conftest*
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17604 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17605 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17606 CFLAGS="$CFLAGS -D__i386__"
17607 LINTFLAGS="$LINTFLAGS -D__i386__"
17608 fi ;;
17609 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17610 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17611 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17612 $as_echo_n "(cached) " >&6
17613 else
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #ifndef __x86_64__
17618 #endif
17619 _ACEOF
17620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17621 $EGREP "yes" >/dev/null 2>&1; then :
17622 ac_cv_cpp_def___x86_64__=yes
17623 else
17624 ac_cv_cpp_def___x86_64__=no
17626 rm -f conftest*
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17630 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17631 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17632 CFLAGS="$CFLAGS -D__x86_64__"
17633 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17634 fi ;;
17635 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17636 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17637 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17638 $as_echo_n "(cached) " >&6
17639 else
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17642 #ifndef __sparc64__
17644 #endif
17645 _ACEOF
17646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17647 $EGREP "yes" >/dev/null 2>&1; then :
17648 ac_cv_cpp_def___sparc64__=yes
17649 else
17650 ac_cv_cpp_def___sparc64__=no
17652 rm -f conftest*
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17656 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17657 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17658 CFLAGS="$CFLAGS -D__sparc64__"
17659 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17660 fi ;;
17661 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17662 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17663 if ${ac_cv_cpp_def___sparc__+:} false; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668 #ifndef __sparc__
17670 #endif
17671 _ACEOF
17672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17673 $EGREP "yes" >/dev/null 2>&1; then :
17674 ac_cv_cpp_def___sparc__=yes
17675 else
17676 ac_cv_cpp_def___sparc__=no
17678 rm -f conftest*
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17682 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17683 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17684 CFLAGS="$CFLAGS -D__sparc__"
17685 LINTFLAGS="$LINTFLAGS -D__sparc__"
17686 fi ;;
17687 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17688 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17689 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 #ifndef __powerpc64__
17696 #endif
17697 _ACEOF
17698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17699 $EGREP "yes" >/dev/null 2>&1; then :
17700 ac_cv_cpp_def___powerpc64__=yes
17701 else
17702 ac_cv_cpp_def___powerpc64__=no
17704 rm -f conftest*
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17708 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17709 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17710 CFLAGS="$CFLAGS -D__powerpc64__"
17711 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17712 fi ;;
17713 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17714 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17715 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17720 #ifndef __powerpc__
17722 #endif
17723 _ACEOF
17724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17725 $EGREP "yes" >/dev/null 2>&1; then :
17726 ac_cv_cpp_def___powerpc__=yes
17727 else
17728 ac_cv_cpp_def___powerpc__=no
17730 rm -f conftest*
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17734 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17735 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17736 CFLAGS="$CFLAGS -D__powerpc__"
17737 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17738 fi ;;
17739 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17740 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17741 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17742 $as_echo_n "(cached) " >&6
17743 else
17744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h. */
17746 #ifndef __aarch64__
17748 #endif
17749 _ACEOF
17750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17751 $EGREP "yes" >/dev/null 2>&1; then :
17752 ac_cv_cpp_def___aarch64__=yes
17753 else
17754 ac_cv_cpp_def___aarch64__=no
17756 rm -f conftest*
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17760 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17761 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17762 CFLAGS="$CFLAGS -D__aarch64__"
17763 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17764 fi ;;
17765 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17766 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17767 if ${ac_cv_cpp_def___arm__+:} false; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17772 #ifndef __arm__
17774 #endif
17775 _ACEOF
17776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17777 $EGREP "yes" >/dev/null 2>&1; then :
17778 ac_cv_cpp_def___arm__=yes
17779 else
17780 ac_cv_cpp_def___arm__=no
17782 rm -f conftest*
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17786 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17787 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17788 CFLAGS="$CFLAGS -D__arm__"
17789 LINTFLAGS="$LINTFLAGS -D__arm__"
17790 fi ;;
17791 esac
17793 case $host_vendor in
17794 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17795 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17796 if ${ac_cv_cpp_def___sun__+:} false; then :
17797 $as_echo_n "(cached) " >&6
17798 else
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17801 #ifndef __sun__
17803 #endif
17804 _ACEOF
17805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17806 $EGREP "yes" >/dev/null 2>&1; then :
17807 ac_cv_cpp_def___sun__=yes
17808 else
17809 ac_cv_cpp_def___sun__=no
17811 rm -f conftest*
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17815 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17816 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17817 CFLAGS="$CFLAGS -D__sun__"
17818 LINTFLAGS="$LINTFLAGS -D__sun__"
17819 fi ;;
17820 esac
17826 ac_config_commands="$ac_config_commands include/stamp-h"
17828 $as_echo_n "creating Makefile rules..." >&6
17830 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17831 SOCKET_LIBS = $SOCKET_LIBS
17832 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17833 IOKIT_LIBS = $IOKIT_LIBS
17834 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17835 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17836 CORESERVICES_LIBS = $CORESERVICES_LIBS
17837 APPKIT_LIBS = $APPKIT_LIBS
17838 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17839 SECURITY_LIBS = $SECURITY_LIBS
17840 COREAUDIO_LIBS = $COREAUDIO_LIBS
17841 OPENAL_LIBS = $OPENAL_LIBS
17842 OPENCL_LIBS = $OPENCL_LIBS
17843 QUICKTIME_LIBS = $QUICKTIME_LIBS
17844 CARBON_LIBS = $CARBON_LIBS
17845 PTHREAD_LIBS = $PTHREAD_LIBS
17846 X_CFLAGS = $X_CFLAGS
17847 X_PRE_LIBS = $X_PRE_LIBS
17848 X_LIBS = $X_LIBS
17849 X_EXTRA_LIBS = $X_EXTRA_LIBS
17850 PCAP_LIBS = $PCAP_LIBS
17851 XML2_CFLAGS = $XML2_CFLAGS
17852 XML2_LIBS = $XML2_LIBS
17853 XSLT_CFLAGS = $XSLT_CFLAGS
17854 XSLT_LIBS = $XSLT_LIBS
17855 DBUS_CFLAGS = $DBUS_CFLAGS
17856 DBUS_LIBS = $DBUS_LIBS
17857 HAL_CFLAGS = $HAL_CFLAGS
17858 HAL_LIBS = $HAL_LIBS
17859 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17860 GNUTLS_LIBS = $GNUTLS_LIBS
17861 SANE_CFLAGS = $SANE_CFLAGS
17862 SANE_LIBS = $SANE_LIBS
17863 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17864 GPHOTO2_LIBS = $GPHOTO2_LIBS
17865 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17866 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17867 RESOLV_LIBS = $RESOLV_LIBS
17868 LCMS2_CFLAGS = $LCMS2_CFLAGS
17869 LCMS2_LIBS = $LCMS2_LIBS
17870 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17871 FREETYPE_LIBS = $FREETYPE_LIBS
17872 Z_LIBS = $Z_LIBS
17873 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17874 PULSE_CFLAGS = $PULSE_CFLAGS
17875 PULSE_LIBS = $PULSE_LIBS
17876 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17877 GSTREAMER_LIBS = $GSTREAMER_LIBS
17878 ALSA_LIBS = $ALSA_LIBS
17879 OSS4_CFLAGS = $OSS4_CFLAGS
17880 UDEV_CFLAGS = $UDEV_CFLAGS
17881 UDEV_LIBS = $UDEV_LIBS
17882 CAPI20_CFLAGS = $CAPI20_CFLAGS
17883 CAPI20_LIBS = $CAPI20_LIBS
17884 CUPS_CFLAGS = $CUPS_CFLAGS
17885 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17886 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17887 JPEG_CFLAGS = $JPEG_CFLAGS
17888 JPEG_LIBS = $JPEG_LIBS
17889 PNG_CFLAGS = $PNG_CFLAGS
17890 PNG_LIBS = $PNG_LIBS
17891 TIFF_CFLAGS = $TIFF_CFLAGS
17892 TIFF_LIBS = $TIFF_LIBS
17893 MPG123_CFLAGS = $MPG123_CFLAGS
17894 MPG123_LIBS = $MPG123_LIBS
17895 KSTAT_LIBS = $KSTAT_LIBS
17896 PROCSTAT_LIBS = $PROCSTAT_LIBS
17897 NETAPI_CFLAGS = $NETAPI_CFLAGS
17898 NETAPI_LIBS = $NETAPI_LIBS
17899 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17900 DL_LIBS = $DL_LIBS
17901 POLL_LIBS = $POLL_LIBS
17902 RT_LIBS = $RT_LIBS
17903 LDAP_CFLAGS = $LDAP_CFLAGS
17904 LDAP_LIBS = $LDAP_LIBS
17909 wine_fn_append_rule "
17910 # Rules automatically generated by configure
17912 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17914 .INIT: Makefile
17915 .MAKEFILEDEPS:
17916 all: Makefile
17917 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17918 @./config.status Make.tmp Makefile
17919 depend: \$(MAKEDEP) dummy
17920 \$(MAKEDEP)"
17922 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17923 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17925 if test "x$enable_fonts" != xno; then
17926 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17927 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17928 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17929 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17930 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17931 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17933 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17934 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17935 ac_config_links="$ac_config_links wine:tools/winewrapper"
17936 wine_fn_config_symlink wine
17937 if test "x$enable_win64" != xno; then
17938 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17939 wine_fn_config_symlink wine64
17942 wine_fn_config_dll acledit enable_acledit
17943 wine_fn_config_dll aclui enable_aclui implib
17944 wine_fn_config_dll activeds enable_activeds implib
17945 wine_fn_config_dll actxprxy enable_actxprxy clean
17946 wine_fn_config_lib adsiid
17947 wine_fn_config_dll adsldpc enable_adsldpc
17948 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17949 wine_fn_config_test dlls/advapi32/tests advapi32_test
17950 wine_fn_config_dll advpack enable_advpack implib
17951 wine_fn_config_test dlls/advpack/tests advpack_test
17952 wine_fn_config_dll amstream enable_amstream clean
17953 wine_fn_config_test dlls/amstream/tests amstream_test
17954 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17955 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17956 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17958 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17963 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17966 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17968 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17970 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17972 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17974 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17976 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17977 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17979 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17981 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17982 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17983 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17984 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17987 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17990 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17992 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17994 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17995 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17996 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17997 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17999 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18001 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18002 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18003 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18004 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18005 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18006 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18007 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18008 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18009 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18011 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18012 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18013 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18015 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18017 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18019 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18021 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18022 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18023 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18024 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18025 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18026 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18032 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18035 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18040 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18042 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18044 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18045 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18046 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18047 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18048 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18049 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18050 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18061 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18062 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18064 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18069 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18070 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18071 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18072 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18084 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18085 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18086 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18087 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18088 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18089 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18090 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18091 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18092 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18093 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18094 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18095 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18096 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18097 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18098 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18099 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18100 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18101 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18102 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18103 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18104 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18105 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18106 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18107 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18108 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18109 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18110 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18111 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18112 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18113 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18114 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18115 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18116 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18117 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18118 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18119 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18120 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18121 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18122 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18123 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18124 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18125 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18126 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18127 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18128 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18129 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18130 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18131 wine_fn_config_dll apphelp enable_apphelp
18132 wine_fn_config_test dlls/apphelp/tests apphelp_test
18133 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18134 wine_fn_config_dll atl enable_atl clean,implib
18135 wine_fn_config_test dlls/atl/tests atl_test
18136 wine_fn_config_dll atl100 enable_atl100 clean,implib
18137 wine_fn_config_test dlls/atl100/tests atl100_test
18138 wine_fn_config_dll atl110 enable_atl110 clean
18139 wine_fn_config_dll atl80 enable_atl80 clean,implib
18140 wine_fn_config_test dlls/atl80/tests atl80_test
18141 wine_fn_config_dll atl90 enable_atl90 clean
18142 wine_fn_config_dll authz enable_authz
18143 wine_fn_config_dll avicap32 enable_avicap32 implib
18144 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18145 wine_fn_config_test dlls/avifil32/tests avifil32_test
18146 wine_fn_config_dll avifile.dll16 enable_win16
18147 wine_fn_config_dll avrt enable_avrt implib
18148 wine_fn_config_dll bcrypt enable_bcrypt implib
18149 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18150 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18151 wine_fn_config_dll browseui enable_browseui clean
18152 wine_fn_config_test dlls/browseui/tests browseui_test
18153 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18154 wine_fn_config_dll cabinet enable_cabinet implib
18155 wine_fn_config_test dlls/cabinet/tests cabinet_test
18156 wine_fn_config_dll capi2032 enable_capi2032 implib
18157 wine_fn_config_dll cards enable_cards implib
18158 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18159 wine_fn_config_dll clusapi enable_clusapi implib
18160 wine_fn_config_dll combase enable_combase
18161 wine_fn_config_test dlls/combase/tests combase_test
18162 wine_fn_config_dll comcat enable_comcat
18163 wine_fn_config_test dlls/comcat/tests comcat_test
18164 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18165 wine_fn_config_test dlls/comctl32/tests comctl32_test
18166 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18167 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18168 wine_fn_config_dll comm.drv16 enable_win16
18169 wine_fn_config_dll commdlg.dll16 enable_win16
18170 wine_fn_config_dll compobj.dll16 enable_win16
18171 wine_fn_config_dll compstui enable_compstui implib
18172 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18173 wine_fn_config_dll concrt140 enable_concrt140
18174 wine_fn_config_dll connect enable_connect
18175 wine_fn_config_dll credui enable_credui clean,implib
18176 wine_fn_config_test dlls/credui/tests credui_test
18177 wine_fn_config_dll crtdll enable_crtdll
18178 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18179 wine_fn_config_test dlls/crypt32/tests crypt32_test
18180 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18181 wine_fn_config_dll cryptdll enable_cryptdll implib
18182 wine_fn_config_dll cryptext enable_cryptext
18183 wine_fn_config_dll cryptnet enable_cryptnet implib
18184 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18185 wine_fn_config_dll cryptui enable_cryptui clean,implib
18186 wine_fn_config_test dlls/cryptui/tests cryptui_test
18187 wine_fn_config_dll ctapi32 enable_ctapi32
18188 wine_fn_config_dll ctl3d.dll16 enable_win16
18189 wine_fn_config_dll ctl3d32 enable_ctl3d32
18190 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18191 wine_fn_config_dll d2d1 enable_d2d1 implib
18192 wine_fn_config_test dlls/d2d1/tests d2d1_test
18193 wine_fn_config_dll d3d10 enable_d3d10 implib
18194 wine_fn_config_test dlls/d3d10/tests d3d10_test
18195 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18196 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18197 wine_fn_config_dll d3d10core enable_d3d10core implib
18198 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18199 wine_fn_config_dll d3d11 enable_d3d11 implib
18200 wine_fn_config_test dlls/d3d11/tests d3d11_test
18201 wine_fn_config_dll d3d8 enable_d3d8 implib
18202 wine_fn_config_test dlls/d3d8/tests d3d8_test
18203 wine_fn_config_dll d3d9 enable_d3d9 implib
18204 wine_fn_config_test dlls/d3d9/tests d3d9_test
18205 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18206 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18207 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18208 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18209 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18210 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18211 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18212 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18213 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18214 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18215 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18216 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18217 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18218 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18219 wine_fn_config_dll d3dim enable_d3dim
18220 wine_fn_config_dll d3drm enable_d3drm implib
18221 wine_fn_config_test dlls/d3drm/tests d3drm_test
18222 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18223 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18224 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18225 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18226 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18227 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18228 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18229 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18230 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18231 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18232 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18233 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18234 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18235 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18236 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18237 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18238 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18239 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18240 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18241 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18242 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18243 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18244 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18245 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18246 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18247 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18248 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18249 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18250 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18251 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18252 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18253 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18254 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18255 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18256 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18257 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18258 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18259 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18260 wine_fn_config_dll davclnt enable_davclnt
18261 wine_fn_config_dll dbgeng enable_dbgeng implib
18262 wine_fn_config_dll dbghelp enable_dbghelp implib
18263 wine_fn_config_dll dciman32 enable_dciman32 implib
18264 wine_fn_config_dll ddeml.dll16 enable_win16
18265 wine_fn_config_dll ddraw enable_ddraw clean,implib
18266 wine_fn_config_test dlls/ddraw/tests ddraw_test
18267 wine_fn_config_dll ddrawex enable_ddrawex clean
18268 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18269 wine_fn_config_dll devenum enable_devenum clean
18270 wine_fn_config_test dlls/devenum/tests devenum_test
18271 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18272 wine_fn_config_dll difxapi enable_difxapi
18273 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18274 wine_fn_config_test dlls/dinput/tests dinput_test
18275 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18276 wine_fn_config_test dlls/dinput8/tests dinput8_test
18277 wine_fn_config_dll dispdib.dll16 enable_win16
18278 wine_fn_config_dll dispex enable_dispex clean
18279 wine_fn_config_test dlls/dispex/tests dispex_test
18280 wine_fn_config_dll display.drv16 enable_win16
18281 wine_fn_config_dll dmband enable_dmband clean
18282 wine_fn_config_test dlls/dmband/tests dmband_test
18283 wine_fn_config_dll dmcompos enable_dmcompos clean
18284 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18285 wine_fn_config_dll dmime enable_dmime clean
18286 wine_fn_config_test dlls/dmime/tests dmime_test
18287 wine_fn_config_dll dmloader enable_dmloader clean
18288 wine_fn_config_test dlls/dmloader/tests dmloader_test
18289 wine_fn_config_dll dmscript enable_dmscript clean
18290 wine_fn_config_test dlls/dmscript/tests dmscript_test
18291 wine_fn_config_dll dmstyle enable_dmstyle clean
18292 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18293 wine_fn_config_dll dmsynth enable_dmsynth clean
18294 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18295 wine_fn_config_dll dmusic enable_dmusic clean
18296 wine_fn_config_test dlls/dmusic/tests dmusic_test
18297 wine_fn_config_dll dmusic32 enable_dmusic32
18298 wine_fn_config_dll dnsapi enable_dnsapi implib
18299 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18300 wine_fn_config_dll dplay enable_dplay
18301 wine_fn_config_dll dplayx enable_dplayx clean,implib
18302 wine_fn_config_test dlls/dplayx/tests dplayx_test
18303 wine_fn_config_dll dpnaddr enable_dpnaddr
18304 wine_fn_config_dll dpnet enable_dpnet clean,implib
18305 wine_fn_config_test dlls/dpnet/tests dpnet_test
18306 wine_fn_config_dll dpnhpast enable_dpnhpast
18307 wine_fn_config_dll dpnlobby enable_dpnlobby
18308 wine_fn_config_dll dpvoice enable_dpvoice clean
18309 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18310 wine_fn_config_dll dpwsockx enable_dpwsockx
18311 wine_fn_config_dll drmclien enable_drmclien
18312 wine_fn_config_dll dsound enable_dsound clean,implib
18313 wine_fn_config_test dlls/dsound/tests dsound_test
18314 wine_fn_config_dll dsquery enable_dsquery
18315 wine_fn_config_dll dssenh enable_dssenh
18316 wine_fn_config_test dlls/dssenh/tests dssenh_test
18317 wine_fn_config_dll dswave enable_dswave clean
18318 wine_fn_config_test dlls/dswave/tests dswave_test
18319 wine_fn_config_dll dwmapi enable_dwmapi implib
18320 wine_fn_config_dll dwrite enable_dwrite implib
18321 wine_fn_config_test dlls/dwrite/tests dwrite_test
18322 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18323 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18324 wine_fn_config_lib dxerr8
18325 wine_fn_config_lib dxerr9
18326 wine_fn_config_dll dxgi enable_dxgi implib
18327 wine_fn_config_test dlls/dxgi/tests dxgi_test
18328 wine_fn_config_lib dxguid
18329 wine_fn_config_dll dxva2 enable_dxva2
18330 wine_fn_config_dll esent enable_esent
18331 wine_fn_config_dll evr enable_evr
18332 wine_fn_config_dll explorerframe enable_explorerframe clean
18333 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18334 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18335 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18336 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18337 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18338 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18339 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18340 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18341 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18342 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18343 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18344 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18345 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18346 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18347 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18348 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18349 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18350 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18351 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18352 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18353 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18354 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18355 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18356 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18357 wine_fn_config_dll faultrep enable_faultrep implib
18358 wine_fn_config_test dlls/faultrep/tests faultrep_test
18359 wine_fn_config_dll fltlib enable_fltlib
18360 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18361 wine_fn_config_dll fntcache enable_fntcache
18362 wine_fn_config_dll fontsub enable_fontsub
18363 wine_fn_config_dll fusion enable_fusion
18364 wine_fn_config_test dlls/fusion/tests fusion_test
18365 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18366 wine_fn_config_dll gameux enable_gameux clean
18367 wine_fn_config_test dlls/gameux/tests gameux_test
18368 wine_fn_config_dll gdi.exe16 enable_win16
18369 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18370 wine_fn_config_test dlls/gdi32/tests gdi32_test
18371 wine_fn_config_dll gdiplus enable_gdiplus implib
18372 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18373 wine_fn_config_dll glu32 enable_glu32 implib
18374 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18375 wine_fn_config_dll gpkcsp enable_gpkcsp
18376 wine_fn_config_dll hal enable_hal
18377 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18378 wine_fn_config_dll hid enable_hid implib
18379 wine_fn_config_test dlls/hid/tests hid_test
18380 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18381 wine_fn_config_dll hlink enable_hlink clean,implib
18382 wine_fn_config_test dlls/hlink/tests hlink_test
18383 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18384 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18385 wine_fn_config_dll httpapi enable_httpapi
18386 wine_fn_config_dll iccvid enable_iccvid clean
18387 wine_fn_config_dll icmp enable_icmp
18388 wine_fn_config_dll ieframe enable_ieframe clean,implib
18389 wine_fn_config_test dlls/ieframe/tests ieframe_test
18390 wine_fn_config_dll ifsmgr.vxd enable_win16
18391 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18392 wine_fn_config_dll imagehlp enable_imagehlp implib
18393 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18394 wine_fn_config_dll imm.dll16 enable_win16
18395 wine_fn_config_dll imm32 enable_imm32 implib
18396 wine_fn_config_test dlls/imm32/tests imm32_test
18397 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18398 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18399 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18400 wine_fn_config_dll inetmib1 enable_inetmib1
18401 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18402 wine_fn_config_dll infosoft enable_infosoft clean
18403 wine_fn_config_test dlls/infosoft/tests infosoft_test
18404 wine_fn_config_dll initpki enable_initpki
18405 wine_fn_config_dll inkobj enable_inkobj
18406 wine_fn_config_dll inseng enable_inseng clean
18407 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18408 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18409 wine_fn_config_dll iprop enable_iprop
18410 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18411 wine_fn_config_dll itircl enable_itircl
18412 wine_fn_config_dll itss enable_itss clean
18413 wine_fn_config_test dlls/itss/tests itss_test
18414 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18415 wine_fn_config_dll jscript enable_jscript clean
18416 wine_fn_config_test dlls/jscript/tests jscript_test
18417 wine_fn_config_dll jsproxy enable_jsproxy implib
18418 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18419 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18420 wine_fn_config_test dlls/kernel32/tests kernel32_test
18421 wine_fn_config_dll kernelbase enable_kernelbase
18422 wine_fn_config_dll keyboard.drv16 enable_win16
18423 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18424 wine_fn_config_dll ksuser enable_ksuser
18425 wine_fn_config_dll ktmw32 enable_ktmw32
18426 wine_fn_config_dll loadperf enable_loadperf implib
18427 wine_fn_config_dll localspl enable_localspl clean
18428 wine_fn_config_test dlls/localspl/tests localspl_test
18429 wine_fn_config_dll localui enable_localui clean
18430 wine_fn_config_test dlls/localui/tests localui_test
18431 wine_fn_config_dll lz32 enable_lz32 implib
18432 wine_fn_config_test dlls/lz32/tests lz32_test
18433 wine_fn_config_dll lzexpand.dll16 enable_win16
18434 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18435 wine_fn_config_test dlls/mapi32/tests mapi32_test
18436 wine_fn_config_dll mapistub enable_mapistub
18437 wine_fn_config_dll mciavi32 enable_mciavi32
18438 wine_fn_config_dll mcicda enable_mcicda
18439 wine_fn_config_dll mciqtz32 enable_mciqtz32
18440 wine_fn_config_dll mciseq enable_mciseq
18441 wine_fn_config_dll mciwave enable_mciwave
18442 wine_fn_config_dll mf enable_mf implib
18443 wine_fn_config_test dlls/mf/tests mf_test
18444 wine_fn_config_dll mf3216 enable_mf3216
18445 wine_fn_config_dll mfplat enable_mfplat implib
18446 wine_fn_config_test dlls/mfplat/tests mfplat_test
18447 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18448 wine_fn_config_dll mgmtapi enable_mgmtapi
18449 wine_fn_config_dll midimap enable_midimap
18450 wine_fn_config_dll mlang enable_mlang clean,implib
18451 wine_fn_config_test dlls/mlang/tests mlang_test
18452 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18453 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18454 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18455 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18456 wine_fn_config_dll mmdevldr.vxd enable_win16
18457 wine_fn_config_dll mmsystem.dll16 enable_win16
18458 wine_fn_config_dll monodebg.vxd enable_win16
18459 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18460 wine_fn_config_dll mouse.drv16 enable_win16
18461 wine_fn_config_dll mpr enable_mpr clean,implib
18462 wine_fn_config_test dlls/mpr/tests mpr_test
18463 wine_fn_config_dll mprapi enable_mprapi implib
18464 wine_fn_config_dll msacm.dll16 enable_win16
18465 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18466 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18467 wine_fn_config_test dlls/msacm32/tests msacm32_test
18468 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18469 wine_fn_config_dll msasn1 enable_msasn1 implib
18470 wine_fn_config_dll mscat32 enable_mscat32
18471 wine_fn_config_dll mscms enable_mscms implib
18472 wine_fn_config_test dlls/mscms/tests mscms_test
18473 wine_fn_config_dll mscoree enable_mscoree clean
18474 wine_fn_config_test dlls/mscoree/tests mscoree_test
18475 wine_fn_config_dll msctf enable_msctf clean
18476 wine_fn_config_test dlls/msctf/tests msctf_test
18477 wine_fn_config_dll msctfp enable_msctfp clean
18478 wine_fn_config_dll msdaps enable_msdaps clean
18479 wine_fn_config_dll msdelta enable_msdelta
18480 wine_fn_config_dll msdmo enable_msdmo implib
18481 wine_fn_config_test dlls/msdmo/tests msdmo_test
18482 wine_fn_config_dll msdrm enable_msdrm
18483 wine_fn_config_dll msftedit enable_msftedit
18484 wine_fn_config_dll msg711.acm enable_msg711_acm
18485 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18486 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18487 wine_fn_config_dll mshtml enable_mshtml clean,implib
18488 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18489 wine_fn_config_dll msi enable_msi clean,implib
18490 wine_fn_config_test dlls/msi/tests msi_test
18491 wine_fn_config_dll msident enable_msident clean
18492 wine_fn_config_dll msimg32 enable_msimg32 implib
18493 wine_fn_config_dll msimsg enable_msimsg
18494 wine_fn_config_dll msimtf enable_msimtf clean
18495 wine_fn_config_dll msisip enable_msisip
18496 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18497 wine_fn_config_dll msls31 enable_msls31
18498 wine_fn_config_dll msnet32 enable_msnet32
18499 wine_fn_config_dll mspatcha enable_mspatcha implib
18500 wine_fn_config_dll msports enable_msports
18501 wine_fn_config_dll msrle32 enable_msrle32 clean
18502 wine_fn_config_test dlls/msrle32/tests msrle32_test
18503 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18504 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18505 wine_fn_config_dll mssign32 enable_mssign32
18506 wine_fn_config_dll mssip32 enable_mssip32
18507 wine_fn_config_dll mstask enable_mstask clean
18508 wine_fn_config_test dlls/mstask/tests mstask_test
18509 wine_fn_config_dll msvcirt enable_msvcirt
18510 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18511 wine_fn_config_dll msvcm80 enable_msvcm80
18512 wine_fn_config_dll msvcm90 enable_msvcm90
18513 wine_fn_config_dll msvcp100 enable_msvcp100
18514 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18515 wine_fn_config_dll msvcp110 enable_msvcp110
18516 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18517 wine_fn_config_dll msvcp120 enable_msvcp120
18518 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18519 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18520 wine_fn_config_dll msvcp140 enable_msvcp140
18521 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18522 wine_fn_config_dll msvcp60 enable_msvcp60
18523 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18524 wine_fn_config_dll msvcp70 enable_msvcp70
18525 wine_fn_config_dll msvcp71 enable_msvcp71
18526 wine_fn_config_dll msvcp80 enable_msvcp80
18527 wine_fn_config_dll msvcp90 enable_msvcp90
18528 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18529 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18530 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18531 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18532 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18533 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18534 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18535 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18536 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18537 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18538 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18539 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18540 wine_fn_config_dll msvcrt enable_msvcrt implib
18541 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18542 wine_fn_config_dll msvcrt20 enable_msvcrt20
18543 wine_fn_config_dll msvcrt40 enable_msvcrt40
18544 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18545 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18546 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18547 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18548 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18549 wine_fn_config_dll msvideo.dll16 enable_win16
18550 wine_fn_config_dll mswsock enable_mswsock implib
18551 wine_fn_config_dll msxml enable_msxml clean
18552 wine_fn_config_dll msxml2 enable_msxml2 clean
18553 wine_fn_config_dll msxml3 enable_msxml3 clean
18554 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18555 wine_fn_config_dll msxml4 enable_msxml4 clean
18556 wine_fn_config_dll msxml6 enable_msxml6 clean
18557 wine_fn_config_dll mtxdm enable_mtxdm
18558 wine_fn_config_dll ncrypt enable_ncrypt
18559 wine_fn_config_dll nddeapi enable_nddeapi implib
18560 wine_fn_config_dll ndis.sys enable_ndis_sys
18561 wine_fn_config_dll netapi32 enable_netapi32 implib
18562 wine_fn_config_test dlls/netapi32/tests netapi32_test
18563 wine_fn_config_dll netcfgx enable_netcfgx clean
18564 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18565 wine_fn_config_dll netprofm enable_netprofm clean
18566 wine_fn_config_test dlls/netprofm/tests netprofm_test
18567 wine_fn_config_dll newdev enable_newdev implib
18568 wine_fn_config_dll normaliz enable_normaliz implib
18569 wine_fn_config_dll npmshtml enable_npmshtml
18570 wine_fn_config_dll npptools enable_npptools
18571 wine_fn_config_dll ntdll enable_ntdll implib
18572 wine_fn_config_test dlls/ntdll/tests ntdll_test
18573 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18574 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18575 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18576 wine_fn_config_dll ntprint enable_ntprint
18577 wine_fn_config_test dlls/ntprint/tests ntprint_test
18578 wine_fn_config_dll objsel enable_objsel clean
18579 wine_fn_config_dll odbc32 enable_odbc32 implib
18580 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18581 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18582 wine_fn_config_dll odbccu32 enable_odbccu32
18583 wine_fn_config_dll ole2.dll16 enable_win16
18584 wine_fn_config_dll ole2conv.dll16 enable_win16
18585 wine_fn_config_dll ole2disp.dll16 enable_win16
18586 wine_fn_config_dll ole2nls.dll16 enable_win16
18587 wine_fn_config_dll ole2prox.dll16 enable_win16
18588 wine_fn_config_dll ole2thk.dll16 enable_win16
18589 wine_fn_config_dll ole32 enable_ole32 clean,implib
18590 wine_fn_config_test dlls/ole32/tests ole32_test
18591 wine_fn_config_dll oleacc enable_oleacc clean,implib
18592 wine_fn_config_test dlls/oleacc/tests oleacc_test
18593 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18594 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18595 wine_fn_config_dll olecli.dll16 enable_win16
18596 wine_fn_config_dll olecli32 enable_olecli32 implib
18597 wine_fn_config_dll oledb32 enable_oledb32 clean
18598 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18599 wine_fn_config_dll oledlg enable_oledlg clean,implib
18600 wine_fn_config_test dlls/oledlg/tests oledlg_test
18601 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18602 wine_fn_config_dll olesvr.dll16 enable_win16
18603 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18604 wine_fn_config_dll olethk32 enable_olethk32
18605 wine_fn_config_dll openal32 enable_openal32
18606 wine_fn_config_dll opencl enable_opencl
18607 wine_fn_config_dll opengl32 enable_opengl32 implib
18608 wine_fn_config_test dlls/opengl32/tests opengl32_test
18609 wine_fn_config_dll packager enable_packager clean
18610 wine_fn_config_test dlls/packager/tests packager_test
18611 wine_fn_config_dll pdh enable_pdh implib
18612 wine_fn_config_test dlls/pdh/tests pdh_test
18613 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18614 wine_fn_config_dll pidgen enable_pidgen
18615 wine_fn_config_dll powrprof enable_powrprof implib
18616 wine_fn_config_dll printui enable_printui
18617 wine_fn_config_dll prntvpt enable_prntvpt
18618 wine_fn_config_dll propsys enable_propsys clean,implib
18619 wine_fn_config_test dlls/propsys/tests propsys_test
18620 wine_fn_config_dll psapi enable_psapi implib
18621 wine_fn_config_test dlls/psapi/tests psapi_test
18622 wine_fn_config_dll pstorec enable_pstorec clean
18623 wine_fn_config_test dlls/pstorec/tests pstorec_test
18624 wine_fn_config_dll qcap enable_qcap
18625 wine_fn_config_test dlls/qcap/tests qcap_test
18626 wine_fn_config_dll qedit enable_qedit clean
18627 wine_fn_config_test dlls/qedit/tests qedit_test
18628 wine_fn_config_dll qmgr enable_qmgr clean
18629 wine_fn_config_test dlls/qmgr/tests qmgr_test
18630 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18631 wine_fn_config_dll quartz enable_quartz clean,implib
18632 wine_fn_config_test dlls/quartz/tests quartz_test clean
18633 wine_fn_config_dll query enable_query
18634 wine_fn_config_dll rasapi16.dll16 enable_win16
18635 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18636 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18637 wine_fn_config_dll rasdlg enable_rasdlg implib
18638 wine_fn_config_dll regapi enable_regapi
18639 wine_fn_config_dll resutils enable_resutils implib
18640 wine_fn_config_dll riched20 enable_riched20 clean,implib
18641 wine_fn_config_test dlls/riched20/tests riched20_test
18642 wine_fn_config_dll riched32 enable_riched32
18643 wine_fn_config_test dlls/riched32/tests riched32_test
18644 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18645 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18646 wine_fn_config_dll rsabase enable_rsabase
18647 wine_fn_config_dll rsaenh enable_rsaenh implib
18648 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18649 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18650 wine_fn_config_dll rtutils enable_rtutils implib
18651 wine_fn_config_dll samlib enable_samlib
18652 wine_fn_config_dll sane.ds enable_sane_ds clean
18653 wine_fn_config_dll scarddlg enable_scarddlg
18654 wine_fn_config_dll sccbase enable_sccbase
18655 wine_fn_config_dll schannel enable_schannel
18656 wine_fn_config_test dlls/schannel/tests schannel_test
18657 wine_fn_config_dll schedsvc enable_schedsvc clean
18658 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18659 wine_fn_config_dll scrobj enable_scrobj clean
18660 wine_fn_config_dll scrrun enable_scrrun clean
18661 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18662 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18663 wine_fn_config_dll secur32 enable_secur32 implib
18664 wine_fn_config_test dlls/secur32/tests secur32_test
18665 wine_fn_config_dll security enable_security
18666 wine_fn_config_dll sensapi enable_sensapi implib
18667 wine_fn_config_dll serialui enable_serialui clean
18668 wine_fn_config_test dlls/serialui/tests serialui_test
18669 wine_fn_config_dll setupapi enable_setupapi clean,implib
18670 wine_fn_config_test dlls/setupapi/tests setupapi_test
18671 wine_fn_config_dll setupx.dll16 enable_win16
18672 wine_fn_config_dll sfc enable_sfc implib
18673 wine_fn_config_dll sfc_os enable_sfc_os implib
18674 wine_fn_config_dll shdoclc enable_shdoclc clean
18675 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18676 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18677 wine_fn_config_dll shell.dll16 enable_win16
18678 wine_fn_config_dll shell32 enable_shell32 clean,implib
18679 wine_fn_config_test dlls/shell32/tests shell32_test
18680 wine_fn_config_dll shfolder enable_shfolder implib
18681 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18682 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18683 wine_fn_config_dll slbcsp enable_slbcsp
18684 wine_fn_config_dll slc enable_slc implib
18685 wine_fn_config_test dlls/slc/tests slc_test
18686 wine_fn_config_dll snmpapi enable_snmpapi implib
18687 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18688 wine_fn_config_dll softpub enable_softpub
18689 wine_fn_config_dll sound.drv16 enable_win16
18690 wine_fn_config_dll spoolss enable_spoolss implib
18691 wine_fn_config_test dlls/spoolss/tests spoolss_test
18692 wine_fn_config_dll sspicli enable_sspicli
18693 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18694 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18695 wine_fn_config_dll sti enable_sti clean,implib
18696 wine_fn_config_test dlls/sti/tests sti_test
18697 wine_fn_config_dll storage.dll16 enable_win16
18698 wine_fn_config_dll stress.dll16 enable_win16
18699 wine_fn_config_lib strmbase
18700 wine_fn_config_lib strmiids
18701 wine_fn_config_dll svrapi enable_svrapi
18702 wine_fn_config_dll sxs enable_sxs implib
18703 wine_fn_config_test dlls/sxs/tests sxs_test
18704 wine_fn_config_dll system.drv16 enable_win16
18705 wine_fn_config_dll t2embed enable_t2embed implib
18706 wine_fn_config_test dlls/t2embed/tests t2embed_test
18707 wine_fn_config_dll tapi32 enable_tapi32 implib
18708 wine_fn_config_dll taskschd enable_taskschd clean
18709 wine_fn_config_test dlls/taskschd/tests taskschd_test
18710 wine_fn_config_dll tdh enable_tdh
18711 wine_fn_config_dll tdi.sys enable_tdi_sys
18712 wine_fn_config_dll toolhelp.dll16 enable_win16
18713 wine_fn_config_dll traffic enable_traffic
18714 wine_fn_config_dll twain.dll16 enable_win16
18715 wine_fn_config_dll twain_32 enable_twain_32
18716 wine_fn_config_test dlls/twain_32/tests twain_32_test
18717 wine_fn_config_dll typelib.dll16 enable_win16
18718 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18719 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18720 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18721 wine_fn_config_dll uiribbon enable_uiribbon clean
18722 wine_fn_config_dll unicows enable_unicows implib
18723 wine_fn_config_dll updspapi enable_updspapi
18724 wine_fn_config_dll url enable_url implib
18725 wine_fn_config_dll urlmon enable_urlmon clean,implib
18726 wine_fn_config_test dlls/urlmon/tests urlmon_test
18727 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18728 wine_fn_config_dll user.exe16 enable_win16
18729 wine_fn_config_dll user32 enable_user32 clean,implib
18730 wine_fn_config_test dlls/user32/tests user32_test
18731 wine_fn_config_dll userenv enable_userenv implib
18732 wine_fn_config_test dlls/userenv/tests userenv_test
18733 wine_fn_config_dll usp10 enable_usp10 implib
18734 wine_fn_config_test dlls/usp10/tests usp10_test
18735 wine_fn_config_lib uuid
18736 wine_fn_config_dll uxtheme enable_uxtheme implib
18737 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18738 wine_fn_config_dll vbscript enable_vbscript clean
18739 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18740 wine_fn_config_dll vcomp enable_vcomp
18741 wine_fn_config_test dlls/vcomp/tests vcomp_test
18742 wine_fn_config_dll vcomp100 enable_vcomp100
18743 wine_fn_config_dll vcomp110 enable_vcomp110
18744 wine_fn_config_dll vcomp120 enable_vcomp120
18745 wine_fn_config_dll vcomp140 enable_vcomp140
18746 wine_fn_config_dll vcomp90 enable_vcomp90
18747 wine_fn_config_dll vcruntime140 enable_vcruntime140
18748 wine_fn_config_dll vdhcp.vxd enable_win16
18749 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18750 wine_fn_config_dll ver.dll16 enable_win16
18751 wine_fn_config_dll version enable_version implib
18752 wine_fn_config_test dlls/version/tests version_test
18753 wine_fn_config_dll virtdisk enable_virtdisk
18754 wine_fn_config_dll vmm.vxd enable_win16
18755 wine_fn_config_dll vnbt.vxd enable_win16
18756 wine_fn_config_dll vnetbios.vxd enable_win16
18757 wine_fn_config_dll vssapi enable_vssapi
18758 wine_fn_config_dll vtdapi.vxd enable_win16
18759 wine_fn_config_dll vwin32.vxd enable_win16
18760 wine_fn_config_dll w32skrnl enable_win16
18761 wine_fn_config_dll w32sys.dll16 enable_win16
18762 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18763 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18764 wine_fn_config_dll wbemprox enable_wbemprox clean
18765 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18766 wine_fn_config_dll webservices enable_webservices implib
18767 wine_fn_config_test dlls/webservices/tests webservices_test
18768 wine_fn_config_dll wer enable_wer implib
18769 wine_fn_config_test dlls/wer/tests wer_test
18770 wine_fn_config_dll wevtapi enable_wevtapi
18771 wine_fn_config_dll wiaservc enable_wiaservc clean
18772 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18773 wine_fn_config_dll wimgapi enable_wimgapi
18774 wine_fn_config_dll win32s16.dll16 enable_win16
18775 wine_fn_config_dll win87em.dll16 enable_win16
18776 wine_fn_config_dll winaspi.dll16 enable_win16
18777 wine_fn_config_dll windebug.dll16 enable_win16
18778 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18779 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18780 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18781 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18782 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18783 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18784 wine_fn_config_dll winebus.sys enable_winebus_sys
18785 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18786 wine_fn_config_lib winecrt0
18787 wine_fn_config_dll wined3d enable_wined3d implib
18788 wine_fn_config_dll winegstreamer enable_winegstreamer
18789 wine_fn_config_dll winehid.sys enable_winehid_sys
18790 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18791 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18792 wine_fn_config_dll winemapi enable_winemapi
18793 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18794 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18795 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18796 wine_fn_config_dll wineps16.drv16 enable_win16
18797 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18798 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18799 wine_fn_config_dll winex11.drv enable_winex11_drv
18800 wine_fn_config_dll wing.dll16 enable_win16
18801 wine_fn_config_dll wing32 enable_wing32
18802 wine_fn_config_dll winhttp enable_winhttp clean,implib
18803 wine_fn_config_test dlls/winhttp/tests winhttp_test
18804 wine_fn_config_dll wininet enable_wininet clean,implib
18805 wine_fn_config_test dlls/wininet/tests wininet_test
18806 wine_fn_config_dll winmm enable_winmm clean,implib
18807 wine_fn_config_test dlls/winmm/tests winmm_test
18808 wine_fn_config_dll winnls.dll16 enable_win16
18809 wine_fn_config_dll winnls32 enable_winnls32 implib
18810 wine_fn_config_dll winscard enable_winscard implib
18811 wine_fn_config_dll winsock.dll16 enable_win16
18812 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18813 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18814 wine_fn_config_dll winsta enable_winsta
18815 wine_fn_config_dll wintab.dll16 enable_win16
18816 wine_fn_config_dll wintab32 enable_wintab32 implib
18817 wine_fn_config_test dlls/wintab32/tests wintab32_test
18818 wine_fn_config_dll wintrust enable_wintrust implib
18819 wine_fn_config_test dlls/wintrust/tests wintrust_test
18820 wine_fn_config_dll winusb enable_winusb
18821 wine_fn_config_dll wlanapi enable_wlanapi implib
18822 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18823 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18824 wine_fn_config_test dlls/wldap32/tests wldap32_test
18825 wine_fn_config_dll wmasf enable_wmasf
18826 wine_fn_config_dll wmi enable_wmi
18827 wine_fn_config_dll wmiutils enable_wmiutils clean
18828 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18829 wine_fn_config_dll wmp enable_wmp clean
18830 wine_fn_config_test dlls/wmp/tests wmp_test
18831 wine_fn_config_dll wmvcore enable_wmvcore implib
18832 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18833 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18834 wine_fn_config_dll wow32 enable_win16 implib
18835 wine_fn_config_dll wpc enable_wpc clean
18836 wine_fn_config_test dlls/wpc/tests wpc_test
18837 wine_fn_config_dll wpcap enable_wpcap
18838 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18839 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18840 wine_fn_config_dll wsdapi enable_wsdapi implib
18841 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18842 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18843 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18844 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18845 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18846 wine_fn_config_dll wsock32 enable_wsock32 implib
18847 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18848 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18849 wine_fn_config_dll wuapi enable_wuapi clean
18850 wine_fn_config_dll wuaueng enable_wuaueng
18851 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18852 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18853 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18854 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18855 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18856 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18857 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18858 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18859 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18860 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18861 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18862 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18863 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18864 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18865 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18866 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18867 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18868 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18869 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18870 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18871 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18872 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18873 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18874 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18875 wine_fn_config_dll xinput1_1 enable_xinput1_1
18876 wine_fn_config_dll xinput1_2 enable_xinput1_2
18877 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18878 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18879 wine_fn_config_dll xinput1_4 enable_xinput1_4
18880 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18881 wine_fn_config_dll xmllite enable_xmllite implib
18882 wine_fn_config_test dlls/xmllite/tests xmllite_test
18883 wine_fn_config_dll xolehlp enable_xolehlp
18884 wine_fn_config_dll xpsprint enable_xpsprint
18885 wine_fn_config_dll xpssvcs enable_xpssvcs
18886 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18887 wine_fn_config_makefile include enable_include clean,install-dev
18888 wine_fn_config_makefile libs/port enable_libs_port
18889 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18890 wine_fn_config_makefile libs/wpp enable_libs_wpp
18891 wine_fn_config_makefile loader enable_loader clean,install-lib
18892 wine_fn_config_makefile po enable_po clean
18893 wine_fn_config_program arp enable_arp install
18894 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18895 wine_fn_config_program attrib enable_attrib clean,install
18896 wine_fn_config_program cabarc enable_cabarc install
18897 wine_fn_config_program cacls enable_cacls install
18898 wine_fn_config_program clock enable_clock clean,install
18899 wine_fn_config_program cmd enable_cmd clean,install
18900 wine_fn_config_test programs/cmd/tests cmd.exe_test
18901 wine_fn_config_program conhost enable_conhost install
18902 wine_fn_config_program control enable_control install
18903 wine_fn_config_program cscript enable_cscript clean,install
18904 wine_fn_config_program dpnsvr enable_dpnsvr install
18905 wine_fn_config_program dxdiag enable_dxdiag clean,install
18906 wine_fn_config_program eject enable_eject install
18907 wine_fn_config_program expand enable_expand install
18908 wine_fn_config_program explorer enable_explorer clean,install
18909 wine_fn_config_program extrac32 enable_extrac32 install
18910 wine_fn_config_program findstr enable_findstr install
18911 wine_fn_config_program fsutil enable_fsutil install
18912 wine_fn_config_program hh enable_hh install
18913 wine_fn_config_program hostname enable_hostname clean,install
18914 wine_fn_config_program icacls enable_icacls install
18915 wine_fn_config_program icinfo enable_icinfo install
18916 wine_fn_config_program iexplore enable_iexplore install
18917 wine_fn_config_program ipconfig enable_ipconfig clean,install
18918 wine_fn_config_program lodctr enable_lodctr install
18919 wine_fn_config_program mofcomp enable_mofcomp install
18920 wine_fn_config_program mshta enable_mshta install
18921 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18922 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18923 wine_fn_config_program net enable_net clean,install
18924 wine_fn_config_program netsh enable_netsh install
18925 wine_fn_config_program netstat enable_netstat clean,install
18926 wine_fn_config_program ngen enable_ngen install
18927 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18928 wine_fn_config_program oleview enable_oleview clean,install
18929 wine_fn_config_program ping enable_ping install
18930 wine_fn_config_program plugplay enable_plugplay install
18931 wine_fn_config_program powershell enable_powershell install
18932 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18933 wine_fn_config_program progman enable_progman clean,install
18934 wine_fn_config_program reg enable_reg clean,install
18935 wine_fn_config_test programs/reg/tests reg.exe_test
18936 wine_fn_config_program regasm enable_regasm install
18937 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18938 wine_fn_config_test programs/regedit/tests regedit.exe_test
18939 wine_fn_config_program regsvcs enable_regsvcs install
18940 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18941 wine_fn_config_program rpcss enable_rpcss clean,install
18942 wine_fn_config_program rundll.exe16 enable_win16 install
18943 wine_fn_config_program rundll32 enable_rundll32 install
18944 wine_fn_config_program sc enable_sc install
18945 wine_fn_config_program schtasks enable_schtasks install
18946 wine_fn_config_program sdbinst enable_sdbinst install
18947 wine_fn_config_program secedit enable_secedit install
18948 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18949 wine_fn_config_program services enable_services clean,install
18950 wine_fn_config_test programs/services/tests services.exe_test
18951 wine_fn_config_program shutdown enable_shutdown install
18952 wine_fn_config_program spoolsv enable_spoolsv install
18953 wine_fn_config_program start enable_start clean,install
18954 wine_fn_config_program subst enable_subst install
18955 wine_fn_config_program svchost enable_svchost install
18956 wine_fn_config_program systeminfo enable_systeminfo install
18957 wine_fn_config_program taskkill enable_taskkill clean,install
18958 wine_fn_config_program tasklist enable_tasklist install
18959 wine_fn_config_program taskmgr enable_taskmgr clean,install
18960 wine_fn_config_program termsv enable_termsv install
18961 wine_fn_config_program uninstaller enable_uninstaller clean,install
18962 wine_fn_config_program unlodctr enable_unlodctr install
18963 wine_fn_config_program view enable_view clean,install
18964 wine_fn_config_program wevtutil enable_wevtutil install
18965 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18966 wine_fn_config_program winebrowser enable_winebrowser install
18967 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18968 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18969 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18970 wine_fn_config_program winedevice enable_winedevice install
18971 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18972 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18973 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18974 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18975 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18976 wine_fn_config_program winetest enable_winetest clean
18977 wine_fn_config_program winevdm enable_win16 install
18978 wine_fn_config_program winhelp.exe16 enable_win16 install
18979 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18980 wine_fn_config_program winoldap.mod16 enable_win16 install
18981 wine_fn_config_program winver enable_winver install
18982 wine_fn_config_program wmic enable_wmic clean,install
18983 wine_fn_config_program wmplayer enable_wmplayer install
18984 wine_fn_config_program wordpad enable_wordpad clean,install
18985 wine_fn_config_program write enable_write clean,install
18986 wine_fn_config_program wscript enable_wscript clean,install
18987 wine_fn_config_test programs/wscript/tests wscript.exe_test
18988 wine_fn_config_program wusa enable_wusa install
18989 wine_fn_config_program xcopy enable_xcopy clean,install
18990 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18991 wine_fn_config_makefile server enable_server clean,install-lib
18992 wine_fn_config_tool tools clean
18993 wine_fn_config_tool tools/sfnt2fon clean
18994 wine_fn_config_tool tools/widl clean,install-dev
18995 wine_fn_config_tool tools/winebuild clean,install-dev
18996 wine_fn_config_tool tools/winedump clean,install-dev
18997 wine_fn_config_tool tools/winegcc clean,install-dev
18998 wine_fn_config_tool tools/winemaker clean,install-dev
18999 wine_fn_config_tool tools/wmc clean,install-dev
19000 wine_fn_config_tool tools/wrc clean,install-dev
19003 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19004 wine_fn_append_file CONFIGURE_TARGETS "tags"
19005 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19006 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19007 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19008 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19009 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19010 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19012 if test "x$enable_tools" != xno
19013 then
19014 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19015 ac_config_commands="$ac_config_commands tools/makedep"
19019 ac_config_commands="$ac_config_commands Makefile"
19022 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19026 if test "x$enable_maintainer_mode" = xyes
19027 then
19028 wine_fn_append_rule "configure: configure.ac aclocal.m4
19029 autoconf --warnings=all
19030 include/config.h.in: include/stamp-h.in
19031 include/stamp-h.in: configure.ac aclocal.m4
19032 autoheader --warnings=all
19033 @echo timestamp > \$@"
19036 if test "x$enable_tools" != xno
19037 then
19038 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19039 @./config.status tools/makedep
19040 Makefile: tools/makedep$ac_exeext"
19041 else
19042 wine_fn_append_rule "\$(MAKEDEP):
19043 @echo \"You need to run make in $TOOLSDIR first\" && false"
19046 if test -n "$with_wine64"
19047 then
19048 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19049 fonts server:
19050 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19051 $with_wine64/loader/wine:
19052 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19053 $with_wine64/loader/wine-preloader:
19054 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19055 clean::
19056 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19057 else
19058 WINELOADER_INSTALL="wine.inf"
19060 wine_fn_append_rule "install install-lib::
19061 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19062 uninstall::
19063 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19064 case $host_os in
19065 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19066 *) wine_fn_append_rule "install install-lib::
19067 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19068 uninstall::
19069 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19070 esac
19073 $as_echo " done" >&6
19074 cat >confcache <<\_ACEOF
19075 # This file is a shell script that caches the results of configure
19076 # tests run on this system so they can be shared between configure
19077 # scripts and configure runs, see configure's option --config-cache.
19078 # It is not useful on other systems. If it contains results you don't
19079 # want to keep, you may remove or edit it.
19081 # config.status only pays attention to the cache file if you give it
19082 # the --recheck option to rerun configure.
19084 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19085 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19086 # following values.
19088 _ACEOF
19090 # The following way of writing the cache mishandles newlines in values,
19091 # but we know of no workaround that is simple, portable, and efficient.
19092 # So, we kill variables containing newlines.
19093 # Ultrix sh set writes to stderr and can't be redirected directly,
19094 # and sets the high bit in the cache file unless we assign to the vars.
19096 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19097 eval ac_val=\$$ac_var
19098 case $ac_val in #(
19099 *${as_nl}*)
19100 case $ac_var in #(
19101 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19103 esac
19104 case $ac_var in #(
19105 _ | IFS | as_nl) ;; #(
19106 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19107 *) { eval $ac_var=; unset $ac_var;} ;;
19108 esac ;;
19109 esac
19110 done
19112 (set) 2>&1 |
19113 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19114 *${as_nl}ac_space=\ *)
19115 # `set' does not quote correctly, so add quotes: double-quote
19116 # substitution turns \\\\ into \\, and sed turns \\ into \.
19117 sed -n \
19118 "s/'/'\\\\''/g;
19119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19120 ;; #(
19122 # `set' quotes correctly as required by POSIX, so do not add quotes.
19123 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19125 esac |
19126 sort
19128 sed '
19129 /^ac_cv_env_/b end
19130 t clear
19131 :clear
19132 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19133 t end
19134 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19135 :end' >>confcache
19136 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19137 if test -w "$cache_file"; then
19138 if test "x$cache_file" != "x/dev/null"; then
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19140 $as_echo "$as_me: updating cache $cache_file" >&6;}
19141 if test ! -f "$cache_file" || test -h "$cache_file"; then
19142 cat confcache >"$cache_file"
19143 else
19144 case $cache_file in #(
19145 */* | ?:*)
19146 mv -f confcache "$cache_file"$$ &&
19147 mv -f "$cache_file"$$ "$cache_file" ;; #(
19149 mv -f confcache "$cache_file" ;;
19150 esac
19153 else
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19155 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19158 rm -f confcache
19160 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19161 # Let make expand exec_prefix.
19162 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19164 DEFS=-DHAVE_CONFIG_H
19166 ac_libobjs=
19167 ac_ltlibobjs=
19169 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19170 # 1. Remove the extension, and $U if already installed.
19171 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19172 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19173 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19174 # will be set to the directory where LIBOBJS objects are built.
19175 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19176 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19177 done
19178 LIBOBJS=$ac_libobjs
19180 LTLIBOBJS=$ac_ltlibobjs
19184 : "${CONFIG_STATUS=./config.status}"
19185 ac_write_fail=0
19186 ac_clean_files_save=$ac_clean_files
19187 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19189 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19190 as_write_fail=0
19191 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19192 #! $SHELL
19193 # Generated by $as_me.
19194 # Run this file to recreate the current configuration.
19195 # Compiler output produced by configure, useful for debugging
19196 # configure, is in config.log if it exists.
19198 debug=false
19199 ac_cs_recheck=false
19200 ac_cs_silent=false
19202 SHELL=\${CONFIG_SHELL-$SHELL}
19203 export SHELL
19204 _ASEOF
19205 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19206 ## -------------------- ##
19207 ## M4sh Initialization. ##
19208 ## -------------------- ##
19210 # Be more Bourne compatible
19211 DUALCASE=1; export DUALCASE # for MKS sh
19212 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19213 emulate sh
19214 NULLCMD=:
19215 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19216 # is contrary to our usage. Disable this feature.
19217 alias -g '${1+"$@"}'='"$@"'
19218 setopt NO_GLOB_SUBST
19219 else
19220 case `(set -o) 2>/dev/null` in #(
19221 *posix*) :
19222 set -o posix ;; #(
19223 *) :
19225 esac
19229 as_nl='
19231 export as_nl
19232 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19233 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19234 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19235 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19236 # Prefer a ksh shell builtin over an external printf program on Solaris,
19237 # but without wasting forks for bash or zsh.
19238 if test -z "$BASH_VERSION$ZSH_VERSION" \
19239 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19240 as_echo='print -r --'
19241 as_echo_n='print -rn --'
19242 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19243 as_echo='printf %s\n'
19244 as_echo_n='printf %s'
19245 else
19246 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19247 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19248 as_echo_n='/usr/ucb/echo -n'
19249 else
19250 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19251 as_echo_n_body='eval
19252 arg=$1;
19253 case $arg in #(
19254 *"$as_nl"*)
19255 expr "X$arg" : "X\\(.*\\)$as_nl";
19256 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19257 esac;
19258 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19260 export as_echo_n_body
19261 as_echo_n='sh -c $as_echo_n_body as_echo'
19263 export as_echo_body
19264 as_echo='sh -c $as_echo_body as_echo'
19267 # The user is always right.
19268 if test "${PATH_SEPARATOR+set}" != set; then
19269 PATH_SEPARATOR=:
19270 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19271 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19272 PATH_SEPARATOR=';'
19277 # IFS
19278 # We need space, tab and new line, in precisely that order. Quoting is
19279 # there to prevent editors from complaining about space-tab.
19280 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19281 # splitting by setting IFS to empty value.)
19282 IFS=" "" $as_nl"
19284 # Find who we are. Look in the path if we contain no directory separator.
19285 as_myself=
19286 case $0 in #((
19287 *[\\/]* ) as_myself=$0 ;;
19288 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19289 for as_dir in $PATH
19291 IFS=$as_save_IFS
19292 test -z "$as_dir" && as_dir=.
19293 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19294 done
19295 IFS=$as_save_IFS
19298 esac
19299 # We did not find ourselves, most probably we were run as `sh COMMAND'
19300 # in which case we are not to be found in the path.
19301 if test "x$as_myself" = x; then
19302 as_myself=$0
19304 if test ! -f "$as_myself"; then
19305 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19306 exit 1
19309 # Unset variables that we do not need and which cause bugs (e.g. in
19310 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19311 # suppresses any "Segmentation fault" message there. '((' could
19312 # trigger a bug in pdksh 5.2.14.
19313 for as_var in BASH_ENV ENV MAIL MAILPATH
19314 do eval test x\${$as_var+set} = xset \
19315 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19316 done
19317 PS1='$ '
19318 PS2='> '
19319 PS4='+ '
19321 # NLS nuisances.
19322 LC_ALL=C
19323 export LC_ALL
19324 LANGUAGE=C
19325 export LANGUAGE
19327 # CDPATH.
19328 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19331 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19332 # ----------------------------------------
19333 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19334 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19335 # script with STATUS, using 1 if that was 0.
19336 as_fn_error ()
19338 as_status=$1; test $as_status -eq 0 && as_status=1
19339 if test "$4"; then
19340 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19341 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19343 $as_echo "$as_me: error: $2" >&2
19344 as_fn_exit $as_status
19345 } # as_fn_error
19348 # as_fn_set_status STATUS
19349 # -----------------------
19350 # Set $? to STATUS, without forking.
19351 as_fn_set_status ()
19353 return $1
19354 } # as_fn_set_status
19356 # as_fn_exit STATUS
19357 # -----------------
19358 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19359 as_fn_exit ()
19361 set +e
19362 as_fn_set_status $1
19363 exit $1
19364 } # as_fn_exit
19366 # as_fn_unset VAR
19367 # ---------------
19368 # Portably unset VAR.
19369 as_fn_unset ()
19371 { eval $1=; unset $1;}
19373 as_unset=as_fn_unset
19374 # as_fn_append VAR VALUE
19375 # ----------------------
19376 # Append the text in VALUE to the end of the definition contained in VAR. Take
19377 # advantage of any shell optimizations that allow amortized linear growth over
19378 # repeated appends, instead of the typical quadratic growth present in naive
19379 # implementations.
19380 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19381 eval 'as_fn_append ()
19383 eval $1+=\$2
19385 else
19386 as_fn_append ()
19388 eval $1=\$$1\$2
19390 fi # as_fn_append
19392 # as_fn_arith ARG...
19393 # ------------------
19394 # Perform arithmetic evaluation on the ARGs, and store the result in the
19395 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19396 # must be portable across $(()) and expr.
19397 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19398 eval 'as_fn_arith ()
19400 as_val=$(( $* ))
19402 else
19403 as_fn_arith ()
19405 as_val=`expr "$@" || test $? -eq 1`
19407 fi # as_fn_arith
19410 if expr a : '\(a\)' >/dev/null 2>&1 &&
19411 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19412 as_expr=expr
19413 else
19414 as_expr=false
19417 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19418 as_basename=basename
19419 else
19420 as_basename=false
19423 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19424 as_dirname=dirname
19425 else
19426 as_dirname=false
19429 as_me=`$as_basename -- "$0" ||
19430 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19431 X"$0" : 'X\(//\)$' \| \
19432 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19433 $as_echo X/"$0" |
19434 sed '/^.*\/\([^/][^/]*\)\/*$/{
19435 s//\1/
19438 /^X\/\(\/\/\)$/{
19439 s//\1/
19442 /^X\/\(\/\).*/{
19443 s//\1/
19446 s/.*/./; q'`
19448 # Avoid depending upon Character Ranges.
19449 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19450 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19451 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19452 as_cr_digits='0123456789'
19453 as_cr_alnum=$as_cr_Letters$as_cr_digits
19455 ECHO_C= ECHO_N= ECHO_T=
19456 case `echo -n x` in #(((((
19457 -n*)
19458 case `echo 'xy\c'` in
19459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19460 xy) ECHO_C='\c';;
19461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19462 ECHO_T=' ';;
19463 esac;;
19465 ECHO_N='-n';;
19466 esac
19468 rm -f conf$$ conf$$.exe conf$$.file
19469 if test -d conf$$.dir; then
19470 rm -f conf$$.dir/conf$$.file
19471 else
19472 rm -f conf$$.dir
19473 mkdir conf$$.dir 2>/dev/null
19475 if (echo >conf$$.file) 2>/dev/null; then
19476 if ln -s conf$$.file conf$$ 2>/dev/null; then
19477 as_ln_s='ln -s'
19478 # ... but there are two gotchas:
19479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19481 # In both cases, we have to default to `cp -pR'.
19482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19483 as_ln_s='cp -pR'
19484 elif ln conf$$.file conf$$ 2>/dev/null; then
19485 as_ln_s=ln
19486 else
19487 as_ln_s='cp -pR'
19489 else
19490 as_ln_s='cp -pR'
19492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19493 rmdir conf$$.dir 2>/dev/null
19496 # as_fn_mkdir_p
19497 # -------------
19498 # Create "$as_dir" as a directory, including parents if necessary.
19499 as_fn_mkdir_p ()
19502 case $as_dir in #(
19503 -*) as_dir=./$as_dir;;
19504 esac
19505 test -d "$as_dir" || eval $as_mkdir_p || {
19506 as_dirs=
19507 while :; do
19508 case $as_dir in #(
19509 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19510 *) as_qdir=$as_dir;;
19511 esac
19512 as_dirs="'$as_qdir' $as_dirs"
19513 as_dir=`$as_dirname -- "$as_dir" ||
19514 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19515 X"$as_dir" : 'X\(//\)[^/]' \| \
19516 X"$as_dir" : 'X\(//\)$' \| \
19517 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19518 $as_echo X"$as_dir" |
19519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19520 s//\1/
19523 /^X\(\/\/\)[^/].*/{
19524 s//\1/
19527 /^X\(\/\/\)$/{
19528 s//\1/
19531 /^X\(\/\).*/{
19532 s//\1/
19535 s/.*/./; q'`
19536 test -d "$as_dir" && break
19537 done
19538 test -z "$as_dirs" || eval "mkdir $as_dirs"
19539 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19542 } # as_fn_mkdir_p
19543 if mkdir -p . 2>/dev/null; then
19544 as_mkdir_p='mkdir -p "$as_dir"'
19545 else
19546 test -d ./-p && rmdir ./-p
19547 as_mkdir_p=false
19551 # as_fn_executable_p FILE
19552 # -----------------------
19553 # Test if FILE is an executable regular file.
19554 as_fn_executable_p ()
19556 test -f "$1" && test -x "$1"
19557 } # as_fn_executable_p
19558 as_test_x='test -x'
19559 as_executable_p=as_fn_executable_p
19561 # Sed expression to map a string onto a valid CPP name.
19562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19564 # Sed expression to map a string onto a valid variable name.
19565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19568 exec 6>&1
19569 ## ----------------------------------- ##
19570 ## Main body of $CONFIG_STATUS script. ##
19571 ## ----------------------------------- ##
19572 _ASEOF
19573 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19576 # Save the log message, to keep $0 and so on meaningful, and to
19577 # report actual input values of CONFIG_FILES etc. instead of their
19578 # values after options handling.
19579 ac_log="
19580 This file was extended by Wine $as_me 2.14, which was
19581 generated by GNU Autoconf 2.69. Invocation command line was
19583 CONFIG_FILES = $CONFIG_FILES
19584 CONFIG_HEADERS = $CONFIG_HEADERS
19585 CONFIG_LINKS = $CONFIG_LINKS
19586 CONFIG_COMMANDS = $CONFIG_COMMANDS
19587 $ $0 $@
19589 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19592 _ACEOF
19594 case $ac_config_files in *"
19595 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19596 esac
19598 case $ac_config_headers in *"
19599 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19600 esac
19603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19604 # Files that config.status was made for.
19605 config_files="$ac_config_files"
19606 config_headers="$ac_config_headers"
19607 config_links="$ac_config_links"
19608 config_commands="$ac_config_commands"
19610 _ACEOF
19612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19613 ac_cs_usage="\
19614 \`$as_me' instantiates files and other configuration actions
19615 from templates according to the current configuration. Unless the files
19616 and actions are specified as TAGs, all are instantiated by default.
19618 Usage: $0 [OPTION]... [TAG]...
19620 -h, --help print this help, then exit
19621 -V, --version print version number and configuration settings, then exit
19622 --config print configuration, then exit
19623 -q, --quiet, --silent
19624 do not print progress messages
19625 -d, --debug don't remove temporary files
19626 --recheck update $as_me by reconfiguring in the same conditions
19627 --file=FILE[:TEMPLATE]
19628 instantiate the configuration file FILE
19629 --header=FILE[:TEMPLATE]
19630 instantiate the configuration header FILE
19632 Configuration files:
19633 $config_files
19635 Configuration headers:
19636 $config_headers
19638 Configuration links:
19639 $config_links
19641 Configuration commands:
19642 $config_commands
19644 Report bugs to <wine-devel@winehq.org>.
19645 Wine home page: <http://www.winehq.org>."
19647 _ACEOF
19648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19649 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19650 ac_cs_version="\\
19651 Wine config.status 2.14
19652 configured by $0, generated by GNU Autoconf 2.69,
19653 with options \\"\$ac_cs_config\\"
19655 Copyright (C) 2012 Free Software Foundation, Inc.
19656 This config.status script is free software; the Free Software Foundation
19657 gives unlimited permission to copy, distribute and modify it."
19659 ac_pwd='$ac_pwd'
19660 srcdir='$srcdir'
19661 test -n "\$AWK" || AWK=awk
19662 _ACEOF
19664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19665 # The default lists apply if the user does not specify any file.
19666 ac_need_defaults=:
19667 while test $# != 0
19669 case $1 in
19670 --*=?*)
19671 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19672 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19673 ac_shift=:
19675 --*=)
19676 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19677 ac_optarg=
19678 ac_shift=:
19681 ac_option=$1
19682 ac_optarg=$2
19683 ac_shift=shift
19685 esac
19687 case $ac_option in
19688 # Handling of the options.
19689 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19690 ac_cs_recheck=: ;;
19691 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19692 $as_echo "$ac_cs_version"; exit ;;
19693 --config | --confi | --conf | --con | --co | --c )
19694 $as_echo "$ac_cs_config"; exit ;;
19695 --debug | --debu | --deb | --de | --d | -d )
19696 debug=: ;;
19697 --file | --fil | --fi | --f )
19698 $ac_shift
19699 case $ac_optarg in
19700 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19701 '') as_fn_error $? "missing file argument" ;;
19702 esac
19703 as_fn_append CONFIG_FILES " '$ac_optarg'"
19704 ac_need_defaults=false;;
19705 --header | --heade | --head | --hea )
19706 $ac_shift
19707 case $ac_optarg in
19708 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19709 esac
19710 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19711 ac_need_defaults=false;;
19712 --he | --h)
19713 # Conflict between --help and --header
19714 as_fn_error $? "ambiguous option: \`$1'
19715 Try \`$0 --help' for more information.";;
19716 --help | --hel | -h )
19717 $as_echo "$ac_cs_usage"; exit ;;
19718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19719 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19720 ac_cs_silent=: ;;
19722 # This is an error.
19723 -*) as_fn_error $? "unrecognized option: \`$1'
19724 Try \`$0 --help' for more information." ;;
19726 *) as_fn_append ac_config_targets " $1"
19727 ac_need_defaults=false ;;
19729 esac
19730 shift
19731 done
19733 ac_configure_extra_args=
19735 if $ac_cs_silent; then
19736 exec 6>/dev/null
19737 ac_configure_extra_args="$ac_configure_extra_args --silent"
19740 _ACEOF
19741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19742 if \$ac_cs_recheck; then
19743 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19744 shift
19745 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19746 CONFIG_SHELL='$SHELL'
19747 export CONFIG_SHELL
19748 exec "\$@"
19751 _ACEOF
19752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19753 exec 5>>config.log
19755 echo
19756 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19757 ## Running $as_me. ##
19758 _ASBOX
19759 $as_echo "$ac_log"
19760 } >&5
19762 _ACEOF
19763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19765 # INIT-COMMANDS
19767 wine_fn_output_makedep ()
19769 as_dir=tools; as_fn_mkdir_p
19770 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19772 wine_fn_output_makefile ()
19774 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19775 `cat $wine_rules_file`
19776 _WINE_EOF
19777 as_fn_error $? "could not create Makefile" "$LINENO" 5
19780 _ACEOF
19782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19784 # Handling of arguments.
19785 for ac_config_target in $ac_config_targets
19787 case $ac_config_target in
19788 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19789 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19790 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19791 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19792 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19793 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19794 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19795 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19796 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19797 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19798 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19799 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19800 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19802 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19803 esac
19804 done
19807 # If the user did not use the arguments to specify the items to instantiate,
19808 # then the envvar interface is used. Set only those that are not.
19809 # We use the long form for the default assignment because of an extremely
19810 # bizarre bug on SunOS 4.1.3.
19811 if $ac_need_defaults; then
19812 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19813 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19814 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19815 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19818 # Have a temporary directory for convenience. Make it in the build tree
19819 # simply because there is no reason against having it here, and in addition,
19820 # creating and moving files from /tmp can sometimes cause problems.
19821 # Hook for its removal unless debugging.
19822 # Note that there is a small window in which the directory will not be cleaned:
19823 # after its creation but before its name has been assigned to `$tmp'.
19824 $debug ||
19826 tmp= ac_tmp=
19827 trap 'exit_status=$?
19828 : "${ac_tmp:=$tmp}"
19829 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19831 trap 'as_fn_exit 1' 1 2 13 15
19833 # Create a (secure) tmp directory for tmp files.
19836 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19837 test -d "$tmp"
19838 } ||
19840 tmp=./conf$$-$RANDOM
19841 (umask 077 && mkdir "$tmp")
19842 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19843 ac_tmp=$tmp
19845 # Set up the scripts for CONFIG_FILES section.
19846 # No need to generate them if there are no CONFIG_FILES.
19847 # This happens for instance with `./config.status config.h'.
19848 if test -n "$CONFIG_FILES"; then
19851 ac_cr=`echo X | tr X '\015'`
19852 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19853 # But we know of no other shell where ac_cr would be empty at this
19854 # point, so we can use a bashism as a fallback.
19855 if test "x$ac_cr" = x; then
19856 eval ac_cr=\$\'\\r\'
19858 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19859 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19860 ac_cs_awk_cr='\\r'
19861 else
19862 ac_cs_awk_cr=$ac_cr
19865 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19866 _ACEOF
19870 echo "cat >conf$$subs.awk <<_ACEOF" &&
19871 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19872 echo "_ACEOF"
19873 } >conf$$subs.sh ||
19874 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19875 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19876 ac_delim='%!_!# '
19877 for ac_last_try in false false false false false :; do
19878 . ./conf$$subs.sh ||
19879 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19881 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19882 if test $ac_delim_n = $ac_delim_num; then
19883 break
19884 elif $ac_last_try; then
19885 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19886 else
19887 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19889 done
19890 rm -f conf$$subs.sh
19892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19893 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19894 _ACEOF
19895 sed -n '
19897 s/^/S["/; s/!.*/"]=/
19900 s/^[^!]*!//
19901 :repl
19902 t repl
19903 s/'"$ac_delim"'$//
19904 t delim
19907 s/\(.\{148\}\)..*/\1/
19908 t more1
19909 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19912 b repl
19913 :more1
19914 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19917 s/.\{148\}//
19918 t nl
19919 :delim
19921 s/\(.\{148\}\)..*/\1/
19922 t more2
19923 s/["\\]/\\&/g; s/^/"/; s/$/"/
19926 :more2
19927 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19930 s/.\{148\}//
19931 t delim
19932 ' <conf$$subs.awk | sed '
19933 /^[^""]/{
19935 s/\n//
19937 ' >>$CONFIG_STATUS || ac_write_fail=1
19938 rm -f conf$$subs.awk
19939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19940 _ACAWK
19941 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19942 for (key in S) S_is_set[key] = 1
19943 FS = "\a"
19947 line = $ 0
19948 nfields = split(line, field, "@")
19949 substed = 0
19950 len = length(field[1])
19951 for (i = 2; i < nfields; i++) {
19952 key = field[i]
19953 keylen = length(key)
19954 if (S_is_set[key]) {
19955 value = S[key]
19956 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19957 len += length(value) + length(field[++i])
19958 substed = 1
19959 } else
19960 len += 1 + keylen
19963 print line
19966 _ACAWK
19967 _ACEOF
19968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19969 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19970 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19971 else
19973 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19974 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19975 _ACEOF
19977 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19978 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19979 # trailing colons and then remove the whole line if VPATH becomes empty
19980 # (actually we leave an empty line to preserve line numbers).
19981 if test "x$srcdir" = x.; then
19982 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19984 s///
19985 s/^/:/
19986 s/[ ]*$/:/
19987 s/:\$(srcdir):/:/g
19988 s/:\${srcdir}:/:/g
19989 s/:@srcdir@:/:/g
19990 s/^:*//
19991 s/:*$//
19993 s/\(=[ ]*\).*/\1/
19995 s/\n//
19996 s/^[^=]*=[ ]*$//
20000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20001 fi # test -n "$CONFIG_FILES"
20003 # Set up the scripts for CONFIG_HEADERS section.
20004 # No need to generate them if there are no CONFIG_HEADERS.
20005 # This happens for instance with `./config.status Makefile'.
20006 if test -n "$CONFIG_HEADERS"; then
20007 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20008 BEGIN {
20009 _ACEOF
20011 # Transform confdefs.h into an awk script `defines.awk', embedded as
20012 # here-document in config.status, that substitutes the proper values into
20013 # config.h.in to produce config.h.
20015 # Create a delimiter string that does not exist in confdefs.h, to ease
20016 # handling of long lines.
20017 ac_delim='%!_!# '
20018 for ac_last_try in false false :; do
20019 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20020 if test -z "$ac_tt"; then
20021 break
20022 elif $ac_last_try; then
20023 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20024 else
20025 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20027 done
20029 # For the awk script, D is an array of macro values keyed by name,
20030 # likewise P contains macro parameters if any. Preserve backslash
20031 # newline sequences.
20033 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20034 sed -n '
20035 s/.\{148\}/&'"$ac_delim"'/g
20036 t rset
20037 :rset
20038 s/^[ ]*#[ ]*define[ ][ ]*/ /
20039 t def
20041 :def
20042 s/\\$//
20043 t bsnl
20044 s/["\\]/\\&/g
20045 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20046 D["\1"]=" \3"/p
20047 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20049 :bsnl
20050 s/["\\]/\\&/g
20051 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20052 D["\1"]=" \3\\\\\\n"\\/p
20053 t cont
20054 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20055 t cont
20057 :cont
20059 s/.\{148\}/&'"$ac_delim"'/g
20060 t clear
20061 :clear
20062 s/\\$//
20063 t bsnlc
20064 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20066 :bsnlc
20067 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20068 b cont
20069 ' <confdefs.h | sed '
20070 s/'"$ac_delim"'/"\\\
20071 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20074 for (key in D) D_is_set[key] = 1
20075 FS = "\a"
20077 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20078 line = \$ 0
20079 split(line, arg, " ")
20080 if (arg[1] == "#") {
20081 defundef = arg[2]
20082 mac1 = arg[3]
20083 } else {
20084 defundef = substr(arg[1], 2)
20085 mac1 = arg[2]
20087 split(mac1, mac2, "(") #)
20088 macro = mac2[1]
20089 prefix = substr(line, 1, index(line, defundef) - 1)
20090 if (D_is_set[macro]) {
20091 # Preserve the white space surrounding the "#".
20092 print prefix "define", macro P[macro] D[macro]
20093 next
20094 } else {
20095 # Replace #undef with comments. This is necessary, for example,
20096 # in the case of _POSIX_SOURCE, which is predefined and required
20097 # on some systems where configure will not decide to define it.
20098 if (defundef == "undef") {
20099 print "/*", prefix defundef, macro, "*/"
20100 next
20104 { print }
20105 _ACAWK
20106 _ACEOF
20107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20108 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20109 fi # test -n "$CONFIG_HEADERS"
20112 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20113 shift
20114 for ac_tag
20116 case $ac_tag in
20117 :[FHLC]) ac_mode=$ac_tag; continue;;
20118 esac
20119 case $ac_mode$ac_tag in
20120 :[FHL]*:*);;
20121 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20122 :[FH]-) ac_tag=-:-;;
20123 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20124 esac
20125 ac_save_IFS=$IFS
20126 IFS=:
20127 set x $ac_tag
20128 IFS=$ac_save_IFS
20129 shift
20130 ac_file=$1
20131 shift
20133 case $ac_mode in
20134 :L) ac_source=$1;;
20135 :[FH])
20136 ac_file_inputs=
20137 for ac_f
20139 case $ac_f in
20140 -) ac_f="$ac_tmp/stdin";;
20141 *) # Look for the file first in the build tree, then in the source tree
20142 # (if the path is not absolute). The absolute path cannot be DOS-style,
20143 # because $ac_f cannot contain `:'.
20144 test -f "$ac_f" ||
20145 case $ac_f in
20146 [\\/$]*) false;;
20147 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20148 esac ||
20149 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20150 esac
20151 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20152 as_fn_append ac_file_inputs " '$ac_f'"
20153 done
20155 # Let's still pretend it is `configure' which instantiates (i.e., don't
20156 # use $as_me), people would be surprised to read:
20157 # /* config.h. Generated by config.status. */
20158 configure_input='Generated from '`
20159 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20160 `' by configure.'
20161 if test x"$ac_file" != x-; then
20162 configure_input="$ac_file. $configure_input"
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20164 $as_echo "$as_me: creating $ac_file" >&6;}
20166 # Neutralize special characters interpreted by sed in replacement strings.
20167 case $configure_input in #(
20168 *\&* | *\|* | *\\* )
20169 ac_sed_conf_input=`$as_echo "$configure_input" |
20170 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20171 *) ac_sed_conf_input=$configure_input;;
20172 esac
20174 case $ac_tag in
20175 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20176 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20177 esac
20179 esac
20181 ac_dir=`$as_dirname -- "$ac_file" ||
20182 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20183 X"$ac_file" : 'X\(//\)[^/]' \| \
20184 X"$ac_file" : 'X\(//\)$' \| \
20185 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20186 $as_echo X"$ac_file" |
20187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20188 s//\1/
20191 /^X\(\/\/\)[^/].*/{
20192 s//\1/
20195 /^X\(\/\/\)$/{
20196 s//\1/
20199 /^X\(\/\).*/{
20200 s//\1/
20203 s/.*/./; q'`
20204 as_dir="$ac_dir"; as_fn_mkdir_p
20205 ac_builddir=.
20207 case "$ac_dir" in
20208 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20210 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20211 # A ".." for each directory in $ac_dir_suffix.
20212 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20213 case $ac_top_builddir_sub in
20214 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20215 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20216 esac ;;
20217 esac
20218 ac_abs_top_builddir=$ac_pwd
20219 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20220 # for backward compatibility:
20221 ac_top_builddir=$ac_top_build_prefix
20223 case $srcdir in
20224 .) # We are building in place.
20225 ac_srcdir=.
20226 ac_top_srcdir=$ac_top_builddir_sub
20227 ac_abs_top_srcdir=$ac_pwd ;;
20228 [\\/]* | ?:[\\/]* ) # Absolute name.
20229 ac_srcdir=$srcdir$ac_dir_suffix;
20230 ac_top_srcdir=$srcdir
20231 ac_abs_top_srcdir=$srcdir ;;
20232 *) # Relative name.
20233 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20234 ac_top_srcdir=$ac_top_build_prefix$srcdir
20235 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20236 esac
20237 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20240 case $ac_mode in
20243 # CONFIG_FILE
20246 _ACEOF
20248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20249 # If the template does not know about datarootdir, expand it.
20250 # FIXME: This hack should be removed a few years after 2.60.
20251 ac_datarootdir_hack=; ac_datarootdir_seen=
20252 ac_sed_dataroot='
20253 /datarootdir/ {
20257 /@datadir@/p
20258 /@docdir@/p
20259 /@infodir@/p
20260 /@localedir@/p
20261 /@mandir@/p'
20262 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20263 *datarootdir*) ac_datarootdir_seen=yes;;
20264 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20266 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20267 _ACEOF
20268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20269 ac_datarootdir_hack='
20270 s&@datadir@&$datadir&g
20271 s&@docdir@&$docdir&g
20272 s&@infodir@&$infodir&g
20273 s&@localedir@&$localedir&g
20274 s&@mandir@&$mandir&g
20275 s&\\\${datarootdir}&$datarootdir&g' ;;
20276 esac
20277 _ACEOF
20279 # Neutralize VPATH when `$srcdir' = `.'.
20280 # Shell code in configure.ac might set extrasub.
20281 # FIXME: do we really want to maintain this feature?
20282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20283 ac_sed_extra="$ac_vpsub
20284 $extrasub
20285 _ACEOF
20286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20288 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20289 s|@configure_input@|$ac_sed_conf_input|;t t
20290 s&@top_builddir@&$ac_top_builddir_sub&;t t
20291 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20292 s&@srcdir@&$ac_srcdir&;t t
20293 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20294 s&@top_srcdir@&$ac_top_srcdir&;t t
20295 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20296 s&@builddir@&$ac_builddir&;t t
20297 s&@abs_builddir@&$ac_abs_builddir&;t t
20298 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20299 $ac_datarootdir_hack
20301 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20302 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20304 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20305 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20306 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20307 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20309 which seems to be undefined. Please make sure it is defined" >&5
20310 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20311 which seems to be undefined. Please make sure it is defined" >&2;}
20313 rm -f "$ac_tmp/stdin"
20314 case $ac_file in
20315 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20316 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20317 esac \
20318 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20322 # CONFIG_HEADER
20324 if test x"$ac_file" != x-; then
20326 $as_echo "/* $configure_input */" \
20327 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20328 } >"$ac_tmp/config.h" \
20329 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20330 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20332 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20333 else
20334 rm -f "$ac_file"
20335 mv "$ac_tmp/config.h" "$ac_file" \
20336 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20338 else
20339 $as_echo "/* $configure_input */" \
20340 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20341 || as_fn_error $? "could not create -" "$LINENO" 5
20346 # CONFIG_LINK
20349 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20351 else
20352 # Prefer the file from the source tree if names are identical.
20353 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20354 ac_source=$srcdir/$ac_source
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20358 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20360 if test ! -r "$ac_source"; then
20361 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20363 rm -f "$ac_file"
20365 # Try a relative symlink, then a hard link, then a copy.
20366 case $ac_source in
20367 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20368 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20369 esac
20370 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20371 ln "$ac_source" "$ac_file" 2>/dev/null ||
20372 cp -p "$ac_source" "$ac_file" ||
20373 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20376 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20377 $as_echo "$as_me: executing $ac_file commands" >&6;}
20379 esac
20382 case $ac_file$ac_mode in
20383 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20384 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20385 "Makefile":C) wine_fn_output_makefile Makefile ;;
20387 esac
20388 done # for ac_tag
20391 as_fn_exit 0
20392 _ACEOF
20393 ac_clean_files=$ac_clean_files_save
20395 test $ac_write_fail = 0 ||
20396 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20399 # configure is writing to config.log, and then calls config.status.
20400 # config.status does its own redirection, appending to config.log.
20401 # Unfortunately, on DOS this fails, as config.log is still kept open
20402 # by configure, so config.status won't be able to write to it; its
20403 # output is simply discarded. So we exec the FD to /dev/null,
20404 # effectively closing config.log, so it can be properly (re)opened and
20405 # appended to by config.status. When coming back to configure, we
20406 # need to make the FD available again.
20407 if test "$no_create" != yes; then
20408 ac_cs_success=:
20409 ac_config_status_args=
20410 test "$silent" = yes &&
20411 ac_config_status_args="$ac_config_status_args --quiet"
20412 exec 5>/dev/null
20413 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20414 exec 5>>config.log
20415 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20416 # would make configure fail if this is the last instruction.
20417 $ac_cs_success || as_fn_exit 1
20419 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20421 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20425 if test "$no_create" = "yes"
20426 then
20427 exit 0
20430 ac_save_IFS="$IFS"
20431 if test "x$wine_notices" != x; then
20432 echo >&6
20433 IFS="|"
20434 for msg in $wine_notices; do
20435 IFS="$ac_save_IFS"
20436 if ${msg:+false} :; then :
20438 else
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20440 $as_echo "$as_me: $msg" >&6;}
20442 done
20444 IFS="|"
20445 for msg in $wine_warnings; do
20446 IFS="$ac_save_IFS"
20447 if ${msg:+false} :; then :
20449 else
20450 echo >&2
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20452 $as_echo "$as_me: WARNING: $msg" >&2;}
20454 done
20455 IFS="$ac_save_IFS"
20457 $as_echo "
20458 $as_me: Finished. Do '${ac_make}' to compile Wine.
20459 " >&6