kernel32: Implement safe dll search mode.
[wine.git] / configure
blob302087e0051ec9dbaf59b6d9a1efb02044601339
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.15.
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.15'
584 PACKAGE_STRING='Wine 2.15'
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_ieproxy
1243 enable_imaadp32_acm
1244 enable_imagehlp
1245 enable_imm32
1246 enable_inetcomm
1247 enable_inetcpl_cpl
1248 enable_inetmib1
1249 enable_infosoft
1250 enable_initpki
1251 enable_inkobj
1252 enable_inseng
1253 enable_iphlpapi
1254 enable_iprop
1255 enable_irprops_cpl
1256 enable_itircl
1257 enable_itss
1258 enable_joy_cpl
1259 enable_jscript
1260 enable_jsproxy
1261 enable_kernel32
1262 enable_kernelbase
1263 enable_ksuser
1264 enable_ktmw32
1265 enable_loadperf
1266 enable_localspl
1267 enable_localui
1268 enable_lz32
1269 enable_mapi32
1270 enable_mapistub
1271 enable_mciavi32
1272 enable_mcicda
1273 enable_mciqtz32
1274 enable_mciseq
1275 enable_mciwave
1276 enable_mf
1277 enable_mf3216
1278 enable_mfplat
1279 enable_mfreadwrite
1280 enable_mgmtapi
1281 enable_midimap
1282 enable_mlang
1283 enable_mmcndmgr
1284 enable_mmdevapi
1285 enable_mountmgr_sys
1286 enable_mpr
1287 enable_mprapi
1288 enable_msacm32_drv
1289 enable_msacm32
1290 enable_msadp32_acm
1291 enable_msasn1
1292 enable_mscat32
1293 enable_mscms
1294 enable_mscoree
1295 enable_msctf
1296 enable_msctfp
1297 enable_msdaps
1298 enable_msdelta
1299 enable_msdmo
1300 enable_msdrm
1301 enable_msftedit
1302 enable_msg711_acm
1303 enable_msgsm32_acm
1304 enable_mshtml_tlb
1305 enable_mshtml
1306 enable_msi
1307 enable_msident
1308 enable_msimg32
1309 enable_msimsg
1310 enable_msimtf
1311 enable_msisip
1312 enable_msisys_ocx
1313 enable_msls31
1314 enable_msnet32
1315 enable_mspatcha
1316 enable_msports
1317 enable_msrle32
1318 enable_msscript_ocx
1319 enable_mssign32
1320 enable_mssip32
1321 enable_mstask
1322 enable_msvcirt
1323 enable_msvcm80
1324 enable_msvcm90
1325 enable_msvcp100
1326 enable_msvcp110
1327 enable_msvcp120
1328 enable_msvcp120_app
1329 enable_msvcp140
1330 enable_msvcp60
1331 enable_msvcp70
1332 enable_msvcp71
1333 enable_msvcp80
1334 enable_msvcp90
1335 enable_msvcr100
1336 enable_msvcr110
1337 enable_msvcr120
1338 enable_msvcr120_app
1339 enable_msvcr70
1340 enable_msvcr71
1341 enable_msvcr80
1342 enable_msvcr90
1343 enable_msvcrt
1344 enable_msvcrt20
1345 enable_msvcrt40
1346 enable_msvcrtd
1347 enable_msvfw32
1348 enable_msvidc32
1349 enable_mswsock
1350 enable_msxml
1351 enable_msxml2
1352 enable_msxml3
1353 enable_msxml4
1354 enable_msxml6
1355 enable_mtxdm
1356 enable_ncrypt
1357 enable_nddeapi
1358 enable_ndis_sys
1359 enable_netapi32
1360 enable_netcfgx
1361 enable_netprofm
1362 enable_newdev
1363 enable_normaliz
1364 enable_npmshtml
1365 enable_npptools
1366 enable_ntdll
1367 enable_ntdsapi
1368 enable_ntoskrnl_exe
1369 enable_ntprint
1370 enable_objsel
1371 enable_odbc32
1372 enable_odbccp32
1373 enable_odbccu32
1374 enable_ole32
1375 enable_oleacc
1376 enable_oleaut32
1377 enable_olecli32
1378 enable_oledb32
1379 enable_oledlg
1380 enable_olepro32
1381 enable_olesvr32
1382 enable_olethk32
1383 enable_openal32
1384 enable_opencl
1385 enable_opengl32
1386 enable_packager
1387 enable_pdh
1388 enable_photometadatahandler
1389 enable_pidgen
1390 enable_powrprof
1391 enable_printui
1392 enable_prntvpt
1393 enable_propsys
1394 enable_psapi
1395 enable_pstorec
1396 enable_qcap
1397 enable_qedit
1398 enable_qmgr
1399 enable_qmgrprxy
1400 enable_quartz
1401 enable_query
1402 enable_rasapi32
1403 enable_rasdlg
1404 enable_regapi
1405 enable_resutils
1406 enable_riched20
1407 enable_riched32
1408 enable_rpcrt4
1409 enable_rsabase
1410 enable_rsaenh
1411 enable_rstrtmgr
1412 enable_rtutils
1413 enable_samlib
1414 enable_sane_ds
1415 enable_scarddlg
1416 enable_sccbase
1417 enable_schannel
1418 enable_schedsvc
1419 enable_scrobj
1420 enable_scrrun
1421 enable_scsiport_sys
1422 enable_secur32
1423 enable_security
1424 enable_sensapi
1425 enable_serialui
1426 enable_setupapi
1427 enable_sfc
1428 enable_sfc_os
1429 enable_shdoclc
1430 enable_shdocvw
1431 enable_shell32
1432 enable_shfolder
1433 enable_shlwapi
1434 enable_slbcsp
1435 enable_slc
1436 enable_snmpapi
1437 enable_softpub
1438 enable_spoolss
1439 enable_sspicli
1440 enable_stdole2_tlb
1441 enable_stdole32_tlb
1442 enable_sti
1443 enable_svrapi
1444 enable_sxs
1445 enable_t2embed
1446 enable_tapi32
1447 enable_taskschd
1448 enable_tdh
1449 enable_tdi_sys
1450 enable_traffic
1451 enable_twain_32
1452 enable_ucrtbase
1453 enable_uiautomationcore
1454 enable_uiribbon
1455 enable_unicows
1456 enable_updspapi
1457 enable_url
1458 enable_urlmon
1459 enable_usbd_sys
1460 enable_user32
1461 enable_userenv
1462 enable_usp10
1463 enable_uxtheme
1464 enable_vbscript
1465 enable_vcomp
1466 enable_vcomp100
1467 enable_vcomp110
1468 enable_vcomp120
1469 enable_vcomp140
1470 enable_vcomp90
1471 enable_vcruntime140
1472 enable_vdmdbg
1473 enable_version
1474 enable_virtdisk
1475 enable_vssapi
1476 enable_wbemdisp
1477 enable_wbemprox
1478 enable_webservices
1479 enable_wer
1480 enable_wevtapi
1481 enable_wiaservc
1482 enable_wimgapi
1483 enable_windowscodecs
1484 enable_windowscodecsext
1485 enable_winealsa_drv
1486 enable_wineandroid_drv
1487 enable_winebus_sys
1488 enable_winecoreaudio_drv
1489 enable_wined3d
1490 enable_winegstreamer
1491 enable_winehid_sys
1492 enable_winejoystick_drv
1493 enable_winemac_drv
1494 enable_winemapi
1495 enable_winemp3_acm
1496 enable_wineoss_drv
1497 enable_wineps_drv
1498 enable_winepulse_drv
1499 enable_wineqtdecoder
1500 enable_winex11_drv
1501 enable_wing32
1502 enable_winhttp
1503 enable_wininet
1504 enable_winmm
1505 enable_winnls32
1506 enable_winscard
1507 enable_winspool_drv
1508 enable_winsta
1509 enable_wintab32
1510 enable_wintrust
1511 enable_winusb
1512 enable_wlanapi
1513 enable_wldap32
1514 enable_wmasf
1515 enable_wmi
1516 enable_wmiutils
1517 enable_wmp
1518 enable_wmphoto
1519 enable_wmvcore
1520 enable_wnaspi32
1521 enable_wpc
1522 enable_wpcap
1523 enable_ws2_32
1524 enable_wsdapi
1525 enable_wshom_ocx
1526 enable_wsnmp32
1527 enable_wsock32
1528 enable_wtsapi32
1529 enable_wuapi
1530 enable_wuaueng
1531 enable_x3daudio1_0
1532 enable_x3daudio1_1
1533 enable_x3daudio1_2
1534 enable_x3daudio1_3
1535 enable_x3daudio1_4
1536 enable_x3daudio1_5
1537 enable_x3daudio1_6
1538 enable_x3daudio1_7
1539 enable_xapofx1_1
1540 enable_xapofx1_2
1541 enable_xapofx1_3
1542 enable_xapofx1_4
1543 enable_xapofx1_5
1544 enable_xaudio2_0
1545 enable_xaudio2_1
1546 enable_xaudio2_2
1547 enable_xaudio2_3
1548 enable_xaudio2_4
1549 enable_xaudio2_5
1550 enable_xaudio2_6
1551 enable_xaudio2_7
1552 enable_xaudio2_8
1553 enable_xaudio2_9
1554 enable_xinput1_1
1555 enable_xinput1_2
1556 enable_xinput1_3
1557 enable_xinput1_4
1558 enable_xinput9_1_0
1559 enable_xmllite
1560 enable_xolehlp
1561 enable_xpsprint
1562 enable_xpssvcs
1563 enable_fonts
1564 enable_include
1565 enable_libs_port
1566 enable_libs_wine
1567 enable_libs_wpp
1568 enable_loader
1569 enable_po
1570 enable_arp
1571 enable_aspnet_regiis
1572 enable_attrib
1573 enable_cabarc
1574 enable_cacls
1575 enable_clock
1576 enable_cmd
1577 enable_conhost
1578 enable_control
1579 enable_cscript
1580 enable_dpnsvr
1581 enable_dxdiag
1582 enable_eject
1583 enable_expand
1584 enable_explorer
1585 enable_extrac32
1586 enable_findstr
1587 enable_fsutil
1588 enable_hh
1589 enable_hostname
1590 enable_icacls
1591 enable_icinfo
1592 enable_iexplore
1593 enable_ipconfig
1594 enable_lodctr
1595 enable_mofcomp
1596 enable_mshta
1597 enable_msiexec
1598 enable_msinfo32
1599 enable_net
1600 enable_netsh
1601 enable_netstat
1602 enable_ngen
1603 enable_notepad
1604 enable_oleview
1605 enable_ping
1606 enable_plugplay
1607 enable_powershell
1608 enable_presentationfontcache
1609 enable_progman
1610 enable_reg
1611 enable_regasm
1612 enable_regedit
1613 enable_regsvcs
1614 enable_regsvr32
1615 enable_rpcss
1616 enable_rundll32
1617 enable_sc
1618 enable_schtasks
1619 enable_sdbinst
1620 enable_secedit
1621 enable_servicemodelreg
1622 enable_services
1623 enable_shutdown
1624 enable_spoolsv
1625 enable_start
1626 enable_subst
1627 enable_svchost
1628 enable_systeminfo
1629 enable_taskkill
1630 enable_tasklist
1631 enable_taskmgr
1632 enable_termsv
1633 enable_uninstaller
1634 enable_unlodctr
1635 enable_view
1636 enable_wevtutil
1637 enable_wineboot
1638 enable_winebrowser
1639 enable_winecfg
1640 enable_wineconsole
1641 enable_winedbg
1642 enable_winedevice
1643 enable_winefile
1644 enable_winemenubuilder
1645 enable_winemine
1646 enable_winemsibuilder
1647 enable_winepath
1648 enable_winetest
1649 enable_winhlp32
1650 enable_winver
1651 enable_wmic
1652 enable_wmplayer
1653 enable_wordpad
1654 enable_write
1655 enable_wscript
1656 enable_wusa
1657 enable_xcopy
1658 enable_server
1659 enable_tools
1661 ac_precious_vars='build_alias
1662 host_alias
1663 target_alias
1665 CFLAGS
1666 LDFLAGS
1667 LIBS
1668 CPPFLAGS
1670 CXXFLAGS
1673 XMKMF
1674 XML2_CFLAGS
1675 XML2_LIBS
1676 XSLT_CFLAGS
1677 XSLT_LIBS
1678 DBUS_CFLAGS
1679 DBUS_LIBS
1680 HAL_CFLAGS
1681 HAL_LIBS
1682 GNUTLS_CFLAGS
1683 GNUTLS_LIBS
1684 SANE_CFLAGS
1685 SANE_LIBS
1686 GPHOTO2_CFLAGS
1687 GPHOTO2_LIBS
1688 GPHOTO2_PORT_CFLAGS
1689 GPHOTO2_PORT_LIBS
1690 LCMS2_CFLAGS
1691 LCMS2_LIBS
1692 FREETYPE_CFLAGS
1693 FREETYPE_LIBS
1694 PULSE_CFLAGS
1695 PULSE_LIBS
1696 GSTREAMER_CFLAGS
1697 GSTREAMER_LIBS
1698 UDEV_CFLAGS
1699 UDEV_LIBS
1700 CAPI20_CFLAGS
1701 CAPI20_LIBS
1702 FONTCONFIG_CFLAGS
1703 FONTCONFIG_LIBS
1704 JPEG_CFLAGS
1705 JPEG_LIBS
1706 PNG_CFLAGS
1707 PNG_LIBS
1708 TIFF_CFLAGS
1709 TIFF_LIBS
1710 MPG123_CFLAGS
1711 MPG123_LIBS
1712 NETAPI_CFLAGS
1713 NETAPI_LIBS
1714 LDAP_CFLAGS
1715 LDAP_LIBS'
1718 # Initialize some variables set by options.
1719 ac_init_help=
1720 ac_init_version=false
1721 ac_unrecognized_opts=
1722 ac_unrecognized_sep=
1723 # The variables have the same names as the options, with
1724 # dashes changed to underlines.
1725 cache_file=/dev/null
1726 exec_prefix=NONE
1727 no_create=
1728 no_recursion=
1729 prefix=NONE
1730 program_prefix=NONE
1731 program_suffix=NONE
1732 program_transform_name=s,x,x,
1733 silent=
1734 site=
1735 srcdir=
1736 verbose=
1737 x_includes=NONE
1738 x_libraries=NONE
1740 # Installation directory options.
1741 # These are left unexpanded so users can "make install exec_prefix=/foo"
1742 # and all the variables that are supposed to be based on exec_prefix
1743 # by default will actually change.
1744 # Use braces instead of parens because sh, perl, etc. also accept them.
1745 # (The list follows the same order as the GNU Coding Standards.)
1746 bindir='${exec_prefix}/bin'
1747 sbindir='${exec_prefix}/sbin'
1748 libexecdir='${exec_prefix}/libexec'
1749 datarootdir='${prefix}/share'
1750 datadir='${datarootdir}'
1751 sysconfdir='${prefix}/etc'
1752 sharedstatedir='${prefix}/com'
1753 localstatedir='${prefix}/var'
1754 runstatedir='${localstatedir}/run'
1755 includedir='${prefix}/include'
1756 oldincludedir='/usr/include'
1757 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1758 infodir='${datarootdir}/info'
1759 htmldir='${docdir}'
1760 dvidir='${docdir}'
1761 pdfdir='${docdir}'
1762 psdir='${docdir}'
1763 libdir='${exec_prefix}/lib'
1764 localedir='${datarootdir}/locale'
1765 mandir='${datarootdir}/man'
1767 ac_prev=
1768 ac_dashdash=
1769 for ac_option
1771 # If the previous option needs an argument, assign it.
1772 if test -n "$ac_prev"; then
1773 eval $ac_prev=\$ac_option
1774 ac_prev=
1775 continue
1778 case $ac_option in
1779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1780 *=) ac_optarg= ;;
1781 *) ac_optarg=yes ;;
1782 esac
1784 # Accept the important Cygnus configure options, so we can diagnose typos.
1786 case $ac_dashdash$ac_option in
1788 ac_dashdash=yes ;;
1790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1791 ac_prev=bindir ;;
1792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1793 bindir=$ac_optarg ;;
1795 -build | --build | --buil | --bui | --bu)
1796 ac_prev=build_alias ;;
1797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1798 build_alias=$ac_optarg ;;
1800 -cache-file | --cache-file | --cache-fil | --cache-fi \
1801 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1802 ac_prev=cache_file ;;
1803 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1804 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1805 cache_file=$ac_optarg ;;
1807 --config-cache | -C)
1808 cache_file=config.cache ;;
1810 -datadir | --datadir | --datadi | --datad)
1811 ac_prev=datadir ;;
1812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1813 datadir=$ac_optarg ;;
1815 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1816 | --dataroo | --dataro | --datar)
1817 ac_prev=datarootdir ;;
1818 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1819 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1820 datarootdir=$ac_optarg ;;
1822 -disable-* | --disable-*)
1823 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1824 # Reject names that are not valid shell variable names.
1825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1826 as_fn_error $? "invalid feature name: $ac_useropt"
1827 ac_useropt_orig=$ac_useropt
1828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1829 case $ac_user_opts in
1831 "enable_$ac_useropt"
1832 "*) ;;
1833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1834 ac_unrecognized_sep=', ';;
1835 esac
1836 eval enable_$ac_useropt=no ;;
1838 -docdir | --docdir | --docdi | --doc | --do)
1839 ac_prev=docdir ;;
1840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1841 docdir=$ac_optarg ;;
1843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1844 ac_prev=dvidir ;;
1845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1846 dvidir=$ac_optarg ;;
1848 -enable-* | --enable-*)
1849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1850 # Reject names that are not valid shell variable names.
1851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1852 as_fn_error $? "invalid feature name: $ac_useropt"
1853 ac_useropt_orig=$ac_useropt
1854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1855 case $ac_user_opts in
1857 "enable_$ac_useropt"
1858 "*) ;;
1859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1860 ac_unrecognized_sep=', ';;
1861 esac
1862 eval enable_$ac_useropt=\$ac_optarg ;;
1864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1866 | --exec | --exe | --ex)
1867 ac_prev=exec_prefix ;;
1868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1870 | --exec=* | --exe=* | --ex=*)
1871 exec_prefix=$ac_optarg ;;
1873 -gas | --gas | --ga | --g)
1874 # Obsolete; use --with-gas.
1875 with_gas=yes ;;
1877 -help | --help | --hel | --he | -h)
1878 ac_init_help=long ;;
1879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1880 ac_init_help=recursive ;;
1881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1882 ac_init_help=short ;;
1884 -host | --host | --hos | --ho)
1885 ac_prev=host_alias ;;
1886 -host=* | --host=* | --hos=* | --ho=*)
1887 host_alias=$ac_optarg ;;
1889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1890 ac_prev=htmldir ;;
1891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1892 | --ht=*)
1893 htmldir=$ac_optarg ;;
1895 -includedir | --includedir | --includedi | --included | --include \
1896 | --includ | --inclu | --incl | --inc)
1897 ac_prev=includedir ;;
1898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1899 | --includ=* | --inclu=* | --incl=* | --inc=*)
1900 includedir=$ac_optarg ;;
1902 -infodir | --infodir | --infodi | --infod | --info | --inf)
1903 ac_prev=infodir ;;
1904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1905 infodir=$ac_optarg ;;
1907 -libdir | --libdir | --libdi | --libd)
1908 ac_prev=libdir ;;
1909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1910 libdir=$ac_optarg ;;
1912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1913 | --libexe | --libex | --libe)
1914 ac_prev=libexecdir ;;
1915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1916 | --libexe=* | --libex=* | --libe=*)
1917 libexecdir=$ac_optarg ;;
1919 -localedir | --localedir | --localedi | --localed | --locale)
1920 ac_prev=localedir ;;
1921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1922 localedir=$ac_optarg ;;
1924 -localstatedir | --localstatedir | --localstatedi | --localstated \
1925 | --localstate | --localstat | --localsta | --localst | --locals)
1926 ac_prev=localstatedir ;;
1927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1929 localstatedir=$ac_optarg ;;
1931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1932 ac_prev=mandir ;;
1933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1934 mandir=$ac_optarg ;;
1936 -nfp | --nfp | --nf)
1937 # Obsolete; use --without-fp.
1938 with_fp=no ;;
1940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1941 | --no-cr | --no-c | -n)
1942 no_create=yes ;;
1944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1946 no_recursion=yes ;;
1948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1950 | --oldin | --oldi | --old | --ol | --o)
1951 ac_prev=oldincludedir ;;
1952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1955 oldincludedir=$ac_optarg ;;
1957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1958 ac_prev=prefix ;;
1959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1960 prefix=$ac_optarg ;;
1962 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1963 | --program-pre | --program-pr | --program-p)
1964 ac_prev=program_prefix ;;
1965 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1967 program_prefix=$ac_optarg ;;
1969 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1970 | --program-suf | --program-su | --program-s)
1971 ac_prev=program_suffix ;;
1972 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1974 program_suffix=$ac_optarg ;;
1976 -program-transform-name | --program-transform-name \
1977 | --program-transform-nam | --program-transform-na \
1978 | --program-transform-n | --program-transform- \
1979 | --program-transform | --program-transfor \
1980 | --program-transfo | --program-transf \
1981 | --program-trans | --program-tran \
1982 | --progr-tra | --program-tr | --program-t)
1983 ac_prev=program_transform_name ;;
1984 -program-transform-name=* | --program-transform-name=* \
1985 | --program-transform-nam=* | --program-transform-na=* \
1986 | --program-transform-n=* | --program-transform-=* \
1987 | --program-transform=* | --program-transfor=* \
1988 | --program-transfo=* | --program-transf=* \
1989 | --program-trans=* | --program-tran=* \
1990 | --progr-tra=* | --program-tr=* | --program-t=*)
1991 program_transform_name=$ac_optarg ;;
1993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1994 ac_prev=pdfdir ;;
1995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1996 pdfdir=$ac_optarg ;;
1998 -psdir | --psdir | --psdi | --psd | --ps)
1999 ac_prev=psdir ;;
2000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2001 psdir=$ac_optarg ;;
2003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2004 | -silent | --silent | --silen | --sile | --sil)
2005 silent=yes ;;
2007 -runstatedir | --runstatedir | --runstatedi | --runstated \
2008 | --runstate | --runstat | --runsta | --runst | --runs \
2009 | --run | --ru | --r)
2010 ac_prev=runstatedir ;;
2011 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2012 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2013 | --run=* | --ru=* | --r=*)
2014 runstatedir=$ac_optarg ;;
2016 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2017 ac_prev=sbindir ;;
2018 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2019 | --sbi=* | --sb=*)
2020 sbindir=$ac_optarg ;;
2022 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2023 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2024 | --sharedst | --shareds | --shared | --share | --shar \
2025 | --sha | --sh)
2026 ac_prev=sharedstatedir ;;
2027 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2028 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2029 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2030 | --sha=* | --sh=*)
2031 sharedstatedir=$ac_optarg ;;
2033 -site | --site | --sit)
2034 ac_prev=site ;;
2035 -site=* | --site=* | --sit=*)
2036 site=$ac_optarg ;;
2038 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2039 ac_prev=srcdir ;;
2040 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2041 srcdir=$ac_optarg ;;
2043 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2044 | --syscon | --sysco | --sysc | --sys | --sy)
2045 ac_prev=sysconfdir ;;
2046 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2047 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2048 sysconfdir=$ac_optarg ;;
2050 -target | --target | --targe | --targ | --tar | --ta | --t)
2051 ac_prev=target_alias ;;
2052 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2053 target_alias=$ac_optarg ;;
2055 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2056 verbose=yes ;;
2058 -version | --version | --versio | --versi | --vers | -V)
2059 ac_init_version=: ;;
2061 -with-* | --with-*)
2062 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2063 # Reject names that are not valid shell variable names.
2064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2065 as_fn_error $? "invalid package name: $ac_useropt"
2066 ac_useropt_orig=$ac_useropt
2067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2068 case $ac_user_opts in
2070 "with_$ac_useropt"
2071 "*) ;;
2072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2073 ac_unrecognized_sep=', ';;
2074 esac
2075 eval with_$ac_useropt=\$ac_optarg ;;
2077 -without-* | --without-*)
2078 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2079 # Reject names that are not valid shell variable names.
2080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2081 as_fn_error $? "invalid package name: $ac_useropt"
2082 ac_useropt_orig=$ac_useropt
2083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2084 case $ac_user_opts in
2086 "with_$ac_useropt"
2087 "*) ;;
2088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2089 ac_unrecognized_sep=', ';;
2090 esac
2091 eval with_$ac_useropt=no ;;
2093 --x)
2094 # Obsolete; use --with-x.
2095 with_x=yes ;;
2097 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2098 | --x-incl | --x-inc | --x-in | --x-i)
2099 ac_prev=x_includes ;;
2100 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2101 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2102 x_includes=$ac_optarg ;;
2104 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2105 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2106 ac_prev=x_libraries ;;
2107 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2108 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2109 x_libraries=$ac_optarg ;;
2111 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2112 Try \`$0 --help' for more information"
2115 *=*)
2116 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2117 # Reject names that are not valid shell variable names.
2118 case $ac_envvar in #(
2119 '' | [0-9]* | *[!_$as_cr_alnum]* )
2120 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2121 esac
2122 eval $ac_envvar=\$ac_optarg
2123 export $ac_envvar ;;
2126 # FIXME: should be removed in autoconf 3.0.
2127 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2128 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2129 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2130 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2133 esac
2134 done
2136 if test -n "$ac_prev"; then
2137 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2138 as_fn_error $? "missing argument to $ac_option"
2141 if test -n "$ac_unrecognized_opts"; then
2142 case $enable_option_checking in
2143 no) ;;
2144 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2145 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2146 esac
2149 # Check all directory arguments for consistency.
2150 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2151 datadir sysconfdir sharedstatedir localstatedir includedir \
2152 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2153 libdir localedir mandir runstatedir
2155 eval ac_val=\$$ac_var
2156 # Remove trailing slashes.
2157 case $ac_val in
2158 */ )
2159 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2160 eval $ac_var=\$ac_val;;
2161 esac
2162 # Be sure to have absolute directory names.
2163 case $ac_val in
2164 [\\/$]* | ?:[\\/]* ) continue;;
2165 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2166 esac
2167 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2168 done
2170 # There might be people who depend on the old broken behavior: `$host'
2171 # used to hold the argument of --host etc.
2172 # FIXME: To remove some day.
2173 build=$build_alias
2174 host=$host_alias
2175 target=$target_alias
2177 # FIXME: To remove some day.
2178 if test "x$host_alias" != x; then
2179 if test "x$build_alias" = x; then
2180 cross_compiling=maybe
2181 elif test "x$build_alias" != "x$host_alias"; then
2182 cross_compiling=yes
2186 ac_tool_prefix=
2187 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2189 test "$silent" = yes && exec 6>/dev/null
2192 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2193 ac_ls_di=`ls -di .` &&
2194 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2195 as_fn_error $? "working directory cannot be determined"
2196 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2197 as_fn_error $? "pwd does not report name of working directory"
2200 # Find the source files, if location was not specified.
2201 if test -z "$srcdir"; then
2202 ac_srcdir_defaulted=yes
2203 # Try the directory containing this script, then the parent directory.
2204 ac_confdir=`$as_dirname -- "$as_myself" ||
2205 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2206 X"$as_myself" : 'X\(//\)[^/]' \| \
2207 X"$as_myself" : 'X\(//\)$' \| \
2208 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2209 $as_echo X"$as_myself" |
2210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2211 s//\1/
2214 /^X\(\/\/\)[^/].*/{
2215 s//\1/
2218 /^X\(\/\/\)$/{
2219 s//\1/
2222 /^X\(\/\).*/{
2223 s//\1/
2226 s/.*/./; q'`
2227 srcdir=$ac_confdir
2228 if test ! -r "$srcdir/$ac_unique_file"; then
2229 srcdir=..
2231 else
2232 ac_srcdir_defaulted=no
2234 if test ! -r "$srcdir/$ac_unique_file"; then
2235 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2236 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2238 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2239 ac_abs_confdir=`(
2240 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2241 pwd)`
2242 # When building in place, set srcdir=.
2243 if test "$ac_abs_confdir" = "$ac_pwd"; then
2244 srcdir=.
2246 # Remove unnecessary trailing slashes from srcdir.
2247 # Double slashes in file names in object file debugging info
2248 # mess up M-x gdb in Emacs.
2249 case $srcdir in
2250 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2251 esac
2252 for ac_var in $ac_precious_vars; do
2253 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2254 eval ac_env_${ac_var}_value=\$${ac_var}
2255 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2256 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2257 done
2260 # Report the --help message.
2262 if test "$ac_init_help" = "long"; then
2263 # Omit some internal or obsolete options to make the list less imposing.
2264 # This message is too long to be a string in the A/UX 3.1 sh.
2265 cat <<_ACEOF
2266 \`configure' configures Wine 2.15 to adapt to many kinds of systems.
2268 Usage: $0 [OPTION]... [VAR=VALUE]...
2270 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2271 VAR=VALUE. See below for descriptions of some of the useful variables.
2273 Defaults for the options are specified in brackets.
2275 Configuration:
2276 -h, --help display this help and exit
2277 --help=short display options specific to this package
2278 --help=recursive display the short help of all the included packages
2279 -V, --version display version information and exit
2280 -q, --quiet, --silent do not print \`checking ...' messages
2281 --cache-file=FILE cache test results in FILE [disabled]
2282 -C, --config-cache alias for \`--cache-file=config.cache'
2283 -n, --no-create do not create output files
2284 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2286 Installation directories:
2287 --prefix=PREFIX install architecture-independent files in PREFIX
2288 [$ac_default_prefix]
2289 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2290 [PREFIX]
2292 By default, \`make install' will install all the files in
2293 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2294 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2295 for instance \`--prefix=\$HOME'.
2297 For better control, use the options below.
2299 Fine tuning of the installation directories:
2300 --bindir=DIR user executables [EPREFIX/bin]
2301 --sbindir=DIR system admin executables [EPREFIX/sbin]
2302 --libexecdir=DIR program executables [EPREFIX/libexec]
2303 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2304 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2305 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2306 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2307 --libdir=DIR object code libraries [EPREFIX/lib]
2308 --includedir=DIR C header files [PREFIX/include]
2309 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2310 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2311 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2312 --infodir=DIR info documentation [DATAROOTDIR/info]
2313 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2314 --mandir=DIR man documentation [DATAROOTDIR/man]
2315 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2316 --htmldir=DIR html documentation [DOCDIR]
2317 --dvidir=DIR dvi documentation [DOCDIR]
2318 --pdfdir=DIR pdf documentation [DOCDIR]
2319 --psdir=DIR ps documentation [DOCDIR]
2320 _ACEOF
2322 cat <<\_ACEOF
2324 X features:
2325 --x-includes=DIR X include files are in DIR
2326 --x-libraries=DIR X library files are in DIR
2328 System types:
2329 --build=BUILD configure for building on BUILD [guessed]
2330 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2331 _ACEOF
2334 if test -n "$ac_init_help"; then
2335 case $ac_init_help in
2336 short | recursive ) echo "Configuration of Wine 2.15:";;
2337 esac
2338 cat <<\_ACEOF
2340 Optional Features:
2341 --disable-option-checking ignore unrecognized --enable/--with options
2342 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2343 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2344 --disable-win16 do not include Win16 support
2345 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2346 binaries)
2347 --disable-tests do not build the regression tests
2348 --enable-maintainer-mode
2349 enable maintainer-specific build rules
2350 --disable-largefile omit support for large files
2352 Optional Packages:
2353 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2354 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2355 --without-alsa do not use the Alsa sound support
2356 --without-capi do not use CAPI (ISDN support)
2357 --without-cms do not use CMS (color management support)
2358 --without-coreaudio do not use the CoreAudio sound support
2359 --without-cups do not use CUPS
2360 --without-curses do not use (n)curses
2361 --without-dbus do not use DBus (dynamic device support)
2362 --without-fontconfig do not use fontconfig
2363 --without-freetype do not use the FreeType library
2364 --without-gettext do not use gettext
2365 --with-gettextpo use the GetTextPO library to rebuild po files
2366 --without-gphoto do not use gphoto (Digital Camera support)
2367 --without-glu do not use the GLU library
2368 --without-gnutls do not use GnuTLS (schannel support)
2369 --without-gsm do not use libgsm (GSM 06.10 codec support)
2370 --without-gstreamer do not use GStreamer (codecs support)
2371 --without-hal do not use HAL (dynamic device support)
2372 --without-jpeg do not use JPEG
2373 --without-ldap do not use LDAP
2374 --without-mpg123 do not use the mpg123 library
2375 --without-netapi do not use the Samba NetAPI library
2376 --without-openal do not use OpenAL
2377 --without-opencl do not use OpenCL
2378 --without-opengl do not use OpenGL
2379 --without-osmesa do not use the OSMesa library
2380 --without-oss do not use the OSS sound support
2381 --without-pcap do not use the Packet Capture library
2382 --without-png do not use PNG
2383 --without-pthread do not use the pthread library
2384 --without-pulse do not use PulseAudio sound support
2385 --without-sane do not use SANE (scanner support)
2386 --without-tiff do not use TIFF
2387 --without-udev do not use udev (plug and play support)
2388 --without-v4l do not use v4l1 (v4l support)
2389 --without-xcomposite do not use the Xcomposite extension
2390 --without-xcursor do not use the Xcursor extension
2391 --without-xfixes do not use Xfixes for clipboard change notifications
2392 --without-xinerama do not use Xinerama (multi-monitor support)
2393 --without-xinput do not use the Xinput extension
2394 --without-xinput2 do not use the Xinput 2 extension
2395 --without-xml do not use XML
2396 --without-xrandr do not use Xrandr (resolution changes)
2397 --without-xrender do not use the Xrender extension
2398 --without-xshape do not use the Xshape extension
2399 --without-xshm do not use XShm (shared memory extension)
2400 --without-xslt do not use XSLT
2401 --without-xxf86vm do not use XFree video mode extension
2402 --without-zlib do not use Zlib (data compression)
2403 --with-wine-tools=DIR use Wine tools from directory DIR
2404 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2405 --with-x use the X Window System
2407 Some influential environment variables:
2408 CC C compiler command
2409 CFLAGS C compiler flags
2410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2411 nonstandard directory <lib dir>
2412 LIBS libraries to pass to the linker, e.g. -l<library>
2413 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2414 you have headers in a nonstandard directory <include dir>
2415 CXX C++ compiler command
2416 CXXFLAGS C++ compiler flags
2417 CPP C preprocessor
2418 XMKMF Path to xmkmf, Makefile generator for X Window System
2419 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2420 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2421 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2422 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2423 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2424 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2425 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2426 HAL_LIBS Linker flags for hal, overriding pkg-config
2427 GNUTLS_CFLAGS
2428 C compiler flags for gnutls, overriding pkg-config
2429 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2430 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2431 SANE_LIBS Linker flags for libsane, overriding pkg-config
2432 GPHOTO2_CFLAGS
2433 C compiler flags for libgphoto2, overriding pkg-config
2434 GPHOTO2_LIBS
2435 Linker flags for libgphoto2, overriding pkg-config
2436 GPHOTO2_PORT_CFLAGS
2437 C compiler flags for libgphoto2_port, overriding pkg-config
2438 GPHOTO2_PORT_LIBS
2439 Linker flags for libgphoto2_port, overriding pkg-config
2440 LCMS2_CFLAGS
2441 C compiler flags for lcms2, overriding pkg-config
2442 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2443 FREETYPE_CFLAGS
2444 C compiler flags for freetype2, overriding pkg-config
2445 FREETYPE_LIBS
2446 Linker flags for freetype2, overriding pkg-config
2447 PULSE_CFLAGS
2448 C compiler flags for libpulse, overriding pkg-config
2449 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2450 GSTREAMER_CFLAGS
2451 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2452 gstreamer-audio-1.0, overriding pkg-config
2453 GSTREAMER_LIBS
2454 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2455 gstreamer-audio-1.0, overriding pkg-config
2456 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2457 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2458 CAPI20_CFLAGS
2459 C compiler flags for capi20, overriding pkg-config
2460 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2461 FONTCONFIG_CFLAGS
2462 C compiler flags for fontconfig, overriding pkg-config
2463 FONTCONFIG_LIBS
2464 Linker flags for fontconfig, overriding pkg-config
2465 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2466 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2467 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2468 PNG_LIBS Linker flags for libpng, overriding pkg-config
2469 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2470 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2471 MPG123_CFLAGS
2472 C compiler flags for libmpg123, overriding pkg-config
2473 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2474 NETAPI_CFLAGS
2475 C compiler flags for netapi, overriding pkg-config
2476 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2477 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2478 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2480 Use these variables to override the choices made by `configure' or to help
2481 it to find libraries and programs with nonstandard names/locations.
2483 Report bugs to <wine-devel@winehq.org>.
2484 Wine home page: <http://www.winehq.org>.
2485 _ACEOF
2486 ac_status=$?
2489 if test "$ac_init_help" = "recursive"; then
2490 # If there are subdirs, report their specific --help.
2491 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2492 test -d "$ac_dir" ||
2493 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2494 continue
2495 ac_builddir=.
2497 case "$ac_dir" in
2498 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2500 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2501 # A ".." for each directory in $ac_dir_suffix.
2502 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2503 case $ac_top_builddir_sub in
2504 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2505 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2506 esac ;;
2507 esac
2508 ac_abs_top_builddir=$ac_pwd
2509 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2510 # for backward compatibility:
2511 ac_top_builddir=$ac_top_build_prefix
2513 case $srcdir in
2514 .) # We are building in place.
2515 ac_srcdir=.
2516 ac_top_srcdir=$ac_top_builddir_sub
2517 ac_abs_top_srcdir=$ac_pwd ;;
2518 [\\/]* | ?:[\\/]* ) # Absolute name.
2519 ac_srcdir=$srcdir$ac_dir_suffix;
2520 ac_top_srcdir=$srcdir
2521 ac_abs_top_srcdir=$srcdir ;;
2522 *) # Relative name.
2523 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2524 ac_top_srcdir=$ac_top_build_prefix$srcdir
2525 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2526 esac
2527 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2529 cd "$ac_dir" || { ac_status=$?; continue; }
2530 # Check for guested configure.
2531 if test -f "$ac_srcdir/configure.gnu"; then
2532 echo &&
2533 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2534 elif test -f "$ac_srcdir/configure"; then
2535 echo &&
2536 $SHELL "$ac_srcdir/configure" --help=recursive
2537 else
2538 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2539 fi || ac_status=$?
2540 cd "$ac_pwd" || { ac_status=$?; break; }
2541 done
2544 test -n "$ac_init_help" && exit $ac_status
2545 if $ac_init_version; then
2546 cat <<\_ACEOF
2547 Wine configure 2.15
2548 generated by GNU Autoconf 2.69
2550 Copyright (C) 2012 Free Software Foundation, Inc.
2551 This configure script is free software; the Free Software Foundation
2552 gives unlimited permission to copy, distribute and modify it.
2553 _ACEOF
2554 exit
2557 ## ------------------------ ##
2558 ## Autoconf initialization. ##
2559 ## ------------------------ ##
2561 # ac_fn_c_try_compile LINENO
2562 # --------------------------
2563 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2564 ac_fn_c_try_compile ()
2566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567 rm -f conftest.$ac_objext
2568 if { { ac_try="$ac_compile"
2569 case "(($ac_try" in
2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2572 esac
2573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574 $as_echo "$ac_try_echo"; } >&5
2575 (eval "$ac_compile") 2>conftest.err
2576 ac_status=$?
2577 if test -s conftest.err; then
2578 grep -v '^ *+' conftest.err >conftest.er1
2579 cat conftest.er1 >&5
2580 mv -f conftest.er1 conftest.err
2582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2583 test $ac_status = 0; } && {
2584 test -z "$ac_c_werror_flag" ||
2585 test ! -s conftest.err
2586 } && test -s conftest.$ac_objext; then :
2587 ac_retval=0
2588 else
2589 $as_echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.$ac_ext >&5
2592 ac_retval=1
2594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 as_fn_set_status $ac_retval
2597 } # ac_fn_c_try_compile
2599 # ac_fn_cxx_try_compile LINENO
2600 # ----------------------------
2601 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2602 ac_fn_cxx_try_compile ()
2604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2605 rm -f conftest.$ac_objext
2606 if { { ac_try="$ac_compile"
2607 case "(($ac_try" in
2608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2609 *) ac_try_echo=$ac_try;;
2610 esac
2611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2612 $as_echo "$ac_try_echo"; } >&5
2613 (eval "$ac_compile") 2>conftest.err
2614 ac_status=$?
2615 if test -s conftest.err; then
2616 grep -v '^ *+' conftest.err >conftest.er1
2617 cat conftest.er1 >&5
2618 mv -f conftest.er1 conftest.err
2620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621 test $ac_status = 0; } && {
2622 test -z "$ac_cxx_werror_flag" ||
2623 test ! -s conftest.err
2624 } && test -s conftest.$ac_objext; then :
2625 ac_retval=0
2626 else
2627 $as_echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2630 ac_retval=1
2632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2633 as_fn_set_status $ac_retval
2635 } # ac_fn_cxx_try_compile
2637 # ac_fn_c_try_link LINENO
2638 # -----------------------
2639 # Try to link conftest.$ac_ext, and return whether this succeeded.
2640 ac_fn_c_try_link ()
2642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2643 rm -f conftest.$ac_objext conftest$ac_exeext
2644 if { { ac_try="$ac_link"
2645 case "(($ac_try" in
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2648 esac
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_link") 2>conftest.err
2652 ac_status=$?
2653 if test -s conftest.err; then
2654 grep -v '^ *+' conftest.err >conftest.er1
2655 cat conftest.er1 >&5
2656 mv -f conftest.er1 conftest.err
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; } && {
2660 test -z "$ac_c_werror_flag" ||
2661 test ! -s conftest.err
2662 } && test -s conftest$ac_exeext && {
2663 test "$cross_compiling" = yes ||
2664 test -x conftest$ac_exeext
2665 }; then :
2666 ac_retval=0
2667 else
2668 $as_echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2671 ac_retval=1
2673 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2674 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2675 # interfere with the next link command; also delete a directory that is
2676 # left behind by Apple's compiler. We do this before executing the actions.
2677 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 as_fn_set_status $ac_retval
2681 } # ac_fn_c_try_link
2683 # ac_fn_c_try_cpp LINENO
2684 # ----------------------
2685 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2686 ac_fn_c_try_cpp ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 if { { ac_try="$ac_cpp conftest.$ac_ext"
2690 case "(($ac_try" in
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2693 esac
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2697 ac_status=$?
2698 if test -s conftest.err; then
2699 grep -v '^ *+' conftest.err >conftest.er1
2700 cat conftest.er1 >&5
2701 mv -f conftest.er1 conftest.err
2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; } > conftest.i && {
2705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2706 test ! -s conftest.err
2707 }; then :
2708 ac_retval=0
2709 else
2710 $as_echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 ac_retval=1
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 as_fn_set_status $ac_retval
2718 } # ac_fn_c_try_cpp
2720 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2721 # -------------------------------------------------------
2722 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2723 # the include files in INCLUDES and setting the cache variable VAR
2724 # accordingly.
2725 ac_fn_c_check_header_mongrel ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 if eval \${$3+:} false; then :
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2730 $as_echo_n "checking for $2... " >&6; }
2731 if eval \${$3+:} false; then :
2732 $as_echo_n "(cached) " >&6
2734 eval ac_res=\$$3
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2736 $as_echo "$ac_res" >&6; }
2737 else
2738 # Is the header compilable?
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2740 $as_echo_n "checking $2 usability... " >&6; }
2741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2744 #include <$2>
2745 _ACEOF
2746 if ac_fn_c_try_compile "$LINENO"; then :
2747 ac_header_compiler=yes
2748 else
2749 ac_header_compiler=no
2751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2753 $as_echo "$ac_header_compiler" >&6; }
2755 # Is the header present?
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2757 $as_echo_n "checking $2 presence... " >&6; }
2758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2760 #include <$2>
2761 _ACEOF
2762 if ac_fn_c_try_cpp "$LINENO"; then :
2763 ac_header_preproc=yes
2764 else
2765 ac_header_preproc=no
2767 rm -f conftest.err conftest.i conftest.$ac_ext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2769 $as_echo "$ac_header_preproc" >&6; }
2771 # So? What about this header?
2772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2773 yes:no: )
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2775 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2777 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2779 no:yes:* )
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2781 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2783 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2785 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2787 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2789 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2790 ( $as_echo "## ------------------------------------ ##
2791 ## Report this to wine-devel@winehq.org ##
2792 ## ------------------------------------ ##"
2793 ) | sed "s/^/$as_me: WARNING: /" >&2
2795 esac
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2797 $as_echo_n "checking for $2... " >&6; }
2798 if eval \${$3+:} false; then :
2799 $as_echo_n "(cached) " >&6
2800 else
2801 eval "$3=\$ac_header_compiler"
2803 eval ac_res=\$$3
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2805 $as_echo "$ac_res" >&6; }
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 } # ac_fn_c_check_header_mongrel
2811 # ac_fn_c_try_run LINENO
2812 # ----------------------
2813 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2814 # that executables *can* be run.
2815 ac_fn_c_try_run ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 if { { ac_try="$ac_link"
2819 case "(($ac_try" in
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2822 esac
2823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2824 $as_echo "$ac_try_echo"; } >&5
2825 (eval "$ac_link") 2>&5
2826 ac_status=$?
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2829 { { case "(($ac_try" in
2830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2832 esac
2833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2834 $as_echo "$ac_try_echo"; } >&5
2835 (eval "$ac_try") 2>&5
2836 ac_status=$?
2837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2838 test $ac_status = 0; }; }; then :
2839 ac_retval=0
2840 else
2841 $as_echo "$as_me: program exited with status $ac_status" >&5
2842 $as_echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2845 ac_retval=$ac_status
2847 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2849 as_fn_set_status $ac_retval
2851 } # ac_fn_c_try_run
2853 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2854 # -------------------------------------------------------
2855 # Tests whether HEADER exists and can be compiled using the include files in
2856 # INCLUDES, setting the cache variable VAR accordingly.
2857 ac_fn_c_check_header_compile ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2861 $as_echo_n "checking for $2... " >&6; }
2862 if eval \${$3+:} false; then :
2863 $as_echo_n "(cached) " >&6
2864 else
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2868 #include <$2>
2869 _ACEOF
2870 if ac_fn_c_try_compile "$LINENO"; then :
2871 eval "$3=yes"
2872 else
2873 eval "$3=no"
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2877 eval ac_res=\$$3
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2879 $as_echo "$ac_res" >&6; }
2880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2882 } # ac_fn_c_check_header_compile
2884 # ac_fn_c_check_func LINENO FUNC VAR
2885 # ----------------------------------
2886 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2887 ac_fn_c_check_func ()
2889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2891 $as_echo_n "checking for $2... " >&6; }
2892 if eval \${$3+:} false; then :
2893 $as_echo_n "(cached) " >&6
2894 else
2895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2896 /* end confdefs.h. */
2897 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2899 #define $2 innocuous_$2
2901 /* System header to define __stub macros and hopefully few prototypes,
2902 which can conflict with char $2 (); below.
2903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2904 <limits.h> exists even on freestanding compilers. */
2906 #ifdef __STDC__
2907 # include <limits.h>
2908 #else
2909 # include <assert.h>
2910 #endif
2912 #undef $2
2914 /* Override any GCC internal prototype to avoid an error.
2915 Use char because int might match the return type of a GCC
2916 builtin and then its argument prototype would still apply. */
2917 #ifdef __cplusplus
2918 extern "C"
2919 #endif
2920 char $2 ();
2921 /* The GNU C library defines this for functions which it implements
2922 to always fail with ENOSYS. Some functions are actually named
2923 something starting with __ and the normal name is an alias. */
2924 #if defined __stub_$2 || defined __stub___$2
2925 choke me
2926 #endif
2929 main ()
2931 return $2 ();
2933 return 0;
2935 _ACEOF
2936 if ac_fn_c_try_link "$LINENO"; then :
2937 eval "$3=yes"
2938 else
2939 eval "$3=no"
2941 rm -f core conftest.err conftest.$ac_objext \
2942 conftest$ac_exeext conftest.$ac_ext
2944 eval ac_res=\$$3
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2946 $as_echo "$ac_res" >&6; }
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 } # ac_fn_c_check_func
2951 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2952 # ----------------------------------------------------
2953 # Tries to find if the field MEMBER exists in type AGGR, after including
2954 # INCLUDES, setting cache variable VAR accordingly.
2955 ac_fn_c_check_member ()
2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2959 $as_echo_n "checking for $2.$3... " >&6; }
2960 if eval \${$4+:} false; then :
2961 $as_echo_n "(cached) " >&6
2962 else
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2967 main ()
2969 static $2 ac_aggr;
2970 if (ac_aggr.$3)
2971 return 0;
2973 return 0;
2975 _ACEOF
2976 if ac_fn_c_try_compile "$LINENO"; then :
2977 eval "$4=yes"
2978 else
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2983 main ()
2985 static $2 ac_aggr;
2986 if (sizeof ac_aggr.$3)
2987 return 0;
2989 return 0;
2991 _ACEOF
2992 if ac_fn_c_try_compile "$LINENO"; then :
2993 eval "$4=yes"
2994 else
2995 eval "$4=no"
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001 eval ac_res=\$$4
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3003 $as_echo "$ac_res" >&6; }
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3006 } # ac_fn_c_check_member
3008 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3009 # -------------------------------------------
3010 # Tests whether TYPE exists after having included INCLUDES, setting cache
3011 # variable VAR accordingly.
3012 ac_fn_c_check_type ()
3014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3016 $as_echo_n "checking for $2... " >&6; }
3017 if eval \${$3+:} false; then :
3018 $as_echo_n "(cached) " >&6
3019 else
3020 eval "$3=no"
3021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3025 main ()
3027 if (sizeof ($2))
3028 return 0;
3030 return 0;
3032 _ACEOF
3033 if ac_fn_c_try_compile "$LINENO"; then :
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3038 main ()
3040 if (sizeof (($2)))
3041 return 0;
3043 return 0;
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"; then :
3048 else
3049 eval "$3=yes"
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 eval ac_res=\$$3
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3057 $as_echo "$ac_res" >&6; }
3058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3060 } # ac_fn_c_check_type
3061 cat >config.log <<_ACEOF
3062 This file contains any messages produced by compilers while
3063 running configure, to aid debugging if configure makes a mistake.
3065 It was created by Wine $as_me 2.15, which was
3066 generated by GNU Autoconf 2.69. Invocation command line was
3068 $ $0 $@
3070 _ACEOF
3071 exec 5>>config.log
3073 cat <<_ASUNAME
3074 ## --------- ##
3075 ## Platform. ##
3076 ## --------- ##
3078 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3079 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3080 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3081 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3082 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3084 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3085 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3087 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3088 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3089 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3090 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3091 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3092 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3093 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3095 _ASUNAME
3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 for as_dir in $PATH
3100 IFS=$as_save_IFS
3101 test -z "$as_dir" && as_dir=.
3102 $as_echo "PATH: $as_dir"
3103 done
3104 IFS=$as_save_IFS
3106 } >&5
3108 cat >&5 <<_ACEOF
3111 ## ----------- ##
3112 ## Core tests. ##
3113 ## ----------- ##
3115 _ACEOF
3118 # Keep a trace of the command line.
3119 # Strip out --no-create and --no-recursion so they do not pile up.
3120 # Strip out --silent because we don't want to record it for future runs.
3121 # Also quote any args containing shell meta-characters.
3122 # Make two passes to allow for proper duplicate-argument suppression.
3123 ac_configure_args=
3124 ac_configure_args0=
3125 ac_configure_args1=
3126 ac_must_keep_next=false
3127 for ac_pass in 1 2
3129 for ac_arg
3131 case $ac_arg in
3132 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3133 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3134 | -silent | --silent | --silen | --sile | --sil)
3135 continue ;;
3136 *\'*)
3137 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3138 esac
3139 case $ac_pass in
3140 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3142 as_fn_append ac_configure_args1 " '$ac_arg'"
3143 if test $ac_must_keep_next = true; then
3144 ac_must_keep_next=false # Got value, back to normal.
3145 else
3146 case $ac_arg in
3147 *=* | --config-cache | -C | -disable-* | --disable-* \
3148 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3149 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3150 | -with-* | --with-* | -without-* | --without-* | --x)
3151 case "$ac_configure_args0 " in
3152 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3153 esac
3155 -* ) ac_must_keep_next=true ;;
3156 esac
3158 as_fn_append ac_configure_args " '$ac_arg'"
3160 esac
3161 done
3162 done
3163 { ac_configure_args0=; unset ac_configure_args0;}
3164 { ac_configure_args1=; unset ac_configure_args1;}
3166 # When interrupted or exit'd, cleanup temporary files, and complete
3167 # config.log. We remove comments because anyway the quotes in there
3168 # would cause problems or look ugly.
3169 # WARNING: Use '\'' to represent an apostrophe within the trap.
3170 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3171 trap 'exit_status=$?
3172 # Save into config.log some information that might help in debugging.
3174 echo
3176 $as_echo "## ---------------- ##
3177 ## Cache variables. ##
3178 ## ---------------- ##"
3179 echo
3180 # The following way of writing the cache mishandles newlines in values,
3182 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3183 eval ac_val=\$$ac_var
3184 case $ac_val in #(
3185 *${as_nl}*)
3186 case $ac_var in #(
3187 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3188 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3189 esac
3190 case $ac_var in #(
3191 _ | IFS | as_nl) ;; #(
3192 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3193 *) { eval $ac_var=; unset $ac_var;} ;;
3194 esac ;;
3195 esac
3196 done
3197 (set) 2>&1 |
3198 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3199 *${as_nl}ac_space=\ *)
3200 sed -n \
3201 "s/'\''/'\''\\\\'\'''\''/g;
3202 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3203 ;; #(
3205 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3207 esac |
3208 sort
3210 echo
3212 $as_echo "## ----------------- ##
3213 ## Output variables. ##
3214 ## ----------------- ##"
3215 echo
3216 for ac_var in $ac_subst_vars
3218 eval ac_val=\$$ac_var
3219 case $ac_val in
3220 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3221 esac
3222 $as_echo "$ac_var='\''$ac_val'\''"
3223 done | sort
3224 echo
3226 if test -n "$ac_subst_files"; then
3227 $as_echo "## ------------------- ##
3228 ## File substitutions. ##
3229 ## ------------------- ##"
3230 echo
3231 for ac_var in $ac_subst_files
3233 eval ac_val=\$$ac_var
3234 case $ac_val in
3235 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3236 esac
3237 $as_echo "$ac_var='\''$ac_val'\''"
3238 done | sort
3239 echo
3242 if test -s confdefs.h; then
3243 $as_echo "## ----------- ##
3244 ## confdefs.h. ##
3245 ## ----------- ##"
3246 echo
3247 cat confdefs.h
3248 echo
3250 test "$ac_signal" != 0 &&
3251 $as_echo "$as_me: caught signal $ac_signal"
3252 $as_echo "$as_me: exit $exit_status"
3253 } >&5
3254 rm -f core *.core core.conftest.* &&
3255 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3256 exit $exit_status
3258 for ac_signal in 1 2 13 15; do
3259 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3260 done
3261 ac_signal=0
3263 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3264 rm -f -r conftest* confdefs.h
3266 $as_echo "/* confdefs.h */" > confdefs.h
3268 # Predefined preprocessor variables.
3270 cat >>confdefs.h <<_ACEOF
3271 #define PACKAGE_NAME "$PACKAGE_NAME"
3272 _ACEOF
3274 cat >>confdefs.h <<_ACEOF
3275 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3276 _ACEOF
3278 cat >>confdefs.h <<_ACEOF
3279 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3280 _ACEOF
3282 cat >>confdefs.h <<_ACEOF
3283 #define PACKAGE_STRING "$PACKAGE_STRING"
3284 _ACEOF
3286 cat >>confdefs.h <<_ACEOF
3287 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3288 _ACEOF
3290 cat >>confdefs.h <<_ACEOF
3291 #define PACKAGE_URL "$PACKAGE_URL"
3292 _ACEOF
3295 # Let the site file select an alternate cache file if it wants to.
3296 # Prefer an explicitly selected file to automatically selected ones.
3297 ac_site_file1=NONE
3298 ac_site_file2=NONE
3299 if test -n "$CONFIG_SITE"; then
3300 # We do not want a PATH search for config.site.
3301 case $CONFIG_SITE in #((
3302 -*) ac_site_file1=./$CONFIG_SITE;;
3303 */*) ac_site_file1=$CONFIG_SITE;;
3304 *) ac_site_file1=./$CONFIG_SITE;;
3305 esac
3306 elif test "x$prefix" != xNONE; then
3307 ac_site_file1=$prefix/share/config.site
3308 ac_site_file2=$prefix/etc/config.site
3309 else
3310 ac_site_file1=$ac_default_prefix/share/config.site
3311 ac_site_file2=$ac_default_prefix/etc/config.site
3313 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3315 test "x$ac_site_file" = xNONE && continue
3316 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3318 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3319 sed 's/^/| /' "$ac_site_file" >&5
3320 . "$ac_site_file" \
3321 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323 as_fn_error $? "failed to load site script $ac_site_file
3324 See \`config.log' for more details" "$LINENO" 5; }
3326 done
3328 if test -r "$cache_file"; then
3329 # Some versions of bash will fail to source /dev/null (special files
3330 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3331 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3333 $as_echo "$as_me: loading cache $cache_file" >&6;}
3334 case $cache_file in
3335 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3336 *) . "./$cache_file";;
3337 esac
3339 else
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3341 $as_echo "$as_me: creating cache $cache_file" >&6;}
3342 >$cache_file
3345 # Check that the precious variables saved in the cache have kept the same
3346 # value.
3347 ac_cache_corrupted=false
3348 for ac_var in $ac_precious_vars; do
3349 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3350 eval ac_new_set=\$ac_env_${ac_var}_set
3351 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3352 eval ac_new_val=\$ac_env_${ac_var}_value
3353 case $ac_old_set,$ac_new_set in
3354 set,)
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3356 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3357 ac_cache_corrupted=: ;;
3358 ,set)
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3360 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3361 ac_cache_corrupted=: ;;
3362 ,);;
3364 if test "x$ac_old_val" != "x$ac_new_val"; then
3365 # differences in whitespace do not lead to failure.
3366 ac_old_val_w=`echo x $ac_old_val`
3367 ac_new_val_w=`echo x $ac_new_val`
3368 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3370 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3371 ac_cache_corrupted=:
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3374 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3375 eval $ac_var=\$ac_old_val
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3378 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3380 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3381 fi;;
3382 esac
3383 # Pass precious variables to config.status.
3384 if test "$ac_new_set" = set; then
3385 case $ac_new_val in
3386 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3387 *) ac_arg=$ac_var=$ac_new_val ;;
3388 esac
3389 case " $ac_configure_args " in
3390 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3391 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3392 esac
3394 done
3395 if $ac_cache_corrupted; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3399 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3400 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3402 ## -------------------- ##
3403 ## Main body of script. ##
3404 ## -------------------- ##
3406 ac_ext=c
3407 ac_cpp='$CPP $CPPFLAGS'
3408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3414 ac_config_headers="$ac_config_headers include/config.h"
3416 ac_aux_dir=
3417 for ac_dir in tools "$srcdir"/tools; do
3418 if test -f "$ac_dir/install-sh"; then
3419 ac_aux_dir=$ac_dir
3420 ac_install_sh="$ac_aux_dir/install-sh -c"
3421 break
3422 elif test -f "$ac_dir/install.sh"; then
3423 ac_aux_dir=$ac_dir
3424 ac_install_sh="$ac_aux_dir/install.sh -c"
3425 break
3426 elif test -f "$ac_dir/shtool"; then
3427 ac_aux_dir=$ac_dir
3428 ac_install_sh="$ac_aux_dir/shtool install -c"
3429 break
3431 done
3432 if test -z "$ac_aux_dir"; then
3433 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3436 # These three variables are undocumented and unsupported,
3437 # and are intended to be withdrawn in a future Autoconf release.
3438 # They can cause serious problems if a builder's source tree is in a directory
3439 # whose full name contains unusual characters.
3440 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3441 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3442 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3446 libwine_version="1.0"
3450 # Check whether --enable-win16 was given.
3451 if test "${enable_win16+set}" = set; then :
3452 enableval=$enable_win16;
3455 # Check whether --enable-win64 was given.
3456 if test "${enable_win64+set}" = set; then :
3457 enableval=$enable_win64;
3460 # Check whether --enable-tests was given.
3461 if test "${enable_tests+set}" = set; then :
3462 enableval=$enable_tests;
3465 # Check whether --enable-maintainer-mode was given.
3466 if test "${enable_maintainer_mode+set}" = set; then :
3467 enableval=$enable_maintainer_mode;
3472 # Check whether --with-alsa was given.
3473 if test "${with_alsa+set}" = set; then :
3474 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3478 # Check whether --with-capi was given.
3479 if test "${with_capi+set}" = set; then :
3480 withval=$with_capi;
3484 # Check whether --with-cms was given.
3485 if test "${with_cms+set}" = set; then :
3486 withval=$with_cms;
3490 # Check whether --with-coreaudio was given.
3491 if test "${with_coreaudio+set}" = set; then :
3492 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3496 # Check whether --with-cups was given.
3497 if test "${with_cups+set}" = set; then :
3498 withval=$with_cups;
3502 # Check whether --with-curses was given.
3503 if test "${with_curses+set}" = set; then :
3504 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3508 # Check whether --with-dbus was given.
3509 if test "${with_dbus+set}" = set; then :
3510 withval=$with_dbus;
3514 # Check whether --with-fontconfig was given.
3515 if test "${with_fontconfig+set}" = set; then :
3516 withval=$with_fontconfig;
3520 # Check whether --with-freetype was given.
3521 if test "${with_freetype+set}" = set; then :
3522 withval=$with_freetype;
3526 # Check whether --with-gettext was given.
3527 if test "${with_gettext+set}" = set; then :
3528 withval=$with_gettext;
3532 # Check whether --with-gettextpo was given.
3533 if test "${with_gettextpo+set}" = set; then :
3534 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3538 # Check whether --with-gphoto was given.
3539 if test "${with_gphoto+set}" = set; then :
3540 withval=$with_gphoto;
3544 # Check whether --with-glu was given.
3545 if test "${with_glu+set}" = set; then :
3546 withval=$with_glu;
3550 # Check whether --with-gnutls was given.
3551 if test "${with_gnutls+set}" = set; then :
3552 withval=$with_gnutls;
3556 # Check whether --with-gsm was given.
3557 if test "${with_gsm+set}" = set; then :
3558 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3562 # Check whether --with-gstreamer was given.
3563 if test "${with_gstreamer+set}" = set; then :
3564 withval=$with_gstreamer;
3568 # Check whether --with-hal was given.
3569 if test "${with_hal+set}" = set; then :
3570 withval=$with_hal;
3574 # Check whether --with-jpeg was given.
3575 if test "${with_jpeg+set}" = set; then :
3576 withval=$with_jpeg;
3580 # Check whether --with-ldap was given.
3581 if test "${with_ldap+set}" = set; then :
3582 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3586 # Check whether --with-mpg123 was given.
3587 if test "${with_mpg123+set}" = set; then :
3588 withval=$with_mpg123;
3592 # Check whether --with-netapi was given.
3593 if test "${with_netapi+set}" = set; then :
3594 withval=$with_netapi;
3598 # Check whether --with-openal was given.
3599 if test "${with_openal+set}" = set; then :
3600 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3604 # Check whether --with-opencl was given.
3605 if test "${with_opencl+set}" = set; then :
3606 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3610 # Check whether --with-opengl was given.
3611 if test "${with_opengl+set}" = set; then :
3612 withval=$with_opengl;
3616 # Check whether --with-osmesa was given.
3617 if test "${with_osmesa+set}" = set; then :
3618 withval=$with_osmesa;
3622 # Check whether --with-oss was given.
3623 if test "${with_oss+set}" = set; then :
3624 withval=$with_oss;
3628 # Check whether --with-pcap was given.
3629 if test "${with_pcap+set}" = set; then :
3630 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3634 # Check whether --with-png was given.
3635 if test "${with_png+set}" = set; then :
3636 withval=$with_png;
3640 # Check whether --with-pthread was given.
3641 if test "${with_pthread+set}" = set; then :
3642 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3646 # Check whether --with-pulse was given.
3647 if test "${with_pulse+set}" = set; then :
3648 withval=$with_pulse;
3652 # Check whether --with-sane was given.
3653 if test "${with_sane+set}" = set; then :
3654 withval=$with_sane;
3658 # Check whether --with-tiff was given.
3659 if test "${with_tiff+set}" = set; then :
3660 withval=$with_tiff;
3664 # Check whether --with-udev was given.
3665 if test "${with_udev+set}" = set; then :
3666 withval=$with_udev;
3670 # Check whether --with-v4l was given.
3671 if test "${with_v4l+set}" = set; then :
3672 withval=$with_v4l;
3676 # Check whether --with-xcomposite was given.
3677 if test "${with_xcomposite+set}" = set; then :
3678 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3682 # Check whether --with-xcursor was given.
3683 if test "${with_xcursor+set}" = set; then :
3684 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3688 # Check whether --with-xfixes was given.
3689 if test "${with_xfixes+set}" = set; then :
3690 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3694 # Check whether --with-xinerama was given.
3695 if test "${with_xinerama+set}" = set; then :
3696 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3700 # Check whether --with-xinput was given.
3701 if test "${with_xinput+set}" = set; then :
3702 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3706 # Check whether --with-xinput2 was given.
3707 if test "${with_xinput2+set}" = set; then :
3708 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3712 # Check whether --with-xml was given.
3713 if test "${with_xml+set}" = set; then :
3714 withval=$with_xml;
3718 # Check whether --with-xrandr was given.
3719 if test "${with_xrandr+set}" = set; then :
3720 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3724 # Check whether --with-xrender was given.
3725 if test "${with_xrender+set}" = set; then :
3726 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3730 # Check whether --with-xshape was given.
3731 if test "${with_xshape+set}" = set; then :
3732 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3736 # Check whether --with-xshm was given.
3737 if test "${with_xshm+set}" = set; then :
3738 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3742 # Check whether --with-xslt was given.
3743 if test "${with_xslt+set}" = set; then :
3744 withval=$with_xslt;
3748 # Check whether --with-xxf86vm was given.
3749 if test "${with_xxf86vm+set}" = set; then :
3750 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
3754 # Check whether --with-zlib was given.
3755 if test "${with_zlib+set}" = set; then :
3756 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3761 # Check whether --with-wine-tools was given.
3762 if test "${with_wine_tools+set}" = set; then :
3763 withval=$with_wine_tools;
3767 # Check whether --with-wine64 was given.
3768 if test "${with_wine64+set}" = set; then :
3769 withval=$with_wine64;
3773 # Make sure we can run config.sub.
3774 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3775 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3778 $as_echo_n "checking build system type... " >&6; }
3779 if ${ac_cv_build+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 ac_build_alias=$build_alias
3783 test "x$ac_build_alias" = x &&
3784 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3785 test "x$ac_build_alias" = x &&
3786 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3787 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3788 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3792 $as_echo "$ac_cv_build" >&6; }
3793 case $ac_cv_build in
3794 *-*-*) ;;
3795 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3796 esac
3797 build=$ac_cv_build
3798 ac_save_IFS=$IFS; IFS='-'
3799 set x $ac_cv_build
3800 shift
3801 build_cpu=$1
3802 build_vendor=$2
3803 shift; shift
3804 # Remember, the first character of IFS is used to create $*,
3805 # except with old shells:
3806 build_os=$*
3807 IFS=$ac_save_IFS
3808 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3812 $as_echo_n "checking host system type... " >&6; }
3813 if ${ac_cv_host+:} false; then :
3814 $as_echo_n "(cached) " >&6
3815 else
3816 if test "x$host_alias" = x; then
3817 ac_cv_host=$ac_cv_build
3818 else
3819 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3820 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3825 $as_echo "$ac_cv_host" >&6; }
3826 case $ac_cv_host in
3827 *-*-*) ;;
3828 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3829 esac
3830 host=$ac_cv_host
3831 ac_save_IFS=$IFS; IFS='-'
3832 set x $ac_cv_host
3833 shift
3834 host_cpu=$1
3835 host_vendor=$2
3836 shift; shift
3837 # Remember, the first character of IFS is used to create $*,
3838 # except with old shells:
3839 host_os=$*
3840 IFS=$ac_save_IFS
3841 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3845 case "$srcdir" in
3846 .) ;;
3847 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3848 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3849 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3850 fi ;;
3851 esac
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3855 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3856 set x ${MAKE-make}
3857 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3858 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3859 $as_echo_n "(cached) " >&6
3860 else
3861 cat >conftest.make <<\_ACEOF
3862 SHELL = /bin/sh
3863 all:
3864 @echo '@@@%%%=$(MAKE)=@@@%%%'
3865 _ACEOF
3866 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3867 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3868 *@@@%%%=?*=@@@%%%*)
3869 eval ac_cv_prog_make_${ac_make}_set=yes;;
3871 eval ac_cv_prog_make_${ac_make}_set=no;;
3872 esac
3873 rm -f conftest.make
3875 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3877 $as_echo "yes" >&6; }
3878 SET_MAKE=
3879 else
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3882 SET_MAKE="MAKE=${MAKE-make}"
3885 ac_ext=c
3886 ac_cpp='$CPP $CPPFLAGS'
3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3890 if test -n "$ac_tool_prefix"; then
3891 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3892 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3894 $as_echo_n "checking for $ac_word... " >&6; }
3895 if ${ac_cv_prog_CC+:} false; then :
3896 $as_echo_n "(cached) " >&6
3897 else
3898 if test -n "$CC"; then
3899 ac_cv_prog_CC="$CC" # Let the user override the test.
3900 else
3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 for as_dir in $PATH
3904 IFS=$as_save_IFS
3905 test -z "$as_dir" && as_dir=.
3906 for ac_exec_ext in '' $ac_executable_extensions; do
3907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3908 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3910 break 2
3912 done
3913 done
3914 IFS=$as_save_IFS
3918 CC=$ac_cv_prog_CC
3919 if test -n "$CC"; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3921 $as_echo "$CC" >&6; }
3922 else
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3929 if test -z "$ac_cv_prog_CC"; then
3930 ac_ct_CC=$CC
3931 # Extract the first word of "gcc", so it can be a program name with args.
3932 set dummy gcc; ac_word=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3936 $as_echo_n "(cached) " >&6
3937 else
3938 if test -n "$ac_ct_CC"; then
3939 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3940 else
3941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3942 for as_dir in $PATH
3944 IFS=$as_save_IFS
3945 test -z "$as_dir" && as_dir=.
3946 for ac_exec_ext in '' $ac_executable_extensions; do
3947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3948 ac_cv_prog_ac_ct_CC="gcc"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 break 2
3952 done
3953 done
3954 IFS=$as_save_IFS
3958 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3959 if test -n "$ac_ct_CC"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3961 $as_echo "$ac_ct_CC" >&6; }
3962 else
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3967 if test "x$ac_ct_CC" = x; then
3968 CC=""
3969 else
3970 case $cross_compiling:$ac_tool_warned in
3971 yes:)
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3974 ac_tool_warned=yes ;;
3975 esac
3976 CC=$ac_ct_CC
3978 else
3979 CC="$ac_cv_prog_CC"
3982 if test -z "$CC"; then
3983 if test -n "$ac_tool_prefix"; then
3984 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3985 set dummy ${ac_tool_prefix}cc; ac_word=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if ${ac_cv_prog_CC+:} false; then :
3989 $as_echo_n "(cached) " >&6
3990 else
3991 if test -n "$CC"; then
3992 ac_cv_prog_CC="$CC" # Let the user override the test.
3993 else
3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3995 for as_dir in $PATH
3997 IFS=$as_save_IFS
3998 test -z "$as_dir" && as_dir=.
3999 for ac_exec_ext in '' $ac_executable_extensions; do
4000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4001 ac_cv_prog_CC="${ac_tool_prefix}cc"
4002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4003 break 2
4005 done
4006 done
4007 IFS=$as_save_IFS
4011 CC=$ac_cv_prog_CC
4012 if test -n "$CC"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4014 $as_echo "$CC" >&6; }
4015 else
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4023 if test -z "$CC"; then
4024 # Extract the first word of "cc", so it can be a program name with args.
4025 set dummy cc; ac_word=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if ${ac_cv_prog_CC+:} false; then :
4029 $as_echo_n "(cached) " >&6
4030 else
4031 if test -n "$CC"; then
4032 ac_cv_prog_CC="$CC" # Let the user override the test.
4033 else
4034 ac_prog_rejected=no
4035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 for as_dir in $PATH
4038 IFS=$as_save_IFS
4039 test -z "$as_dir" && as_dir=.
4040 for ac_exec_ext in '' $ac_executable_extensions; do
4041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4042 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4043 ac_prog_rejected=yes
4044 continue
4046 ac_cv_prog_CC="cc"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 break 2
4050 done
4051 done
4052 IFS=$as_save_IFS
4054 if test $ac_prog_rejected = yes; then
4055 # We found a bogon in the path, so make sure we never use it.
4056 set dummy $ac_cv_prog_CC
4057 shift
4058 if test $# != 0; then
4059 # We chose a different compiler from the bogus one.
4060 # However, it has the same basename, so the bogon will be chosen
4061 # first if we set CC to just the basename; use the full file name.
4062 shift
4063 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4068 CC=$ac_cv_prog_CC
4069 if test -n "$CC"; then
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4071 $as_echo "$CC" >&6; }
4072 else
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4079 if test -z "$CC"; then
4080 if test -n "$ac_tool_prefix"; then
4081 for ac_prog in cl.exe
4083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4086 $as_echo_n "checking for $ac_word... " >&6; }
4087 if ${ac_cv_prog_CC+:} false; then :
4088 $as_echo_n "(cached) " >&6
4089 else
4090 if test -n "$CC"; then
4091 ac_cv_prog_CC="$CC" # Let the user override the test.
4092 else
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094 for as_dir in $PATH
4096 IFS=$as_save_IFS
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4100 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 break 2
4104 done
4105 done
4106 IFS=$as_save_IFS
4110 CC=$ac_cv_prog_CC
4111 if test -n "$CC"; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4113 $as_echo "$CC" >&6; }
4114 else
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4120 test -n "$CC" && break
4121 done
4123 if test -z "$CC"; then
4124 ac_ct_CC=$CC
4125 for ac_prog in cl.exe
4127 # Extract the first word of "$ac_prog", so it can be a program name with args.
4128 set dummy $ac_prog; ac_word=$2
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130 $as_echo_n "checking for $ac_word... " >&6; }
4131 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4132 $as_echo_n "(cached) " >&6
4133 else
4134 if test -n "$ac_ct_CC"; then
4135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4136 else
4137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 for as_dir in $PATH
4140 IFS=$as_save_IFS
4141 test -z "$as_dir" && as_dir=.
4142 for ac_exec_ext in '' $ac_executable_extensions; do
4143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4144 ac_cv_prog_ac_ct_CC="$ac_prog"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 break 2
4148 done
4149 done
4150 IFS=$as_save_IFS
4154 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4155 if test -n "$ac_ct_CC"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4157 $as_echo "$ac_ct_CC" >&6; }
4158 else
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4164 test -n "$ac_ct_CC" && break
4165 done
4167 if test "x$ac_ct_CC" = x; then
4168 CC=""
4169 else
4170 case $cross_compiling:$ac_tool_warned in
4171 yes:)
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4174 ac_tool_warned=yes ;;
4175 esac
4176 CC=$ac_ct_CC
4183 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4185 as_fn_error $? "no acceptable C compiler found in \$PATH
4186 See \`config.log' for more details" "$LINENO" 5; }
4188 # Provide some information about the compiler.
4189 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4190 set X $ac_compile
4191 ac_compiler=$2
4192 for ac_option in --version -v -V -qversion; do
4193 { { ac_try="$ac_compiler $ac_option >&5"
4194 case "(($ac_try" in
4195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4196 *) ac_try_echo=$ac_try;;
4197 esac
4198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4199 $as_echo "$ac_try_echo"; } >&5
4200 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4201 ac_status=$?
4202 if test -s conftest.err; then
4203 sed '10a\
4204 ... rest of stderr output deleted ...
4205 10q' conftest.err >conftest.er1
4206 cat conftest.er1 >&5
4208 rm -f conftest.er1 conftest.err
4209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4210 test $ac_status = 0; }
4211 done
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4217 main ()
4221 return 0;
4223 _ACEOF
4224 ac_clean_files_save=$ac_clean_files
4225 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4226 # Try to create an executable without -o first, disregard a.out.
4227 # It will help us diagnose broken compilers, and finding out an intuition
4228 # of exeext.
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4230 $as_echo_n "checking whether the C compiler works... " >&6; }
4231 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4233 # The possible output files:
4234 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4236 ac_rmfiles=
4237 for ac_file in $ac_files
4239 case $ac_file in
4240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4241 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4242 esac
4243 done
4244 rm -f $ac_rmfiles
4246 if { { ac_try="$ac_link_default"
4247 case "(($ac_try" in
4248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4250 esac
4251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4252 $as_echo "$ac_try_echo"; } >&5
4253 (eval "$ac_link_default") 2>&5
4254 ac_status=$?
4255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4256 test $ac_status = 0; }; then :
4257 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4258 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4259 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4260 # so that the user can short-circuit this test for compilers unknown to
4261 # Autoconf.
4262 for ac_file in $ac_files ''
4264 test -f "$ac_file" || continue
4265 case $ac_file in
4266 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4268 [ab].out )
4269 # We found the default executable, but exeext='' is most
4270 # certainly right.
4271 break;;
4272 *.* )
4273 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4274 then :; else
4275 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4277 # We set ac_cv_exeext here because the later test for it is not
4278 # safe: cross compilers may not add the suffix if given an `-o'
4279 # argument, so we may need to know it at that point already.
4280 # Even if this section looks crufty: it has the advantage of
4281 # actually working.
4282 break;;
4284 break;;
4285 esac
4286 done
4287 test "$ac_cv_exeext" = no && ac_cv_exeext=
4289 else
4290 ac_file=''
4292 if test -z "$ac_file"; then :
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4294 $as_echo "no" >&6; }
4295 $as_echo "$as_me: failed program was:" >&5
4296 sed 's/^/| /' conftest.$ac_ext >&5
4298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4300 as_fn_error 77 "C compiler cannot create executables
4301 See \`config.log' for more details" "$LINENO" 5; }
4302 else
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4304 $as_echo "yes" >&6; }
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4307 $as_echo_n "checking for C compiler default output file name... " >&6; }
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4309 $as_echo "$ac_file" >&6; }
4310 ac_exeext=$ac_cv_exeext
4312 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4313 ac_clean_files=$ac_clean_files_save
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4315 $as_echo_n "checking for suffix of executables... " >&6; }
4316 if { { ac_try="$ac_link"
4317 case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_link") 2>&5
4324 ac_status=$?
4325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 test $ac_status = 0; }; then :
4327 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4328 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4329 # work properly (i.e., refer to `conftest.exe'), while it won't with
4330 # `rm'.
4331 for ac_file in conftest.exe conftest conftest.*; do
4332 test -f "$ac_file" || continue
4333 case $ac_file in
4334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4335 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4336 break;;
4337 * ) break;;
4338 esac
4339 done
4340 else
4341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4343 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4344 See \`config.log' for more details" "$LINENO" 5; }
4346 rm -f conftest conftest$ac_cv_exeext
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4348 $as_echo "$ac_cv_exeext" >&6; }
4350 rm -f conftest.$ac_ext
4351 EXEEXT=$ac_cv_exeext
4352 ac_exeext=$EXEEXT
4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4355 #include <stdio.h>
4357 main ()
4359 FILE *f = fopen ("conftest.out", "w");
4360 return ferror (f) || fclose (f) != 0;
4363 return 0;
4365 _ACEOF
4366 ac_clean_files="$ac_clean_files conftest.out"
4367 # Check that the compiler produces executables we can run. If not, either
4368 # the compiler is broken, or we cross compile.
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4370 $as_echo_n "checking whether we are cross compiling... " >&6; }
4371 if test "$cross_compiling" != yes; then
4372 { { ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link") 2>&5
4380 ac_status=$?
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }
4383 if { ac_try='./conftest$ac_cv_exeext'
4384 { { case "(($ac_try" in
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4387 esac
4388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4389 $as_echo "$ac_try_echo"; } >&5
4390 (eval "$ac_try") 2>&5
4391 ac_status=$?
4392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4393 test $ac_status = 0; }; }; then
4394 cross_compiling=no
4395 else
4396 if test "$cross_compiling" = maybe; then
4397 cross_compiling=yes
4398 else
4399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4401 as_fn_error $? "cannot run C compiled programs.
4402 If you meant to cross compile, use \`--host'.
4403 See \`config.log' for more details" "$LINENO" 5; }
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4408 $as_echo "$cross_compiling" >&6; }
4410 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4411 ac_clean_files=$ac_clean_files_save
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4413 $as_echo_n "checking for suffix of object files... " >&6; }
4414 if ${ac_cv_objext+:} false; then :
4415 $as_echo_n "(cached) " >&6
4416 else
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4421 main ()
4425 return 0;
4427 _ACEOF
4428 rm -f conftest.o conftest.obj
4429 if { { ac_try="$ac_compile"
4430 case "(($ac_try" in
4431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4432 *) ac_try_echo=$ac_try;;
4433 esac
4434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4435 $as_echo "$ac_try_echo"; } >&5
4436 (eval "$ac_compile") 2>&5
4437 ac_status=$?
4438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4439 test $ac_status = 0; }; then :
4440 for ac_file in conftest.o conftest.obj conftest.*; do
4441 test -f "$ac_file" || continue;
4442 case $ac_file in
4443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4444 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4445 break;;
4446 esac
4447 done
4448 else
4449 $as_echo "$as_me: failed program was:" >&5
4450 sed 's/^/| /' conftest.$ac_ext >&5
4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4454 as_fn_error $? "cannot compute suffix of object files: cannot compile
4455 See \`config.log' for more details" "$LINENO" 5; }
4457 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4460 $as_echo "$ac_cv_objext" >&6; }
4461 OBJEXT=$ac_cv_objext
4462 ac_objext=$OBJEXT
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4464 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4465 if ${ac_cv_c_compiler_gnu+:} false; then :
4466 $as_echo_n "(cached) " >&6
4467 else
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4472 main ()
4474 #ifndef __GNUC__
4475 choke me
4476 #endif
4479 return 0;
4481 _ACEOF
4482 if ac_fn_c_try_compile "$LINENO"; then :
4483 ac_compiler_gnu=yes
4484 else
4485 ac_compiler_gnu=no
4487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4488 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4492 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4493 if test $ac_compiler_gnu = yes; then
4494 GCC=yes
4495 else
4496 GCC=
4498 ac_test_CFLAGS=${CFLAGS+set}
4499 ac_save_CFLAGS=$CFLAGS
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4501 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4502 if ${ac_cv_prog_cc_g+:} false; then :
4503 $as_echo_n "(cached) " >&6
4504 else
4505 ac_save_c_werror_flag=$ac_c_werror_flag
4506 ac_c_werror_flag=yes
4507 ac_cv_prog_cc_g=no
4508 CFLAGS="-g"
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4513 main ()
4517 return 0;
4519 _ACEOF
4520 if ac_fn_c_try_compile "$LINENO"; then :
4521 ac_cv_prog_cc_g=yes
4522 else
4523 CFLAGS=""
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4528 main ()
4532 return 0;
4534 _ACEOF
4535 if ac_fn_c_try_compile "$LINENO"; then :
4537 else
4538 ac_c_werror_flag=$ac_save_c_werror_flag
4539 CFLAGS="-g"
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4544 main ()
4548 return 0;
4550 _ACEOF
4551 if ac_fn_c_try_compile "$LINENO"; then :
4552 ac_cv_prog_cc_g=yes
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 ac_c_werror_flag=$ac_save_c_werror_flag
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4562 $as_echo "$ac_cv_prog_cc_g" >&6; }
4563 if test "$ac_test_CFLAGS" = set; then
4564 CFLAGS=$ac_save_CFLAGS
4565 elif test $ac_cv_prog_cc_g = yes; then
4566 if test "$GCC" = yes; then
4567 CFLAGS="-g -O2"
4568 else
4569 CFLAGS="-g"
4571 else
4572 if test "$GCC" = yes; then
4573 CFLAGS="-O2"
4574 else
4575 CFLAGS=
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4579 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4580 if ${ac_cv_prog_cc_c89+:} false; then :
4581 $as_echo_n "(cached) " >&6
4582 else
4583 ac_cv_prog_cc_c89=no
4584 ac_save_CC=$CC
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4587 #include <stdarg.h>
4588 #include <stdio.h>
4589 struct stat;
4590 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4591 struct buf { int x; };
4592 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4593 static char *e (p, i)
4594 char **p;
4595 int i;
4597 return p[i];
4599 static char *f (char * (*g) (char **, int), char **p, ...)
4601 char *s;
4602 va_list v;
4603 va_start (v,p);
4604 s = g (p, va_arg (v,int));
4605 va_end (v);
4606 return s;
4609 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4610 function prototypes and stuff, but not '\xHH' hex character constants.
4611 These don't provoke an error unfortunately, instead are silently treated
4612 as 'x'. The following induces an error, until -std is added to get
4613 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4614 array size at least. It's necessary to write '\x00'==0 to get something
4615 that's true only with -std. */
4616 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4618 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4619 inside strings and character constants. */
4620 #define FOO(x) 'x'
4621 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4623 int test (int i, double x);
4624 struct s1 {int (*f) (int a);};
4625 struct s2 {int (*f) (double a);};
4626 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4627 int argc;
4628 char **argv;
4630 main ()
4632 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4634 return 0;
4636 _ACEOF
4637 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4638 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4640 CC="$ac_save_CC $ac_arg"
4641 if ac_fn_c_try_compile "$LINENO"; then :
4642 ac_cv_prog_cc_c89=$ac_arg
4644 rm -f core conftest.err conftest.$ac_objext
4645 test "x$ac_cv_prog_cc_c89" != "xno" && break
4646 done
4647 rm -f conftest.$ac_ext
4648 CC=$ac_save_CC
4651 # AC_CACHE_VAL
4652 case "x$ac_cv_prog_cc_c89" in
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4655 $as_echo "none needed" >&6; } ;;
4656 xno)
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4658 $as_echo "unsupported" >&6; } ;;
4660 CC="$CC $ac_cv_prog_cc_c89"
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4662 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4663 esac
4664 if test "x$ac_cv_prog_cc_c89" != xno; then :
4668 ac_ext=c
4669 ac_cpp='$CPP $CPPFLAGS'
4670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4674 ac_ext=cpp
4675 ac_cpp='$CXXCPP $CPPFLAGS'
4676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4679 if test -z "$CXX"; then
4680 if test -n "$CCC"; then
4681 CXX=$CCC
4682 else
4683 if test -n "$ac_tool_prefix"; then
4684 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if ${ac_cv_prog_CXX+:} false; then :
4691 $as_echo_n "(cached) " >&6
4692 else
4693 if test -n "$CXX"; then
4694 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4695 else
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH
4699 IFS=$as_save_IFS
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4703 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 break 2
4707 done
4708 done
4709 IFS=$as_save_IFS
4713 CXX=$ac_cv_prog_CXX
4714 if test -n "$CXX"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4716 $as_echo "$CXX" >&6; }
4717 else
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4723 test -n "$CXX" && break
4724 done
4726 if test -z "$CXX"; then
4727 ac_ct_CXX=$CXX
4728 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4730 # Extract the first word of "$ac_prog", so it can be a program name with args.
4731 set dummy $ac_prog; ac_word=$2
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4735 $as_echo_n "(cached) " >&6
4736 else
4737 if test -n "$ac_ct_CXX"; then
4738 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4739 else
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 for as_dir in $PATH
4743 IFS=$as_save_IFS
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4747 ac_cv_prog_ac_ct_CXX="$ac_prog"
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 break 2
4751 done
4752 done
4753 IFS=$as_save_IFS
4757 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4758 if test -n "$ac_ct_CXX"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4760 $as_echo "$ac_ct_CXX" >&6; }
4761 else
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4767 test -n "$ac_ct_CXX" && break
4768 done
4770 if test "x$ac_ct_CXX" = x; then
4771 CXX="g++"
4772 else
4773 case $cross_compiling:$ac_tool_warned in
4774 yes:)
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4777 ac_tool_warned=yes ;;
4778 esac
4779 CXX=$ac_ct_CXX
4785 # Provide some information about the compiler.
4786 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4787 set X $ac_compile
4788 ac_compiler=$2
4789 for ac_option in --version -v -V -qversion; do
4790 { { ac_try="$ac_compiler $ac_option >&5"
4791 case "(($ac_try" in
4792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4794 esac
4795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796 $as_echo "$ac_try_echo"; } >&5
4797 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4798 ac_status=$?
4799 if test -s conftest.err; then
4800 sed '10a\
4801 ... rest of stderr output deleted ...
4802 10q' conftest.err >conftest.er1
4803 cat conftest.er1 >&5
4805 rm -f conftest.er1 conftest.err
4806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807 test $ac_status = 0; }
4808 done
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4811 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4812 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4819 main ()
4821 #ifndef __GNUC__
4822 choke me
4823 #endif
4826 return 0;
4828 _ACEOF
4829 if ac_fn_cxx_try_compile "$LINENO"; then :
4830 ac_compiler_gnu=yes
4831 else
4832 ac_compiler_gnu=no
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4839 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4840 if test $ac_compiler_gnu = yes; then
4841 GXX=yes
4842 else
4843 GXX=
4845 ac_test_CXXFLAGS=${CXXFLAGS+set}
4846 ac_save_CXXFLAGS=$CXXFLAGS
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4848 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4849 if ${ac_cv_prog_cxx_g+:} false; then :
4850 $as_echo_n "(cached) " >&6
4851 else
4852 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4853 ac_cxx_werror_flag=yes
4854 ac_cv_prog_cxx_g=no
4855 CXXFLAGS="-g"
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 main ()
4864 return 0;
4866 _ACEOF
4867 if ac_fn_cxx_try_compile "$LINENO"; then :
4868 ac_cv_prog_cxx_g=yes
4869 else
4870 CXXFLAGS=""
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 if ac_fn_cxx_try_compile "$LINENO"; then :
4884 else
4885 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4886 CXXFLAGS="-g"
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4891 main ()
4895 return 0;
4897 _ACEOF
4898 if ac_fn_cxx_try_compile "$LINENO"; then :
4899 ac_cv_prog_cxx_g=yes
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4909 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4910 if test "$ac_test_CXXFLAGS" = set; then
4911 CXXFLAGS=$ac_save_CXXFLAGS
4912 elif test $ac_cv_prog_cxx_g = yes; then
4913 if test "$GXX" = yes; then
4914 CXXFLAGS="-g -O2"
4915 else
4916 CXXFLAGS="-g"
4918 else
4919 if test "$GXX" = yes; then
4920 CXXFLAGS="-O2"
4921 else
4922 CXXFLAGS=
4925 ac_ext=c
4926 ac_cpp='$CPP $CPPFLAGS'
4927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4931 if test -n "$ac_tool_prefix"; then
4932 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4933 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_CPPBIN+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 if test -n "$CPPBIN"; then
4940 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4941 else
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 for as_dir in $PATH
4945 IFS=$as_save_IFS
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 break 2
4953 done
4954 done
4955 IFS=$as_save_IFS
4959 CPPBIN=$ac_cv_prog_CPPBIN
4960 if test -n "$CPPBIN"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4962 $as_echo "$CPPBIN" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4970 if test -z "$ac_cv_prog_CPPBIN"; then
4971 ac_ct_CPPBIN=$CPPBIN
4972 # Extract the first word of "cpp", so it can be a program name with args.
4973 set dummy cpp; ac_word=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4977 $as_echo_n "(cached) " >&6
4978 else
4979 if test -n "$ac_ct_CPPBIN"; then
4980 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_ac_ct_CPPBIN="cpp"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 break 2
4993 done
4994 done
4995 IFS=$as_save_IFS
4999 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5000 if test -n "$ac_ct_CPPBIN"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5002 $as_echo "$ac_ct_CPPBIN" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5008 if test "x$ac_ct_CPPBIN" = x; then
5009 CPPBIN="cpp"
5010 else
5011 case $cross_compiling:$ac_tool_warned in
5012 yes:)
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5015 ac_tool_warned=yes ;;
5016 esac
5017 CPPBIN=$ac_ct_CPPBIN
5019 else
5020 CPPBIN="$ac_cv_prog_CPPBIN"
5024 cat >>confdefs.h <<_ACEOF
5025 #define EXEEXT "$ac_exeext"
5026 _ACEOF
5028 if test -n "$ac_tool_prefix"; then
5029 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5030 set dummy ${ac_tool_prefix}ld; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_LD+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 if test -n "$LD"; then
5037 ac_cv_prog_LD="$LD" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5042 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_LD="${ac_tool_prefix}ld"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 break 2
5050 done
5051 done
5052 IFS=$as_save_IFS
5056 LD=$ac_cv_prog_LD
5057 if test -n "$LD"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5059 $as_echo "$LD" >&6; }
5060 else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5067 if test -z "$ac_cv_prog_LD"; then
5068 ac_ct_LD=$LD
5069 # Extract the first word of "ld", so it can be a program name with args.
5070 set dummy ld; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 if test -n "$ac_ct_LD"; then
5077 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5086 ac_cv_prog_ac_ct_LD="ld"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 break 2
5090 done
5091 done
5092 IFS=$as_save_IFS
5096 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5097 if test -n "$ac_ct_LD"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5099 $as_echo "$ac_ct_LD" >&6; }
5100 else
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5105 if test "x$ac_ct_LD" = x; then
5106 LD=""
5107 else
5108 case $cross_compiling:$ac_tool_warned in
5109 yes:)
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5112 ac_tool_warned=yes ;;
5113 esac
5114 LD=$ac_ct_LD
5116 else
5117 LD="$ac_cv_prog_LD"
5121 case $host in
5122 *-darwin*)
5123 with_fontconfig=${with_fontconfig:-no}
5125 *-mingw32*|*-cygwin*)
5126 enable_win16=${enable_win16:-no}
5127 CFLAGS="$CFLAGS -D_WIN32"
5129 esac
5131 case $host in
5132 x86_64*|amd64*)
5133 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5134 then
5135 CC="$CC -m32"
5136 CXX="$CXX -m32"
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5138 $as_echo_n "checking whether $CC works... " >&6; }
5140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5141 /* end confdefs.h. */
5144 main ()
5148 return 0;
5150 _ACEOF
5151 if ac_fn_c_try_link "$LINENO"; then :
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5153 $as_echo "yes" >&6; }
5154 else
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5157 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5159 rm -f core conftest.err conftest.$ac_objext \
5160 conftest$ac_exeext conftest.$ac_ext
5161 host_cpu="i386"
5162 notice_platform="32-bit "
5163 TARGETFLAGS="-m32"
5165 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5166 export PKG_CONFIG_PATH
5167 enable_win16=${enable_win16:-yes}
5168 else
5169 if test "x${GCC}" = "xyes"
5170 then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5172 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5175 #include <stdarg.h>
5177 main ()
5179 void func(__builtin_ms_va_list *args);
5181 return 0;
5183 _ACEOF
5184 if ac_fn_c_try_compile "$LINENO"; then :
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5186 $as_echo "yes" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5190 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5194 CC="$CC -m64"
5195 CXX="$CXX -m64"
5196 host_cpu="x86_64"
5197 notice_platform="64-bit "
5198 TARGETFLAGS="-m64"
5202 arm*)
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5204 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5207 int ac_test(int i) { return i; }
5209 main ()
5211 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5213 return 0;
5215 _ACEOF
5216 if ac_fn_c_try_link "$LINENO"; then :
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5218 $as_echo "yes" >&6; }
5219 else
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5222 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5224 rm -f core conftest.err conftest.$ac_objext \
5225 conftest$ac_exeext conftest.$ac_ext
5226 CFLAGS="$CFLAGS -marm"
5227 TARGETFLAGS="-marm"
5230 i[3456789]86*)
5231 enable_win16=${enable_win16:-yes}
5233 esac
5235 enable_win16=${enable_win16:-no}
5236 enable_win64=${enable_win64:-no}
5238 enable_winetest=${enable_winetest:-$enable_tests}
5240 if test -n "$with_wine64"
5241 then
5242 if test "x$enable_win64" = "xyes"
5243 then
5244 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5245 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5247 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5248 You should create a separate build directory and run configure from there." "$LINENO" 5
5249 enable_fonts=${enable_fonts:-no}
5250 enable_server=${enable_server:-no}
5251 elif test "x$enable_win64" = "xyes"
5252 then
5253 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5257 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5258 if ${wine_cv_toolsdir+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 wine_cv_toolsdir="$with_wine_tools"
5262 if test -z "$with_wine_tools"; then
5263 if test "$cross_compiling" = "yes"; then
5264 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5265 elif test -n "$with_wine64"; then
5266 wine_cv_toolsdir="$with_wine64"
5269 if test -z "$wine_cv_toolsdir"; then
5270 wine_makedep=tools/makedep
5271 wine_cv_toolsdir="\$(top_builddir)"
5272 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5273 wine_makedep=$wine_cv_toolsdir/tools/makedep
5274 case "$wine_cv_toolsdir" in
5275 /*) ;;
5276 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5277 esac
5278 enable_tools=${enable_tools:-no}
5279 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5280 else
5281 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5285 $as_echo "$wine_cv_toolsdir" >&6; }
5286 TOOLSDIR=$wine_cv_toolsdir
5288 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5289 then
5290 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5294 for ac_prog in flex
5296 # Extract the first word of "$ac_prog", so it can be a program name with args.
5297 set dummy $ac_prog; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_FLEX+:} false; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 if test -n "$FLEX"; then
5304 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5313 ac_cv_prog_FLEX="$ac_prog"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 FLEX=$ac_cv_prog_FLEX
5324 if test -n "$FLEX"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5326 $as_echo "$FLEX" >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5333 test -n "$FLEX" && break
5334 done
5335 test -n "$FLEX" || FLEX="none"
5337 if test "$FLEX" = "none"
5338 then
5339 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5342 $as_echo_n "checking whether flex is recent enough... " >&6; }
5343 cat >conftest.l <<EOF
5344 %top{
5345 #include "prediluvian.h"
5349 if $FLEX -t conftest.l >/dev/null 2>&5
5350 then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5352 $as_echo "yes" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5356 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5359 for ac_prog in bison
5361 # Extract the first word of "$ac_prog", so it can be a program name with args.
5362 set dummy $ac_prog; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_BISON+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 if test -n "$BISON"; then
5369 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5370 else
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH
5374 IFS=$as_save_IFS
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_BISON="$ac_prog"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 break 2
5382 done
5383 done
5384 IFS=$as_save_IFS
5388 BISON=$ac_cv_prog_BISON
5389 if test -n "$BISON"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5391 $as_echo "$BISON" >&6; }
5392 else
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5398 test -n "$BISON" && break
5399 done
5400 test -n "$BISON" || BISON="none"
5402 if test "$BISON" = "none"
5403 then
5404 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5407 if test -n "$ac_tool_prefix"; then
5408 for ac_prog in ar gar
5410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_AR+:} false; then :
5415 $as_echo_n "(cached) " >&6
5416 else
5417 if test -n "$AR"; then
5418 ac_cv_prog_AR="$AR" # Let the user override the test.
5419 else
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 for as_dir in $PATH
5423 IFS=$as_save_IFS
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 break 2
5431 done
5432 done
5433 IFS=$as_save_IFS
5437 AR=$ac_cv_prog_AR
5438 if test -n "$AR"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5440 $as_echo "$AR" >&6; }
5441 else
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5447 test -n "$AR" && break
5448 done
5450 if test -z "$AR"; then
5451 ac_ct_AR=$AR
5452 for ac_prog in ar gar
5454 # Extract the first word of "$ac_prog", so it can be a program name with args.
5455 set dummy $ac_prog; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$ac_ct_AR"; then
5462 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_ac_ct_AR="$ac_prog"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5482 if test -n "$ac_ct_AR"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5484 $as_echo "$ac_ct_AR" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 test -n "$ac_ct_AR" && break
5492 done
5494 if test "x$ac_ct_AR" = x; then
5495 AR="ar"
5496 else
5497 case $cross_compiling:$ac_tool_warned in
5498 yes:)
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5501 ac_tool_warned=yes ;;
5502 esac
5503 AR=$ac_ct_AR
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5509 set dummy ${ac_tool_prefix}strip; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_STRIP+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$STRIP"; then
5516 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 STRIP=$ac_cv_prog_STRIP
5536 if test -n "$STRIP"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5538 $as_echo "$STRIP" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5546 if test -z "$ac_cv_prog_STRIP"; then
5547 ac_ct_STRIP=$STRIP
5548 # Extract the first word of "strip", so it can be a program name with args.
5549 set dummy strip; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if test -n "$ac_ct_STRIP"; then
5556 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_ac_ct_STRIP="strip"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5569 done
5570 done
5571 IFS=$as_save_IFS
5575 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5576 if test -n "$ac_ct_STRIP"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5578 $as_echo "$ac_ct_STRIP" >&6; }
5579 else
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5584 if test "x$ac_ct_STRIP" = x; then
5585 STRIP="strip"
5586 else
5587 case $cross_compiling:$ac_tool_warned in
5588 yes:)
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5591 ac_tool_warned=yes ;;
5592 esac
5593 STRIP=$ac_ct_STRIP
5595 else
5596 STRIP="$ac_cv_prog_STRIP"
5599 ARFLAGS=rc
5601 if test -n "$ac_tool_prefix"; then
5602 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5603 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 $as_echo_n "checking for $ac_word... " >&6; }
5606 if ${ac_cv_prog_RANLIB+:} false; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -n "$RANLIB"; then
5610 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5611 else
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 for as_dir in $PATH
5615 IFS=$as_save_IFS
5616 test -z "$as_dir" && as_dir=.
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5619 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 break 2
5623 done
5624 done
5625 IFS=$as_save_IFS
5629 RANLIB=$ac_cv_prog_RANLIB
5630 if test -n "$RANLIB"; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5632 $as_echo "$RANLIB" >&6; }
5633 else
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 $as_echo "no" >&6; }
5640 if test -z "$ac_cv_prog_RANLIB"; then
5641 ac_ct_RANLIB=$RANLIB
5642 # Extract the first word of "ranlib", so it can be a program name with args.
5643 set dummy ranlib; ac_word=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5645 $as_echo_n "checking for $ac_word... " >&6; }
5646 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 if test -n "$ac_ct_RANLIB"; then
5650 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5651 else
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 for as_dir in $PATH
5655 IFS=$as_save_IFS
5656 test -z "$as_dir" && as_dir=.
5657 for ac_exec_ext in '' $ac_executable_extensions; do
5658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_ac_ct_RANLIB="ranlib"
5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 break 2
5663 done
5664 done
5665 IFS=$as_save_IFS
5669 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5670 if test -n "$ac_ct_RANLIB"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5672 $as_echo "$ac_ct_RANLIB" >&6; }
5673 else
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }
5678 if test "x$ac_ct_RANLIB" = x; then
5679 RANLIB=":"
5680 else
5681 case $cross_compiling:$ac_tool_warned in
5682 yes:)
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5685 ac_tool_warned=yes ;;
5686 esac
5687 RANLIB=$ac_ct_RANLIB
5689 else
5690 RANLIB="$ac_cv_prog_RANLIB"
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5694 $as_echo_n "checking whether ln -s works... " >&6; }
5695 LN_S=$as_ln_s
5696 if test "$LN_S" = "ln -s"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5698 $as_echo "yes" >&6; }
5699 else
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5701 $as_echo "no, using $LN_S" >&6; }
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5705 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5706 if ${ac_cv_path_GREP+:} false; then :
5707 $as_echo_n "(cached) " >&6
5708 else
5709 if test -z "$GREP"; then
5710 ac_path_GREP_found=false
5711 # Loop through the user's path and test for each of PROGNAME-LIST
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5715 IFS=$as_save_IFS
5716 test -z "$as_dir" && as_dir=.
5717 for ac_prog in grep ggrep; do
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5720 as_fn_executable_p "$ac_path_GREP" || continue
5721 # Check for GNU ac_path_GREP and select it if it is found.
5722 # Check for GNU $ac_path_GREP
5723 case `"$ac_path_GREP" --version 2>&1` in
5724 *GNU*)
5725 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5727 ac_count=0
5728 $as_echo_n 0123456789 >"conftest.in"
5729 while :
5731 cat "conftest.in" "conftest.in" >"conftest.tmp"
5732 mv "conftest.tmp" "conftest.in"
5733 cp "conftest.in" "conftest.nl"
5734 $as_echo 'GREP' >> "conftest.nl"
5735 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5736 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5737 as_fn_arith $ac_count + 1 && ac_count=$as_val
5738 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5739 # Best one so far, save it but keep looking for a better one
5740 ac_cv_path_GREP="$ac_path_GREP"
5741 ac_path_GREP_max=$ac_count
5743 # 10*(2^10) chars as input seems more than enough
5744 test $ac_count -gt 10 && break
5745 done
5746 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5747 esac
5749 $ac_path_GREP_found && break 3
5750 done
5751 done
5752 done
5753 IFS=$as_save_IFS
5754 if test -z "$ac_cv_path_GREP"; then
5755 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5757 else
5758 ac_cv_path_GREP=$GREP
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5763 $as_echo "$ac_cv_path_GREP" >&6; }
5764 GREP="$ac_cv_path_GREP"
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5768 $as_echo_n "checking for egrep... " >&6; }
5769 if ${ac_cv_path_EGREP+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5773 then ac_cv_path_EGREP="$GREP -E"
5774 else
5775 if test -z "$EGREP"; then
5776 ac_path_EGREP_found=false
5777 # Loop through the user's path and test for each of PROGNAME-LIST
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_prog in egrep; do
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5786 as_fn_executable_p "$ac_path_EGREP" || continue
5787 # Check for GNU ac_path_EGREP and select it if it is found.
5788 # Check for GNU $ac_path_EGREP
5789 case `"$ac_path_EGREP" --version 2>&1` in
5790 *GNU*)
5791 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5793 ac_count=0
5794 $as_echo_n 0123456789 >"conftest.in"
5795 while :
5797 cat "conftest.in" "conftest.in" >"conftest.tmp"
5798 mv "conftest.tmp" "conftest.in"
5799 cp "conftest.in" "conftest.nl"
5800 $as_echo 'EGREP' >> "conftest.nl"
5801 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5802 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5803 as_fn_arith $ac_count + 1 && ac_count=$as_val
5804 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5805 # Best one so far, save it but keep looking for a better one
5806 ac_cv_path_EGREP="$ac_path_EGREP"
5807 ac_path_EGREP_max=$ac_count
5809 # 10*(2^10) chars as input seems more than enough
5810 test $ac_count -gt 10 && break
5811 done
5812 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5813 esac
5815 $ac_path_EGREP_found && break 3
5816 done
5817 done
5818 done
5819 IFS=$as_save_IFS
5820 if test -z "$ac_cv_path_EGREP"; then
5821 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5823 else
5824 ac_cv_path_EGREP=$EGREP
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5830 $as_echo "$ac_cv_path_EGREP" >&6; }
5831 EGREP="$ac_cv_path_EGREP"
5834 # Extract the first word of "ldconfig", so it can be a program name with args.
5835 set dummy ldconfig; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_path_LDCONFIG+:} false; then :
5839 $as_echo_n "(cached) " >&6
5840 else
5841 case $LDCONFIG in
5842 [\\/]* | ?:[\\/]*)
5843 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in /sbin /usr/sbin $PATH
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 break 2
5857 done
5858 done
5859 IFS=$as_save_IFS
5861 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5863 esac
5865 LDCONFIG=$ac_cv_path_LDCONFIG
5866 if test -n "$LDCONFIG"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5868 $as_echo "$LDCONFIG" >&6; }
5869 else
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }
5875 for ac_prog in msgfmt
5877 # Extract the first word of "$ac_prog", so it can be a program name with args.
5878 set dummy $ac_prog; ac_word=$2
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880 $as_echo_n "checking for $ac_word... " >&6; }
5881 if ${ac_cv_prog_MSGFMT+:} false; then :
5882 $as_echo_n "(cached) " >&6
5883 else
5884 if test -n "$MSGFMT"; then
5885 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5886 else
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 for as_dir in $PATH
5890 IFS=$as_save_IFS
5891 test -z "$as_dir" && as_dir=.
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5894 ac_cv_prog_MSGFMT="$ac_prog"
5895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 break 2
5898 done
5899 done
5900 IFS=$as_save_IFS
5904 MSGFMT=$ac_cv_prog_MSGFMT
5905 if test -n "$MSGFMT"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5907 $as_echo "$MSGFMT" >&6; }
5908 else
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5914 test -n "$MSGFMT" && break
5915 done
5916 test -n "$MSGFMT" || MSGFMT="false"
5918 if ${ac_tool_prefix+:} false; then :
5919 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5920 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5924 $as_echo_n "(cached) " >&6
5925 else
5926 if test -n "$PKG_CONFIG"; then
5927 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5928 else
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 break 2
5940 done
5941 done
5942 IFS=$as_save_IFS
5946 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5947 if test -n "$PKG_CONFIG"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5949 $as_echo "$PKG_CONFIG" >&6; }
5950 else
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5957 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5958 if test "x$cross_compiling" = xyes; then :
5960 else
5961 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5962 # Extract the first word of "pkg-config", so it can be a program name with args.
5963 set dummy pkg-config; ac_word=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 $as_echo_n "checking for $ac_word... " >&6; }
5966 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5967 $as_echo_n "(cached) " >&6
5968 else
5969 if test -n "$PKG_CONFIG"; then
5970 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5971 else
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 for as_dir in $PATH
5975 IFS=$as_save_IFS
5976 test -z "$as_dir" && as_dir=.
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_PKG_CONFIG="pkg-config"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 break 2
5983 done
5984 done
5985 IFS=$as_save_IFS
5989 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5990 if test -n "$PKG_CONFIG"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5992 $as_echo "$PKG_CONFIG" >&6; }
5993 else
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
6000 else
6001 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6004 if test "x$enable_maintainer_mode" != "xyes"
6005 then
6006 FONTFORGE=""
6007 RSVG=""
6008 CONVERT=""
6009 ICOTOOL=""
6010 else
6011 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6012 for ac_prog in fontforge
6014 # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 set dummy $ac_prog; ac_word=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_prog_FONTFORGE+:} false; then :
6019 $as_echo_n "(cached) " >&6
6020 else
6021 if test -n "$FONTFORGE"; then
6022 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6023 else
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 for as_dir in $PATH
6027 IFS=$as_save_IFS
6028 test -z "$as_dir" && as_dir=.
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6031 ac_cv_prog_FONTFORGE="$ac_prog"
6032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 break 2
6035 done
6036 done
6037 IFS=$as_save_IFS
6041 FONTFORGE=$ac_cv_prog_FONTFORGE
6042 if test -n "$FONTFORGE"; then
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6044 $as_echo "$FONTFORGE" >&6; }
6045 else
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6051 test -n "$FONTFORGE" && break
6052 done
6053 test -n "$FONTFORGE" || FONTFORGE="false"
6055 for ac_prog in rsvg-convert rsvg
6057 # Extract the first word of "$ac_prog", so it can be a program name with args.
6058 set dummy $ac_prog; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_RSVG+:} false; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 if test -n "$RSVG"; then
6065 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_RSVG="$ac_prog"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 RSVG=$ac_cv_prog_RSVG
6085 if test -n "$RSVG"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6087 $as_echo "$RSVG" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6094 test -n "$RSVG" && break
6095 done
6096 test -n "$RSVG" || RSVG="false"
6098 for ac_prog in convert
6100 # Extract the first word of "$ac_prog", so it can be a program name with args.
6101 set dummy $ac_prog; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if ${ac_cv_prog_CONVERT+:} false; then :
6105 $as_echo_n "(cached) " >&6
6106 else
6107 if test -n "$CONVERT"; then
6108 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6109 else
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 for as_dir in $PATH
6113 IFS=$as_save_IFS
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6117 ac_cv_prog_CONVERT="$ac_prog"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119 break 2
6121 done
6122 done
6123 IFS=$as_save_IFS
6127 CONVERT=$ac_cv_prog_CONVERT
6128 if test -n "$CONVERT"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6130 $as_echo "$CONVERT" >&6; }
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6137 test -n "$CONVERT" && break
6138 done
6139 test -n "$CONVERT" || CONVERT="false"
6141 for ac_prog in icotool
6143 # Extract the first word of "$ac_prog", so it can be a program name with args.
6144 set dummy $ac_prog; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_ICOTOOL+:} false; then :
6148 $as_echo_n "(cached) " >&6
6149 else
6150 if test -n "$ICOTOOL"; then
6151 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6152 else
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 for as_dir in $PATH
6156 IFS=$as_save_IFS
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ICOTOOL="$ac_prog"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 break 2
6164 done
6165 done
6166 IFS=$as_save_IFS
6170 ICOTOOL=$ac_cv_prog_ICOTOOL
6171 if test -n "$ICOTOOL"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6173 $as_echo "$ICOTOOL" >&6; }
6174 else
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6180 test -n "$ICOTOOL" && break
6181 done
6182 test -n "$ICOTOOL" || ICOTOOL="false"
6184 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6185 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6187 if test "$CONVERT" = false
6188 then
6189 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6190 else
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6192 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6193 convert_version=`convert --version | head -n1`
6194 if test "x$convert_version" != "x"
6195 then
6196 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6197 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6198 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6199 then
6200 CONVERT=false
6203 if test "$CONVERT" = false
6204 then
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6206 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6207 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6208 else
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6210 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6214 if test "$ICOTOOL" = false
6215 then
6216 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6219 $as_echo_n "checking for recent enough icotool... " >&6; }
6220 icotool_version=`icotool --version | head -n1`
6221 if test "x$icotool_version" != "x"
6222 then
6223 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6224 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6225 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6226 then
6227 ICOTOOL=false
6228 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6231 if test "$ICOTOOL" = false
6232 then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6234 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6235 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6236 else
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6238 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6242 with_gettext=yes
6243 with_gettextpo=yes
6244 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6247 test "x$with_gettext" != xno || MSGFMT=false
6248 if test "$MSGFMT" != "false"
6249 then
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6251 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6252 cat >conftest.po <<EOF
6253 # comment
6254 msgctxt "ctxt"
6255 msgid "id"
6256 msgstr "str"
6258 if $MSGFMT -o /dev/null conftest.po 2>&5
6259 then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6261 $as_echo "yes" >&6; }
6262 else
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6265 MSGFMT=false
6268 if test "$MSGFMT" = false; then :
6269 case "x$with_gettext" in
6270 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6271 xno) ;;
6272 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6273 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6274 esac
6275 enable_po=${enable_po:-no}
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6280 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6281 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 ac_check_lib_save_LIBS=$LIBS
6285 LIBS="-li386 $LIBS"
6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6289 /* Override any GCC internal prototype to avoid an error.
6290 Use char because int might match the return type of a GCC
6291 builtin and then its argument prototype would still apply. */
6292 #ifdef __cplusplus
6293 extern "C"
6294 #endif
6295 char i386_set_ldt ();
6297 main ()
6299 return i386_set_ldt ();
6301 return 0;
6303 _ACEOF
6304 if ac_fn_c_try_link "$LINENO"; then :
6305 ac_cv_lib_i386_i386_set_ldt=yes
6306 else
6307 ac_cv_lib_i386_i386_set_ldt=no
6309 rm -f core conftest.err conftest.$ac_objext \
6310 conftest$ac_exeext conftest.$ac_ext
6311 LIBS=$ac_check_lib_save_LIBS
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6314 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6315 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6316 cat >>confdefs.h <<_ACEOF
6317 #define HAVE_LIBI386 1
6318 _ACEOF
6320 LIBS="-li386 $LIBS"
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6325 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6326 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6327 $as_echo_n "(cached) " >&6
6328 else
6329 ac_check_lib_save_LIBS=$LIBS
6330 LIBS="-lossaudio $LIBS"
6331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6337 #ifdef __cplusplus
6338 extern "C"
6339 #endif
6340 char _oss_ioctl ();
6342 main ()
6344 return _oss_ioctl ();
6346 return 0;
6348 _ACEOF
6349 if ac_fn_c_try_link "$LINENO"; then :
6350 ac_cv_lib_ossaudio__oss_ioctl=yes
6351 else
6352 ac_cv_lib_ossaudio__oss_ioctl=no
6354 rm -f core conftest.err conftest.$ac_objext \
6355 conftest$ac_exeext conftest.$ac_ext
6356 LIBS=$ac_check_lib_save_LIBS
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6359 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6360 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6361 cat >>confdefs.h <<_ACEOF
6362 #define HAVE_LIBOSSAUDIO 1
6363 _ACEOF
6365 LIBS="-lossaudio $LIBS"
6370 OPENGL_LIBS=""
6374 # Check whether --enable-largefile was given.
6375 if test "${enable_largefile+set}" = set; then :
6376 enableval=$enable_largefile;
6379 if test "$enable_largefile" != no; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6382 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6383 if ${ac_cv_sys_largefile_CC+:} false; then :
6384 $as_echo_n "(cached) " >&6
6385 else
6386 ac_cv_sys_largefile_CC=no
6387 if test "$GCC" != yes; then
6388 ac_save_CC=$CC
6389 while :; do
6390 # IRIX 6.2 and later do not support large files by default,
6391 # so use the C compiler's -n32 option if that helps.
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394 #include <sys/types.h>
6395 /* Check that off_t can represent 2**63 - 1 correctly.
6396 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6397 since some C++ compilers masquerading as C compilers
6398 incorrectly reject 9223372036854775807. */
6399 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6400 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6401 && LARGE_OFF_T % 2147483647 == 1)
6402 ? 1 : -1];
6404 main ()
6408 return 0;
6410 _ACEOF
6411 if ac_fn_c_try_compile "$LINENO"; then :
6412 break
6414 rm -f core conftest.err conftest.$ac_objext
6415 CC="$CC -n32"
6416 if ac_fn_c_try_compile "$LINENO"; then :
6417 ac_cv_sys_largefile_CC=' -n32'; break
6419 rm -f core conftest.err conftest.$ac_objext
6420 break
6421 done
6422 CC=$ac_save_CC
6423 rm -f conftest.$ac_ext
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6427 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6428 if test "$ac_cv_sys_largefile_CC" != no; then
6429 CC=$CC$ac_cv_sys_largefile_CC
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6433 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6434 if ${ac_cv_sys_file_offset_bits+:} false; then :
6435 $as_echo_n "(cached) " >&6
6436 else
6437 while :; do
6438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6440 #include <sys/types.h>
6441 /* Check that off_t can represent 2**63 - 1 correctly.
6442 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6443 since some C++ compilers masquerading as C compilers
6444 incorrectly reject 9223372036854775807. */
6445 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6446 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6447 && LARGE_OFF_T % 2147483647 == 1)
6448 ? 1 : -1];
6450 main ()
6454 return 0;
6456 _ACEOF
6457 if ac_fn_c_try_compile "$LINENO"; then :
6458 ac_cv_sys_file_offset_bits=no; break
6460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6463 #define _FILE_OFFSET_BITS 64
6464 #include <sys/types.h>
6465 /* Check that off_t can represent 2**63 - 1 correctly.
6466 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6467 since some C++ compilers masquerading as C compilers
6468 incorrectly reject 9223372036854775807. */
6469 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6470 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6471 && LARGE_OFF_T % 2147483647 == 1)
6472 ? 1 : -1];
6474 main ()
6478 return 0;
6480 _ACEOF
6481 if ac_fn_c_try_compile "$LINENO"; then :
6482 ac_cv_sys_file_offset_bits=64; break
6484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6485 ac_cv_sys_file_offset_bits=unknown
6486 break
6487 done
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6490 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6491 case $ac_cv_sys_file_offset_bits in #(
6492 no | unknown) ;;
6494 cat >>confdefs.h <<_ACEOF
6495 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6496 _ACEOF
6498 esac
6499 rm -rf conftest*
6500 if test $ac_cv_sys_file_offset_bits = unknown; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6502 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6503 if ${ac_cv_sys_large_files+:} false; then :
6504 $as_echo_n "(cached) " >&6
6505 else
6506 while :; do
6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6509 #include <sys/types.h>
6510 /* Check that off_t can represent 2**63 - 1 correctly.
6511 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6512 since some C++ compilers masquerading as C compilers
6513 incorrectly reject 9223372036854775807. */
6514 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6515 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6516 && LARGE_OFF_T % 2147483647 == 1)
6517 ? 1 : -1];
6519 main ()
6523 return 0;
6525 _ACEOF
6526 if ac_fn_c_try_compile "$LINENO"; then :
6527 ac_cv_sys_large_files=no; break
6529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #define _LARGE_FILES 1
6533 #include <sys/types.h>
6534 /* Check that off_t can represent 2**63 - 1 correctly.
6535 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6536 since some C++ compilers masquerading as C compilers
6537 incorrectly reject 9223372036854775807. */
6538 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6539 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6540 && LARGE_OFF_T % 2147483647 == 1)
6541 ? 1 : -1];
6543 main ()
6547 return 0;
6549 _ACEOF
6550 if ac_fn_c_try_compile "$LINENO"; then :
6551 ac_cv_sys_large_files=1; break
6553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6554 ac_cv_sys_large_files=unknown
6555 break
6556 done
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6559 $as_echo "$ac_cv_sys_large_files" >&6; }
6560 case $ac_cv_sys_large_files in #(
6561 no | unknown) ;;
6563 cat >>confdefs.h <<_ACEOF
6564 #define _LARGE_FILES $ac_cv_sys_large_files
6565 _ACEOF
6567 esac
6568 rm -rf conftest*
6575 ac_ext=c
6576 ac_cpp='$CPP $CPPFLAGS'
6577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6581 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6582 # On Suns, sometimes $CPP names a directory.
6583 if test -n "$CPP" && test -d "$CPP"; then
6584 CPP=
6586 if test -z "$CPP"; then
6587 if ${ac_cv_prog_CPP+:} false; then :
6588 $as_echo_n "(cached) " >&6
6589 else
6590 # Double quotes because CPP needs to be expanded
6591 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6593 ac_preproc_ok=false
6594 for ac_c_preproc_warn_flag in '' yes
6596 # Use a header file that comes with gcc, so configuring glibc
6597 # with a fresh cross-compiler works.
6598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6599 # <limits.h> exists even on freestanding compilers.
6600 # On the NeXT, cc -E runs the code through the compiler's parser,
6601 # not just through cpp. "Syntax error" is here to catch this case.
6602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6604 #ifdef __STDC__
6605 # include <limits.h>
6606 #else
6607 # include <assert.h>
6608 #endif
6609 Syntax error
6610 _ACEOF
6611 if ac_fn_c_try_cpp "$LINENO"; then :
6613 else
6614 # Broken: fails on valid input.
6615 continue
6617 rm -f conftest.err conftest.i conftest.$ac_ext
6619 # OK, works on sane cases. Now check whether nonexistent headers
6620 # can be detected and how.
6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #include <ac_nonexistent.h>
6624 _ACEOF
6625 if ac_fn_c_try_cpp "$LINENO"; then :
6626 # Broken: success on invalid input.
6627 continue
6628 else
6629 # Passes both tests.
6630 ac_preproc_ok=:
6631 break
6633 rm -f conftest.err conftest.i conftest.$ac_ext
6635 done
6636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6637 rm -f conftest.i conftest.err conftest.$ac_ext
6638 if $ac_preproc_ok; then :
6639 break
6642 done
6643 ac_cv_prog_CPP=$CPP
6646 CPP=$ac_cv_prog_CPP
6647 else
6648 ac_cv_prog_CPP=$CPP
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6651 $as_echo "$CPP" >&6; }
6652 ac_preproc_ok=false
6653 for ac_c_preproc_warn_flag in '' yes
6655 # Use a header file that comes with gcc, so configuring glibc
6656 # with a fresh cross-compiler works.
6657 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6658 # <limits.h> exists even on freestanding compilers.
6659 # On the NeXT, cc -E runs the code through the compiler's parser,
6660 # not just through cpp. "Syntax error" is here to catch this case.
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6663 #ifdef __STDC__
6664 # include <limits.h>
6665 #else
6666 # include <assert.h>
6667 #endif
6668 Syntax error
6669 _ACEOF
6670 if ac_fn_c_try_cpp "$LINENO"; then :
6672 else
6673 # Broken: fails on valid input.
6674 continue
6676 rm -f conftest.err conftest.i conftest.$ac_ext
6678 # OK, works on sane cases. Now check whether nonexistent headers
6679 # can be detected and how.
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <ac_nonexistent.h>
6683 _ACEOF
6684 if ac_fn_c_try_cpp "$LINENO"; then :
6685 # Broken: success on invalid input.
6686 continue
6687 else
6688 # Passes both tests.
6689 ac_preproc_ok=:
6690 break
6692 rm -f conftest.err conftest.i conftest.$ac_ext
6694 done
6695 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6696 rm -f conftest.i conftest.err conftest.$ac_ext
6697 if $ac_preproc_ok; then :
6699 else
6700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6702 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6703 See \`config.log' for more details" "$LINENO" 5; }
6706 ac_ext=c
6707 ac_cpp='$CPP $CPPFLAGS'
6708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6714 $as_echo_n "checking for ANSI C header files... " >&6; }
6715 if ${ac_cv_header_stdc+:} false; then :
6716 $as_echo_n "(cached) " >&6
6717 else
6718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6719 /* end confdefs.h. */
6720 #include <stdlib.h>
6721 #include <stdarg.h>
6722 #include <string.h>
6723 #include <float.h>
6726 main ()
6730 return 0;
6732 _ACEOF
6733 if ac_fn_c_try_compile "$LINENO"; then :
6734 ac_cv_header_stdc=yes
6735 else
6736 ac_cv_header_stdc=no
6738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6740 if test $ac_cv_header_stdc = yes; then
6741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6744 #include <string.h>
6746 _ACEOF
6747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6748 $EGREP "memchr" >/dev/null 2>&1; then :
6750 else
6751 ac_cv_header_stdc=no
6753 rm -f conftest*
6757 if test $ac_cv_header_stdc = yes; then
6758 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6761 #include <stdlib.h>
6763 _ACEOF
6764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6765 $EGREP "free" >/dev/null 2>&1; then :
6767 else
6768 ac_cv_header_stdc=no
6770 rm -f conftest*
6774 if test $ac_cv_header_stdc = yes; then
6775 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6776 if test "$cross_compiling" = yes; then :
6778 else
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6781 #include <ctype.h>
6782 #include <stdlib.h>
6783 #if ((' ' & 0x0FF) == 0x020)
6784 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6785 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6786 #else
6787 # define ISLOWER(c) \
6788 (('a' <= (c) && (c) <= 'i') \
6789 || ('j' <= (c) && (c) <= 'r') \
6790 || ('s' <= (c) && (c) <= 'z'))
6791 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6792 #endif
6794 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6796 main ()
6798 int i;
6799 for (i = 0; i < 256; i++)
6800 if (XOR (islower (i), ISLOWER (i))
6801 || toupper (i) != TOUPPER (i))
6802 return 2;
6803 return 0;
6805 _ACEOF
6806 if ac_fn_c_try_run "$LINENO"; then :
6808 else
6809 ac_cv_header_stdc=no
6811 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6812 conftest.$ac_objext conftest.beam conftest.$ac_ext
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6818 $as_echo "$ac_cv_header_stdc" >&6; }
6819 if test $ac_cv_header_stdc = yes; then
6821 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6825 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6826 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6827 inttypes.h stdint.h unistd.h
6828 do :
6829 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6830 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6832 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6833 cat >>confdefs.h <<_ACEOF
6834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6835 _ACEOF
6839 done
6842 for ac_header in \
6843 AL/al.h \
6844 ApplicationServices/ApplicationServices.h \
6845 AudioToolbox/AudioConverter.h \
6846 AudioUnit/AudioUnit.h \
6847 AudioUnit/AudioComponent.h \
6848 CL/cl.h \
6849 Carbon/Carbon.h \
6850 CommonCrypto/CommonDigest.h \
6851 CoreAudio/CoreAudio.h \
6852 CoreServices/CoreServices.h \
6853 DiskArbitration/DiskArbitration.h \
6854 EGL/egl.h \
6855 IOKit/IOKitLib.h \
6856 IOKit/hid/IOHIDLib.h \
6857 OpenAL/al.h \
6858 OpenCL/opencl.h \
6859 QuickTime/ImageCompression.h \
6860 Security/Security.h \
6861 alias.h \
6862 alsa/asoundlib.h \
6863 arpa/inet.h \
6864 arpa/nameser.h \
6865 asm/types.h \
6866 asm/user.h \
6867 curses.h \
6868 direct.h \
6869 dirent.h \
6870 dlfcn.h \
6871 elf.h \
6872 float.h \
6873 fnmatch.h \
6874 getopt.h \
6875 gettext-po.h \
6876 grp.h \
6877 gsm.h \
6878 gsm/gsm.h \
6879 ieeefp.h \
6880 inet/mib2.h \
6881 io.h \
6882 kstat.h \
6883 libproc.h \
6884 link.h \
6885 linux/cdrom.h \
6886 linux/compiler.h \
6887 linux/filter.h \
6888 linux/hdreg.h \
6889 linux/hidraw.h \
6890 linux/input.h \
6891 linux/ioctl.h \
6892 linux/joystick.h \
6893 linux/major.h \
6894 linux/param.h \
6895 linux/serial.h \
6896 linux/types.h \
6897 linux/ucdrom.h \
6898 lwp.h \
6899 mach-o/nlist.h \
6900 mach-o/loader.h \
6901 mach/mach.h \
6902 mach/machine.h \
6903 machine/cpu.h \
6904 machine/limits.h \
6905 machine/sysarch.h \
6906 mntent.h \
6907 ncurses.h \
6908 netdb.h \
6909 netinet/in.h \
6910 netinet/in_systm.h \
6911 netinet/tcp.h \
6912 netinet/tcp_fsm.h \
6913 pcap/pcap.h \
6914 poll.h \
6915 port.h \
6916 process.h \
6917 pthread.h \
6918 pwd.h \
6919 sched.h \
6920 scsi/scsi.h \
6921 scsi/scsi_ioctl.h \
6922 scsi/sg.h \
6923 stdbool.h \
6924 stdint.h \
6925 stropts.h \
6926 sys/asoundlib.h \
6927 sys/attr.h \
6928 sys/auxv.h \
6929 sys/cdio.h \
6930 sys/elf32.h \
6931 sys/epoll.h \
6932 sys/event.h \
6933 sys/exec_elf.h \
6934 sys/filio.h \
6935 sys/inotify.h \
6936 sys/ioctl.h \
6937 sys/ipc.h \
6938 sys/limits.h \
6939 sys/link.h \
6940 sys/mman.h \
6941 sys/modem.h \
6942 sys/msg.h \
6943 sys/mtio.h \
6944 sys/param.h \
6945 sys/poll.h \
6946 sys/prctl.h \
6947 sys/protosw.h \
6948 sys/ptrace.h \
6949 sys/queue.h \
6950 sys/resource.h \
6951 sys/scsiio.h \
6952 sys/shm.h \
6953 sys/signal.h \
6954 sys/socket.h \
6955 sys/socketvar.h \
6956 sys/sockio.h \
6957 sys/statvfs.h \
6958 sys/strtio.h \
6959 sys/syscall.h \
6960 sys/sysinfo.h \
6961 sys/tihdr.h \
6962 sys/time.h \
6963 sys/timeout.h \
6964 sys/times.h \
6965 sys/uio.h \
6966 sys/user.h \
6967 sys/utsname.h \
6968 sys/vm86.h \
6969 sys/vnode.h \
6970 sys/wait.h \
6971 syscall.h \
6972 termios.h \
6973 unistd.h \
6974 utime.h \
6975 valgrind/memcheck.h \
6976 valgrind/valgrind.h \
6977 zlib.h
6979 do :
6980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6981 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6982 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6983 cat >>confdefs.h <<_ACEOF
6984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6985 _ACEOF
6989 done
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6992 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6993 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6994 $as_echo_n "(cached) " >&6
6995 else
6996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6997 /* end confdefs.h. */
6998 #include <sys/types.h>
7000 main ()
7002 return makedev(0, 0);
7004 return 0;
7006 _ACEOF
7007 if ac_fn_c_try_link "$LINENO"; then :
7008 ac_cv_header_sys_types_h_makedev=yes
7009 else
7010 ac_cv_header_sys_types_h_makedev=no
7012 rm -f core conftest.err conftest.$ac_objext \
7013 conftest$ac_exeext conftest.$ac_ext
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7017 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7019 if test $ac_cv_header_sys_types_h_makedev = no; then
7020 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7021 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7023 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7029 if test $ac_cv_header_sys_mkdev_h = no; then
7030 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7031 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7033 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7042 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7043 if ${ac_cv_header_stat_broken+:} false; then :
7044 $as_echo_n "(cached) " >&6
7045 else
7046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7048 #include <sys/types.h>
7049 #include <sys/stat.h>
7051 #if defined S_ISBLK && defined S_IFDIR
7052 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7053 #endif
7055 #if defined S_ISBLK && defined S_IFCHR
7056 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7057 #endif
7059 #if defined S_ISLNK && defined S_IFREG
7060 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7061 #endif
7063 #if defined S_ISSOCK && defined S_IFREG
7064 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7065 #endif
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_header_stat_broken=no
7070 else
7071 ac_cv_header_stat_broken=yes
7073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7076 $as_echo "$ac_cv_header_stat_broken" >&6; }
7077 if test $ac_cv_header_stat_broken = yes; then
7079 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7085 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7086 do :
7087 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7088 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7089 #ifdef HAVE_SYS_PARAM_H
7090 # include <sys/param.h>
7091 #endif
7093 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7094 cat >>confdefs.h <<_ACEOF
7095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7096 _ACEOF
7100 done
7103 for ac_header in \
7104 netinet/ip.h \
7105 net/if.h \
7106 net/if_arp.h \
7107 net/if_dl.h \
7108 net/if_types.h \
7109 net/route.h \
7110 netinet/if_ether.h \
7111 netinet/if_inarp.h \
7112 netinet/in_pcb.h \
7113 netinet/ip_icmp.h \
7114 netinet/ip_var.h \
7115 netinet/udp.h \
7116 netipx/ipx.h \
7117 sys/un.h \
7119 do :
7120 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7121 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7122 #ifdef HAVE_SYS_SOCKET_H
7123 # include <sys/socket.h>
7124 #endif
7125 #ifdef HAVE_SYS_SOCKETVAR_H
7126 # include <sys/socketvar.h>
7127 #endif
7128 #ifdef HAVE_NET_ROUTE_H
7129 # include <net/route.h>
7130 #endif
7131 #ifdef HAVE_NETINET_IN_H
7132 # include <netinet/in.h>
7133 #endif
7134 #ifdef HAVE_NETINET_IN_SYSTM_H
7135 # include <netinet/in_systm.h>
7136 #endif
7137 #ifdef HAVE_NET_IF_H
7138 # include <net/if.h>
7139 #endif
7140 #ifdef HAVE_NETINET_IP_H
7141 # include <netinet/ip.h>
7142 #endif
7144 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7145 cat >>confdefs.h <<_ACEOF
7146 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7147 _ACEOF
7151 done
7154 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7155 do :
7156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7157 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7158 #ifdef HAVE_ALIAS_H
7159 # include <alias.h>
7160 #endif
7161 #ifdef HAVE_SYS_SOCKET_H
7162 # include <sys/socket.h>
7163 #endif
7164 #ifdef HAVE_SYS_SOCKETVAR_H
7165 # include <sys/socketvar.h>
7166 #endif
7167 #ifdef HAVE_SYS_TIMEOUT_H
7168 # include <sys/timeout.h>
7169 #endif
7170 #ifdef HAVE_NETINET_IN_H
7171 # include <netinet/in.h>
7172 #endif
7173 #ifdef HAVE_NETINET_IN_SYSTM_H
7174 # include <netinet/in_systm.h>
7175 #endif
7176 #ifdef HAVE_NETINET_IP_H
7177 # include <netinet/ip.h>
7178 #endif
7179 #ifdef HAVE_NETINET_IP_VAR_H
7180 # include <netinet/ip_var.h>
7181 #endif
7182 #ifdef HAVE_NETINET_IP_ICMP_H
7183 # include <netinet/ip_icmp.h>
7184 #endif
7185 #ifdef HAVE_NETINET_UDP_H
7186 # include <netinet/udp.h>
7187 #endif
7188 #ifdef HAVE_NETINET_TCP_H
7189 # include <netinet/tcp.h>
7190 #endif
7191 #ifdef HAVE_NETINET_TCP_TIMER_H
7192 #include <netinet/tcp_timer.h>
7193 #endif
7195 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7196 cat >>confdefs.h <<_ACEOF
7197 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7198 _ACEOF
7202 done
7205 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7206 do :
7207 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7208 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7209 #ifdef HAVE_ASM_TYPES_H
7210 # include <asm/types.h>
7211 #endif
7212 #ifdef HAVE_SYS_SOCKET_H
7213 # include <sys/socket.h>
7214 #endif
7215 #ifdef HAVE_LINUX_TYPES_H
7216 # include <linux/types.h>
7217 #endif
7219 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7220 cat >>confdefs.h <<_ACEOF
7221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7222 _ACEOF
7226 done
7229 for ac_header in mach-o/dyld_images.h
7230 do :
7231 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7232 # include <stdbool.h>
7233 #endif
7234 #ifdef HAVE_STDINT_H
7235 # include <stdint.h>
7236 #endif
7238 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7239 cat >>confdefs.h <<_ACEOF
7240 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7241 _ACEOF
7245 done
7248 for ac_header in resolv.h
7249 do :
7250 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7251 #ifdef HAVE_SYS_SOCKET_H
7252 # include <sys/socket.h>
7253 #endif
7254 #ifdef HAVE_NETINET_IN_H
7255 # include <netinet/in.h>
7256 #endif
7257 #ifdef HAVE_ARPA_NAMESER_H
7258 # include <arpa/nameser.h>
7259 #endif
7261 if test "x$ac_cv_header_resolv_h" = xyes; then :
7262 cat >>confdefs.h <<_ACEOF
7263 #define HAVE_RESOLV_H 1
7264 _ACEOF
7268 done
7271 for ac_header in ifaddrs.h
7272 do :
7273 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7275 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7276 cat >>confdefs.h <<_ACEOF
7277 #define HAVE_IFADDRS_H 1
7278 _ACEOF
7282 done
7285 for ac_header in sys/ucontext.h
7286 do :
7287 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7289 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7290 cat >>confdefs.h <<_ACEOF
7291 #define HAVE_SYS_UCONTEXT_H 1
7292 _ACEOF
7296 done
7299 for ac_header in sys/thr.h
7300 do :
7301 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7302 #ifdef HAVE_SYS_UCONTEXT_H
7303 #include <sys/ucontext.h>
7304 #endif
7306 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7307 cat >>confdefs.h <<_ACEOF
7308 #define HAVE_SYS_THR_H 1
7309 _ACEOF
7313 done
7316 for ac_header in pthread_np.h
7317 do :
7318 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7319 #include <pthread.h>
7320 #endif
7322 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7323 cat >>confdefs.h <<_ACEOF
7324 #define HAVE_PTHREAD_NP_H 1
7325 _ACEOF
7329 done
7332 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7333 do :
7334 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7335 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7336 #include <sys/time.h>
7337 #endif
7338 #include <sys/types.h>
7339 #ifdef HAVE_ASM_TYPES_H
7340 #include <asm/types.h>
7341 #endif
7343 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7344 cat >>confdefs.h <<_ACEOF
7345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7346 _ACEOF
7350 done
7353 for ac_header in libprocstat.h
7354 do :
7355 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7356 #include <sys/param.h>
7357 #endif
7358 #ifdef HAVE_SYS_QUEUE_H
7359 #include <sys/queue.h>
7360 #endif
7361 #ifdef HAVE_SYS_SOCKET_H
7362 #include <sys/socket.h>
7363 #endif
7365 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7366 cat >>confdefs.h <<_ACEOF
7367 #define HAVE_LIBPROCSTAT_H 1
7368 _ACEOF
7372 done
7376 dlldir="\${libdir}/wine"
7378 DLLFLAGS="-D_REENTRANT"
7380 LDRPATH_INSTALL=""
7382 LDRPATH_LOCAL=""
7384 LDEXECFLAGS=""
7386 WINELOADER_LDFLAGS=""
7388 LIBEXT="so"
7389 DLLEXT=".so"
7390 IMPLIBEXT="def"
7391 # Extract the first word of "ldd", so it can be a program name with args.
7392 set dummy ldd; ac_word=$2
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7394 $as_echo_n "checking for $ac_word... " >&6; }
7395 if ${ac_cv_path_LDD+:} false; then :
7396 $as_echo_n "(cached) " >&6
7397 else
7398 case $LDD in
7399 [\\/]* | ?:[\\/]*)
7400 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 as_dummy="/sbin:/usr/sbin:$PATH"
7405 for as_dir in $as_dummy
7407 IFS=$as_save_IFS
7408 test -z "$as_dir" && as_dir=.
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7411 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 break 2
7415 done
7416 done
7417 IFS=$as_save_IFS
7419 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7421 esac
7423 LDD=$ac_cv_path_LDD
7424 if test -n "$LDD"; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7426 $as_echo "$LDD" >&6; }
7427 else
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429 $as_echo "no" >&6; }
7433 if test -n "$ac_tool_prefix"; then
7434 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7435 set dummy ${ac_tool_prefix}otool; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 $as_echo_n "checking for $ac_word... " >&6; }
7438 if ${ac_cv_prog_OTOOL+:} false; then :
7439 $as_echo_n "(cached) " >&6
7440 else
7441 if test -n "$OTOOL"; then
7442 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7443 else
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 for as_dir in $PATH
7447 IFS=$as_save_IFS
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7451 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 break 2
7455 done
7456 done
7457 IFS=$as_save_IFS
7461 OTOOL=$ac_cv_prog_OTOOL
7462 if test -n "$OTOOL"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7464 $as_echo "$OTOOL" >&6; }
7465 else
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7472 if test -z "$ac_cv_prog_OTOOL"; then
7473 ac_ct_OTOOL=$OTOOL
7474 # Extract the first word of "otool", so it can be a program name with args.
7475 set dummy otool; ac_word=$2
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477 $as_echo_n "checking for $ac_word... " >&6; }
7478 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7479 $as_echo_n "(cached) " >&6
7480 else
7481 if test -n "$ac_ct_OTOOL"; then
7482 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7483 else
7484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 for as_dir in $PATH
7487 IFS=$as_save_IFS
7488 test -z "$as_dir" && as_dir=.
7489 for ac_exec_ext in '' $ac_executable_extensions; do
7490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7491 ac_cv_prog_ac_ct_OTOOL="otool"
7492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 break 2
7495 done
7496 done
7497 IFS=$as_save_IFS
7501 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7502 if test -n "$ac_ct_OTOOL"; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7504 $as_echo "$ac_ct_OTOOL" >&6; }
7505 else
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507 $as_echo "no" >&6; }
7510 if test "x$ac_ct_OTOOL" = x; then
7511 OTOOL="otool"
7512 else
7513 case $cross_compiling:$ac_tool_warned in
7514 yes:)
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7517 ac_tool_warned=yes ;;
7518 esac
7519 OTOOL=$ac_ct_OTOOL
7521 else
7522 OTOOL="$ac_cv_prog_OTOOL"
7525 if test -n "$ac_tool_prefix"; then
7526 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7527 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_prog_READELF+:} false; then :
7531 $as_echo_n "(cached) " >&6
7532 else
7533 if test -n "$READELF"; then
7534 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7539 IFS=$as_save_IFS
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 break 2
7547 done
7548 done
7549 IFS=$as_save_IFS
7553 READELF=$ac_cv_prog_READELF
7554 if test -n "$READELF"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7556 $as_echo "$READELF" >&6; }
7557 else
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7564 if test -z "$ac_cv_prog_READELF"; then
7565 ac_ct_READELF=$READELF
7566 # Extract the first word of "readelf", so it can be a program name with args.
7567 set dummy readelf; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7571 $as_echo_n "(cached) " >&6
7572 else
7573 if test -n "$ac_ct_READELF"; then
7574 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7575 else
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 for as_dir in $PATH
7579 IFS=$as_save_IFS
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_ac_ct_READELF="readelf"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585 break 2
7587 done
7588 done
7589 IFS=$as_save_IFS
7593 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7594 if test -n "$ac_ct_READELF"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7596 $as_echo "$ac_ct_READELF" >&6; }
7597 else
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7602 if test "x$ac_ct_READELF" = x; then
7603 READELF="true"
7604 else
7605 case $cross_compiling:$ac_tool_warned in
7606 yes:)
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7609 ac_tool_warned=yes ;;
7610 esac
7611 READELF=$ac_ct_READELF
7613 else
7614 READELF="$ac_cv_prog_READELF"
7617 wine_rules_file=conf$$rules.make
7618 rm -f $wine_rules_file
7619 SUBDIRS=""
7621 DISABLED_SUBDIRS=""
7623 CONFIGURE_TARGETS=""
7625 ALL_TEST_RESOURCES=""
7628 wine_fn_append_file ()
7630 as_fn_append $1 " \\$as_nl $2"
7633 wine_fn_append_rule ()
7635 $as_echo "$1" >>$wine_rules_file
7638 wine_fn_has_flag ()
7640 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7643 wine_fn_all_rules ()
7645 wine_fn_append_file SUBDIRS $ac_dir
7646 wine_fn_append_rule \
7647 "all: $ac_dir
7648 .PHONY: $ac_dir
7649 $ac_dir: dummy
7650 @cd $ac_dir && \$(MAKE)"
7653 wine_fn_install_rules ()
7655 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7657 wine_fn_append_rule \
7658 ".PHONY: $ac_dir/install $ac_dir/uninstall
7659 $ac_dir/install:: $ac_dir
7660 @cd $ac_dir && \$(MAKE) install
7661 $ac_dir/uninstall::
7662 @cd $ac_dir && \$(MAKE) uninstall
7663 install:: $ac_dir/install
7664 __uninstall__: $ac_dir/uninstall"
7666 if wine_fn_has_flag install-lib
7667 then
7668 wine_fn_append_rule \
7669 ".PHONY: $ac_dir/install-lib
7670 $ac_dir/install-lib:: $ac_dir
7671 @cd $ac_dir && \$(MAKE) install-lib
7672 install-lib:: $ac_dir/install-lib"
7675 if wine_fn_has_flag install-dev
7676 then
7677 wine_fn_append_rule \
7678 ".PHONY: $ac_dir/install-dev
7679 $ac_dir/install-dev:: $ac_dir
7680 @cd $ac_dir && \$(MAKE) install-dev
7681 install-dev:: $ac_dir/install-dev"
7685 wine_fn_clean_rules ()
7687 ac_clean=$@
7689 if wine_fn_has_flag clean
7690 then
7691 wine_fn_append_rule \
7692 "$ac_dir/clean: dummy
7693 @cd $ac_dir && \$(MAKE) clean"
7694 else
7695 wine_fn_append_rule \
7696 "$ac_dir/clean: dummy
7697 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7699 wine_fn_append_rule \
7700 "__clean__: $ac_dir/clean
7701 .PHONY: $ac_dir/clean"
7704 wine_fn_disabled_rules ()
7706 ac_clean=$@
7708 wine_fn_append_file SUBDIRS $ac_dir
7709 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7710 wine_fn_append_rule \
7711 "__clean__: $ac_dir/clean
7712 .PHONY: $ac_dir/clean
7713 $ac_dir/clean: dummy
7714 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7717 wine_fn_config_makefile ()
7719 ac_dir=$1
7720 ac_enable=$2
7721 ac_flags=$3
7723 case $ac_dir in
7724 fonts|server) test -z "$with_wine64" || return ;;
7725 esac
7726 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7727 wine_fn_disabled_rules; return
7729 wine_fn_all_rules
7730 wine_fn_install_rules
7731 wine_fn_clean_rules
7734 wine_fn_config_lib ()
7736 ac_name=$1
7737 ac_flags=$2
7738 ac_dir=dlls/$ac_name
7739 ac_deps="include"
7741 if test "x$enable_tools" = xno; then :
7743 else
7744 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7746 wine_fn_all_rules
7747 wine_fn_clean_rules
7749 wine_fn_append_rule \
7750 ".PHONY: $ac_dir/install $ac_dir/uninstall
7751 $ac_dir/install:: $ac_dir
7752 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7753 $ac_dir/uninstall::
7754 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7755 install install-dev:: $ac_dir/install
7756 __uninstall__: $ac_dir/uninstall
7757 __builddeps__: $ac_dir
7758 $ac_dir: $ac_deps"
7761 wine_fn_config_dll ()
7763 ac_name=$1
7764 ac_dir=dlls/$ac_name
7765 ac_enable=$2
7766 ac_flags=$3
7767 ac_implib=${4:-$ac_name}
7768 ac_file=$ac_dir/lib$ac_implib
7769 ac_dll=$ac_name
7770 ac_deps="include"
7771 ac_implibflags=""
7773 if test "x$enable_tools" = xno; then :
7775 else
7776 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7778 case $ac_name in
7779 *.*16) ac_implibflags=" -m16" ;;
7780 *.*) ;;
7781 *) ac_dll=$ac_dll.dll ;;
7782 esac
7784 ac_clean=
7785 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7786 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7788 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7789 if test "$ac_enable" != enable_win16
7790 then
7791 wine_fn_clean_rules $ac_clean
7792 wine_fn_append_file SUBDIRS $ac_dir
7793 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7794 else
7795 wine_fn_disabled_rules $ac_clean
7796 return
7798 else
7799 wine_fn_all_rules
7800 wine_fn_clean_rules $ac_clean
7801 wine_fn_append_rule \
7802 "$ac_dir: __builddeps__
7803 manpages htmlpages sgmlpages xmlpages::
7804 @cd $ac_dir && \$(MAKE) \$@
7805 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7806 install install-lib:: $ac_dir/install-lib
7807 __uninstall__: $ac_dir/uninstall"
7808 if test -n "$DLLEXT"
7809 then
7810 wine_fn_append_rule \
7811 "$ac_dir/install-lib:: $ac_dir
7812 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7813 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7814 $ac_dir/uninstall::
7815 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7816 else
7817 wine_fn_append_rule \
7818 "$ac_dir/install-lib:: $ac_dir
7819 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7820 $ac_dir/uninstall::
7821 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7825 if wine_fn_has_flag staticimplib
7826 then
7827 wine_fn_append_rule \
7828 "__builddeps__: $ac_file.a
7829 $ac_file.a $ac_file.cross.a: $ac_deps
7830 $ac_file.a: dummy
7831 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7832 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7833 $ac_dir/install-dev:: $ac_file.a
7834 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7835 $ac_dir/uninstall::
7836 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7837 install install-dev:: $ac_dir/install-dev
7838 __uninstall__: $ac_dir/uninstall"
7840 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7841 then
7842 wine_fn_append_rule \
7843 "__builddeps__: $ac_file.cross.a
7844 $ac_file.cross.a: dummy
7845 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7848 elif wine_fn_has_flag implib
7849 then
7850 wine_fn_append_rule \
7851 "__builddeps__: $ac_file.$IMPLIBEXT
7852 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7853 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7854 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7855 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7856 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7857 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7858 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7859 $ac_dir/uninstall::
7860 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7861 install install-dev:: $ac_dir/install-dev
7862 __uninstall__: $ac_dir/uninstall"
7863 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7864 then
7865 wine_fn_append_rule \
7866 "__builddeps__: $ac_file.cross.a
7867 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7868 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7873 wine_fn_config_program ()
7875 ac_name=$1
7876 ac_dir=programs/$ac_name
7877 ac_enable=$2
7878 ac_flags=$3
7879 ac_program=$ac_name
7881 case $ac_name in
7882 *.*) ;;
7883 *) ac_program=$ac_program.exe ;;
7884 esac
7886 ac_clean=
7887 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7888 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7890 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7891 wine_fn_disabled_rules $ac_clean; return
7894 wine_fn_all_rules
7895 wine_fn_clean_rules $ac_clean
7896 wine_fn_append_rule "$ac_dir: __builddeps__"
7898 wine_fn_has_flag install || return
7899 wine_fn_append_rule \
7900 ".PHONY: $ac_dir/install $ac_dir/uninstall
7901 install install-lib:: $ac_dir/install
7902 __uninstall__: $ac_dir/uninstall"
7904 if test -n "$DLLEXT"
7905 then
7906 wine_fn_append_rule \
7907 "$ac_dir/install:: $ac_dir
7908 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7909 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7910 $ac_dir/uninstall::
7911 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7913 if test -z "$with_wine64" && wine_fn_has_flag installbin
7914 then
7915 wine_fn_append_rule \
7916 "$ac_dir/install:: __tooldeps__
7917 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7918 $ac_dir/uninstall::
7919 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7921 else
7922 wine_fn_append_rule \
7923 "$ac_dir/install:: $ac_dir
7924 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7925 $ac_dir/uninstall::
7926 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7929 if test -z "$with_wine64" && wine_fn_has_flag manpage
7930 then
7931 wine_fn_append_rule \
7932 "$ac_dir/install:: $ac_dir
7933 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7934 $ac_dir/uninstall::
7935 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7939 wine_fn_config_test ()
7941 ac_dir=$1
7942 ac_name=$2
7943 ac_flags=$3
7945 ac_clean=
7946 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7947 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7949 if test "x$enable_tests" = xno; then :
7950 wine_fn_disabled_rules $ac_clean; return
7953 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7954 wine_fn_all_rules
7955 wine_fn_clean_rules $ac_clean
7957 wine_fn_append_rule \
7958 "$ac_dir: __builddeps__
7959 programs/winetest: $ac_dir
7960 check test: $ac_dir/test
7961 .PHONY: $ac_dir/test
7962 $ac_dir/test: dummy
7963 @cd $ac_dir && \$(MAKE) test
7964 testclean::
7965 \$(RM) $ac_dir/*.ok"
7967 if test -n "$CROSSTARGET"
7968 then
7969 wine_fn_append_rule \
7970 "crosstest: $ac_dir/crosstest
7971 .PHONY: $ac_dir/crosstest
7972 $ac_dir/crosstest: __builddeps__ dummy
7973 @cd $ac_dir && \$(MAKE) crosstest"
7977 wine_fn_config_tool ()
7979 ac_dir=$1
7980 ac_flags=$2
7981 if test "x$enable_tools" = xno; then :
7982 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7985 wine_fn_all_rules
7986 wine_fn_install_rules
7987 wine_fn_clean_rules
7989 wine_fn_append_rule "__tooldeps__: $ac_dir"
7990 wine_fn_append_rule "$ac_dir: libs/port"
7991 case $ac_dir in
7992 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7993 esac
7996 wine_fn_config_symlink ()
7998 ac_linkdir=
7999 if test "x$1" = "x-d"
8000 then
8001 ac_linkdir=$2
8002 shift; shift
8004 ac_links=$@
8005 wine_fn_append_rule \
8006 "$ac_links:
8007 @./config.status \$@"
8008 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8009 test -n "$ac_linkdir" || return
8010 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8013 wine_binary="wine"
8014 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8015 WINELOADER_PROGRAMS="$wine_binary"
8017 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8019 case $host_os in
8020 cygwin*|mingw32*)
8021 if test -n "$ac_tool_prefix"; then
8022 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8023 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if ${ac_cv_prog_DLLTOOL+:} false; then :
8027 $as_echo_n "(cached) " >&6
8028 else
8029 if test -n "$DLLTOOL"; then
8030 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8031 else
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 for as_dir in $PATH
8035 IFS=$as_save_IFS
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041 break 2
8043 done
8044 done
8045 IFS=$as_save_IFS
8049 DLLTOOL=$ac_cv_prog_DLLTOOL
8050 if test -n "$DLLTOOL"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8052 $as_echo "$DLLTOOL" >&6; }
8053 else
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8060 if test -z "$ac_cv_prog_DLLTOOL"; then
8061 ac_ct_DLLTOOL=$DLLTOOL
8062 # Extract the first word of "dlltool", so it can be a program name with args.
8063 set dummy dlltool; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065 $as_echo_n "checking for $ac_word... " >&6; }
8066 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8067 $as_echo_n "(cached) " >&6
8068 else
8069 if test -n "$ac_ct_DLLTOOL"; then
8070 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8071 else
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073 for as_dir in $PATH
8075 IFS=$as_save_IFS
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081 break 2
8083 done
8084 done
8085 IFS=$as_save_IFS
8089 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8090 if test -n "$ac_ct_DLLTOOL"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8092 $as_echo "$ac_ct_DLLTOOL" >&6; }
8093 else
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8098 if test "x$ac_ct_DLLTOOL" = x; then
8099 DLLTOOL="false"
8100 else
8101 case $cross_compiling:$ac_tool_warned in
8102 yes:)
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8105 ac_tool_warned=yes ;;
8106 esac
8107 DLLTOOL=$ac_ct_DLLTOOL
8109 else
8110 DLLTOOL="$ac_cv_prog_DLLTOOL"
8113 LIBEXT="dll"
8114 DLLEXT=""
8115 IMPLIBEXT="a"
8116 enable_iphlpapi=${enable_iphlpapi:-no}
8117 enable_kernel32=${enable_kernel32:-no}
8118 enable_msvcrt=${enable_msvcrt:-no}
8119 enable_ntdll=${enable_ntdll:-no}
8120 enable_ws2_32=${enable_ws2_32:-no}
8121 enable_loader=${enable_loader:-no}
8122 enable_server=${enable_server:-no}
8123 with_x=${with_x:-no}
8124 with_pthread=${with_pthread:-no}
8126 crtlibs=""
8127 case $host_os in
8128 mingw32*)
8129 crtlibs="-lmsvcrt"
8130 SOCKET_LIBS="-lws2_32"
8132 esac
8134 LIBWINE_SHAREDLIB="libwine.dll"
8136 LIBWINE_IMPORTLIB="libwine.a"
8138 LIBWINE_INSTALL_LIB="libwine.dll"
8140 LIBWINE_INSTALL_DEV="libwine.a"
8142 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8144 LIBWINE_DEPENDS="wine.def"
8148 darwin*|macosx*)
8149 for ac_header in libunwind.h
8150 do :
8151 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8153 cat >>confdefs.h <<_ACEOF
8154 #define HAVE_LIBUNWIND_H 1
8155 _ACEOF
8159 done
8161 LIBEXT="dylib"
8162 DLLFLAGS="$DLLFLAGS -fPIC"
8163 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8164 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8165 COREFOUNDATION_LIBS="-framework CoreFoundation"
8167 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8169 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8171 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8173 CORESERVICES_LIBS="-framework CoreServices"
8175 APPKIT_LIBS="-framework AppKit"
8177 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8179 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8180 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8181 $as_echo_n "(cached) " >&6
8182 else
8183 ac_wine_try_cflags_saved=$CFLAGS
8184 CFLAGS="$CFLAGS -Wl,-no_pie"
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8188 _ACEOF
8189 if ac_fn_c_try_link "$LINENO"; then :
8190 ac_cv_cflags__Wl__no_pie=yes
8191 else
8192 ac_cv_cflags__Wl__no_pie=no
8194 rm -f core conftest.err conftest.$ac_objext \
8195 conftest$ac_exeext conftest.$ac_ext
8196 CFLAGS=$ac_wine_try_cflags_saved
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8199 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8200 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8201 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8203 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8204 then
8205 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8208 if test "$ac_cv_header_Security_Security_h" = "yes"
8209 then
8210 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8212 ac_save_LIBS="$LIBS"
8213 LIBS="$LIBS $SECURITY_LIBS"
8214 for ac_func in SSLCopyPeerCertificates
8215 do :
8216 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8217 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8218 cat >>confdefs.h <<_ACEOF
8219 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8220 _ACEOF
8223 done
8225 LIBS="$ac_save_LIBS"
8226 with_gnutls=${with_gnutls:-no}
8228 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8229 then
8230 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8231 then
8232 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8234 else
8235 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8238 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8239 ac_save_LIBS="$LIBS"
8240 LIBS="$LIBS $COREAUDIO_LIBS"
8241 for ac_func in AUGraphAddNode
8242 do :
8243 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8244 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8245 cat >>confdefs.h <<_ACEOF
8246 #define HAVE_AUGRAPHADDNODE 1
8247 _ACEOF
8250 done
8252 LIBS="$ac_save_LIBS"
8254 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8255 then
8256 OPENAL_LIBS="-framework OpenAL"
8259 cat >>confdefs.h <<_ACEOF
8260 #define HAVE_OPENAL 1
8261 _ACEOF
8263 ac_cv_lib_openal=yes
8265 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8266 then
8267 OPENCL_LIBS="-framework OpenCL"
8269 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8271 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8272 then
8273 ac_save_LIBS="$LIBS"
8274 LIBS="$LIBS $IOKIT_LIBS"
8275 for ac_func in IOHIDManagerCreate
8276 do :
8277 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8278 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8279 cat >>confdefs.h <<_ACEOF
8280 #define HAVE_IOHIDMANAGERCREATE 1
8281 _ACEOF
8284 done
8286 LIBS="$ac_save_LIBS"
8288 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8289 then
8290 ac_save_LIBS="$LIBS"
8291 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8293 $as_echo_n "checking for the QuickTime framework... " >&6; }
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 #include <QuickTime/ImageCompression.h>
8298 main ()
8300 CodecManagerVersion(NULL);
8302 return 0;
8304 _ACEOF
8305 if ac_fn_c_try_link "$LINENO"; then :
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8307 $as_echo "yes" >&6; }
8308 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8310 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8314 ac_cv_header_QuickTime_ImageCompression_h=no
8316 rm -f core conftest.err conftest.$ac_objext \
8317 conftest$ac_exeext conftest.$ac_ext
8318 LIBS="$ac_save_LIBS"
8320 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8321 then
8322 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8324 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8325 then
8326 CARBON_LIBS="-framework Carbon"
8330 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8331 then
8332 ac_save_LIBS="$LIBS"
8333 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8334 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8335 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8336 enable_winemac_drv=${enable_winemac_drv:-yes}
8339 LIBS="$ac_save_LIBS"
8342 if test "x$enable_win16" = "xyes"
8343 then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8345 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8346 if test "$cross_compiling" = yes; then :
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8348 $as_echo "cross-compiling, assuming yes" >&6; }
8349 else
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 asm(".text\n"
8353 "bad:\tnop;nop\n"
8354 "good:\tnop;nop\n\t"
8355 ".globl _testfunc\n"
8356 "_testfunc:\tcallw good");
8357 extern void testfunc();
8359 main ()
8361 unsigned short *p = (unsigned short *)testfunc;
8362 return p[0] != 0xe866 || p[1] != 0xfffa
8364 return 0;
8366 _ACEOF
8367 if ac_fn_c_try_run "$LINENO"; then :
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8369 $as_echo "yes" >&6; }
8370 else
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8373 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
8375 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8376 conftest.$ac_objext conftest.beam conftest.$ac_ext
8381 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8383 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8385 LIBWINE_INSTALL_DEV="libwine.dylib"
8387 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8389 WINELOADER_DEPENDS="wine_info.plist"
8393 linux-android*)
8394 DLLFLAGS="$DLLFLAGS -fPIC"
8395 LDEXECFLAGS="-Wl,-pie"
8396 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8398 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8399 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8400 $as_echo_n "(cached) " >&6
8401 else
8402 ac_wine_try_cflags_saved=$CFLAGS
8403 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 int main(int argc, char **argv) { return 0; }
8407 _ACEOF
8408 if ac_fn_c_try_link "$LINENO"; then :
8409 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8410 else
8411 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8413 rm -f core conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8415 CFLAGS=$ac_wine_try_cflags_saved
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8418 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8419 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8420 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8422 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8424 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8425 if eval \${$as_ac_var+:} false; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 ac_wine_try_cflags_saved=$CFLAGS
8429 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8432 int main(int argc, char **argv) { return 0; }
8433 _ACEOF
8434 if ac_fn_c_try_link "$LINENO"; then :
8435 eval "$as_ac_var=yes"
8436 else
8437 eval "$as_ac_var=no"
8439 rm -f core conftest.err conftest.$ac_objext \
8440 conftest$ac_exeext conftest.$ac_ext
8441 CFLAGS=$ac_wine_try_cflags_saved
8443 eval ac_res=\$$as_ac_var
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8445 $as_echo "$ac_res" >&6; }
8446 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8447 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8448 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8449 else
8450 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8452 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8453 if eval \${$as_ac_var+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 ac_wine_try_cflags_saved=$CFLAGS
8457 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8460 int main(int argc, char **argv) { return 0; }
8461 _ACEOF
8462 if ac_fn_c_try_link "$LINENO"; then :
8463 eval "$as_ac_var=yes"
8464 else
8465 eval "$as_ac_var=no"
8467 rm -f core conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 CFLAGS=$ac_wine_try_cflags_saved
8471 eval ac_res=\$$as_ac_var
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8473 $as_echo "$ac_res" >&6; }
8474 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8475 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8476 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8480 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8481 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 ac_wine_try_cflags_saved=$CFLAGS
8485 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 int main(int argc, char **argv) { return 0; }
8489 _ACEOF
8490 if ac_fn_c_try_link "$LINENO"; then :
8491 ac_cv_cflags__Wl___enable_new_dtags=yes
8492 else
8493 ac_cv_cflags__Wl___enable_new_dtags=no
8495 rm -f core conftest.err conftest.$ac_objext \
8496 conftest$ac_exeext conftest.$ac_ext
8497 CFLAGS=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8500 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8501 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8502 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8505 LIBWINE_SHAREDLIB="libwine.so"
8507 LIBWINE_INSTALL_LIB="libwine.so"
8509 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8513 $as_echo_n "checking for -lEGL... " >&6; }
8514 if ${ac_cv_lib_soname_EGL+:} false; then :
8515 $as_echo_n "(cached) " >&6
8516 else
8517 ac_check_soname_save_LIBS=$LIBS
8518 LIBS="-lEGL $LIBS"
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8522 /* Override any GCC internal prototype to avoid an error.
8523 Use char because int might match the return type of a GCC
8524 builtin and then its argument prototype would still apply. */
8525 #ifdef __cplusplus
8526 extern "C"
8527 #endif
8528 char eglGetProcAddress ();
8530 main ()
8532 return eglGetProcAddress ();
8534 return 0;
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 case "$LIBEXT" in
8539 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8540 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'` ;;
8541 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8542 if ${ac_cv_lib_soname_EGL:+false} :; then :
8543 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8544 fi ;;
8545 esac
8547 rm -f core conftest.err conftest.$ac_objext \
8548 conftest$ac_exeext conftest.$ac_ext
8549 LIBS=$ac_check_soname_save_LIBS
8551 if ${ac_cv_lib_soname_EGL:+false} :; then :
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8553 $as_echo "not found" >&6; }
8555 else
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8557 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8559 cat >>confdefs.h <<_ACEOF
8560 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8561 _ACEOF
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8566 $as_echo_n "checking for -lGLESv2... " >&6; }
8567 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 ac_check_soname_save_LIBS=$LIBS
8571 LIBS="-lGLESv2 $LIBS"
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8575 /* Override any GCC internal prototype to avoid an error.
8576 Use char because int might match the return type of a GCC
8577 builtin and then its argument prototype would still apply. */
8578 #ifdef __cplusplus
8579 extern "C"
8580 #endif
8581 char glFlush ();
8583 main ()
8585 return glFlush ();
8587 return 0;
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 case "$LIBEXT" in
8592 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8593 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'` ;;
8594 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8595 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8596 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8597 fi ;;
8598 esac
8600 rm -f core conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext
8602 LIBS=$ac_check_soname_save_LIBS
8604 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8606 $as_echo "not found" >&6; }
8608 else
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8610 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8612 cat >>confdefs.h <<_ACEOF
8613 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8614 _ACEOF
8619 if test "x$exec_prefix" = xNONE
8620 then
8621 case $host_cpu in
8622 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8623 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8624 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8625 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8626 esac
8631 DLLFLAGS="$DLLFLAGS -fPIC"
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8633 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8634 if ${ac_cv_c_dll_gnuelf+:} false; then :
8635 $as_echo_n "(cached) " >&6
8636 else
8637 ac_wine_try_cflags_saved=$CFLAGS
8638 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 void myfunc() {}
8642 _ACEOF
8643 if ac_fn_c_try_link "$LINENO"; then :
8644 ac_cv_c_dll_gnuelf="yes"
8645 else
8646 ac_cv_c_dll_gnuelf="no"
8648 rm -f core conftest.err conftest.$ac_objext \
8649 conftest$ac_exeext conftest.$ac_ext
8650 CFLAGS=$ac_wine_try_cflags_saved
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8653 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8654 if test "$ac_cv_c_dll_gnuelf" = "yes"
8655 then
8656 LIBWINE_LDFLAGS="-shared"
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8658 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8659 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8660 $as_echo_n "(cached) " >&6
8661 else
8662 ac_wine_try_cflags_saved=$CFLAGS
8663 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8665 /* end confdefs.h. */
8666 int main(int argc, char **argv) { return 0; }
8667 _ACEOF
8668 if ac_fn_c_try_link "$LINENO"; then :
8669 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8670 else
8671 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8673 rm -f core conftest.err conftest.$ac_objext \
8674 conftest$ac_exeext conftest.$ac_ext
8675 CFLAGS=$ac_wine_try_cflags_saved
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8678 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8679 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8680 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8681 else
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8683 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8684 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8685 $as_echo_n "(cached) " >&6
8686 else
8687 ac_wine_try_cflags_saved=$CFLAGS
8688 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 int main(int argc, char **argv) { return 0; }
8692 _ACEOF
8693 if ac_fn_c_try_link "$LINENO"; then :
8694 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8695 else
8696 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8698 rm -f core conftest.err conftest.$ac_objext \
8699 conftest$ac_exeext conftest.$ac_ext
8700 CFLAGS=$ac_wine_try_cflags_saved
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8703 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8704 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8705 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8709 echo '{ global: *; };' >conftest.map
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8711 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8712 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 ac_wine_try_cflags_saved=$CFLAGS
8716 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 int main(int argc, char **argv) { return 0; }
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8723 else
8724 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8726 rm -f core conftest.err conftest.$ac_objext \
8727 conftest$ac_exeext conftest.$ac_ext
8728 CFLAGS=$ac_wine_try_cflags_saved
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8731 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8732 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8733 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8735 rm -f conftest.map
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8738 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8739 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 ac_wine_try_cflags_saved=$CFLAGS
8743 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 int main(int argc, char **argv) { return 0; }
8747 _ACEOF
8748 if ac_fn_c_try_link "$LINENO"; then :
8749 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8750 else
8751 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8753 rm -f core conftest.err conftest.$ac_objext \
8754 conftest$ac_exeext conftest.$ac_ext
8755 CFLAGS=$ac_wine_try_cflags_saved
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8758 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8759 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8760 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8763 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8765 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8766 if eval \${$as_ac_var+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_wine_try_cflags_saved=$CFLAGS
8770 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 int main(int argc, char **argv) { return 0; }
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 eval "$as_ac_var=yes"
8777 else
8778 eval "$as_ac_var=no"
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 eval ac_res=\$$as_ac_var
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8786 $as_echo "$ac_res" >&6; }
8787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8788 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8789 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8790 else
8791 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8793 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8794 if eval \${$as_ac_var+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8801 int main(int argc, char **argv) { return 0; }
8802 _ACEOF
8803 if ac_fn_c_try_link "$LINENO"; then :
8804 eval "$as_ac_var=yes"
8805 else
8806 eval "$as_ac_var=no"
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 eval ac_res=\$$as_ac_var
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8814 $as_echo "$ac_res" >&6; }
8815 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8816 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8817 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8822 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8823 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8824 $as_echo_n "(cached) " >&6
8825 else
8826 ac_wine_try_cflags_saved=$CFLAGS
8827 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8829 /* end confdefs.h. */
8830 int main(int argc, char **argv) { return 0; }
8831 _ACEOF
8832 if ac_fn_c_try_link "$LINENO"; then :
8833 ac_cv_cflags__Wl___enable_new_dtags=yes
8834 else
8835 ac_cv_cflags__Wl___enable_new_dtags=no
8837 rm -f core conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8839 CFLAGS=$ac_wine_try_cflags_saved
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8842 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8843 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8844 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8847 case $host_cpu in
8848 *i[3456789]86* | x86_64)
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8850 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8851 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8852 $as_echo_n "(cached) " >&6
8853 else
8854 ac_wine_try_cflags_saved=$CFLAGS
8855 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8858 int main(int argc, char **argv) { return 0; }
8859 _ACEOF
8860 if ac_fn_c_try_link "$LINENO"; then :
8861 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8862 else
8863 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8865 rm -f core conftest.err conftest.$ac_objext \
8866 conftest$ac_exeext conftest.$ac_ext
8867 CFLAGS=$ac_wine_try_cflags_saved
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8870 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8871 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8872 case $host_os in
8873 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8874 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8875 esac
8876 else
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8878 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8879 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8880 $as_echo_n "(cached) " >&6
8881 else
8882 ac_wine_try_cflags_saved=$CFLAGS
8883 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8886 int main(int argc, char **argv) { return 0; }
8887 _ACEOF
8888 if ac_fn_c_try_link "$LINENO"; then :
8889 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8890 else
8891 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8893 rm -f core conftest.err conftest.$ac_objext \
8894 conftest$ac_exeext conftest.$ac_ext
8895 CFLAGS=$ac_wine_try_cflags_saved
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8898 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8899 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8900 case $host_os in
8901 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8902 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8903 esac
8905 # Extract the first word of "prelink", so it can be a program name with args.
8906 set dummy prelink; ac_word=$2
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8908 $as_echo_n "checking for $ac_word... " >&6; }
8909 if ${ac_cv_path_PRELINK+:} false; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 case $PRELINK in
8913 [\\/]* | ?:[\\/]*)
8914 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8918 for as_dir in /sbin /usr/sbin $PATH
8920 IFS=$as_save_IFS
8921 test -z "$as_dir" && as_dir=.
8922 for ac_exec_ext in '' $ac_executable_extensions; do
8923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8924 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8926 break 2
8928 done
8929 done
8930 IFS=$as_save_IFS
8932 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8934 esac
8936 PRELINK=$ac_cv_path_PRELINK
8937 if test -n "$PRELINK"; then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8939 $as_echo "$PRELINK" >&6; }
8940 else
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8946 if test "x$PRELINK" = xfalse
8947 then
8948 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8952 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8953 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8954 $as_echo_n "(cached) " >&6
8955 else
8956 ac_wine_try_cflags_saved=$CFLAGS
8957 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8960 int main(int argc, char **argv) { return 0; }
8961 _ACEOF
8962 if ac_fn_c_try_link "$LINENO"; then :
8963 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8964 else
8965 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8967 rm -f core conftest.err conftest.$ac_objext \
8968 conftest$ac_exeext conftest.$ac_ext
8969 CFLAGS=$ac_wine_try_cflags_saved
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8972 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8973 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8974 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8977 esac
8979 else
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8981 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8982 if ${ac_cv_c_dll_unixware+:} false; then :
8983 $as_echo_n "(cached) " >&6
8984 else
8985 ac_wine_try_cflags_saved=$CFLAGS
8986 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h. */
8989 void myfunc() {}
8990 _ACEOF
8991 if ac_fn_c_try_link "$LINENO"; then :
8992 ac_cv_c_dll_unixware="yes"
8993 else
8994 ac_cv_c_dll_unixware="no"
8996 rm -f core conftest.err conftest.$ac_objext \
8997 conftest$ac_exeext conftest.$ac_ext
8998 CFLAGS=$ac_wine_try_cflags_saved
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9001 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9002 if test "$ac_cv_c_dll_unixware" = "yes"
9003 then
9004 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9007 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9009 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9011 LIBWINE_INSTALL_DEV="libwine.so"
9013 LIBWINE_DEPENDS="wine.map"
9016 esac
9018 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9019 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9020 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9021 enable_winemac_drv=${enable_winemac_drv:-no}
9022 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9024 CROSSTARGET=""
9026 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9027 then
9028 case "$host_cpu" in
9029 arm*)
9030 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9031 i[3456789]86*)
9032 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
9033 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9034 mingw32-gcc" ;;
9035 x86_64)
9036 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
9037 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9039 ac_prefix_list="" ;;
9040 esac
9041 for ac_prog in $ac_prefix_list
9043 # Extract the first word of "$ac_prog", so it can be a program name with args.
9044 set dummy $ac_prog; ac_word=$2
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9046 $as_echo_n "checking for $ac_word... " >&6; }
9047 if ${ac_cv_prog_CROSSCC+:} false; then :
9048 $as_echo_n "(cached) " >&6
9049 else
9050 if test -n "$CROSSCC"; then
9051 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9052 else
9053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9054 for as_dir in $PATH
9056 IFS=$as_save_IFS
9057 test -z "$as_dir" && as_dir=.
9058 for ac_exec_ext in '' $ac_executable_extensions; do
9059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9060 ac_cv_prog_CROSSCC="$ac_prog"
9061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9062 break 2
9064 done
9065 done
9066 IFS=$as_save_IFS
9070 CROSSCC=$ac_cv_prog_CROSSCC
9071 if test -n "$CROSSCC"; then
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9073 $as_echo "$CROSSCC" >&6; }
9074 else
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9076 $as_echo "no" >&6; }
9080 test -n "$CROSSCC" && break
9081 done
9082 test -n "$CROSSCC" || CROSSCC="false"
9084 if test "$CROSSCC" != "false"
9085 then
9086 ac_save_CC="$CC"
9087 CC="$CROSSCC"
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9089 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9094 main ()
9098 return 0;
9100 _ACEOF
9101 if ac_fn_c_try_compile "$LINENO"; then :
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9103 $as_echo "yes" >&6; }
9104 set x $CROSSCC
9105 shift
9106 while test $# -ge 1
9108 case "$1" in
9109 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9110 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9111 esac
9112 shift
9113 done
9114 else
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9116 $as_echo "no" >&6; }
9118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9119 CC="$ac_save_CC"
9120 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9126 if test "$ac_cv_header_pthread_h" = "yes"
9127 then
9128 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9129 if test "x$ac_cv_func_pthread_create" = xyes; then :
9131 else
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9133 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9134 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9135 $as_echo_n "(cached) " >&6
9136 else
9137 ac_check_lib_save_LIBS=$LIBS
9138 LIBS="-lpthread $LIBS"
9139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9140 /* end confdefs.h. */
9142 /* Override any GCC internal prototype to avoid an error.
9143 Use char because int might match the return type of a GCC
9144 builtin and then its argument prototype would still apply. */
9145 #ifdef __cplusplus
9146 extern "C"
9147 #endif
9148 char pthread_create ();
9150 main ()
9152 return pthread_create ();
9154 return 0;
9156 _ACEOF
9157 if ac_fn_c_try_link "$LINENO"; then :
9158 ac_cv_lib_pthread_pthread_create=yes
9159 else
9160 ac_cv_lib_pthread_pthread_create=no
9162 rm -f core conftest.err conftest.$ac_objext \
9163 conftest$ac_exeext conftest.$ac_ext
9164 LIBS=$ac_check_lib_save_LIBS
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9167 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9168 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9169 PTHREAD_LIBS="-lpthread"
9176 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9177 case "x$with_pthread" in
9178 xno) ;;
9179 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9180 Wine cannot support threads without libpthread.
9181 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9182 esac
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9188 $as_echo_n "checking for X... " >&6; }
9191 # Check whether --with-x was given.
9192 if test "${with_x+set}" = set; then :
9193 withval=$with_x;
9196 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9197 if test "x$with_x" = xno; then
9198 # The user explicitly disabled X.
9199 have_x=disabled
9200 else
9201 case $x_includes,$x_libraries in #(
9202 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9203 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9204 $as_echo_n "(cached) " >&6
9205 else
9206 # One or both of the vars are not set, and there is no cached value.
9207 ac_x_includes=no ac_x_libraries=no
9208 rm -f -r conftest.dir
9209 if mkdir conftest.dir; then
9210 cd conftest.dir
9211 cat >Imakefile <<'_ACEOF'
9212 incroot:
9213 @echo incroot='${INCROOT}'
9214 usrlibdir:
9215 @echo usrlibdir='${USRLIBDIR}'
9216 libdir:
9217 @echo libdir='${LIBDIR}'
9218 _ACEOF
9219 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9220 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9221 for ac_var in incroot usrlibdir libdir; do
9222 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9223 done
9224 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9225 for ac_extension in a so sl dylib la dll; do
9226 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9227 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9228 ac_im_usrlibdir=$ac_im_libdir; break
9230 done
9231 # Screen out bogus values from the imake configuration. They are
9232 # bogus both because they are the default anyway, and because
9233 # using them would break gcc on systems where it needs fixed includes.
9234 case $ac_im_incroot in
9235 /usr/include) ac_x_includes= ;;
9236 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9237 esac
9238 case $ac_im_usrlibdir in
9239 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9240 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9241 esac
9243 cd ..
9244 rm -f -r conftest.dir
9247 # Standard set of common directories for X headers.
9248 # Check X11 before X11Rn because it is often a symlink to the current release.
9249 ac_x_header_dirs='
9250 /usr/X11/include
9251 /usr/X11R7/include
9252 /usr/X11R6/include
9253 /usr/X11R5/include
9254 /usr/X11R4/include
9256 /usr/include/X11
9257 /usr/include/X11R7
9258 /usr/include/X11R6
9259 /usr/include/X11R5
9260 /usr/include/X11R4
9262 /usr/local/X11/include
9263 /usr/local/X11R7/include
9264 /usr/local/X11R6/include
9265 /usr/local/X11R5/include
9266 /usr/local/X11R4/include
9268 /usr/local/include/X11
9269 /usr/local/include/X11R7
9270 /usr/local/include/X11R6
9271 /usr/local/include/X11R5
9272 /usr/local/include/X11R4
9274 /usr/X386/include
9275 /usr/x386/include
9276 /usr/XFree86/include/X11
9278 /usr/include
9279 /usr/local/include
9280 /usr/unsupported/include
9281 /usr/athena/include
9282 /usr/local/x11r5/include
9283 /usr/lpp/Xamples/include
9285 /usr/openwin/include
9286 /usr/openwin/share/include'
9288 if test "$ac_x_includes" = no; then
9289 # Guess where to find include files, by looking for Xlib.h.
9290 # First, try using that file with no special directory specified.
9291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9293 #include <X11/Xlib.h>
9294 _ACEOF
9295 if ac_fn_c_try_cpp "$LINENO"; then :
9296 # We can compile using X headers with no special include directory.
9297 ac_x_includes=
9298 else
9299 for ac_dir in $ac_x_header_dirs; do
9300 if test -r "$ac_dir/X11/Xlib.h"; then
9301 ac_x_includes=$ac_dir
9302 break
9304 done
9306 rm -f conftest.err conftest.i conftest.$ac_ext
9307 fi # $ac_x_includes = no
9309 if test "$ac_x_libraries" = no; then
9310 # Check for the libraries.
9311 # See if we find them without any special options.
9312 # Don't add to $LIBS permanently.
9313 ac_save_LIBS=$LIBS
9314 LIBS="-lX11 $LIBS"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9317 #include <X11/Xlib.h>
9319 main ()
9321 XrmInitialize ()
9323 return 0;
9325 _ACEOF
9326 if ac_fn_c_try_link "$LINENO"; then :
9327 LIBS=$ac_save_LIBS
9328 # We can link X programs with no special library path.
9329 ac_x_libraries=
9330 else
9331 LIBS=$ac_save_LIBS
9332 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9334 # Don't even attempt the hair of trying to link an X program!
9335 for ac_extension in a so sl dylib la dll; do
9336 if test -r "$ac_dir/libX11.$ac_extension"; then
9337 ac_x_libraries=$ac_dir
9338 break 2
9340 done
9341 done
9343 rm -f core conftest.err conftest.$ac_objext \
9344 conftest$ac_exeext conftest.$ac_ext
9345 fi # $ac_x_libraries = no
9347 case $ac_x_includes,$ac_x_libraries in #(
9348 no,* | *,no | *\'*)
9349 # Didn't find X, or a directory has "'" in its name.
9350 ac_cv_have_x="have_x=no";; #(
9352 # Record where we found X for the cache.
9353 ac_cv_have_x="have_x=yes\
9354 ac_x_includes='$ac_x_includes'\
9355 ac_x_libraries='$ac_x_libraries'"
9356 esac
9358 ;; #(
9359 *) have_x=yes;;
9360 esac
9361 eval "$ac_cv_have_x"
9362 fi # $with_x != no
9364 if test "$have_x" != yes; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9366 $as_echo "$have_x" >&6; }
9367 no_x=yes
9368 else
9369 # If each of the values was on the command line, it overrides each guess.
9370 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9371 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9372 # Update the cache value to reflect the command line values.
9373 ac_cv_have_x="have_x=yes\
9374 ac_x_includes='$x_includes'\
9375 ac_x_libraries='$x_libraries'"
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9377 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9380 if test "$no_x" = yes; then
9381 # Not all programs may use this symbol, but it does not hurt to define it.
9383 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9385 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9386 else
9387 if test -n "$x_includes"; then
9388 X_CFLAGS="$X_CFLAGS -I$x_includes"
9391 # It would also be nice to do this for all -L options, not just this one.
9392 if test -n "$x_libraries"; then
9393 X_LIBS="$X_LIBS -L$x_libraries"
9394 # For Solaris; some versions of Sun CC require a space after -R and
9395 # others require no space. Words are not sufficient . . . .
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9397 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9398 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9399 ac_xsave_c_werror_flag=$ac_c_werror_flag
9400 ac_c_werror_flag=yes
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9405 main ()
9409 return 0;
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9414 $as_echo "no" >&6; }
9415 X_LIBS="$X_LIBS -R$x_libraries"
9416 else
9417 LIBS="$ac_xsave_LIBS -R $x_libraries"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9422 main ()
9426 return 0;
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"; then :
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9431 $as_echo "yes" >&6; }
9432 X_LIBS="$X_LIBS -R $x_libraries"
9433 else
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9435 $as_echo "neither works" >&6; }
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9440 rm -f core conftest.err conftest.$ac_objext \
9441 conftest$ac_exeext conftest.$ac_ext
9442 ac_c_werror_flag=$ac_xsave_c_werror_flag
9443 LIBS=$ac_xsave_LIBS
9446 # Check for system-dependent libraries X programs must link with.
9447 # Do this before checking for the system-independent R6 libraries
9448 # (-lICE), since we may need -lsocket or whatever for X linking.
9450 if test "$ISC" = yes; then
9451 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9452 else
9453 # Martyn Johnson says this is needed for Ultrix, if the X
9454 # libraries were built with DECnet support. And Karl Berry says
9455 # the Alpha needs dnet_stub (dnet does not exist).
9456 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9463 #ifdef __cplusplus
9464 extern "C"
9465 #endif
9466 char XOpenDisplay ();
9468 main ()
9470 return XOpenDisplay ();
9472 return 0;
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9477 else
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9479 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9480 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_check_lib_save_LIBS=$LIBS
9484 LIBS="-ldnet $LIBS"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9491 #ifdef __cplusplus
9492 extern "C"
9493 #endif
9494 char dnet_ntoa ();
9496 main ()
9498 return dnet_ntoa ();
9500 return 0;
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_lib_dnet_dnet_ntoa=yes
9505 else
9506 ac_cv_lib_dnet_dnet_ntoa=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 LIBS=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9513 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9514 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9515 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9518 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9520 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9521 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9522 $as_echo_n "(cached) " >&6
9523 else
9524 ac_check_lib_save_LIBS=$LIBS
9525 LIBS="-ldnet_stub $LIBS"
9526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9529 /* Override any GCC internal prototype to avoid an error.
9530 Use char because int might match the return type of a GCC
9531 builtin and then its argument prototype would still apply. */
9532 #ifdef __cplusplus
9533 extern "C"
9534 #endif
9535 char dnet_ntoa ();
9537 main ()
9539 return dnet_ntoa ();
9541 return 0;
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9546 else
9547 ac_cv_lib_dnet_stub_dnet_ntoa=no
9549 rm -f core conftest.err conftest.$ac_objext \
9550 conftest$ac_exeext conftest.$ac_ext
9551 LIBS=$ac_check_lib_save_LIBS
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9554 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9555 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9556 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS="$ac_xsave_LIBS"
9565 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9566 # to get the SysV transport functions.
9567 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9568 # needs -lnsl.
9569 # The nsl library prevents programs from opening the X display
9570 # on Irix 5.2, according to T.E. Dickey.
9571 # The functions gethostbyname, getservbyname, and inet_addr are
9572 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9573 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9574 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9578 if test $ac_cv_func_gethostbyname = no; then
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9580 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9581 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_check_lib_save_LIBS=$LIBS
9585 LIBS="-lnsl $LIBS"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9592 #ifdef __cplusplus
9593 extern "C"
9594 #endif
9595 char gethostbyname ();
9597 main ()
9599 return gethostbyname ();
9601 return 0;
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605 ac_cv_lib_nsl_gethostbyname=yes
9606 else
9607 ac_cv_lib_nsl_gethostbyname=no
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 LIBS=$ac_check_lib_save_LIBS
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9614 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9615 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9616 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9619 if test $ac_cv_lib_nsl_gethostbyname = no; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9621 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9622 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9623 $as_echo_n "(cached) " >&6
9624 else
9625 ac_check_lib_save_LIBS=$LIBS
9626 LIBS="-lbsd $LIBS"
9627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9630 /* Override any GCC internal prototype to avoid an error.
9631 Use char because int might match the return type of a GCC
9632 builtin and then its argument prototype would still apply. */
9633 #ifdef __cplusplus
9634 extern "C"
9635 #endif
9636 char gethostbyname ();
9638 main ()
9640 return gethostbyname ();
9642 return 0;
9644 _ACEOF
9645 if ac_fn_c_try_link "$LINENO"; then :
9646 ac_cv_lib_bsd_gethostbyname=yes
9647 else
9648 ac_cv_lib_bsd_gethostbyname=no
9650 rm -f core conftest.err conftest.$ac_objext \
9651 conftest$ac_exeext conftest.$ac_ext
9652 LIBS=$ac_check_lib_save_LIBS
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9655 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9656 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9657 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9663 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9664 # socket/setsockopt and other routines are undefined under SCO ODT
9665 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9666 # on later versions), says Simon Leinen: it contains gethostby*
9667 # variants that don't use the name server (or something). -lsocket
9668 # must be given before -lnsl if both are needed. We assume that
9669 # if connect needs -lnsl, so does gethostbyname.
9670 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9671 if test "x$ac_cv_func_connect" = xyes; then :
9675 if test $ac_cv_func_connect = no; then
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9677 $as_echo_n "checking for connect in -lsocket... " >&6; }
9678 if ${ac_cv_lib_socket_connect+:} false; then :
9679 $as_echo_n "(cached) " >&6
9680 else
9681 ac_check_lib_save_LIBS=$LIBS
9682 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9686 /* Override any GCC internal prototype to avoid an error.
9687 Use char because int might match the return type of a GCC
9688 builtin and then its argument prototype would still apply. */
9689 #ifdef __cplusplus
9690 extern "C"
9691 #endif
9692 char connect ();
9694 main ()
9696 return connect ();
9698 return 0;
9700 _ACEOF
9701 if ac_fn_c_try_link "$LINENO"; then :
9702 ac_cv_lib_socket_connect=yes
9703 else
9704 ac_cv_lib_socket_connect=no
9706 rm -f core conftest.err conftest.$ac_objext \
9707 conftest$ac_exeext conftest.$ac_ext
9708 LIBS=$ac_check_lib_save_LIBS
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9711 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9712 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9713 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9718 # Guillermo Gomez says -lposix is necessary on A/UX.
9719 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9720 if test "x$ac_cv_func_remove" = xyes; then :
9724 if test $ac_cv_func_remove = no; then
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9726 $as_echo_n "checking for remove in -lposix... " >&6; }
9727 if ${ac_cv_lib_posix_remove+:} false; then :
9728 $as_echo_n "(cached) " >&6
9729 else
9730 ac_check_lib_save_LIBS=$LIBS
9731 LIBS="-lposix $LIBS"
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9735 /* Override any GCC internal prototype to avoid an error.
9736 Use char because int might match the return type of a GCC
9737 builtin and then its argument prototype would still apply. */
9738 #ifdef __cplusplus
9739 extern "C"
9740 #endif
9741 char remove ();
9743 main ()
9745 return remove ();
9747 return 0;
9749 _ACEOF
9750 if ac_fn_c_try_link "$LINENO"; then :
9751 ac_cv_lib_posix_remove=yes
9752 else
9753 ac_cv_lib_posix_remove=no
9755 rm -f core conftest.err conftest.$ac_objext \
9756 conftest$ac_exeext conftest.$ac_ext
9757 LIBS=$ac_check_lib_save_LIBS
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9760 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9761 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9762 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9767 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9768 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9769 if test "x$ac_cv_func_shmat" = xyes; then :
9773 if test $ac_cv_func_shmat = no; then
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9775 $as_echo_n "checking for shmat in -lipc... " >&6; }
9776 if ${ac_cv_lib_ipc_shmat+:} false; then :
9777 $as_echo_n "(cached) " >&6
9778 else
9779 ac_check_lib_save_LIBS=$LIBS
9780 LIBS="-lipc $LIBS"
9781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782 /* end confdefs.h. */
9784 /* Override any GCC internal prototype to avoid an error.
9785 Use char because int might match the return type of a GCC
9786 builtin and then its argument prototype would still apply. */
9787 #ifdef __cplusplus
9788 extern "C"
9789 #endif
9790 char shmat ();
9792 main ()
9794 return shmat ();
9796 return 0;
9798 _ACEOF
9799 if ac_fn_c_try_link "$LINENO"; then :
9800 ac_cv_lib_ipc_shmat=yes
9801 else
9802 ac_cv_lib_ipc_shmat=no
9804 rm -f core conftest.err conftest.$ac_objext \
9805 conftest$ac_exeext conftest.$ac_ext
9806 LIBS=$ac_check_lib_save_LIBS
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9809 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9810 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9811 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9817 # Check for libraries that X11R6 Xt/Xaw programs need.
9818 ac_save_LDFLAGS=$LDFLAGS
9819 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9820 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9821 # check for ICE first), but we must link in the order -lSM -lICE or
9822 # we get undefined symbols. So assume we have SM if we have ICE.
9823 # These have to be linked with before -lX11, unlike the other
9824 # libraries we check for below, so use a different variable.
9825 # John Interrante, Karl Berry
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9827 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9828 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9829 $as_echo_n "(cached) " >&6
9830 else
9831 ac_check_lib_save_LIBS=$LIBS
9832 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9834 /* end confdefs.h. */
9836 /* Override any GCC internal prototype to avoid an error.
9837 Use char because int might match the return type of a GCC
9838 builtin and then its argument prototype would still apply. */
9839 #ifdef __cplusplus
9840 extern "C"
9841 #endif
9842 char IceConnectionNumber ();
9844 main ()
9846 return IceConnectionNumber ();
9848 return 0;
9850 _ACEOF
9851 if ac_fn_c_try_link "$LINENO"; then :
9852 ac_cv_lib_ICE_IceConnectionNumber=yes
9853 else
9854 ac_cv_lib_ICE_IceConnectionNumber=no
9856 rm -f core conftest.err conftest.$ac_objext \
9857 conftest$ac_exeext conftest.$ac_ext
9858 LIBS=$ac_check_lib_save_LIBS
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9861 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9862 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9863 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9866 LDFLAGS=$ac_save_LDFLAGS
9871 if test "$have_x" = "yes"
9872 then
9873 ac_save_CPPFLAGS="$CPPFLAGS"
9874 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9877 $as_echo_n "checking for -lX11... " >&6; }
9878 if ${ac_cv_lib_soname_X11+:} false; then :
9879 $as_echo_n "(cached) " >&6
9880 else
9881 ac_check_soname_save_LIBS=$LIBS
9882 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9886 /* Override any GCC internal prototype to avoid an error.
9887 Use char because int might match the return type of a GCC
9888 builtin and then its argument prototype would still apply. */
9889 #ifdef __cplusplus
9890 extern "C"
9891 #endif
9892 char XCreateWindow ();
9894 main ()
9896 return XCreateWindow ();
9898 return 0;
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 case "$LIBEXT" in
9903 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9904 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'` ;;
9905 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9906 if ${ac_cv_lib_soname_X11:+false} :; then :
9907 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9908 fi ;;
9909 esac
9911 rm -f core conftest.err conftest.$ac_objext \
9912 conftest$ac_exeext conftest.$ac_ext
9913 LIBS=$ac_check_soname_save_LIBS
9915 if ${ac_cv_lib_soname_X11:+false} :; then :
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9917 $as_echo "not found" >&6; }
9919 else
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9921 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9923 cat >>confdefs.h <<_ACEOF
9924 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9925 _ACEOF
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9930 $as_echo_n "checking for -lXext... " >&6; }
9931 if ${ac_cv_lib_soname_Xext+:} false; then :
9932 $as_echo_n "(cached) " >&6
9933 else
9934 ac_check_soname_save_LIBS=$LIBS
9935 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9939 /* Override any GCC internal prototype to avoid an error.
9940 Use char because int might match the return type of a GCC
9941 builtin and then its argument prototype would still apply. */
9942 #ifdef __cplusplus
9943 extern "C"
9944 #endif
9945 char XextCreateExtension ();
9947 main ()
9949 return XextCreateExtension ();
9951 return 0;
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 case "$LIBEXT" in
9956 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9957 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'` ;;
9958 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9959 if ${ac_cv_lib_soname_Xext:+false} :; then :
9960 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9961 fi ;;
9962 esac
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_soname_save_LIBS
9968 if ${ac_cv_lib_soname_Xext:+false} :; then :
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9970 $as_echo "not found" >&6; }
9972 else
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9974 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9976 cat >>confdefs.h <<_ACEOF
9977 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9978 _ACEOF
9980 X_LIBS="$X_LIBS -lXext"
9982 X_LIBS="$X_LIBS -lX11"
9984 for ac_header in X11/Xlib.h \
9985 X11/XKBlib.h \
9986 X11/Xutil.h \
9987 X11/Xcursor/Xcursor.h \
9988 X11/extensions/shape.h \
9989 X11/extensions/XInput.h \
9990 X11/extensions/XInput2.h \
9991 X11/extensions/XShm.h \
9992 X11/extensions/Xcomposite.h \
9993 X11/extensions/Xfixes.h \
9994 X11/extensions/Xinerama.h \
9995 X11/extensions/Xrandr.h \
9996 X11/extensions/Xrender.h \
9997 X11/extensions/xf86vmode.h \
9998 X11/extensions/xf86vmproto.h
9999 do :
10000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10001 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10002 # include <X11/Xlib.h>
10003 #endif
10004 #ifdef HAVE_X11_XUTIL_H
10005 # include <X11/Xutil.h>
10006 #endif
10008 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10009 cat >>confdefs.h <<_ACEOF
10010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10011 _ACEOF
10015 done
10018 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10019 then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10021 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10022 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_check_lib_save_LIBS=$LIBS
10026 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10033 #ifdef __cplusplus
10034 extern "C"
10035 #endif
10036 char XkbQueryExtension ();
10038 main ()
10040 return XkbQueryExtension ();
10042 return 0;
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_lib_X11_XkbQueryExtension=yes
10047 else
10048 ac_cv_lib_X11_XkbQueryExtension=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10055 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10056 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10058 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10064 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10065 then
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10067 $as_echo_n "checking for -lXcursor... " >&6; }
10068 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10069 $as_echo_n "(cached) " >&6
10070 else
10071 ac_check_soname_save_LIBS=$LIBS
10072 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10076 /* Override any GCC internal prototype to avoid an error.
10077 Use char because int might match the return type of a GCC
10078 builtin and then its argument prototype would still apply. */
10079 #ifdef __cplusplus
10080 extern "C"
10081 #endif
10082 char XcursorImageLoadCursor ();
10084 main ()
10086 return XcursorImageLoadCursor ();
10088 return 0;
10090 _ACEOF
10091 if ac_fn_c_try_link "$LINENO"; then :
10092 case "$LIBEXT" in
10093 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10094 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'` ;;
10095 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10096 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10097 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10098 fi ;;
10099 esac
10101 rm -f core conftest.err conftest.$ac_objext \
10102 conftest$ac_exeext conftest.$ac_ext
10103 LIBS=$ac_check_soname_save_LIBS
10105 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10107 $as_echo "not found" >&6; }
10109 else
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10111 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10113 cat >>confdefs.h <<_ACEOF
10114 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10115 _ACEOF
10120 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10121 case "x$with_xcursor" in
10122 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10123 xno) ;;
10124 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10125 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10126 esac
10130 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10131 then
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10133 $as_echo_n "checking for -lXi... " >&6; }
10134 if ${ac_cv_lib_soname_Xi+:} false; then :
10135 $as_echo_n "(cached) " >&6
10136 else
10137 ac_check_soname_save_LIBS=$LIBS
10138 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10145 #ifdef __cplusplus
10146 extern "C"
10147 #endif
10148 char XOpenDevice ();
10150 main ()
10152 return XOpenDevice ();
10154 return 0;
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 case "$LIBEXT" in
10159 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10160 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'` ;;
10161 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10162 if ${ac_cv_lib_soname_Xi:+false} :; then :
10163 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10164 fi ;;
10165 esac
10167 rm -f core conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_soname_save_LIBS
10171 if ${ac_cv_lib_soname_Xi:+false} :; then :
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10173 $as_echo "not found" >&6; }
10175 else
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10177 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10179 cat >>confdefs.h <<_ACEOF
10180 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10181 _ACEOF
10186 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10187 case "x$with_xinput" in
10188 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10189 xno) ;;
10190 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10191 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10192 esac
10196 if test "x$ac_cv_lib_soname_Xi" != x
10197 then
10198 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10199 case "x$with_xinput2" in
10200 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10201 xno) ;;
10202 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10203 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10204 esac
10209 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10210 then
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10212 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10213 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10214 $as_echo_n "(cached) " >&6
10215 else
10216 ac_check_lib_save_LIBS=$LIBS
10217 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10219 /* end confdefs.h. */
10221 /* Override any GCC internal prototype to avoid an error.
10222 Use char because int might match the return type of a GCC
10223 builtin and then its argument prototype would still apply. */
10224 #ifdef __cplusplus
10225 extern "C"
10226 #endif
10227 char XShmQueryExtension ();
10229 main ()
10231 return XShmQueryExtension ();
10233 return 0;
10235 _ACEOF
10236 if ac_fn_c_try_link "$LINENO"; then :
10237 ac_cv_lib_Xext_XShmQueryExtension=yes
10238 else
10239 ac_cv_lib_Xext_XShmQueryExtension=no
10241 rm -f core conftest.err conftest.$ac_objext \
10242 conftest$ac_exeext conftest.$ac_ext
10243 LIBS=$ac_check_lib_save_LIBS
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10246 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10247 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10249 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10254 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10255 case "x$with_xshm" in
10256 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10257 xno) ;;
10258 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10259 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10260 esac
10264 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10265 then
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10267 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10268 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_check_lib_save_LIBS=$LIBS
10272 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10279 #ifdef __cplusplus
10280 extern "C"
10281 #endif
10282 char XShapeQueryExtension ();
10284 main ()
10286 return XShapeQueryExtension ();
10288 return 0;
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"; then :
10292 ac_cv_lib_Xext_XShapeQueryExtension=yes
10293 else
10294 ac_cv_lib_Xext_XShapeQueryExtension=no
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 LIBS=$ac_check_lib_save_LIBS
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10301 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10302 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10304 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10309 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10310 case "x$with_xshape" in
10311 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10312 xno) ;;
10313 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10314 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10315 esac
10319 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10320 then
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10322 $as_echo_n "checking for -lXxf86vm... " >&6; }
10323 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10324 $as_echo_n "(cached) " >&6
10325 else
10326 ac_check_soname_save_LIBS=$LIBS
10327 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10334 #ifdef __cplusplus
10335 extern "C"
10336 #endif
10337 char XF86VidModeQueryExtension ();
10339 main ()
10341 return XF86VidModeQueryExtension ();
10343 return 0;
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 case "$LIBEXT" in
10348 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10349 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'` ;;
10350 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10351 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10352 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10353 fi ;;
10354 esac
10356 rm -f core conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10358 LIBS=$ac_check_soname_save_LIBS
10360 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10362 $as_echo "not found" >&6; }
10364 else
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10366 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10368 cat >>confdefs.h <<_ACEOF
10369 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10370 _ACEOF
10375 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10376 case "x$with_xxf86vm" in
10377 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10378 xno) ;;
10379 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10380 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10381 esac
10385 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10386 then
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10388 $as_echo_n "checking for -lXrender... " >&6; }
10389 if ${ac_cv_lib_soname_Xrender+:} false; then :
10390 $as_echo_n "(cached) " >&6
10391 else
10392 ac_check_soname_save_LIBS=$LIBS
10393 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10397 /* Override any GCC internal prototype to avoid an error.
10398 Use char because int might match the return type of a GCC
10399 builtin and then its argument prototype would still apply. */
10400 #ifdef __cplusplus
10401 extern "C"
10402 #endif
10403 char XRenderQueryExtension ();
10405 main ()
10407 return XRenderQueryExtension ();
10409 return 0;
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 case "$LIBEXT" in
10414 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10415 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'` ;;
10416 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10417 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10418 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10419 fi ;;
10420 esac
10422 rm -f core conftest.err conftest.$ac_objext \
10423 conftest$ac_exeext conftest.$ac_ext
10424 LIBS=$ac_check_soname_save_LIBS
10426 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10428 $as_echo "not found" >&6; }
10430 else
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10432 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10434 cat >>confdefs.h <<_ACEOF
10435 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10436 _ACEOF
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10439 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10440 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10441 $as_echo_n "(cached) " >&6
10442 else
10443 ac_check_lib_save_LIBS=$LIBS
10444 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10451 #ifdef __cplusplus
10452 extern "C"
10453 #endif
10454 char XRenderSetPictureTransform ();
10456 main ()
10458 return XRenderSetPictureTransform ();
10460 return 0;
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"; then :
10464 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10465 else
10466 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_lib_save_LIBS
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10473 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10474 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10476 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10481 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10482 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10483 $as_echo_n "(cached) " >&6
10484 else
10485 ac_check_lib_save_LIBS=$LIBS
10486 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10488 /* end confdefs.h. */
10490 /* Override any GCC internal prototype to avoid an error.
10491 Use char because int might match the return type of a GCC
10492 builtin and then its argument prototype would still apply. */
10493 #ifdef __cplusplus
10494 extern "C"
10495 #endif
10496 char XRenderCreateLinearGradient ();
10498 main ()
10500 return XRenderCreateLinearGradient ();
10502 return 0;
10504 _ACEOF
10505 if ac_fn_c_try_link "$LINENO"; then :
10506 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10507 else
10508 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10510 rm -f core conftest.err conftest.$ac_objext \
10511 conftest$ac_exeext conftest.$ac_ext
10512 LIBS=$ac_check_lib_save_LIBS
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10515 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10516 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10518 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10525 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10526 case "x$with_xrender" in
10527 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10528 xno) ;;
10529 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10530 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10531 esac
10535 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10536 then
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10539 #include <X11/Xlib.h>
10540 #include <X11/extensions/Xrandr.h>
10542 main ()
10544 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10546 return 0;
10548 _ACEOF
10549 if ac_fn_c_try_compile "$LINENO"; then :
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10551 $as_echo_n "checking for -lXrandr... " >&6; }
10552 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10553 $as_echo_n "(cached) " >&6
10554 else
10555 ac_check_soname_save_LIBS=$LIBS
10556 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10563 #ifdef __cplusplus
10564 extern "C"
10565 #endif
10566 char XRRQueryExtension ();
10568 main ()
10570 return XRRQueryExtension ();
10572 return 0;
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 case "$LIBEXT" in
10577 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10578 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'` ;;
10579 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10580 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10581 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10582 fi ;;
10583 esac
10585 rm -f core conftest.err conftest.$ac_objext \
10586 conftest$ac_exeext conftest.$ac_ext
10587 LIBS=$ac_check_soname_save_LIBS
10589 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10591 $as_echo "not found" >&6; }
10593 else
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10595 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10597 cat >>confdefs.h <<_ACEOF
10598 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10599 _ACEOF
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10603 #include <X11/Xlib.h>
10604 #include <X11/extensions/Xrandr.h>
10606 main ()
10608 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10610 return 0;
10612 _ACEOF
10613 if ac_fn_c_try_compile "$LINENO"; then :
10615 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10623 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10624 case "x$with_xrandr" in
10625 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10626 xno) ;;
10627 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10628 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10629 esac
10633 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10634 then
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10637 #include <X11/Xlib.h>
10638 #include <X11/extensions/Xfixes.h>
10640 main ()
10642 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10644 return 0;
10646 _ACEOF
10647 if ac_fn_c_try_compile "$LINENO"; then :
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10649 $as_echo_n "checking for -lXfixes... " >&6; }
10650 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10651 $as_echo_n "(cached) " >&6
10652 else
10653 ac_check_soname_save_LIBS=$LIBS
10654 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10661 #ifdef __cplusplus
10662 extern "C"
10663 #endif
10664 char XFixesQueryVersion ();
10666 main ()
10668 return XFixesQueryVersion ();
10670 return 0;
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 case "$LIBEXT" in
10675 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10676 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'` ;;
10677 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10678 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10679 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10680 fi ;;
10681 esac
10683 rm -f core conftest.err conftest.$ac_objext \
10684 conftest$ac_exeext conftest.$ac_ext
10685 LIBS=$ac_check_soname_save_LIBS
10687 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10689 $as_echo "not found" >&6; }
10691 else
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10693 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10695 cat >>confdefs.h <<_ACEOF
10696 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10697 _ACEOF
10702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10704 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10705 case "x$with_xfixes" in
10706 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10707 xno) ;;
10708 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10709 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10710 esac
10714 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10715 then
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10718 #include <X11/Xlib.h>
10719 #include <X11/extensions/Xinerama.h>
10721 main ()
10723 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10725 return 0;
10727 _ACEOF
10728 if ac_fn_c_try_compile "$LINENO"; then :
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10730 $as_echo_n "checking for -lXinerama... " >&6; }
10731 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10732 $as_echo_n "(cached) " >&6
10733 else
10734 ac_check_soname_save_LIBS=$LIBS
10735 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10742 #ifdef __cplusplus
10743 extern "C"
10744 #endif
10745 char XineramaQueryScreens ();
10747 main ()
10749 return XineramaQueryScreens ();
10751 return 0;
10753 _ACEOF
10754 if ac_fn_c_try_link "$LINENO"; then :
10755 case "$LIBEXT" in
10756 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10757 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'` ;;
10758 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10759 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10760 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10761 fi ;;
10762 esac
10764 rm -f core conftest.err conftest.$ac_objext \
10765 conftest$ac_exeext conftest.$ac_ext
10766 LIBS=$ac_check_soname_save_LIBS
10768 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10770 $as_echo "not found" >&6; }
10772 else
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10774 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10776 cat >>confdefs.h <<_ACEOF
10777 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10778 _ACEOF
10783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10785 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10786 case "x$with_xinerama" in
10787 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10788 xno) ;;
10789 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10790 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10791 esac
10795 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10796 then
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10798 $as_echo_n "checking for -lXcomposite... " >&6; }
10799 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10800 $as_echo_n "(cached) " >&6
10801 else
10802 ac_check_soname_save_LIBS=$LIBS
10803 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10810 #ifdef __cplusplus
10811 extern "C"
10812 #endif
10813 char XCompositeRedirectWindow ();
10815 main ()
10817 return XCompositeRedirectWindow ();
10819 return 0;
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"; then :
10823 case "$LIBEXT" in
10824 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10825 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'` ;;
10826 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10827 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10828 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10829 fi ;;
10830 esac
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_soname_save_LIBS
10836 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10838 $as_echo "not found" >&6; }
10840 else
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10842 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10844 cat >>confdefs.h <<_ACEOF
10845 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10846 _ACEOF
10851 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10852 case "x$with_xcomposite" in
10853 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10854 xno) ;;
10855 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10856 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10857 esac
10861 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10862 #include <X11/Xlib.h>
10863 #endif
10865 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10867 cat >>confdefs.h <<_ACEOF
10868 #define HAVE_XICCALLBACK_CALLBACK 1
10869 _ACEOF
10873 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10874 #include <X11/Xlib.h>
10875 #endif
10877 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10879 cat >>confdefs.h <<_ACEOF
10880 #define HAVE_XEVENT_XCOOKIE 1
10881 _ACEOF
10888 opengl_msg=""
10889 if test "x$with_opengl" != "xno"
10890 then
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10892 $as_echo_n "checking for -lGL... " >&6; }
10893 if ${ac_cv_lib_soname_GL+:} false; then :
10894 $as_echo_n "(cached) " >&6
10895 else
10896 ac_check_soname_save_LIBS=$LIBS
10897 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10899 /* end confdefs.h. */
10901 /* Override any GCC internal prototype to avoid an error.
10902 Use char because int might match the return type of a GCC
10903 builtin and then its argument prototype would still apply. */
10904 #ifdef __cplusplus
10905 extern "C"
10906 #endif
10907 char glXCreateContext ();
10909 main ()
10911 return glXCreateContext ();
10913 return 0;
10915 _ACEOF
10916 if ac_fn_c_try_link "$LINENO"; then :
10917 case "$LIBEXT" in
10918 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10919 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'` ;;
10920 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10921 if ${ac_cv_lib_soname_GL:+false} :; then :
10922 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10923 fi ;;
10924 esac
10926 rm -f core conftest.err conftest.$ac_objext \
10927 conftest$ac_exeext conftest.$ac_ext
10928 LIBS=$ac_check_soname_save_LIBS
10930 if ${ac_cv_lib_soname_GL:+false} :; then :
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10932 $as_echo "not found" >&6; }
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10934 $as_echo_n "checking for -lGL... " >&6; }
10935 if ${ac_cv_lib_soname_GL+:} false; then :
10936 $as_echo_n "(cached) " >&6
10937 else
10938 ac_check_soname_save_LIBS=$LIBS
10939 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"
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10946 #ifdef __cplusplus
10947 extern "C"
10948 #endif
10949 char glXCreateContext ();
10951 main ()
10953 return glXCreateContext ();
10955 return 0;
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"; then :
10959 case "$LIBEXT" in
10960 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10961 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'` ;;
10962 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10963 if ${ac_cv_lib_soname_GL:+false} :; then :
10964 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10965 fi ;;
10966 esac
10968 rm -f core conftest.err conftest.$ac_objext \
10969 conftest$ac_exeext conftest.$ac_ext
10970 LIBS=$ac_check_soname_save_LIBS
10972 if ${ac_cv_lib_soname_GL:+false} :; then :
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10974 $as_echo "not found" >&6; }
10975 if test -f /usr/X11R6/lib/libGL.a
10976 then
10977 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10978 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10979 else
10980 opengl_msg="No OpenGL library found on this system."
10982 else
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10984 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10986 cat >>confdefs.h <<_ACEOF
10987 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10988 _ACEOF
10990 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"
10992 else
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10994 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10996 cat >>confdefs.h <<_ACEOF
10997 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10998 _ACEOF
11000 OPENGL_LIBS="-lGL"
11002 if test "x$with_glu" != "xno"
11003 then
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11005 $as_echo_n "checking for -lGLU... " >&6; }
11006 if ${ac_cv_lib_soname_GLU+:} false; then :
11007 $as_echo_n "(cached) " >&6
11008 else
11009 ac_check_soname_save_LIBS=$LIBS
11010 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11017 #ifdef __cplusplus
11018 extern "C"
11019 #endif
11020 char gluLookAt ();
11022 main ()
11024 return gluLookAt ();
11026 return 0;
11028 _ACEOF
11029 if ac_fn_c_try_link "$LINENO"; then :
11030 case "$LIBEXT" in
11031 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11032 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'` ;;
11033 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11034 if ${ac_cv_lib_soname_GLU:+false} :; then :
11035 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11036 fi ;;
11037 esac
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_soname_save_LIBS
11043 if ${ac_cv_lib_soname_GLU:+false} :; then :
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11045 $as_echo "not found" >&6; }
11047 else
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11049 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11051 cat >>confdefs.h <<_ACEOF
11052 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11053 _ACEOF
11057 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11058 case "x$with_glu" in
11059 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11060 xno) ;;
11061 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11062 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11063 esac
11068 if test "x$with_osmesa" != "xno"
11069 then
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11071 $as_echo_n "checking for -lOSMesa... " >&6; }
11072 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11073 $as_echo_n "(cached) " >&6
11074 else
11075 ac_check_soname_save_LIBS=$LIBS
11076 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11080 /* Override any GCC internal prototype to avoid an error.
11081 Use char because int might match the return type of a GCC
11082 builtin and then its argument prototype would still apply. */
11083 #ifdef __cplusplus
11084 extern "C"
11085 #endif
11086 char OSMesaGetProcAddress ();
11088 main ()
11090 return OSMesaGetProcAddress ();
11092 return 0;
11094 _ACEOF
11095 if ac_fn_c_try_link "$LINENO"; then :
11096 case "$LIBEXT" in
11097 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11098 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'` ;;
11099 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11100 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11101 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11102 fi ;;
11103 esac
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 LIBS=$ac_check_soname_save_LIBS
11109 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11111 $as_echo "not found" >&6; }
11113 else
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11115 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11117 cat >>confdefs.h <<_ACEOF
11118 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11119 _ACEOF
11123 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11124 case "x$with_osmesa" in
11125 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11126 xno) ;;
11127 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11128 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11129 esac
11134 if test -n "$opengl_msg"; then :
11135 case "x$with_opengl" in
11136 x) as_fn_append wine_warnings "|$opengl_msg
11137 OpenGL and Direct3D won't be supported." ;;
11138 xno) ;;
11139 *) as_fn_error $? "$opengl_msg
11140 OpenGL and Direct3D won't be supported.
11141 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11142 esac
11146 CPPFLAGS="$ac_save_CPPFLAGS"
11147 else
11148 X_CFLAGS=""
11149 X_LIBS=""
11152 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11153 then
11154 if test "x$X_LIBS" = "x"; then :
11155 case "x$with_x" in
11156 xno) ;;
11157 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11158 without X support, which probably isn't what you want. You will need
11159 to install ${notice_platform}development packages of Xlib at the very least.
11160 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11161 esac
11162 enable_winex11_drv=${enable_winex11_drv:-no}
11164 else
11165 if test "x$X_LIBS" = "x"; then :
11166 case "x$with_x" in
11167 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11168 xno) ;;
11169 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11170 This is an error since --with-x was requested." "$LINENO" 5 ;;
11171 esac
11172 enable_winex11_drv=${enable_winex11_drv:-no}
11176 if test "$ac_cv_header_CL_cl_h" = "yes"
11177 then
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11179 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11180 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11181 $as_echo_n "(cached) " >&6
11182 else
11183 ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-lOpenCL $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11191 #ifdef __cplusplus
11192 extern "C"
11193 #endif
11194 char clGetPlatformInfo ();
11196 main ()
11198 return clGetPlatformInfo ();
11200 return 0;
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11205 else
11206 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11213 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11214 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11215 OPENCL_LIBS="-lOpenCL"
11220 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11221 case "x$with_opencl" in
11222 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11223 xno) ;;
11224 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11225 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11226 esac
11227 enable_opencl=${enable_opencl:-no}
11230 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11231 then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11233 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11234 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-lpcap $LIBS"
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 char pcap_create ();
11250 main ()
11252 return pcap_create ();
11254 return 0;
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 ac_cv_lib_pcap_pcap_create=yes
11259 else
11260 ac_cv_lib_pcap_pcap_create=no
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11267 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11268 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11269 PCAP_LIBS="-lpcap"
11274 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11275 case "x$with_pcap" in
11276 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11277 xno) ;;
11278 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11279 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11280 esac
11281 enable_wpcap=${enable_wpcap:-no}
11285 if test "x$with_xml" != "xno"
11286 then
11287 if ${XML2_CFLAGS:+false} :; then :
11288 if ${PKG_CONFIG+:} false; then :
11289 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11292 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11293 if ${XML2_LIBS:+false} :; then :
11294 if ${PKG_CONFIG+:} false; then :
11295 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11298 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11299 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11300 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11301 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11302 ac_save_CPPFLAGS=$CPPFLAGS
11303 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11304 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11305 do :
11306 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11307 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11308 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11309 cat >>confdefs.h <<_ACEOF
11310 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11311 _ACEOF
11315 done
11317 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"
11318 then
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11320 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11321 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11322 $as_echo_n "(cached) " >&6
11323 else
11324 ac_check_lib_save_LIBS=$LIBS
11325 LIBS="-lxml2 $XML2_LIBS $LIBS"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11332 #ifdef __cplusplus
11333 extern "C"
11334 #endif
11335 char xmlParseMemory ();
11337 main ()
11339 return xmlParseMemory ();
11341 return 0;
11343 _ACEOF
11344 if ac_fn_c_try_link "$LINENO"; then :
11345 ac_cv_lib_xml2_xmlParseMemory=yes
11346 else
11347 ac_cv_lib_xml2_xmlParseMemory=no
11349 rm -f core conftest.err conftest.$ac_objext \
11350 conftest$ac_exeext conftest.$ac_ext
11351 LIBS=$ac_check_lib_save_LIBS
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11354 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11355 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11357 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11359 else
11360 XML2_LIBS=""
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11364 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11365 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11366 $as_echo_n "(cached) " >&6
11367 else
11368 ac_check_lib_save_LIBS=$LIBS
11369 LIBS="-lxml2 $XML2_LIBS $LIBS"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char xmlReadMemory ();
11381 main ()
11383 return xmlReadMemory ();
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_xml2_xmlReadMemory=yes
11390 else
11391 ac_cv_lib_xml2_xmlReadMemory=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11398 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11399 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11401 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11406 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11407 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11408 $as_echo_n "(cached) " >&6
11409 else
11410 ac_check_lib_save_LIBS=$LIBS
11411 LIBS="-lxml2 $XML2_LIBS $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char xmlNewDocPI ();
11423 main ()
11425 return xmlNewDocPI ();
11427 return 0;
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_xml2_xmlNewDocPI=yes
11432 else
11433 ac_cv_lib_xml2_xmlNewDocPI=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11440 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11441 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11443 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11448 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11449 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11450 $as_echo_n "(cached) " >&6
11451 else
11452 ac_check_lib_save_LIBS=$LIBS
11453 LIBS="-lxml2 $XML2_LIBS $LIBS"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11457 /* Override any GCC internal prototype to avoid an error.
11458 Use char because int might match the return type of a GCC
11459 builtin and then its argument prototype would still apply. */
11460 #ifdef __cplusplus
11461 extern "C"
11462 #endif
11463 char xmlSchemaSetParserStructuredErrors ();
11465 main ()
11467 return xmlSchemaSetParserStructuredErrors ();
11469 return 0;
11471 _ACEOF
11472 if ac_fn_c_try_link "$LINENO"; then :
11473 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11474 else
11475 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11477 rm -f core conftest.err conftest.$ac_objext \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_lib_save_LIBS
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11482 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11483 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11485 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11490 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11491 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11492 $as_echo_n "(cached) " >&6
11493 else
11494 ac_check_lib_save_LIBS=$LIBS
11495 LIBS="-lxml2 $XML2_LIBS $LIBS"
11496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11497 /* end confdefs.h. */
11499 /* Override any GCC internal prototype to avoid an error.
11500 Use char because int might match the return type of a GCC
11501 builtin and then its argument prototype would still apply. */
11502 #ifdef __cplusplus
11503 extern "C"
11504 #endif
11505 char xmlSchemaSetValidStructuredErrors ();
11507 main ()
11509 return xmlSchemaSetValidStructuredErrors ();
11511 return 0;
11513 _ACEOF
11514 if ac_fn_c_try_link "$LINENO"; then :
11515 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11516 else
11517 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11519 rm -f core conftest.err conftest.$ac_objext \
11520 conftest$ac_exeext conftest.$ac_ext
11521 LIBS=$ac_check_lib_save_LIBS
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11524 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11525 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11527 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11532 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11533 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11534 $as_echo_n "(cached) " >&6
11535 else
11536 ac_check_lib_save_LIBS=$LIBS
11537 LIBS="-lxml2 $XML2_LIBS $LIBS"
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11544 #ifdef __cplusplus
11545 extern "C"
11546 #endif
11547 char xmlFirstElementChild ();
11549 main ()
11551 return xmlFirstElementChild ();
11553 return 0;
11555 _ACEOF
11556 if ac_fn_c_try_link "$LINENO"; then :
11557 ac_cv_lib_xml2_xmlFirstElementChild=yes
11558 else
11559 ac_cv_lib_xml2_xmlFirstElementChild=no
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_lib_save_LIBS
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11566 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11567 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11569 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11573 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11575 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11577 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11581 else
11582 XML2_CFLAGS=""
11583 XML2_LIBS=""
11585 CPPFLAGS=$ac_save_CPPFLAGS
11586 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11587 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11590 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11591 case "x$with_xml" in
11592 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11593 xno) ;;
11594 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11595 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11596 esac
11600 if test "x$with_xslt" != "xno"
11601 then
11602 if ${XSLT_CFLAGS:+false} :; then :
11603 if ${PKG_CONFIG+:} false; then :
11604 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11607 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11608 if ${XSLT_LIBS:+false} :; then :
11609 if ${PKG_CONFIG+:} false; then :
11610 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11613 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11614 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11615 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11616 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11617 ac_save_CPPFLAGS=$CPPFLAGS
11618 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11619 for ac_header in libxslt/pattern.h libxslt/transform.h
11620 do :
11621 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11622 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11623 # include <libxslt/pattern.h>
11624 #endif
11626 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11627 cat >>confdefs.h <<_ACEOF
11628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11629 _ACEOF
11633 done
11635 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11636 then
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11638 $as_echo_n "checking for -lxslt... " >&6; }
11639 if ${ac_cv_lib_soname_xslt+:} false; then :
11640 $as_echo_n "(cached) " >&6
11641 else
11642 ac_check_soname_save_LIBS=$LIBS
11643 LIBS="-lxslt $XSLT_LIBS $LIBS"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11650 #ifdef __cplusplus
11651 extern "C"
11652 #endif
11653 char xsltCompilePattern ();
11655 main ()
11657 return xsltCompilePattern ();
11659 return 0;
11661 _ACEOF
11662 if ac_fn_c_try_link "$LINENO"; then :
11663 case "$LIBEXT" in
11664 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11665 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'` ;;
11666 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11667 if ${ac_cv_lib_soname_xslt:+false} :; then :
11668 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11669 fi ;;
11670 esac
11672 rm -f core conftest.err conftest.$ac_objext \
11673 conftest$ac_exeext conftest.$ac_ext
11674 LIBS=$ac_check_soname_save_LIBS
11676 if ${ac_cv_lib_soname_xslt:+false} :; then :
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11678 $as_echo "not found" >&6; }
11680 else
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11682 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11684 cat >>confdefs.h <<_ACEOF
11685 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11686 _ACEOF
11690 else
11691 XSLT_CFLAGS=""
11693 CPPFLAGS=$ac_save_CPPFLAGS
11694 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11695 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11698 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11699 case "x$with_xslt" in
11700 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11701 xno) ;;
11702 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11703 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11704 esac
11708 if test "x$with_dbus" != "xno"
11709 then
11710 if ${DBUS_CFLAGS:+false} :; then :
11711 if ${PKG_CONFIG+:} false; then :
11712 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11716 if ${DBUS_LIBS:+false} :; then :
11717 if ${PKG_CONFIG+:} false; then :
11718 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11723 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11724 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11725 ac_save_CPPFLAGS=$CPPFLAGS
11726 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11727 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11728 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11730 $as_echo_n "checking for -ldbus-1... " >&6; }
11731 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11732 $as_echo_n "(cached) " >&6
11733 else
11734 ac_check_soname_save_LIBS=$LIBS
11735 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11739 /* Override any GCC internal prototype to avoid an error.
11740 Use char because int might match the return type of a GCC
11741 builtin and then its argument prototype would still apply. */
11742 #ifdef __cplusplus
11743 extern "C"
11744 #endif
11745 char dbus_connection_close ();
11747 main ()
11749 return dbus_connection_close ();
11751 return 0;
11753 _ACEOF
11754 if ac_fn_c_try_link "$LINENO"; then :
11755 case "$LIBEXT" in
11756 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11757 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'` ;;
11758 *) 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'`
11759 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11760 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11761 fi ;;
11762 esac
11764 rm -f core conftest.err conftest.$ac_objext \
11765 conftest$ac_exeext conftest.$ac_ext
11766 LIBS=$ac_check_soname_save_LIBS
11768 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11770 $as_echo "not found" >&6; }
11771 DBUS_CFLAGS=""
11772 else
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11774 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11776 cat >>confdefs.h <<_ACEOF
11777 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11778 _ACEOF
11782 else
11783 DBUS_CFLAGS=""
11787 CPPFLAGS=$ac_save_CPPFLAGS
11788 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11789 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11792 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11793 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11794 case "x$with_dbus" in
11795 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11796 xno) ;;
11797 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11798 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11799 esac
11803 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11804 then
11805 if ${HAL_CFLAGS:+false} :; then :
11806 if ${PKG_CONFIG+:} false; then :
11807 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11811 if ${HAL_LIBS:+false} :; then :
11812 if ${PKG_CONFIG+:} false; then :
11813 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11817 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11818 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11819 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11820 ac_save_CPPFLAGS=$CPPFLAGS
11821 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11822 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11823 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11825 $as_echo_n "checking for -lhal... " >&6; }
11826 if ${ac_cv_lib_soname_hal+:} false; then :
11827 $as_echo_n "(cached) " >&6
11828 else
11829 ac_check_soname_save_LIBS=$LIBS
11830 LIBS="-lhal $HAL_LIBS $LIBS"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11837 #ifdef __cplusplus
11838 extern "C"
11839 #endif
11840 char libhal_ctx_new ();
11842 main ()
11844 return libhal_ctx_new ();
11846 return 0;
11848 _ACEOF
11849 if ac_fn_c_try_link "$LINENO"; then :
11850 case "$LIBEXT" in
11851 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11852 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'` ;;
11853 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11854 if ${ac_cv_lib_soname_hal:+false} :; then :
11855 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11856 fi ;;
11857 esac
11859 rm -f core conftest.err conftest.$ac_objext \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_soname_save_LIBS
11863 if ${ac_cv_lib_soname_hal:+false} :; then :
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11865 $as_echo "not found" >&6; }
11866 HAL_CFLAGS=""
11867 else
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11869 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11871 cat >>confdefs.h <<_ACEOF
11872 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11873 _ACEOF
11877 else
11878 HAL_CFLAGS=""
11882 CPPFLAGS=$ac_save_CPPFLAGS
11883 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11884 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11886 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11887 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11888 case "x$with_hal" in
11889 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11890 xno) ;;
11891 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11892 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11893 esac
11898 if test "x$with_gnutls" != "xno"
11899 then
11900 if ${GNUTLS_CFLAGS:+false} :; then :
11901 if ${PKG_CONFIG+:} false; then :
11902 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11906 if ${GNUTLS_LIBS:+false} :; then :
11907 if ${PKG_CONFIG+:} false; then :
11908 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11913 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11914 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11915 ac_save_CPPFLAGS=$CPPFLAGS
11916 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11917 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11918 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11921 #include <gnutls/gnutls.h>
11922 #include <gnutls/crypto.h>
11924 main ()
11926 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11928 return 0;
11930 _ACEOF
11931 if ac_fn_c_try_compile "$LINENO"; then :
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11933 $as_echo_n "checking for -lgnutls... " >&6; }
11934 if ${ac_cv_lib_soname_gnutls+:} false; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937 ac_check_soname_save_LIBS=$LIBS
11938 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11942 /* Override any GCC internal prototype to avoid an error.
11943 Use char because int might match the return type of a GCC
11944 builtin and then its argument prototype would still apply. */
11945 #ifdef __cplusplus
11946 extern "C"
11947 #endif
11948 char gnutls_global_init ();
11950 main ()
11952 return gnutls_global_init ();
11954 return 0;
11956 _ACEOF
11957 if ac_fn_c_try_link "$LINENO"; then :
11958 case "$LIBEXT" in
11959 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11960 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'` ;;
11961 *) 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'`
11962 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11963 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'`
11964 fi ;;
11965 esac
11967 rm -f core conftest.err conftest.$ac_objext \
11968 conftest$ac_exeext conftest.$ac_ext
11969 LIBS=$ac_check_soname_save_LIBS
11971 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11973 $as_echo "not found" >&6; }
11974 GNUTLS_CFLAGS=""
11975 else
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11977 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11979 cat >>confdefs.h <<_ACEOF
11980 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11981 _ACEOF
11985 ac_wine_check_funcs_save_LIBS="$LIBS"
11986 LIBS="$LIBS $GNUTLS_LIBS"
11987 for ac_func in gnutls_cipher_init
11988 do :
11989 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11990 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11991 cat >>confdefs.h <<_ACEOF
11992 #define HAVE_GNUTLS_CIPHER_INIT 1
11993 _ACEOF
11995 else
11996 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11998 done
12000 LIBS="$ac_wine_check_funcs_save_LIBS"
12002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12003 else
12004 GNUTLS_CFLAGS=""
12008 CPPFLAGS=$ac_save_CPPFLAGS
12009 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12010 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12013 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12014 case "x$with_gnutls" in
12015 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12016 xno) ;;
12017 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12018 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12019 esac
12023 CURSES_LIBS=""
12024 if test "$ac_cv_header_ncurses_h" = "yes"
12025 then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12027 $as_echo_n "checking for -lncurses... " >&6; }
12028 if ${ac_cv_lib_soname_ncurses+:} false; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 ac_check_soname_save_LIBS=$LIBS
12032 LIBS="-lncurses $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 #ifdef __cplusplus
12040 extern "C"
12041 #endif
12042 char waddch ();
12044 main ()
12046 return waddch ();
12048 return 0;
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 case "$LIBEXT" in
12053 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12054 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'` ;;
12055 *) 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'`
12056 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12057 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12058 fi ;;
12059 esac
12061 rm -f core conftest.err conftest.$ac_objext \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_soname_save_LIBS
12065 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12067 $as_echo "not found" >&6; }
12069 else
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12071 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12073 cat >>confdefs.h <<_ACEOF
12074 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12075 _ACEOF
12077 CURSES_LIBS="-lncurses"
12079 elif test "$ac_cv_header_curses_h" = "yes"
12080 then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12082 $as_echo_n "checking for -lcurses... " >&6; }
12083 if ${ac_cv_lib_soname_curses+:} false; then :
12084 $as_echo_n "(cached) " >&6
12085 else
12086 ac_check_soname_save_LIBS=$LIBS
12087 LIBS="-lcurses $LIBS"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char waddch ();
12099 main ()
12101 return waddch ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 case "$LIBEXT" in
12108 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12109 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'` ;;
12110 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12111 if ${ac_cv_lib_soname_curses:+false} :; then :
12112 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12113 fi ;;
12114 esac
12116 rm -f core conftest.err conftest.$ac_objext \
12117 conftest$ac_exeext conftest.$ac_ext
12118 LIBS=$ac_check_soname_save_LIBS
12120 if ${ac_cv_lib_soname_curses:+false} :; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12122 $as_echo "not found" >&6; }
12124 else
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12126 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12128 cat >>confdefs.h <<_ACEOF
12129 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12130 _ACEOF
12132 CURSES_LIBS="-lcurses"
12135 ac_save_LIBS="$LIBS"
12136 LIBS="$LIBS $CURSES_LIBS"
12137 for ac_func in mousemask
12138 do :
12139 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12140 if test "x$ac_cv_func_mousemask" = xyes; then :
12141 cat >>confdefs.h <<_ACEOF
12142 #define HAVE_MOUSEMASK 1
12143 _ACEOF
12146 done
12148 LIBS="$ac_save_LIBS"
12149 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12150 case "x$with_curses" in
12151 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12152 xno) ;;
12153 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12154 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12155 esac
12159 if test "x$with_sane" != "xno"
12160 then
12161 if ${SANE_CFLAGS:+false} :; then :
12162 if ${PKG_CONFIG+:} false; then :
12163 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12166 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12167 if ${SANE_LIBS:+false} :; then :
12168 if ${PKG_CONFIG+:} false; then :
12169 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12172 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12174 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12175 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12176 ac_save_CPPFLAGS=$CPPFLAGS
12177 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12178 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12179 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12181 $as_echo_n "checking for -lsane... " >&6; }
12182 if ${ac_cv_lib_soname_sane+:} false; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 ac_check_soname_save_LIBS=$LIBS
12186 LIBS="-lsane $SANE_LIBS $LIBS"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12193 #ifdef __cplusplus
12194 extern "C"
12195 #endif
12196 char sane_init ();
12198 main ()
12200 return sane_init ();
12202 return 0;
12204 _ACEOF
12205 if ac_fn_c_try_link "$LINENO"; then :
12206 case "$LIBEXT" in
12207 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12208 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'` ;;
12209 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12210 if ${ac_cv_lib_soname_sane:+false} :; then :
12211 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12212 fi ;;
12213 esac
12215 rm -f core conftest.err conftest.$ac_objext \
12216 conftest$ac_exeext conftest.$ac_ext
12217 LIBS=$ac_check_soname_save_LIBS
12219 if ${ac_cv_lib_soname_sane:+false} :; then :
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12221 $as_echo "not found" >&6; }
12222 SANE_CFLAGS=""
12223 else
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12225 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12227 cat >>confdefs.h <<_ACEOF
12228 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12229 _ACEOF
12233 else
12234 SANE_CFLAGS=""
12238 CPPFLAGS=$ac_save_CPPFLAGS
12239 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12240 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12243 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12244 case "x$with_sane" in
12245 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12246 xno) ;;
12247 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12248 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12249 esac
12253 if test "x$with_v4l" != "xno"
12254 then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12256 $as_echo_n "checking for -lv4l1... " >&6; }
12257 if ${ac_cv_lib_soname_v4l1+:} false; then :
12258 $as_echo_n "(cached) " >&6
12259 else
12260 ac_check_soname_save_LIBS=$LIBS
12261 LIBS="-lv4l1 $LIBS"
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12268 #ifdef __cplusplus
12269 extern "C"
12270 #endif
12271 char v4l1_open ();
12273 main ()
12275 return v4l1_open ();
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_link "$LINENO"; then :
12281 case "$LIBEXT" in
12282 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12283 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'` ;;
12284 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12285 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12286 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12287 fi ;;
12288 esac
12290 rm -f core conftest.err conftest.$ac_objext \
12291 conftest$ac_exeext conftest.$ac_ext
12292 LIBS=$ac_check_soname_save_LIBS
12294 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12296 $as_echo "not found" >&6; }
12298 else
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12300 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12302 cat >>confdefs.h <<_ACEOF
12303 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12304 _ACEOF
12309 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12310 case "x$with_v4l" in
12311 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12312 xno) ;;
12313 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12314 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12315 esac
12319 if test "x$with_gphoto" != "xno"
12320 then
12321 if ${GPHOTO2_CFLAGS:+false} :; then :
12322 if ${PKG_CONFIG+:} false; then :
12323 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12326 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12327 if ${GPHOTO2_LIBS:+false} :; then :
12328 if ${PKG_CONFIG+:} false; then :
12329 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12332 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12333 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12334 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12335 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12336 ac_save_CPPFLAGS=$CPPFLAGS
12337 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12338 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12339 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12341 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12342 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12343 $as_echo_n "(cached) " >&6
12344 else
12345 ac_check_lib_save_LIBS=$LIBS
12346 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12350 /* Override any GCC internal prototype to avoid an error.
12351 Use char because int might match the return type of a GCC
12352 builtin and then its argument prototype would still apply. */
12353 #ifdef __cplusplus
12354 extern "C"
12355 #endif
12356 char gp_camera_new ();
12358 main ()
12360 return gp_camera_new ();
12362 return 0;
12364 _ACEOF
12365 if ac_fn_c_try_link "$LINENO"; then :
12366 ac_cv_lib_gphoto2_gp_camera_new=yes
12367 else
12368 ac_cv_lib_gphoto2_gp_camera_new=no
12370 rm -f core conftest.err conftest.$ac_objext \
12371 conftest$ac_exeext conftest.$ac_ext
12372 LIBS=$ac_check_lib_save_LIBS
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12375 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12376 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12378 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12380 else
12381 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12384 else
12385 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12389 CPPFLAGS=$ac_save_CPPFLAGS
12390 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12391 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12393 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12394 if ${PKG_CONFIG+:} false; then :
12395 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12398 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12399 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12400 if ${PKG_CONFIG+:} false; then :
12401 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12404 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12405 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12406 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12407 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12408 ac_save_CPPFLAGS=$CPPFLAGS
12409 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12410 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12411 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12413 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12414 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 ac_check_lib_save_LIBS=$LIBS
12418 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12425 #ifdef __cplusplus
12426 extern "C"
12427 #endif
12428 char gp_port_info_list_new ();
12430 main ()
12432 return gp_port_info_list_new ();
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_link "$LINENO"; then :
12438 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12439 else
12440 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12442 rm -f core conftest.err conftest.$ac_objext \
12443 conftest$ac_exeext conftest.$ac_ext
12444 LIBS=$ac_check_lib_save_LIBS
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12447 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12448 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12450 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12452 else
12453 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12456 else
12457 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12461 CPPFLAGS=$ac_save_CPPFLAGS
12462 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12463 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12466 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12467 case "x$with_gphoto" in
12468 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12469 xno) ;;
12470 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12471 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12472 esac
12475 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12476 case "x$with_gphoto" in
12477 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12478 xno) ;;
12479 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12480 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12481 esac
12486 if test "$ac_cv_header_resolv_h" = "yes"
12487 then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12489 $as_echo_n "checking for resolver library... " >&6; }
12490 if ${ac_cv_have_resolv+:} false; then :
12491 $as_echo_n "(cached) " >&6
12492 else
12493 ac_save_LIBS="$LIBS"
12494 for lib in '' -lresolv
12496 LIBS="$lib $ac_save_LIBS"
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12499 #ifdef HAVE_NETINET_IN_H
12500 #include <netinet/in.h>
12501 #endif
12502 #include <resolv.h>
12504 main ()
12506 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12508 return 0;
12510 _ACEOF
12511 if ac_fn_c_try_link "$LINENO"; then :
12512 ac_cv_have_resolv=${lib:-"none required"}
12513 else
12514 ac_cv_have_resolv="not found"
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 test "x$ac_cv_have_resolv" = "xnot found" || break
12519 done
12520 LIBS="$ac_save_LIBS"
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12523 $as_echo "$ac_cv_have_resolv" >&6; }
12525 case "$ac_cv_have_resolv" in
12526 "not found") ;;
12527 "none required")
12529 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12532 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12534 RESOLV_LIBS=$ac_cv_have_resolv
12536 esac
12539 if test "x$with_cms" != "xno"
12540 then
12541 if ${LCMS2_CFLAGS:+false} :; then :
12542 if ${PKG_CONFIG+:} false; then :
12543 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12547 if ${LCMS2_LIBS:+false} :; then :
12548 if ${PKG_CONFIG+:} false; then :
12549 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12553 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12554 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12555 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12556 ac_save_CPPFLAGS=$CPPFLAGS
12557 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12558 for ac_header in lcms2.h
12559 do :
12560 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12561 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12562 cat >>confdefs.h <<_ACEOF
12563 #define HAVE_LCMS2_H 1
12564 _ACEOF
12568 done
12570 if test "$ac_cv_header_lcms2_h" = "yes"
12571 then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12573 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12574 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12575 $as_echo_n "(cached) " >&6
12576 else
12577 ac_check_lib_save_LIBS=$LIBS
12578 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12585 #ifdef __cplusplus
12586 extern "C"
12587 #endif
12588 char cmsOpenProfileFromFile ();
12590 main ()
12592 return cmsOpenProfileFromFile ();
12594 return 0;
12596 _ACEOF
12597 if ac_fn_c_try_link "$LINENO"; then :
12598 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12599 else
12600 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12602 rm -f core conftest.err conftest.$ac_objext \
12603 conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_lib_save_LIBS
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12607 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12608 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12610 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12612 else
12613 LCMS2_LIBS=""
12616 else
12617 LCMS2_CFLAGS=""
12618 LCMS2_LIBS=""
12620 CPPFLAGS=$ac_save_CPPFLAGS
12621 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12622 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12625 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12626 case "x$with_cms" in
12627 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12628 xno) ;;
12629 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12630 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12631 esac
12635 if test "x$with_freetype" != "xno"
12636 then
12637 if ${FREETYPE_CFLAGS:+false} :; then :
12638 if ${PKG_CONFIG+:} false; then :
12639 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12642 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12643 if ${FREETYPE_LIBS:+false} :; then :
12644 if ${PKG_CONFIG+:} false; then :
12645 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12648 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12649 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12650 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12651 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12652 ac_save_CPPFLAGS=$CPPFLAGS
12653 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12654 for ac_header in ft2build.h
12655 do :
12656 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12657 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12658 cat >>confdefs.h <<_ACEOF
12659 #define HAVE_FT2BUILD_H 1
12660 _ACEOF
12664 done
12666 if test "$ac_cv_header_ft2build_h" = "yes"
12667 then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12669 $as_echo_n "checking for -lfreetype... " >&6; }
12670 if ${ac_cv_lib_soname_freetype+:} false; then :
12671 $as_echo_n "(cached) " >&6
12672 else
12673 ac_check_soname_save_LIBS=$LIBS
12674 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12676 /* end confdefs.h. */
12678 /* Override any GCC internal prototype to avoid an error.
12679 Use char because int might match the return type of a GCC
12680 builtin and then its argument prototype would still apply. */
12681 #ifdef __cplusplus
12682 extern "C"
12683 #endif
12684 char FT_Init_FreeType ();
12686 main ()
12688 return FT_Init_FreeType ();
12690 return 0;
12692 _ACEOF
12693 if ac_fn_c_try_link "$LINENO"; then :
12694 case "$LIBEXT" in
12695 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12696 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'` ;;
12697 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12698 if ${ac_cv_lib_soname_freetype:+false} :; then :
12699 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12700 fi ;;
12701 esac
12703 rm -f core conftest.err conftest.$ac_objext \
12704 conftest$ac_exeext conftest.$ac_ext
12705 LIBS=$ac_check_soname_save_LIBS
12707 if ${ac_cv_lib_soname_freetype:+false} :; then :
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12709 $as_echo "not found" >&6; }
12710 FREETYPE_LIBS=""
12711 else
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12713 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12715 cat >>confdefs.h <<_ACEOF
12716 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12717 _ACEOF
12720 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12722 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12723 #include FT_MODULE_H
12725 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12727 cat >>confdefs.h <<_ACEOF
12728 #define HAVE_FT_TRUETYPEENGINETYPE 1
12729 _ACEOF
12735 else
12736 FREETYPE_CFLAGS=""
12737 FREETYPE_LIBS=""
12739 CPPFLAGS=$ac_save_CPPFLAGS
12740 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12741 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12744 if test "x$ac_cv_lib_soname_freetype" = x; then :
12745 case "x$with_freetype" in
12746 xno) ;;
12747 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12748 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12749 esac
12750 enable_fonts=${enable_fonts:-no}
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12754 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12755 if ${ac_cv_c_ppdev+:} false; then :
12756 $as_echo_n "(cached) " >&6
12757 else
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12760 #ifdef HAVE_SYS_IOCTL_H
12761 # include <sys/ioctl.h>
12762 #endif
12763 #include <linux/ppdev.h>
12765 main ()
12767 ioctl (1,PPCLAIM,0)
12769 return 0;
12771 _ACEOF
12772 if ac_fn_c_try_compile "$LINENO"; then :
12773 ac_cv_c_ppdev="yes"
12774 else
12775 ac_cv_c_ppdev="no"
12777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12780 $as_echo "$ac_cv_c_ppdev" >&6; }
12781 if test "$ac_cv_c_ppdev" = "yes"
12782 then
12784 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12788 ac_wine_check_funcs_save_LIBS="$LIBS"
12789 LIBS="$LIBS $PTHREAD_LIBS"
12790 for ac_func in \
12791 pthread_attr_get_np \
12792 pthread_getattr_np \
12793 pthread_getthreadid_np \
12794 pthread_get_stackaddr_np \
12795 pthread_get_stacksize_np
12796 do :
12797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12799 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12800 cat >>confdefs.h <<_ACEOF
12801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12802 _ACEOF
12805 done
12807 LIBS="$ac_wine_check_funcs_save_LIBS"
12809 if test "$ac_cv_header_zlib_h" = "yes"
12810 then
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12812 $as_echo_n "checking for inflate in -lz... " >&6; }
12813 if ${ac_cv_lib_z_inflate+:} false; then :
12814 $as_echo_n "(cached) " >&6
12815 else
12816 ac_check_lib_save_LIBS=$LIBS
12817 LIBS="-lz $LIBS"
12818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12821 /* Override any GCC internal prototype to avoid an error.
12822 Use char because int might match the return type of a GCC
12823 builtin and then its argument prototype would still apply. */
12824 #ifdef __cplusplus
12825 extern "C"
12826 #endif
12827 char inflate ();
12829 main ()
12831 return inflate ();
12833 return 0;
12835 _ACEOF
12836 if ac_fn_c_try_link "$LINENO"; then :
12837 ac_cv_lib_z_inflate=yes
12838 else
12839 ac_cv_lib_z_inflate=no
12841 rm -f core conftest.err conftest.$ac_objext \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_lib_save_LIBS
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12846 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12847 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12849 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12851 Z_LIBS="-lz"
12856 if test "x$Z_LIBS" = "x"; then :
12857 case "x$with_zlib" in
12858 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12859 xno) ;;
12860 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12861 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12862 esac
12866 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12867 then
12868 if test "$ac_cv_header_gettext_po_h" = "yes"
12869 then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12871 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12872 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12873 $as_echo_n "(cached) " >&6
12874 else
12875 ac_check_lib_save_LIBS=$LIBS
12876 LIBS="-lgettextpo $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12883 #ifdef __cplusplus
12884 extern "C"
12885 #endif
12886 char po_message_msgctxt ();
12888 main ()
12890 return po_message_msgctxt ();
12892 return 0;
12894 _ACEOF
12895 if ac_fn_c_try_link "$LINENO"; then :
12896 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12897 else
12898 ac_cv_lib_gettextpo_po_message_msgctxt=no
12900 rm -f core conftest.err conftest.$ac_objext \
12901 conftest$ac_exeext conftest.$ac_ext
12902 LIBS=$ac_check_lib_save_LIBS
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12905 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12906 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12908 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12910 GETTEXTPO_LIBS="-lgettextpo"
12915 if test "x$GETTEXTPO_LIBS" = "x"; then :
12916 case "x$with_gettextpo" in
12917 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12918 xno) ;;
12919 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12920 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12921 esac
12924 if test "$srcdir" != .; then :
12925 case "x$with_gettextpo" in
12926 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12927 xno) ;;
12928 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12929 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12930 esac
12935 if test "x$with_pulse" != "xno";
12936 then
12937 if ${PULSE_CFLAGS:+false} :; then :
12938 if ${PKG_CONFIG+:} false; then :
12939 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12943 if ${PULSE_LIBS:+false} :; then :
12944 if ${PKG_CONFIG+:} false; then :
12945 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12950 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12951 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12952 ac_save_CPPFLAGS=$CPPFLAGS
12953 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12954 for ac_header in pulse/pulseaudio.h
12955 do :
12956 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12957 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12958 cat >>confdefs.h <<_ACEOF
12959 #define HAVE_PULSE_PULSEAUDIO_H 1
12960 _ACEOF
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12962 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12963 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12964 $as_echo_n "(cached) " >&6
12965 else
12966 ac_check_lib_save_LIBS=$LIBS
12967 LIBS="-lpulse $PULSE_LIBS $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 #ifdef __cplusplus
12975 extern "C"
12976 #endif
12977 char pa_stream_is_corked ();
12979 main ()
12981 return pa_stream_is_corked ();
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_link "$LINENO"; then :
12987 ac_cv_lib_pulse_pa_stream_is_corked=yes
12988 else
12989 ac_cv_lib_pulse_pa_stream_is_corked=no
12991 rm -f core conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12993 LIBS=$ac_check_lib_save_LIBS
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12996 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12997 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12999 else
13000 PULSE_LIBS=""
13003 else
13004 PULSE_LIBS=""
13007 done
13009 CPPFLAGS=$ac_save_CPPFLAGS
13010 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13011 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13014 if test -z "$PULSE_LIBS"; then :
13015 case "x$with_pulse" in
13016 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13017 xno) ;;
13018 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13019 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13020 esac
13021 enable_winepulse_drv=${enable_winepulse_drv:-no}
13024 if test "x$with_gstreamer" != "xno"
13025 then
13026 if ${GSTREAMER_CFLAGS:+false} :; then :
13027 if ${PKG_CONFIG+:} false; then :
13028 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13032 if ${GSTREAMER_LIBS:+false} :; then :
13033 if ${PKG_CONFIG+:} false; then :
13034 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13039 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13040 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13041 ac_save_CPPFLAGS=$CPPFLAGS
13042 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13043 ac_gst_incl=""
13044 for i in $GSTREAMER_CFLAGS
13046 case "$i" in
13047 -I*) ac_gst_incl="$ac_gst_incl $i";;
13048 esac
13049 done
13050 GSTREAMER_CFLAGS=$ac_gst_incl
13051 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13052 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13053 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13055 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13058 #include <gst/gst.h>
13060 main ()
13062 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13064 return 0;
13066 _ACEOF
13067 if ac_fn_c_try_compile "$LINENO"; then :
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13069 $as_echo "yes" >&6; }
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13071 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13072 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13073 $as_echo_n "(cached) " >&6
13074 else
13075 ac_check_lib_save_LIBS=$LIBS
13076 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13078 /* end confdefs.h. */
13080 /* Override any GCC internal prototype to avoid an error.
13081 Use char because int might match the return type of a GCC
13082 builtin and then its argument prototype would still apply. */
13083 #ifdef __cplusplus
13084 extern "C"
13085 #endif
13086 char gst_pad_new ();
13088 main ()
13090 return gst_pad_new ();
13092 return 0;
13094 _ACEOF
13095 if ac_fn_c_try_link "$LINENO"; then :
13096 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13097 else
13098 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13100 rm -f core conftest.err conftest.$ac_objext \
13101 conftest$ac_exeext conftest.$ac_ext
13102 LIBS=$ac_check_lib_save_LIBS
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13105 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13106 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13110 else
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13112 $as_echo "no" >&6; }
13113 ac_glib2_broken=yes
13114 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13120 CPPFLAGS=$ac_save_CPPFLAGS
13121 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13122 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13125 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 :
13126 case "x$with_gstreamer" in
13127 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13128 xno) ;;
13129 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13130 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13131 esac
13134 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13136 ALSA_LIBS=""
13138 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13139 then
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13141 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13142 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13143 $as_echo_n "(cached) " >&6
13144 else
13145 ac_check_lib_save_LIBS=$LIBS
13146 LIBS="-lasound $LIBS"
13147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13153 #ifdef __cplusplus
13154 extern "C"
13155 #endif
13156 char snd_pcm_hw_params_get_access_mask ();
13158 main ()
13160 return snd_pcm_hw_params_get_access_mask ();
13162 return 0;
13164 _ACEOF
13165 if ac_fn_c_try_link "$LINENO"; then :
13166 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13167 else
13168 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13170 rm -f core conftest.err conftest.$ac_objext \
13171 conftest$ac_exeext conftest.$ac_ext
13172 LIBS=$ac_check_lib_save_LIBS
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13175 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13176 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13179 #ifdef HAVE_ALSA_ASOUNDLIB_H
13180 #include <alsa/asoundlib.h>
13181 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13182 #include <sys/asoundlib.h>
13183 #endif
13185 main ()
13187 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13189 return 0;
13191 _ACEOF
13192 if ac_fn_c_try_compile "$LINENO"; then :
13193 ALSA_LIBS="-lasound"
13195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13199 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13201 if test "x$with_oss" != xno
13202 then
13203 ac_save_CPPFLAGS="$CPPFLAGS"
13204 if test -f /etc/oss.conf
13205 then
13206 . /etc/oss.conf
13208 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13209 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13210 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13211 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13212 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13214 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13216 cat >>confdefs.h <<_ACEOF
13217 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13218 _ACEOF
13220 OSS4_CFLAGS="$ac_oss_incl"
13227 CPPFLAGS="$ac_save_CPPFLAGS"
13229 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13230 case "x$with_oss" in
13231 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13232 xno) ;;
13233 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13234 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13235 esac
13236 enable_wineoss_drv=${enable_wineoss_drv:-no}
13239 if test "x$with_udev" != "xno"
13240 then
13241 if ${UDEV_CFLAGS:+false} :; then :
13242 if ${PKG_CONFIG+:} false; then :
13243 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13247 if ${UDEV_LIBS:+false} :; then :
13248 if ${PKG_CONFIG+:} false; then :
13249 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13253 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13254 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13255 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13256 ac_save_CPPFLAGS=$CPPFLAGS
13257 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13258 for ac_header in libudev.h
13259 do :
13260 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13261 if test "x$ac_cv_header_libudev_h" = xyes; then :
13262 cat >>confdefs.h <<_ACEOF
13263 #define HAVE_LIBUDEV_H 1
13264 _ACEOF
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13266 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13267 if ${ac_cv_lib_udev_udev_new+:} false; then :
13268 $as_echo_n "(cached) " >&6
13269 else
13270 ac_check_lib_save_LIBS=$LIBS
13271 LIBS="-ludev $UDEV_LIBS $LIBS"
13272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13275 /* Override any GCC internal prototype to avoid an error.
13276 Use char because int might match the return type of a GCC
13277 builtin and then its argument prototype would still apply. */
13278 #ifdef __cplusplus
13279 extern "C"
13280 #endif
13281 char udev_new ();
13283 main ()
13285 return udev_new ();
13287 return 0;
13289 _ACEOF
13290 if ac_fn_c_try_link "$LINENO"; then :
13291 ac_cv_lib_udev_udev_new=yes
13292 else
13293 ac_cv_lib_udev_udev_new=no
13295 rm -f core conftest.err conftest.$ac_objext \
13296 conftest$ac_exeext conftest.$ac_ext
13297 LIBS=$ac_check_lib_save_LIBS
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13300 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13301 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13303 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13305 else
13306 UDEV_LIBS=""
13309 else
13310 UDEV_LIBS=""
13313 done
13315 CPPFLAGS=$ac_save_CPPFLAGS
13316 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13317 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13320 if test "x$UDEV_LIBS" = "x"; then :
13321 case "x$with_udev" in
13322 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13323 xno) ;;
13324 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13325 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13326 esac
13330 if test "x$with_capi" != "xno"
13331 then
13332 if ${CAPI20_CFLAGS:+false} :; then :
13333 if ${PKG_CONFIG+:} false; then :
13334 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13338 if ${CAPI20_LIBS:+false} :; then :
13339 if ${PKG_CONFIG+:} false; then :
13340 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13345 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13346 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13347 ac_save_CPPFLAGS=$CPPFLAGS
13348 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13349 for ac_header in capi20.h linux/capi.h
13350 do :
13351 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13352 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13354 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13355 cat >>confdefs.h <<_ACEOF
13356 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13357 _ACEOF
13361 done
13363 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13364 then
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13366 $as_echo_n "checking for -lcapi20... " >&6; }
13367 if ${ac_cv_lib_soname_capi20+:} false; then :
13368 $as_echo_n "(cached) " >&6
13369 else
13370 ac_check_soname_save_LIBS=$LIBS
13371 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13378 #ifdef __cplusplus
13379 extern "C"
13380 #endif
13381 char capi20_register ();
13383 main ()
13385 return capi20_register ();
13387 return 0;
13389 _ACEOF
13390 if ac_fn_c_try_link "$LINENO"; then :
13391 case "$LIBEXT" in
13392 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13393 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'` ;;
13394 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13395 if ${ac_cv_lib_soname_capi20:+false} :; then :
13396 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13397 fi ;;
13398 esac
13400 rm -f core conftest.err conftest.$ac_objext \
13401 conftest$ac_exeext conftest.$ac_ext
13402 LIBS=$ac_check_soname_save_LIBS
13404 if ${ac_cv_lib_soname_capi20:+false} :; then :
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13406 $as_echo "not found" >&6; }
13408 else
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13410 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13412 cat >>confdefs.h <<_ACEOF
13413 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13414 _ACEOF
13419 CPPFLAGS=$ac_save_CPPFLAGS
13420 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13421 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13424 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13425 case "x$with_capi" in
13426 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13427 xno) ;;
13428 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13429 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13430 esac
13434 CUPS_CFLAGS=""
13436 if test "x$with_cups" != "xno"
13437 then
13438 ac_save_CPPFLAGS="$CPPFLAGS"
13439 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13440 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13441 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13442 for ac_header in cups/cups.h
13443 do :
13444 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13445 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13446 cat >>confdefs.h <<_ACEOF
13447 #define HAVE_CUPS_CUPS_H 1
13448 _ACEOF
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13450 $as_echo_n "checking for -lcups... " >&6; }
13451 if ${ac_cv_lib_soname_cups+:} false; then :
13452 $as_echo_n "(cached) " >&6
13453 else
13454 ac_check_soname_save_LIBS=$LIBS
13455 LIBS="-lcups $ac_cups_libs $LIBS"
13456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13459 /* Override any GCC internal prototype to avoid an error.
13460 Use char because int might match the return type of a GCC
13461 builtin and then its argument prototype would still apply. */
13462 #ifdef __cplusplus
13463 extern "C"
13464 #endif
13465 char cupsGetDefault ();
13467 main ()
13469 return cupsGetDefault ();
13471 return 0;
13473 _ACEOF
13474 if ac_fn_c_try_link "$LINENO"; then :
13475 case "$LIBEXT" in
13476 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13477 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'` ;;
13478 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13479 if ${ac_cv_lib_soname_cups:+false} :; then :
13480 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13481 fi ;;
13482 esac
13484 rm -f core conftest.err conftest.$ac_objext \
13485 conftest$ac_exeext conftest.$ac_ext
13486 LIBS=$ac_check_soname_save_LIBS
13488 if ${ac_cv_lib_soname_cups:+false} :; then :
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13490 $as_echo "not found" >&6; }
13492 else
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13494 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13496 cat >>confdefs.h <<_ACEOF
13497 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13498 _ACEOF
13500 CUPS_CFLAGS="$ac_cups_cflags"
13502 for ac_header in cups/ppd.h
13503 do :
13504 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13505 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13506 cat >>confdefs.h <<_ACEOF
13507 #define HAVE_CUPS_PPD_H 1
13508 _ACEOF
13512 done
13516 done
13518 CPPFLAGS="$ac_save_CPPFLAGS"
13520 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13521 case "x$with_cups" in
13522 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13523 xno) ;;
13524 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13525 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13526 esac
13530 if test "x$with_fontconfig" != "xno"
13531 then
13532 if ${FONTCONFIG_CFLAGS:+false} :; then :
13533 if ${PKG_CONFIG+:} false; then :
13534 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13537 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13538 if ${FONTCONFIG_LIBS:+false} :; then :
13539 if ${PKG_CONFIG+:} false; then :
13540 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13543 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13545 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13546 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13547 ac_save_CPPFLAGS=$CPPFLAGS
13548 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13549 for ac_header in fontconfig/fontconfig.h
13550 do :
13551 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13552 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13553 cat >>confdefs.h <<_ACEOF
13554 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13555 _ACEOF
13559 done
13561 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13562 then
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13564 $as_echo_n "checking for -lfontconfig... " >&6; }
13565 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13566 $as_echo_n "(cached) " >&6
13567 else
13568 ac_check_soname_save_LIBS=$LIBS
13569 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13573 /* Override any GCC internal prototype to avoid an error.
13574 Use char because int might match the return type of a GCC
13575 builtin and then its argument prototype would still apply. */
13576 #ifdef __cplusplus
13577 extern "C"
13578 #endif
13579 char FcInit ();
13581 main ()
13583 return FcInit ();
13585 return 0;
13587 _ACEOF
13588 if ac_fn_c_try_link "$LINENO"; then :
13589 case "$LIBEXT" in
13590 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13591 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'` ;;
13592 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13593 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13594 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13595 fi ;;
13596 esac
13598 rm -f core conftest.err conftest.$ac_objext \
13599 conftest$ac_exeext conftest.$ac_ext
13600 LIBS=$ac_check_soname_save_LIBS
13602 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13604 $as_echo "not found" >&6; }
13605 FONTCONFIG_CFLAGS=""
13606 else
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13608 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13610 cat >>confdefs.h <<_ACEOF
13611 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13612 _ACEOF
13616 else
13617 FONTCONFIG_CFLAGS=""
13619 CPPFLAGS=$ac_save_CPPFLAGS
13620 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13621 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13624 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13625 case "x$with_fontconfig" in
13626 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13627 xno) ;;
13628 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13629 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13630 esac
13634 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13635 then
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13637 $as_echo_n "checking for -lgsm... " >&6; }
13638 if ${ac_cv_lib_soname_gsm+:} false; then :
13639 $as_echo_n "(cached) " >&6
13640 else
13641 ac_check_soname_save_LIBS=$LIBS
13642 LIBS="-lgsm $LIBS"
13643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13649 #ifdef __cplusplus
13650 extern "C"
13651 #endif
13652 char gsm_create ();
13654 main ()
13656 return gsm_create ();
13658 return 0;
13660 _ACEOF
13661 if ac_fn_c_try_link "$LINENO"; then :
13662 case "$LIBEXT" in
13663 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13664 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'` ;;
13665 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13666 if ${ac_cv_lib_soname_gsm:+false} :; then :
13667 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13668 fi ;;
13669 esac
13671 rm -f core conftest.err conftest.$ac_objext \
13672 conftest$ac_exeext conftest.$ac_ext
13673 LIBS=$ac_check_soname_save_LIBS
13675 if ${ac_cv_lib_soname_gsm:+false} :; then :
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13677 $as_echo "not found" >&6; }
13679 else
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13681 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13683 cat >>confdefs.h <<_ACEOF
13684 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13685 _ACEOF
13690 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13691 case "x$with_gsm" in
13692 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13693 xno) ;;
13694 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13695 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13696 esac
13700 if test "x$with_jpeg" != "xno"
13701 then
13702 if ${JPEG_CFLAGS:+false} :; then :
13703 if ${PKG_CONFIG+:} false; then :
13704 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13708 if ${JPEG_LIBS:+false} :; then :
13709 if ${PKG_CONFIG+:} false; then :
13710 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13715 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13716 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13717 ac_save_CPPFLAGS=$CPPFLAGS
13718 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13719 for ac_header in jpeglib.h
13720 do :
13721 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13722 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13723 cat >>confdefs.h <<_ACEOF
13724 #define HAVE_JPEGLIB_H 1
13725 _ACEOF
13729 done
13731 if test "$ac_cv_header_jpeglib_h" = "yes"
13732 then
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13734 $as_echo_n "checking for -ljpeg... " >&6; }
13735 if ${ac_cv_lib_soname_jpeg+:} false; then :
13736 $as_echo_n "(cached) " >&6
13737 else
13738 ac_check_soname_save_LIBS=$LIBS
13739 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13743 /* Override any GCC internal prototype to avoid an error.
13744 Use char because int might match the return type of a GCC
13745 builtin and then its argument prototype would still apply. */
13746 #ifdef __cplusplus
13747 extern "C"
13748 #endif
13749 char jpeg_start_decompress ();
13751 main ()
13753 return jpeg_start_decompress ();
13755 return 0;
13757 _ACEOF
13758 if ac_fn_c_try_link "$LINENO"; then :
13759 case "$LIBEXT" in
13760 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13761 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'` ;;
13762 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13763 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13764 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13765 fi ;;
13766 esac
13768 rm -f core conftest.err conftest.$ac_objext \
13769 conftest$ac_exeext conftest.$ac_ext
13770 LIBS=$ac_check_soname_save_LIBS
13772 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13774 $as_echo "not found" >&6; }
13775 JPEG_CFLAGS=""
13776 else
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13778 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13780 cat >>confdefs.h <<_ACEOF
13781 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13782 _ACEOF
13786 else
13787 JPEG_CFLAGS=""
13789 CPPFLAGS=$ac_save_CPPFLAGS
13790 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13791 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13794 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13795 case "x$with_jpeg" in
13796 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13797 xno) ;;
13798 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13799 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13800 esac
13804 if test "x$with_png" != "xno"
13805 then
13806 if ${PNG_CFLAGS:+false} :; then :
13807 if ${PKG_CONFIG+:} false; then :
13808 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13811 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13812 if ${PNG_LIBS:+false} :; then :
13813 if ${PKG_CONFIG+:} false; then :
13814 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13817 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13819 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13820 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13821 ac_save_CPPFLAGS=$CPPFLAGS
13822 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13823 for ac_header in png.h
13824 do :
13825 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13826 if test "x$ac_cv_header_png_h" = xyes; then :
13827 cat >>confdefs.h <<_ACEOF
13828 #define HAVE_PNG_H 1
13829 _ACEOF
13833 done
13835 if test "$ac_cv_header_png_h" = "yes"
13836 then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13838 $as_echo_n "checking for -lpng... " >&6; }
13839 if ${ac_cv_lib_soname_png+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_check_soname_save_LIBS=$LIBS
13843 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 #ifdef __cplusplus
13851 extern "C"
13852 #endif
13853 char png_create_read_struct ();
13855 main ()
13857 return png_create_read_struct ();
13859 return 0;
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 case "$LIBEXT" in
13864 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13865 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'` ;;
13866 *) 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'`
13867 if ${ac_cv_lib_soname_png:+false} :; then :
13868 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13869 fi ;;
13870 esac
13872 rm -f core conftest.err conftest.$ac_objext \
13873 conftest$ac_exeext conftest.$ac_ext
13874 LIBS=$ac_check_soname_save_LIBS
13876 if ${ac_cv_lib_soname_png:+false} :; then :
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13878 $as_echo "not found" >&6; }
13879 PNG_CFLAGS=""
13880 else
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13882 $as_echo "$ac_cv_lib_soname_png" >&6; }
13884 cat >>confdefs.h <<_ACEOF
13885 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13886 _ACEOF
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13890 #include <png.h>
13892 main ()
13894 typeof(png_set_expand_gray_1_2_4_to_8) *p
13896 return 0;
13898 _ACEOF
13899 if ac_fn_c_try_compile "$LINENO"; then :
13901 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13906 else
13907 PNG_CFLAGS=""
13909 CPPFLAGS=$ac_save_CPPFLAGS
13910 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13911 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13914 if test "x$ac_cv_lib_soname_png" = "x"; then :
13915 case "x$with_png" in
13916 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13917 xno) ;;
13918 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13919 This is an error since --with-png was requested." "$LINENO" 5 ;;
13920 esac
13924 if test "x$with_tiff" != "xno"
13925 then
13926 if ${TIFF_CFLAGS:+false} :; then :
13927 if ${PKG_CONFIG+:} false; then :
13928 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13932 if ${TIFF_LIBS:+false} :; then :
13933 if ${PKG_CONFIG+:} false; then :
13934 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13940 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13941 ac_save_CPPFLAGS=$CPPFLAGS
13942 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13943 for ac_header in tiffio.h
13944 do :
13945 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13946 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13947 cat >>confdefs.h <<_ACEOF
13948 #define HAVE_TIFFIO_H 1
13949 _ACEOF
13953 done
13955 if test "$ac_cv_header_tiffio_h" = "yes"
13956 then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13958 $as_echo_n "checking for -ltiff... " >&6; }
13959 if ${ac_cv_lib_soname_tiff+:} false; then :
13960 $as_echo_n "(cached) " >&6
13961 else
13962 ac_check_soname_save_LIBS=$LIBS
13963 LIBS="-ltiff $TIFF_LIBS $LIBS"
13964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13967 /* Override any GCC internal prototype to avoid an error.
13968 Use char because int might match the return type of a GCC
13969 builtin and then its argument prototype would still apply. */
13970 #ifdef __cplusplus
13971 extern "C"
13972 #endif
13973 char TIFFClientOpen ();
13975 main ()
13977 return TIFFClientOpen ();
13979 return 0;
13981 _ACEOF
13982 if ac_fn_c_try_link "$LINENO"; then :
13983 case "$LIBEXT" in
13984 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13985 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'` ;;
13986 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13987 if ${ac_cv_lib_soname_tiff:+false} :; then :
13988 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13989 fi ;;
13990 esac
13992 rm -f core conftest.err conftest.$ac_objext \
13993 conftest$ac_exeext conftest.$ac_ext
13994 LIBS=$ac_check_soname_save_LIBS
13996 if ${ac_cv_lib_soname_tiff:+false} :; then :
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13998 $as_echo "not found" >&6; }
14000 else
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14002 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14004 cat >>confdefs.h <<_ACEOF
14005 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14006 _ACEOF
14011 CPPFLAGS=$ac_save_CPPFLAGS
14012 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14013 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14016 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14017 case "x$with_tiff" in
14018 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14019 xno) ;;
14020 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14021 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14022 esac
14026 if test "x$with_mpg123" != "xno"
14027 then
14028 if ${MPG123_CFLAGS:+false} :; then :
14029 if ${PKG_CONFIG+:} false; then :
14030 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14034 if ${MPG123_LIBS:+false} :; then :
14035 if ${PKG_CONFIG+:} false; then :
14036 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14040 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14041 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14042 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14043 ac_save_CPPFLAGS=$CPPFLAGS
14044 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14045 for ac_header in mpg123.h
14046 do :
14047 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14048 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14049 cat >>confdefs.h <<_ACEOF
14050 #define HAVE_MPG123_H 1
14051 _ACEOF
14055 done
14057 if test "$ac_cv_header_mpg123_h" = "yes"
14058 then
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14060 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14061 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14062 $as_echo_n "(cached) " >&6
14063 else
14064 ac_check_lib_save_LIBS=$LIBS
14065 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14069 /* Override any GCC internal prototype to avoid an error.
14070 Use char because int might match the return type of a GCC
14071 builtin and then its argument prototype would still apply. */
14072 #ifdef __cplusplus
14073 extern "C"
14074 #endif
14075 char mpg123_feed ();
14077 main ()
14079 return mpg123_feed ();
14081 return 0;
14083 _ACEOF
14084 if ac_fn_c_try_link "$LINENO"; then :
14085 ac_cv_lib_mpg123_mpg123_feed=yes
14086 else
14087 ac_cv_lib_mpg123_mpg123_feed=no
14089 rm -f core conftest.err conftest.$ac_objext \
14090 conftest$ac_exeext conftest.$ac_ext
14091 LIBS=$ac_check_lib_save_LIBS
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14094 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14095 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14097 else
14098 MPG123_LIBS=""
14101 else
14102 MPG123_CFLAGS=""
14103 MPG123_LIBS=""
14105 CPPFLAGS=$ac_save_CPPFLAGS
14106 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14107 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14110 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14111 case "x$with_mpg123" in
14112 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14113 xno) ;;
14114 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14115 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14116 esac
14117 enable_winemp3_acm=${enable_winemp3_acm:-no}
14120 if test "$ac_cv_header_AL_al_h" = "yes"
14121 then
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14123 $as_echo_n "checking for -lopenal... " >&6; }
14124 if ${ac_cv_lib_soname_openal+:} false; then :
14125 $as_echo_n "(cached) " >&6
14126 else
14127 ac_check_soname_save_LIBS=$LIBS
14128 LIBS="-lopenal $LIBS"
14129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14132 /* Override any GCC internal prototype to avoid an error.
14133 Use char because int might match the return type of a GCC
14134 builtin and then its argument prototype would still apply. */
14135 #ifdef __cplusplus
14136 extern "C"
14137 #endif
14138 char alGetSource3i ();
14140 main ()
14142 return alGetSource3i ();
14144 return 0;
14146 _ACEOF
14147 if ac_fn_c_try_link "$LINENO"; then :
14148 case "$LIBEXT" in
14149 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14150 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'` ;;
14151 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14152 if ${ac_cv_lib_soname_openal:+false} :; then :
14153 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14154 fi ;;
14155 esac
14157 rm -f core conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
14159 LIBS=$ac_check_soname_save_LIBS
14161 if ${ac_cv_lib_soname_openal:+false} :; then :
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14163 $as_echo "not found" >&6; }
14165 else
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14167 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14169 cat >>confdefs.h <<_ACEOF
14170 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14171 _ACEOF
14173 OPENAL_LIBS="-lopenal"
14175 ac_cv_lib_openal=yes
14177 cat >>confdefs.h <<_ACEOF
14178 #define HAVE_OPENAL 1
14179 _ACEOF
14183 if test "x$ac_cv_lib_openal" != xyes; then :
14184 case "x$with_openal" in
14185 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14186 xno) ;;
14187 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14188 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14189 esac
14190 enable_openal32=${enable_openal32:-no}
14193 if test "x$ac_cv_lib_openal" = xyes
14194 then
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14196 $as_echo_n "checking for openal-soft... " >&6; }
14197 if ${ac_cv_have_openalsoft+:} false; then :
14198 $as_echo_n "(cached) " >&6
14199 else
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14202 #include <AL/al.h>
14203 #include <AL/alc.h>
14204 #include <AL/alext.h>
14205 LPALCRENDERSAMPLESSOFT x;
14207 main ()
14211 return 0;
14213 _ACEOF
14214 if ac_fn_c_try_compile "$LINENO"; then :
14215 ac_cv_have_openalsoft=yes
14216 else
14217 ac_cv_have_openalsoft=no
14219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14222 $as_echo "$ac_cv_have_openalsoft" >&6; }
14224 if test "x$ac_cv_have_openalsoft" != xyes
14225 then
14226 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14227 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14228 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14229 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14230 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14231 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14232 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14233 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14234 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14235 enable_xapofx1_1=${enable_xapofx1_1:-no}
14236 enable_xapofx1_2=${enable_xapofx1_2:-no}
14237 enable_xapofx1_3=${enable_xapofx1_3:-no}
14238 enable_xapofx1_4=${enable_xapofx1_4:-no}
14239 enable_xapofx1_5=${enable_xapofx1_5:-no}
14240 enable_xaudio2_0=${enable_xaudio2_0:-no}
14241 enable_xaudio2_1=${enable_xaudio2_1:-no}
14242 enable_xaudio2_2=${enable_xaudio2_2:-no}
14243 enable_xaudio2_3=${enable_xaudio2_3:-no}
14244 enable_xaudio2_4=${enable_xaudio2_4:-no}
14245 enable_xaudio2_5=${enable_xaudio2_5:-no}
14246 enable_xaudio2_6=${enable_xaudio2_6:-no}
14247 enable_xaudio2_7=${enable_xaudio2_7:-no}
14248 enable_xaudio2_8=${enable_xaudio2_8:-no}
14249 enable_xaudio2_9=${enable_xaudio2_9:-no}
14252 if test "$ac_cv_header_kstat_h" = "yes"
14253 then
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14255 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14256 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14257 $as_echo_n "(cached) " >&6
14258 else
14259 ac_check_lib_save_LIBS=$LIBS
14260 LIBS="-lkstat $LIBS"
14261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14264 /* Override any GCC internal prototype to avoid an error.
14265 Use char because int might match the return type of a GCC
14266 builtin and then its argument prototype would still apply. */
14267 #ifdef __cplusplus
14268 extern "C"
14269 #endif
14270 char kstat_open ();
14272 main ()
14274 return kstat_open ();
14276 return 0;
14278 _ACEOF
14279 if ac_fn_c_try_link "$LINENO"; then :
14280 ac_cv_lib_kstat_kstat_open=yes
14281 else
14282 ac_cv_lib_kstat_kstat_open=no
14284 rm -f core conftest.err conftest.$ac_objext \
14285 conftest$ac_exeext conftest.$ac_ext
14286 LIBS=$ac_check_lib_save_LIBS
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14289 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14290 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14292 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14294 KSTAT_LIBS="-lkstat"
14300 if test "$ac_cv_header_libprocstat_h" = "yes"
14301 then
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14303 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14304 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14305 $as_echo_n "(cached) " >&6
14306 else
14307 ac_check_lib_save_LIBS=$LIBS
14308 LIBS="-lprocstat $LIBS"
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14312 /* Override any GCC internal prototype to avoid an error.
14313 Use char because int might match the return type of a GCC
14314 builtin and then its argument prototype would still apply. */
14315 #ifdef __cplusplus
14316 extern "C"
14317 #endif
14318 char procstat_open_sysctl ();
14320 main ()
14322 return procstat_open_sysctl ();
14324 return 0;
14326 _ACEOF
14327 if ac_fn_c_try_link "$LINENO"; then :
14328 ac_cv_lib_procstat_procstat_open_sysctl=yes
14329 else
14330 ac_cv_lib_procstat_procstat_open_sysctl=no
14332 rm -f core conftest.err conftest.$ac_objext \
14333 conftest$ac_exeext conftest.$ac_ext
14334 LIBS=$ac_check_lib_save_LIBS
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14337 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14338 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14340 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14342 PROCSTAT_LIBS="-lprocstat"
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14349 $as_echo_n "checking for -lodbc... " >&6; }
14350 if ${ac_cv_lib_soname_odbc+:} false; then :
14351 $as_echo_n "(cached) " >&6
14352 else
14353 ac_check_soname_save_LIBS=$LIBS
14354 LIBS="-lodbc $LIBS"
14355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h. */
14358 /* Override any GCC internal prototype to avoid an error.
14359 Use char because int might match the return type of a GCC
14360 builtin and then its argument prototype would still apply. */
14361 #ifdef __cplusplus
14362 extern "C"
14363 #endif
14364 char SQLConnect ();
14366 main ()
14368 return SQLConnect ();
14370 return 0;
14372 _ACEOF
14373 if ac_fn_c_try_link "$LINENO"; then :
14374 case "$LIBEXT" in
14375 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14376 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'` ;;
14377 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14378 if ${ac_cv_lib_soname_odbc:+false} :; then :
14379 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14380 fi ;;
14381 esac
14383 rm -f core conftest.err conftest.$ac_objext \
14384 conftest$ac_exeext conftest.$ac_ext
14385 LIBS=$ac_check_soname_save_LIBS
14387 if ${ac_cv_lib_soname_odbc:+false} :; then :
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14389 $as_echo "not found" >&6; }
14390 cat >>confdefs.h <<_ACEOF
14391 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14392 _ACEOF
14394 else
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14396 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14398 cat >>confdefs.h <<_ACEOF
14399 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14400 _ACEOF
14405 if test "x$with_netapi" != "xno"
14406 then
14407 if ${NETAPI_CFLAGS:+false} :; then :
14408 if ${PKG_CONFIG+:} false; then :
14409 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14413 if ${NETAPI_LIBS:+false} :; then :
14414 if ${PKG_CONFIG+:} false; then :
14415 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14420 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14421 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14422 ac_save_CPPFLAGS=$CPPFLAGS
14423 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14425 $as_echo_n "checking for -lnetapi... " >&6; }
14426 if ${ac_cv_lib_soname_netapi+:} false; then :
14427 $as_echo_n "(cached) " >&6
14428 else
14429 ac_check_soname_save_LIBS=$LIBS
14430 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14432 /* end confdefs.h. */
14434 /* Override any GCC internal prototype to avoid an error.
14435 Use char because int might match the return type of a GCC
14436 builtin and then its argument prototype would still apply. */
14437 #ifdef __cplusplus
14438 extern "C"
14439 #endif
14440 char libnetapi_init ();
14442 main ()
14444 return libnetapi_init ();
14446 return 0;
14448 _ACEOF
14449 if ac_fn_c_try_link "$LINENO"; then :
14450 case "$LIBEXT" in
14451 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14452 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'` ;;
14453 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14454 if ${ac_cv_lib_soname_netapi:+false} :; then :
14455 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14456 fi ;;
14457 esac
14459 rm -f core conftest.err conftest.$ac_objext \
14460 conftest$ac_exeext conftest.$ac_ext
14461 LIBS=$ac_check_soname_save_LIBS
14463 if ${ac_cv_lib_soname_netapi:+false} :; then :
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14465 $as_echo "not found" >&6; }
14466 cat >>confdefs.h <<_ACEOF
14467 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14468 _ACEOF
14470 else
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14472 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14474 cat >>confdefs.h <<_ACEOF
14475 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14476 _ACEOF
14480 CPPFLAGS=$ac_save_CPPFLAGS
14481 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14482 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14486 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14487 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14488 then
14489 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14493 EXTRACFLAGS=""
14495 if test "x${GCC}" = "xyes"
14496 then
14497 EXTRACFLAGS="-Wall -pipe"
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14500 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14501 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14502 $as_echo_n "(cached) " >&6
14503 else
14504 if test "$cross_compiling" = yes; then :
14505 ac_cv_c_gcc_strength_bug="no"
14506 else
14507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14509 int L[4] = {0,1,2,3};
14511 main ()
14513 static int Array[3];
14514 unsigned int B = 3;
14515 int i;
14516 for(i=0; i<B; i++) Array[i] = i - 3;
14517 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14518 L[i] = 4;
14519 return (Array[1] != -2 || L[2] != 3)
14521 return 0;
14523 _ACEOF
14524 if ac_fn_c_try_run "$LINENO"; then :
14525 ac_cv_c_gcc_strength_bug="no"
14526 else
14527 ac_cv_c_gcc_strength_bug="yes"
14529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14530 conftest.$ac_objext conftest.beam conftest.$ac_ext
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14535 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14536 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14537 then
14538 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14542 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14543 if ${ac_cv_cflags__fno_builtin+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_wine_try_cflags_saved=$CFLAGS
14547 CFLAGS="$CFLAGS -fno-builtin"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 ac_cv_cflags__fno_builtin=yes
14554 else
14555 ac_cv_cflags__fno_builtin=no
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 CFLAGS=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14562 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14563 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14564 BUILTINFLAG="-fno-builtin"
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14568 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14569 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 ac_wine_try_cflags_saved=$CFLAGS
14573 CFLAGS="$CFLAGS -fno-strict-aliasing"
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 int main(int argc, char **argv) { return 0; }
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 ac_cv_cflags__fno_strict_aliasing=yes
14580 else
14581 ac_cv_cflags__fno_strict_aliasing=no
14583 rm -f core conftest.err conftest.$ac_objext \
14584 conftest$ac_exeext conftest.$ac_ext
14585 CFLAGS=$ac_wine_try_cflags_saved
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14588 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14589 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14590 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14593 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14594 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14595 $as_echo_n "(cached) " >&6
14596 else
14597 ac_wine_try_cflags_saved=$CFLAGS
14598 CFLAGS="$CFLAGS -fexcess-precision=standard"
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601 int main(int argc, char **argv) { return 0; }
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 ac_cv_cflags__fexcess_precision_standard=yes
14605 else
14606 ac_cv_cflags__fexcess_precision_standard=no
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 CFLAGS=$ac_wine_try_cflags_saved
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14613 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14614 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14615 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14618 saved_CFLAGS=$CFLAGS
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14620 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14621 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14622 $as_echo_n "(cached) " >&6
14623 else
14624 ac_wine_try_cflags_saved=$CFLAGS
14625 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14628 int main(int argc, char **argv) { return 0; }
14629 _ACEOF
14630 if ac_fn_c_try_link "$LINENO"; then :
14631 ac_cv_cflags__Werror_unknown_warning_option=yes
14632 else
14633 ac_cv_cflags__Werror_unknown_warning_option=no
14635 rm -f core conftest.err conftest.$ac_objext \
14636 conftest$ac_exeext conftest.$ac_ext
14637 CFLAGS=$ac_wine_try_cflags_saved
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14640 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14641 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14642 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14645 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14646 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 ac_wine_try_cflags_saved=$CFLAGS
14650 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14653 int main(int argc, char **argv) { return 0; }
14654 _ACEOF
14655 if ac_fn_c_try_link "$LINENO"; then :
14656 ac_cv_cflags__Wdeclaration_after_statement=yes
14657 else
14658 ac_cv_cflags__Wdeclaration_after_statement=no
14660 rm -f core conftest.err conftest.$ac_objext \
14661 conftest$ac_exeext conftest.$ac_ext
14662 CFLAGS=$ac_wine_try_cflags_saved
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14665 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14666 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14667 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14670 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14671 if ${ac_cv_cflags__Wempty_body+:} false; then :
14672 $as_echo_n "(cached) " >&6
14673 else
14674 ac_wine_try_cflags_saved=$CFLAGS
14675 CFLAGS="$CFLAGS -Wempty-body"
14676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14677 /* end confdefs.h. */
14678 int main(int argc, char **argv) { return 0; }
14679 _ACEOF
14680 if ac_fn_c_try_link "$LINENO"; then :
14681 ac_cv_cflags__Wempty_body=yes
14682 else
14683 ac_cv_cflags__Wempty_body=no
14685 rm -f core conftest.err conftest.$ac_objext \
14686 conftest$ac_exeext conftest.$ac_ext
14687 CFLAGS=$ac_wine_try_cflags_saved
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14690 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14691 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14692 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14695 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14696 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 ac_wine_try_cflags_saved=$CFLAGS
14700 CFLAGS="$CFLAGS -Wignored-qualifiers"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_cflags__Wignored_qualifiers=yes
14707 else
14708 ac_cv_cflags__Wignored_qualifiers=no
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 CFLAGS=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14715 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14716 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14717 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14720 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14721 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14722 $as_echo_n "(cached) " >&6
14723 else
14724 ac_wine_try_cflags_saved=$CFLAGS
14725 CFLAGS="$CFLAGS -Wshift-overflow=2"
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 int main(int argc, char **argv) { return 0; }
14729 _ACEOF
14730 if ac_fn_c_try_link "$LINENO"; then :
14731 ac_cv_cflags__Wshift_overflow_2=yes
14732 else
14733 ac_cv_cflags__Wshift_overflow_2=no
14735 rm -f core conftest.err conftest.$ac_objext \
14736 conftest$ac_exeext conftest.$ac_ext
14737 CFLAGS=$ac_wine_try_cflags_saved
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14740 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14741 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14742 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14745 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14746 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14747 $as_echo_n "(cached) " >&6
14748 else
14749 ac_wine_try_cflags_saved=$CFLAGS
14750 CFLAGS="$CFLAGS -Wstrict-prototypes"
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14753 int main(int argc, char **argv) { return 0; }
14754 _ACEOF
14755 if ac_fn_c_try_link "$LINENO"; then :
14756 ac_cv_cflags__Wstrict_prototypes=yes
14757 else
14758 ac_cv_cflags__Wstrict_prototypes=no
14760 rm -f core conftest.err conftest.$ac_objext \
14761 conftest$ac_exeext conftest.$ac_ext
14762 CFLAGS=$ac_wine_try_cflags_saved
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14765 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14766 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14767 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14770 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14771 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14772 $as_echo_n "(cached) " >&6
14773 else
14774 ac_wine_try_cflags_saved=$CFLAGS
14775 CFLAGS="$CFLAGS -Wtype-limits"
14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 int main(int argc, char **argv) { return 0; }
14779 _ACEOF
14780 if ac_fn_c_try_link "$LINENO"; then :
14781 ac_cv_cflags__Wtype_limits=yes
14782 else
14783 ac_cv_cflags__Wtype_limits=no
14785 rm -f core conftest.err conftest.$ac_objext \
14786 conftest$ac_exeext conftest.$ac_ext
14787 CFLAGS=$ac_wine_try_cflags_saved
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14790 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14791 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14792 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14795 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14796 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 ac_wine_try_cflags_saved=$CFLAGS
14800 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14803 int main(int argc, char **argv) { return 0; }
14804 _ACEOF
14805 if ac_fn_c_try_link "$LINENO"; then :
14806 ac_cv_cflags__Wunused_but_set_parameter=yes
14807 else
14808 ac_cv_cflags__Wunused_but_set_parameter=no
14810 rm -f core conftest.err conftest.$ac_objext \
14811 conftest$ac_exeext conftest.$ac_ext
14812 CFLAGS=$ac_wine_try_cflags_saved
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14815 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14816 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14817 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14820 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14821 if ${ac_cv_cflags__Wvla+:} false; then :
14822 $as_echo_n "(cached) " >&6
14823 else
14824 ac_wine_try_cflags_saved=$CFLAGS
14825 CFLAGS="$CFLAGS -Wvla"
14826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14828 int main(int argc, char **argv) { return 0; }
14829 _ACEOF
14830 if ac_fn_c_try_link "$LINENO"; then :
14831 ac_cv_cflags__Wvla=yes
14832 else
14833 ac_cv_cflags__Wvla=no
14835 rm -f core conftest.err conftest.$ac_objext \
14836 conftest$ac_exeext conftest.$ac_ext
14837 CFLAGS=$ac_wine_try_cflags_saved
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14840 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14841 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14842 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14845 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14846 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14847 $as_echo_n "(cached) " >&6
14848 else
14849 ac_wine_try_cflags_saved=$CFLAGS
14850 CFLAGS="$CFLAGS -Wwrite-strings"
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14853 int main(int argc, char **argv) { return 0; }
14854 _ACEOF
14855 if ac_fn_c_try_link "$LINENO"; then :
14856 ac_cv_cflags__Wwrite_strings=yes
14857 else
14858 ac_cv_cflags__Wwrite_strings=no
14860 rm -f core conftest.err conftest.$ac_objext \
14861 conftest$ac_exeext conftest.$ac_ext
14862 CFLAGS=$ac_wine_try_cflags_saved
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14865 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14866 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14867 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14871 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14872 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 ac_wine_try_cflags_saved=$CFLAGS
14876 CFLAGS="$CFLAGS -Wpointer-arith"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14879 int main(int argc, char **argv) { return 0; }
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_cflags__Wpointer_arith=yes
14883 else
14884 ac_cv_cflags__Wpointer_arith=no
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14888 CFLAGS=$ac_wine_try_cflags_saved
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14891 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14892 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14893 saved_string_h_CFLAGS=$CFLAGS
14894 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14896 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14897 if ${ac_cv_c_string_h_warnings+:} false; then :
14898 $as_echo_n "(cached) " >&6
14899 else
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14902 #include <string.h>
14904 main ()
14908 return 0;
14910 _ACEOF
14911 if ac_fn_c_try_compile "$LINENO"; then :
14912 ac_cv_c_string_h_warnings=no
14913 else
14914 ac_cv_c_string_h_warnings=yes
14916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14919 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14920 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14921 CFLAGS=$saved_string_h_CFLAGS
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14925 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14926 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14927 $as_echo_n "(cached) " >&6
14928 else
14929 ac_wine_try_cflags_saved=$CFLAGS
14930 CFLAGS="$CFLAGS -Wlogical-op"
14931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14933 int main(int argc, char **argv) { return 0; }
14934 _ACEOF
14935 if ac_fn_c_try_link "$LINENO"; then :
14936 ac_cv_cflags__Wlogical_op=yes
14937 else
14938 ac_cv_cflags__Wlogical_op=no
14940 rm -f core conftest.err conftest.$ac_objext \
14941 conftest$ac_exeext conftest.$ac_ext
14942 CFLAGS=$ac_wine_try_cflags_saved
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14945 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14946 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14947 saved_string_h_CFLAGS=$CFLAGS
14948 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14950 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14951 if ${ac_cv_c_logicalop_noisy+:} false; then :
14952 $as_echo_n "(cached) " >&6
14953 else
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14956 #include <string.h>
14957 char*f(const char *h,char n) {return strchr(h,n);}
14959 main ()
14963 return 0;
14965 _ACEOF
14966 if ac_fn_c_try_compile "$LINENO"; then :
14967 ac_cv_c_logicalop_noisy=no
14968 else
14969 ac_cv_c_logicalop_noisy=yes
14971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14974 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14975 CFLAGS=$saved_string_h_CFLAGS
14976 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14979 CFLAGS=$saved_CFLAGS
14981 for ac_flag in $CFLAGS; do
14982 case $ac_flag in
14983 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14984 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14985 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14986 $as_echo_n "(cached) " >&6
14987 else
14988 ac_wine_try_cflags_saved=$CFLAGS
14989 CFLAGS="$CFLAGS -gdwarf-2"
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14992 int main(int argc, char **argv) { return 0; }
14993 _ACEOF
14994 if ac_fn_c_try_link "$LINENO"; then :
14995 ac_cv_cflags__gdwarf_2=yes
14996 else
14997 ac_cv_cflags__gdwarf_2=no
14999 rm -f core conftest.err conftest.$ac_objext \
15000 conftest$ac_exeext conftest.$ac_ext
15001 CFLAGS=$ac_wine_try_cflags_saved
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15004 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15005 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15006 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15009 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15010 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15011 $as_echo_n "(cached) " >&6
15012 else
15013 ac_wine_try_cflags_saved=$CFLAGS
15014 CFLAGS="$CFLAGS -gstrict-dwarf"
15015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15017 int main(int argc, char **argv) { return 0; }
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"; then :
15020 ac_cv_cflags__gstrict_dwarf=yes
15021 else
15022 ac_cv_cflags__gstrict_dwarf=no
15024 rm -f core conftest.err conftest.$ac_objext \
15025 conftest$ac_exeext conftest.$ac_ext
15026 CFLAGS=$ac_wine_try_cflags_saved
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15029 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15030 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15031 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15032 fi ;;
15033 esac
15034 done
15036 case $host_cpu in
15037 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15038 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15039 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15040 $as_echo_n "(cached) " >&6
15041 else
15042 ac_wine_try_cflags_saved=$CFLAGS
15043 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15046 int main(int argc, char **argv) { return 0; }
15047 _ACEOF
15048 if ac_fn_c_try_link "$LINENO"; then :
15049 ac_cv_cflags__fno_omit_frame_pointer=yes
15050 else
15051 ac_cv_cflags__fno_omit_frame_pointer=no
15053 rm -f core conftest.err conftest.$ac_objext \
15054 conftest$ac_exeext conftest.$ac_ext
15055 CFLAGS=$ac_wine_try_cflags_saved
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15058 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15059 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15060 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15061 fi ;;
15062 esac
15064 case $host in
15065 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15066 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15067 if ${ac_cv_cflags__Wno_format+:} false; then :
15068 $as_echo_n "(cached) " >&6
15069 else
15070 ac_wine_try_cflags_saved=$CFLAGS
15071 CFLAGS="$CFLAGS -Wno-format"
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 int main(int argc, char **argv) { return 0; }
15075 _ACEOF
15076 if ac_fn_c_try_link "$LINENO"; then :
15077 ac_cv_cflags__Wno_format=yes
15078 else
15079 ac_cv_cflags__Wno_format=no
15081 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15083 CFLAGS=$ac_wine_try_cflags_saved
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15086 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15087 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15088 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15089 fi ;;
15090 esac
15092 if test "x$enable_maintainer_mode" = "xyes"
15093 then
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15095 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15096 if ${ac_cv_cflags__Werror+:} false; then :
15097 $as_echo_n "(cached) " >&6
15098 else
15099 ac_wine_try_cflags_saved=$CFLAGS
15100 CFLAGS="$CFLAGS -Werror"
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15103 int main(int argc, char **argv) { return 0; }
15104 _ACEOF
15105 if ac_fn_c_try_link "$LINENO"; then :
15106 ac_cv_cflags__Werror=yes
15107 else
15108 ac_cv_cflags__Werror=no
15110 rm -f core conftest.err conftest.$ac_objext \
15111 conftest$ac_exeext conftest.$ac_ext
15112 CFLAGS=$ac_wine_try_cflags_saved
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15115 $as_echo "$ac_cv_cflags__Werror" >&6; }
15116 if test "x$ac_cv_cflags__Werror" = xyes; then :
15117 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15121 saved_CFLAGS="$CFLAGS"
15122 CFLAGS="$CFLAGS -Werror"
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15124 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15125 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15126 $as_echo_n "(cached) " >&6
15127 else
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15132 main ()
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_compile "$LINENO"; then :
15140 ac_cv_have_ms_hook_prologue="yes"
15141 else
15142 ac_cv_have_ms_hook_prologue="no"
15144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15147 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15148 CFLAGS="$saved_CFLAGS"
15149 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15150 then
15152 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15154 else
15155 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15162 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15163 if ${ac_cv_c_fortify_enabled+:} false; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15168 #include <string.h>
15170 main ()
15172 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15173 #error Fortify enabled
15174 #endif
15176 return 0;
15178 _ACEOF
15179 if ac_fn_c_try_compile "$LINENO"; then :
15180 ac_cv_c_fortify_enabled=no
15181 else
15182 ac_cv_c_fortify_enabled=yes
15184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15187 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15188 if test "$ac_cv_c_fortify_enabled" = yes
15189 then
15190 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15195 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15196 if ${ac_cv_c_extern_prefix+:} false; then :
15197 $as_echo_n "(cached) " >&6
15198 else
15199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15200 /* end confdefs.h. */
15201 extern int ac_test;
15203 main ()
15205 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15207 return 0;
15209 _ACEOF
15210 if ac_fn_c_try_link "$LINENO"; then :
15211 ac_cv_c_extern_prefix="yes"
15212 else
15213 ac_cv_c_extern_prefix="no"
15215 rm -f core conftest.err conftest.$ac_objext \
15216 conftest$ac_exeext conftest.$ac_ext
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15219 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15221 case $host_cpu in
15222 *i[3456789]86*)
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15224 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15225 if ${ac_cv_c_stdcall_suffix+:} false; then :
15226 $as_echo_n "(cached) " >&6
15227 else
15228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15229 /* end confdefs.h. */
15230 #ifndef _MSC_VER
15231 #define __stdcall __attribute__((__stdcall__))
15232 #endif
15233 int __stdcall ac_test(int i) { return i; }
15235 main ()
15237 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15239 return 0;
15241 _ACEOF
15242 if ac_fn_c_try_link "$LINENO"; then :
15243 ac_cv_c_stdcall_suffix="yes"
15244 else
15245 ac_cv_c_stdcall_suffix="no"
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15251 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15252 *) ac_cv_c_stdcall_suffix="no" ;;
15253 esac
15256 if test "$ac_cv_c_extern_prefix" = "yes"
15257 then
15258 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15260 asm_name_prefix="_"
15261 else
15262 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15264 asm_name_prefix=""
15268 if test "$ac_cv_c_stdcall_suffix" = "yes"
15269 then
15270 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15272 else
15273 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15279 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15280 if ${ac_cv_asm_func_def+:} false; then :
15281 $as_echo_n "(cached) " >&6
15282 else
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15287 main ()
15289 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15291 return 0;
15293 _ACEOF
15294 if ac_fn_c_try_link "$LINENO"; then :
15295 ac_cv_asm_func_def=".def"
15296 else
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15301 main ()
15303 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15305 return 0;
15307 _ACEOF
15308 if ac_fn_c_try_link "$LINENO"; then :
15309 ac_cv_asm_func_def=".type @function"
15310 else
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15315 main ()
15317 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"; then :
15323 ac_cv_asm_func_def=".type 2"
15324 else
15325 ac_cv_asm_func_def="unknown"
15327 rm -f core conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15330 rm -f core conftest.err conftest.$ac_objext \
15331 conftest$ac_exeext conftest.$ac_ext
15333 rm -f core conftest.err conftest.$ac_objext \
15334 conftest$ac_exeext conftest.$ac_ext
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15337 $as_echo "$ac_cv_asm_func_def" >&6; }
15340 case "$ac_cv_asm_func_def" in
15341 ".def")
15342 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15344 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15345 ".type @function")
15346 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15348 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15349 ".type 2")
15350 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15352 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15354 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15356 asm_func_header="" ;;
15357 esac
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15360 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15361 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15362 $as_echo_n "(cached) " >&6
15363 else
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15366 asm(".text\n\t.long 0");
15368 main ()
15372 return 0;
15374 _ACEOF
15375 if ac_fn_c_try_compile "$LINENO"; then :
15376 ac_cv_c_asm_outside_funcs="yes"
15377 else
15378 ac_cv_c_asm_outside_funcs="no"
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15383 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15386 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15387 if ${ac_cv_c_dot_previous+:} false; then :
15388 $as_echo_n "(cached) " >&6
15389 else
15390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h. */
15394 main ()
15396 asm(".text\nac_test:\t.long 0\n\t.previous");
15398 return 0;
15400 _ACEOF
15401 if ac_fn_c_try_link "$LINENO"; then :
15402 ac_cv_c_dot_previous="yes"
15403 else
15404 ac_cv_c_dot_previous="no"
15406 rm -f core conftest.err conftest.$ac_objext \
15407 conftest$ac_exeext conftest.$ac_ext
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15410 $as_echo "$ac_cv_c_dot_previous" >&6; }
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15413 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15414 if ${ac_cv_c_cfi_support+:} false; then :
15415 $as_echo_n "(cached) " >&6
15416 else
15417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15419 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15421 main ()
15425 return 0;
15427 _ACEOF
15428 if ac_fn_c_try_compile "$LINENO"; then :
15429 ac_cv_c_cfi_support="yes"
15430 else
15431 ac_cv_c_cfi_support="no"
15433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15436 $as_echo "$ac_cv_c_cfi_support" >&6; }
15438 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15439 asm_func_trailer=""
15440 if test "$ac_cv_c_dot_previous" = "yes"
15441 then
15442 asm_func_trailer="\\n\\t.previous"
15444 if test "$ac_cv_c_cfi_support" = "yes"
15445 then
15446 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15447 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15449 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15451 UNWINDFLAGS=-fasynchronous-unwind-tables
15453 else
15454 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15456 if test "x$enable_win64" = "xyes"
15457 then
15458 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15462 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15465 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15466 then
15467 cat >>confdefs.h <<_ACEOF
15468 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15469 _ACEOF
15471 else
15472 cat >>confdefs.h <<_ACEOF
15473 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15474 _ACEOF
15478 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15481 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15485 case $build_os in
15486 cygwin*|mingw32*) TOOLSEXT=".exe"
15488 esac
15490 case $host_os in
15491 linux*)
15492 case $host_cpu in
15493 *i[3456789]86*|x86_64*)
15494 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15495 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15497 esac
15499 esac
15502 ac_save_CFLAGS="$CFLAGS"
15503 CFLAGS="$CFLAGS $BUILTINFLAG"
15504 for ac_func in \
15505 __res_get_state \
15506 __res_getservers \
15507 _finite \
15508 _isnan \
15509 _pclose \
15510 _popen \
15511 _snprintf \
15512 _spawnvp \
15513 _strdup \
15514 _stricmp \
15515 _strnicmp \
15516 _strtoi64 \
15517 _strtoui64 \
15518 _vsnprintf \
15519 asctime_r \
15520 chsize \
15521 dlopen \
15522 epoll_create \
15523 ffs \
15524 finitef \
15525 fnmatch \
15526 fork \
15527 fpclass \
15528 fstatfs \
15529 fstatvfs \
15530 ftruncate \
15531 futimens \
15532 futimes \
15533 futimesat \
15534 getattrlist \
15535 getauxval \
15536 getifaddrs \
15537 getopt_long_only \
15538 getpwuid \
15539 gettimeofday \
15540 getuid \
15541 isnanf \
15542 kqueue \
15543 lstat \
15544 memmove \
15545 mmap \
15546 pclose \
15547 pipe2 \
15548 poll \
15549 popen \
15550 port_create \
15551 prctl \
15552 pread \
15553 proc_pidinfo \
15554 pwrite \
15555 readdir \
15556 readlink \
15557 sched_yield \
15558 select \
15559 setproctitle \
15560 setprogname \
15561 setrlimit \
15562 settimeofday \
15563 sigaltstack \
15564 sigprocmask \
15565 snprintf \
15566 statfs \
15567 statvfs \
15568 strcasecmp \
15569 strdup \
15570 strerror \
15571 strncasecmp \
15572 strtold \
15573 strtoll \
15574 strtoull \
15575 symlink \
15576 sysinfo \
15577 tcdrain \
15578 thr_kill2 \
15579 timegm \
15580 usleep \
15581 vsnprintf
15583 do :
15584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15586 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15587 cat >>confdefs.h <<_ACEOF
15588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15589 _ACEOF
15592 done
15594 CFLAGS="$ac_save_CFLAGS"
15596 if test "$ac_cv_func_dlopen" = no
15597 then
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15599 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15600 if ${ac_cv_lib_dl_dlopen+:} false; then :
15601 $as_echo_n "(cached) " >&6
15602 else
15603 ac_check_lib_save_LIBS=$LIBS
15604 LIBS="-ldl $LIBS"
15605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15606 /* end confdefs.h. */
15608 /* Override any GCC internal prototype to avoid an error.
15609 Use char because int might match the return type of a GCC
15610 builtin and then its argument prototype would still apply. */
15611 #ifdef __cplusplus
15612 extern "C"
15613 #endif
15614 char dlopen ();
15616 main ()
15618 return dlopen ();
15620 return 0;
15622 _ACEOF
15623 if ac_fn_c_try_link "$LINENO"; then :
15624 ac_cv_lib_dl_dlopen=yes
15625 else
15626 ac_cv_lib_dl_dlopen=no
15628 rm -f core conftest.err conftest.$ac_objext \
15629 conftest$ac_exeext conftest.$ac_ext
15630 LIBS=$ac_check_lib_save_LIBS
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15633 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15634 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15635 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15636 DL_LIBS="-ldl"
15641 ac_wine_check_funcs_save_LIBS="$LIBS"
15642 LIBS="$LIBS $DL_LIBS"
15643 for ac_func in dladdr
15644 do :
15645 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15646 if test "x$ac_cv_func_dladdr" = xyes; then :
15647 cat >>confdefs.h <<_ACEOF
15648 #define HAVE_DLADDR 1
15649 _ACEOF
15652 done
15654 LIBS="$ac_wine_check_funcs_save_LIBS"
15656 if test "$ac_cv_func_poll" = no
15657 then
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15659 $as_echo_n "checking for poll in -lpoll... " >&6; }
15660 if ${ac_cv_lib_poll_poll+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 ac_check_lib_save_LIBS=$LIBS
15664 LIBS="-lpoll $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 #ifdef __cplusplus
15672 extern "C"
15673 #endif
15674 char poll ();
15676 main ()
15678 return poll ();
15680 return 0;
15682 _ACEOF
15683 if ac_fn_c_try_link "$LINENO"; then :
15684 ac_cv_lib_poll_poll=yes
15685 else
15686 ac_cv_lib_poll_poll=no
15688 rm -f core conftest.err conftest.$ac_objext \
15689 conftest$ac_exeext conftest.$ac_ext
15690 LIBS=$ac_check_lib_save_LIBS
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15693 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15694 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15695 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15696 POLL_LIBS="-lpoll"
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15703 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15704 if ${ac_cv_search_gethostbyname+:} false; then :
15705 $as_echo_n "(cached) " >&6
15706 else
15707 ac_func_search_save_LIBS=$LIBS
15708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15711 /* Override any GCC internal prototype to avoid an error.
15712 Use char because int might match the return type of a GCC
15713 builtin and then its argument prototype would still apply. */
15714 #ifdef __cplusplus
15715 extern "C"
15716 #endif
15717 char gethostbyname ();
15719 main ()
15721 return gethostbyname ();
15723 return 0;
15725 _ACEOF
15726 for ac_lib in '' nsl; do
15727 if test -z "$ac_lib"; then
15728 ac_res="none required"
15729 else
15730 ac_res=-l$ac_lib
15731 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15733 if ac_fn_c_try_link "$LINENO"; then :
15734 ac_cv_search_gethostbyname=$ac_res
15736 rm -f core conftest.err conftest.$ac_objext \
15737 conftest$ac_exeext
15738 if ${ac_cv_search_gethostbyname+:} false; then :
15739 break
15741 done
15742 if ${ac_cv_search_gethostbyname+:} false; then :
15744 else
15745 ac_cv_search_gethostbyname=no
15747 rm conftest.$ac_ext
15748 LIBS=$ac_func_search_save_LIBS
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15751 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15752 ac_res=$ac_cv_search_gethostbyname
15753 if test "$ac_res" != no; then :
15754 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15760 $as_echo_n "checking for library containing connect... " >&6; }
15761 if ${ac_cv_search_connect+:} false; then :
15762 $as_echo_n "(cached) " >&6
15763 else
15764 ac_func_search_save_LIBS=$LIBS
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15768 /* Override any GCC internal prototype to avoid an error.
15769 Use char because int might match the return type of a GCC
15770 builtin and then its argument prototype would still apply. */
15771 #ifdef __cplusplus
15772 extern "C"
15773 #endif
15774 char connect ();
15776 main ()
15778 return connect ();
15780 return 0;
15782 _ACEOF
15783 for ac_lib in '' socket; do
15784 if test -z "$ac_lib"; then
15785 ac_res="none required"
15786 else
15787 ac_res=-l$ac_lib
15788 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15790 if ac_fn_c_try_link "$LINENO"; then :
15791 ac_cv_search_connect=$ac_res
15793 rm -f core conftest.err conftest.$ac_objext \
15794 conftest$ac_exeext
15795 if ${ac_cv_search_connect+:} false; then :
15796 break
15798 done
15799 if ${ac_cv_search_connect+:} false; then :
15801 else
15802 ac_cv_search_connect=no
15804 rm conftest.$ac_ext
15805 LIBS=$ac_func_search_save_LIBS
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15808 $as_echo "$ac_cv_search_connect" >&6; }
15809 ac_res=$ac_cv_search_connect
15810 if test "$ac_res" != no; then :
15811 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15817 $as_echo_n "checking for library containing inet_aton... " >&6; }
15818 if ${ac_cv_search_inet_aton+:} false; then :
15819 $as_echo_n "(cached) " >&6
15820 else
15821 ac_func_search_save_LIBS=$LIBS
15822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15823 /* end confdefs.h. */
15825 /* Override any GCC internal prototype to avoid an error.
15826 Use char because int might match the return type of a GCC
15827 builtin and then its argument prototype would still apply. */
15828 #ifdef __cplusplus
15829 extern "C"
15830 #endif
15831 char inet_aton ();
15833 main ()
15835 return inet_aton ();
15837 return 0;
15839 _ACEOF
15840 for ac_lib in '' resolv; do
15841 if test -z "$ac_lib"; then
15842 ac_res="none required"
15843 else
15844 ac_res=-l$ac_lib
15845 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15847 if ac_fn_c_try_link "$LINENO"; then :
15848 ac_cv_search_inet_aton=$ac_res
15850 rm -f core conftest.err conftest.$ac_objext \
15851 conftest$ac_exeext
15852 if ${ac_cv_search_inet_aton+:} false; then :
15853 break
15855 done
15856 if ${ac_cv_search_inet_aton+:} false; then :
15858 else
15859 ac_cv_search_inet_aton=no
15861 rm conftest.$ac_ext
15862 LIBS=$ac_func_search_save_LIBS
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15865 $as_echo "$ac_cv_search_inet_aton" >&6; }
15866 ac_res=$ac_cv_search_inet_aton
15867 if test "$ac_res" != no; then :
15868 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15873 for ac_func in \
15874 getaddrinfo \
15875 getnameinfo \
15876 getnetbyname \
15877 getprotobyname \
15878 getprotobynumber \
15879 getservbyport \
15880 inet_addr \
15881 inet_network \
15882 inet_ntop \
15883 inet_pton \
15884 sendmsg \
15885 socketpair \
15887 do :
15888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15890 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15891 cat >>confdefs.h <<_ACEOF
15892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15893 _ACEOF
15896 done
15899 ac_save_LIBS=$LIBS
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15901 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15902 if ${ac_cv_search_clock_gettime+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 ac_func_search_save_LIBS=$LIBS
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15909 /* Override any GCC internal prototype to avoid an error.
15910 Use char because int might match the return type of a GCC
15911 builtin and then its argument prototype would still apply. */
15912 #ifdef __cplusplus
15913 extern "C"
15914 #endif
15915 char clock_gettime ();
15917 main ()
15919 return clock_gettime ();
15921 return 0;
15923 _ACEOF
15924 for ac_lib in '' rt; do
15925 if test -z "$ac_lib"; then
15926 ac_res="none required"
15927 else
15928 ac_res=-l$ac_lib
15929 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15931 if ac_fn_c_try_link "$LINENO"; then :
15932 ac_cv_search_clock_gettime=$ac_res
15934 rm -f core conftest.err conftest.$ac_objext \
15935 conftest$ac_exeext
15936 if ${ac_cv_search_clock_gettime+:} false; then :
15937 break
15939 done
15940 if ${ac_cv_search_clock_gettime+:} false; then :
15942 else
15943 ac_cv_search_clock_gettime=no
15945 rm conftest.$ac_ext
15946 LIBS=$ac_func_search_save_LIBS
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15949 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15950 ac_res=$ac_cv_search_clock_gettime
15951 if test "$ac_res" != no; then :
15952 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15954 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15956 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15960 LIBS=$ac_save_LIBS
15962 if test "x$with_ldap" != "xno"
15963 then
15964 if ${LDAP_CFLAGS:+false} :; then :
15965 if ${PKG_CONFIG+:} false; then :
15966 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15970 if ${LDAP_LIBS:+false} :; then :
15971 if ${PKG_CONFIG+:} false; then :
15972 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15976 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15977 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15978 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15979 ac_save_CPPFLAGS=$CPPFLAGS
15980 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15981 for ac_header in ldap.h lber.h
15982 do :
15983 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15984 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15985 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15988 _ACEOF
15992 done
15994 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15995 then
15996 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15998 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16000 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16001 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16002 $as_echo_n "(cached) " >&6
16003 else
16004 ac_check_lib_save_LIBS=$LIBS
16005 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16007 /* end confdefs.h. */
16009 /* Override any GCC internal prototype to avoid an error.
16010 Use char because int might match the return type of a GCC
16011 builtin and then its argument prototype would still apply. */
16012 #ifdef __cplusplus
16013 extern "C"
16014 #endif
16015 char ldap_initialize ();
16017 main ()
16019 return ldap_initialize ();
16021 return 0;
16023 _ACEOF
16024 if ac_fn_c_try_link "$LINENO"; then :
16025 ac_cv_lib_ldap_r_ldap_initialize=yes
16026 else
16027 ac_cv_lib_ldap_r_ldap_initialize=no
16029 rm -f core conftest.err conftest.$ac_objext \
16030 conftest$ac_exeext conftest.$ac_ext
16031 LIBS=$ac_check_lib_save_LIBS
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16034 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16035 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16037 $as_echo_n "checking for ber_init in -llber... " >&6; }
16038 if ${ac_cv_lib_lber_ber_init+:} false; then :
16039 $as_echo_n "(cached) " >&6
16040 else
16041 ac_check_lib_save_LIBS=$LIBS
16042 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16044 /* end confdefs.h. */
16046 /* Override any GCC internal prototype to avoid an error.
16047 Use char because int might match the return type of a GCC
16048 builtin and then its argument prototype would still apply. */
16049 #ifdef __cplusplus
16050 extern "C"
16051 #endif
16052 char ber_init ();
16054 main ()
16056 return ber_init ();
16058 return 0;
16060 _ACEOF
16061 if ac_fn_c_try_link "$LINENO"; then :
16062 ac_cv_lib_lber_ber_init=yes
16063 else
16064 ac_cv_lib_lber_ber_init=no
16066 rm -f core conftest.err conftest.$ac_objext \
16067 conftest$ac_exeext conftest.$ac_ext
16068 LIBS=$ac_check_lib_save_LIBS
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16071 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16072 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16074 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16076 else
16077 LDAP_LIBS=""
16080 else
16081 LDAP_LIBS=""
16084 else
16085 LDAP_LIBS=""
16088 ac_wine_check_funcs_save_LIBS="$LIBS"
16089 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16090 for ac_func in \
16091 ldap_count_references \
16092 ldap_first_reference \
16093 ldap_next_reference \
16094 ldap_parse_reference \
16095 ldap_parse_sort_control \
16096 ldap_parse_sortresponse_control \
16097 ldap_parse_vlv_control \
16098 ldap_parse_vlvresponse_control
16099 do :
16100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16102 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16105 _ACEOF
16108 done
16110 LIBS="$ac_wine_check_funcs_save_LIBS"
16111 else
16112 LDAP_LIBS=""
16114 CPPFLAGS=$ac_save_CPPFLAGS
16115 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16116 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16119 if test "x$LDAP_LIBS" = "x"; then :
16120 case "x$with_ldap" in
16121 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16122 xno) ;;
16123 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16124 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16125 esac
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16130 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16131 if ${wine_cv_one_arg_mkdir+:} false; then :
16132 $as_echo_n "(cached) " >&6
16133 else
16134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16136 #include <sys/stat.h>
16138 main ()
16140 mkdir("foo");
16142 return 0;
16144 _ACEOF
16145 if ac_fn_c_try_compile "$LINENO"; then :
16146 wine_cv_one_arg_mkdir=yes
16147 else
16148 wine_cv_one_arg_mkdir=no
16150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16153 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16154 if test "$wine_cv_one_arg_mkdir" = "yes"
16155 then
16157 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16162 $as_echo_n "checking for sched_setaffinity... " >&6; }
16163 if ${wine_cv_have_sched_setaffinity+:} false; then :
16164 $as_echo_n "(cached) " >&6
16165 else
16166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16167 /* end confdefs.h. */
16168 #define _GNU_SOURCE
16169 #include <sched.h>
16171 main ()
16173 sched_setaffinity(0, 0, 0);
16175 return 0;
16177 _ACEOF
16178 if ac_fn_c_try_link "$LINENO"; then :
16179 wine_cv_have_sched_setaffinity=yes
16180 else
16181 wine_cv_have_sched_setaffinity=no
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext conftest.$ac_ext
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16187 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16188 if test "$wine_cv_have_sched_setaffinity" = "yes"
16189 then
16191 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16196 $as_echo_n "checking for fallocate... " >&6; }
16197 if ${wine_cv_have_fallocate+:} false; then :
16198 $as_echo_n "(cached) " >&6
16199 else
16200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16201 /* end confdefs.h. */
16202 #define _GNU_SOURCE
16203 #include <fcntl.h>
16205 main ()
16207 fallocate(-1, 0, 0, 0);
16209 return 0;
16211 _ACEOF
16212 if ac_fn_c_try_link "$LINENO"; then :
16213 wine_cv_have_fallocate=yes
16214 else
16215 wine_cv_have_fallocate=no
16217 rm -f core conftest.err conftest.$ac_objext \
16218 conftest$ac_exeext conftest.$ac_ext
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16221 $as_echo "$wine_cv_have_fallocate" >&6; }
16222 if test "$wine_cv_have_fallocate" = "yes"
16223 then
16225 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16231 $as_echo_n "checking for inline... " >&6; }
16232 if ${ac_cv_c_inline+:} false; then :
16233 $as_echo_n "(cached) " >&6
16234 else
16235 ac_cv_c_inline=no
16236 for ac_kw in inline __inline__ __inline; do
16237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16238 /* end confdefs.h. */
16239 #ifndef __cplusplus
16240 typedef int foo_t;
16241 static $ac_kw foo_t static_foo () {return 0; }
16242 $ac_kw foo_t foo () {return 0; }
16243 #endif
16245 _ACEOF
16246 if ac_fn_c_try_compile "$LINENO"; then :
16247 ac_cv_c_inline=$ac_kw
16249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16250 test "$ac_cv_c_inline" != no && break
16251 done
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16255 $as_echo "$ac_cv_c_inline" >&6; }
16257 case $ac_cv_c_inline in
16258 inline | yes) ;;
16260 case $ac_cv_c_inline in
16261 no) ac_val=;;
16262 *) ac_val=$ac_cv_c_inline;;
16263 esac
16264 cat >>confdefs.h <<_ACEOF
16265 #ifndef __cplusplus
16266 #define inline $ac_val
16267 #endif
16268 _ACEOF
16270 esac
16272 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16273 if test "x$ac_cv_type_mode_t" = xyes; then :
16275 cat >>confdefs.h <<_ACEOF
16276 #define HAVE_MODE_T 1
16277 _ACEOF
16281 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16282 if test "x$ac_cv_type_off_t" = xyes; then :
16284 cat >>confdefs.h <<_ACEOF
16285 #define HAVE_OFF_T 1
16286 _ACEOF
16290 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16291 if test "x$ac_cv_type_pid_t" = xyes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_PID_T 1
16295 _ACEOF
16299 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16300 if test "x$ac_cv_type_size_t" = xyes; then :
16302 cat >>confdefs.h <<_ACEOF
16303 #define HAVE_SIZE_T 1
16304 _ACEOF
16308 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16309 if test "x$ac_cv_type_ssize_t" = xyes; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define HAVE_SSIZE_T 1
16313 _ACEOF
16317 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16318 if test "x$ac_cv_type_long_long" = xyes; then :
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_LONG_LONG 1
16322 _ACEOF
16326 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16327 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16329 cat >>confdefs.h <<_ACEOF
16330 #define HAVE_FSBLKCNT_T 1
16331 _ACEOF
16335 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16336 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_FSFILCNT_T 1
16340 _ACEOF
16345 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16346 #include <signal.h>
16348 if test "x$ac_cv_type_sigset_t" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_SIGSET_T 1
16352 _ACEOF
16357 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16359 if test "x$ac_cv_type_request_sense" = xyes; then :
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_REQUEST_SENSE 1
16363 _ACEOF
16369 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16370 #ifdef HAVE_SYS_SOCKET_H
16371 #include <sys/socket.h>
16372 #endif
16373 #ifdef HAVE_SYS_SOCKETVAR_H
16374 #include <sys/socketvar.h>
16375 #endif
16376 #ifdef HAVE_NET_ROUTE_H
16377 #include <net/route.h>
16378 #endif
16379 #ifdef HAVE_NETINET_IN_H
16380 #include <netinet/in.h>
16381 #endif
16382 #ifdef HAVE_NETINET_IN_SYSTM_H
16383 #include <netinet/in_systm.h>
16384 #endif
16385 #ifdef HAVE_NETINET_IP_H
16386 #include <netinet/ip.h>
16387 #endif
16388 #ifdef HAVE_NETINET_IN_PCB_H
16389 #include <netinet/in_pcb.h>
16390 #endif
16392 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_XINPGEN 1
16396 _ACEOF
16402 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16403 #include <link.h>
16404 #endif
16405 #ifdef HAVE_SYS_LINK_H
16406 #include <sys/link.h>
16407 #endif
16409 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_STRUCT_R_DEBUG 1
16413 _ACEOF
16417 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16418 #include <link.h>
16419 #endif
16420 #ifdef HAVE_SYS_LINK_H
16421 #include <sys/link.h>
16422 #endif
16424 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_STRUCT_LINK_MAP 1
16428 _ACEOF
16434 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16435 #include <linux/input.h>
16436 #endif
16438 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16440 cat >>confdefs.h <<_ACEOF
16441 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16442 _ACEOF
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16449 $as_echo_n "checking for if_nameindex... " >&6; }
16450 if ${wine_cv_have_if_nameindex+:} false; then :
16451 $as_echo_n "(cached) " >&6
16452 else
16453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16455 #ifdef HAVE_SYS_TYPES_H
16456 #include <sys/types.h>
16457 #endif
16458 #ifdef HAVE_SYS_SOCKET_H
16459 #include <sys/socket.h>
16460 #endif
16461 #ifdef HAVE_NET_IF_H
16462 # include <net/if.h>
16463 #endif
16465 main ()
16467 struct if_nameindex *p = if_nameindex(); return p->if_index;
16469 return 0;
16471 _ACEOF
16472 if ac_fn_c_try_link "$LINENO"; then :
16473 wine_cv_have_if_nameindex=yes
16474 else
16475 wine_cv_have_if_nameindex=no
16477 rm -f core conftest.err conftest.$ac_objext \
16478 conftest$ac_exeext conftest.$ac_ext
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16481 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16482 if test "$wine_cv_have_if_nameindex" = "yes"
16483 then
16485 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16490 $as_echo_n "checking for sigaddset... " >&6; }
16491 if ${wine_cv_have_sigaddset+:} false; then :
16492 $as_echo_n "(cached) " >&6
16493 else
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 #include <signal.h>
16498 main ()
16500 sigset_t set; sigaddset(&set,SIGTERM);
16502 return 0;
16504 _ACEOF
16505 if ac_fn_c_try_link "$LINENO"; then :
16506 wine_cv_have_sigaddset=yes
16507 else
16508 wine_cv_have_sigaddset=no
16510 rm -f core conftest.err conftest.$ac_objext \
16511 conftest$ac_exeext conftest.$ac_ext
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16514 $as_echo "$wine_cv_have_sigaddset" >&6; }
16515 if test "$wine_cv_have_sigaddset" = "yes"
16516 then
16518 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16524 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16525 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16526 $as_echo_n "(cached) " >&6
16527 else
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16530 #include <netdb.h>
16532 main ()
16535 char *name=0;
16536 struct hostent he;
16537 struct hostent *result;
16538 char *buf=0;
16539 int bufsize=0;
16540 int errnr;
16541 char *addr=0;
16542 int addrlen=0;
16543 int addrtype=0;
16544 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16545 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16548 return 0;
16550 _ACEOF
16551 if ac_fn_c_try_link "$LINENO"; then :
16552 wine_cv_linux_gethostbyname_r_6=yes
16553 else
16554 wine_cv_linux_gethostbyname_r_6=no
16557 rm -f core conftest.err conftest.$ac_objext \
16558 conftest$ac_exeext conftest.$ac_ext
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16562 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16563 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16564 then
16566 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16570 if test "$ac_cv_header_linux_joystick_h" = "yes"
16571 then
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16573 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16574 if ${wine_cv_linux_joystick_22_api+:} false; then :
16575 $as_echo_n "(cached) " >&6
16576 else
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 #include <sys/ioctl.h>
16581 #include <sys/types.h>
16582 #include <linux/joystick.h>
16584 struct js_event blub;
16585 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16586 #error "no 2.2 header"
16587 #endif
16590 main ()
16592 /*empty*/
16594 return 0;
16596 _ACEOF
16597 if ac_fn_c_try_compile "$LINENO"; then :
16598 wine_cv_linux_joystick_22_api=yes
16599 else
16600 wine_cv_linux_joystick_22_api=no
16602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16606 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16607 if test "$wine_cv_linux_joystick_22_api" = "yes"
16608 then
16610 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16616 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16617 #ifdef HAVE_SYS_PARAM_H
16618 # include <sys/param.h>
16619 #endif
16620 #ifdef HAVE_SYS_MOUNT_H
16621 # include <sys/mount.h>
16622 #endif
16623 #ifdef HAVE_SYS_VFS_H
16624 # include <sys/vfs.h>
16625 #endif
16626 #ifdef HAVE_SYS_STATFS_H
16627 # include <sys/statfs.h>
16628 #endif
16630 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_STRUCT_STATFS_F_BFREE 1
16634 _ACEOF
16638 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16639 #ifdef HAVE_SYS_PARAM_H
16640 # include <sys/param.h>
16641 #endif
16642 #ifdef HAVE_SYS_MOUNT_H
16643 # include <sys/mount.h>
16644 #endif
16645 #ifdef HAVE_SYS_VFS_H
16646 # include <sys/vfs.h>
16647 #endif
16648 #ifdef HAVE_SYS_STATFS_H
16649 # include <sys/statfs.h>
16650 #endif
16652 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16656 _ACEOF
16660 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16661 #ifdef HAVE_SYS_PARAM_H
16662 # include <sys/param.h>
16663 #endif
16664 #ifdef HAVE_SYS_MOUNT_H
16665 # include <sys/mount.h>
16666 #endif
16667 #ifdef HAVE_SYS_VFS_H
16668 # include <sys/vfs.h>
16669 #endif
16670 #ifdef HAVE_SYS_STATFS_H
16671 # include <sys/statfs.h>
16672 #endif
16674 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16678 _ACEOF
16682 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16683 #ifdef HAVE_SYS_PARAM_H
16684 # include <sys/param.h>
16685 #endif
16686 #ifdef HAVE_SYS_MOUNT_H
16687 # include <sys/mount.h>
16688 #endif
16689 #ifdef HAVE_SYS_VFS_H
16690 # include <sys/vfs.h>
16691 #endif
16692 #ifdef HAVE_SYS_STATFS_H
16693 # include <sys/statfs.h>
16694 #endif
16696 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16698 cat >>confdefs.h <<_ACEOF
16699 #define HAVE_STRUCT_STATFS_F_FFREE 1
16700 _ACEOF
16704 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16705 #ifdef HAVE_SYS_PARAM_H
16706 # include <sys/param.h>
16707 #endif
16708 #ifdef HAVE_SYS_MOUNT_H
16709 # include <sys/mount.h>
16710 #endif
16711 #ifdef HAVE_SYS_VFS_H
16712 # include <sys/vfs.h>
16713 #endif
16714 #ifdef HAVE_SYS_STATFS_H
16715 # include <sys/statfs.h>
16716 #endif
16718 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16720 cat >>confdefs.h <<_ACEOF
16721 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16722 _ACEOF
16726 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16727 #ifdef HAVE_SYS_PARAM_H
16728 # include <sys/param.h>
16729 #endif
16730 #ifdef HAVE_SYS_MOUNT_H
16731 # include <sys/mount.h>
16732 #endif
16733 #ifdef HAVE_SYS_VFS_H
16734 # include <sys/vfs.h>
16735 #endif
16736 #ifdef HAVE_SYS_STATFS_H
16737 # include <sys/statfs.h>
16738 #endif
16740 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16742 cat >>confdefs.h <<_ACEOF
16743 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16744 _ACEOF
16750 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16751 #include <sys/statvfs.h>
16752 #endif
16754 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16756 cat >>confdefs.h <<_ACEOF
16757 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16758 _ACEOF
16764 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16765 #include <dirent.h>
16766 #endif
16768 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16770 cat >>confdefs.h <<_ACEOF
16771 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16772 _ACEOF
16778 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16779 #ifdef HAVE_SYS_SOCKET_H
16780 # include <sys/socket.h>
16781 #endif
16782 #ifdef HAVE_SYS_UN_H
16783 # include <sys/un.h>
16784 #endif
16786 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16788 cat >>confdefs.h <<_ACEOF
16789 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16790 _ACEOF
16794 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16795 #ifdef HAVE_SYS_SOCKET_H
16796 # include <sys/socket.h>
16797 #endif
16798 #ifdef HAVE_SYS_UN_H
16799 # include <sys/un.h>
16800 #endif
16802 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16804 cat >>confdefs.h <<_ACEOF
16805 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16806 _ACEOF
16810 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16811 #ifdef HAVE_SYS_SOCKET_H
16812 # include <sys/socket.h>
16813 #endif
16814 #ifdef HAVE_SYS_UN_H
16815 # include <sys/un.h>
16816 #endif
16818 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16820 cat >>confdefs.h <<_ACEOF
16821 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16822 _ACEOF
16828 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16829 #ifdef HAVE_SCSI_SG_H
16830 #include <scsi/sg.h>
16831 #endif
16833 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16835 cat >>confdefs.h <<_ACEOF
16836 #define HAVE_SCSIREQ_T_CMD 1
16837 _ACEOF
16841 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>
16842 #ifdef HAVE_SCSI_SG_H
16843 #include <scsi/sg.h>
16844 #endif
16846 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16848 cat >>confdefs.h <<_ACEOF
16849 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16850 _ACEOF
16856 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16858 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16860 cat >>confdefs.h <<_ACEOF
16861 #define HAVE_SIGINFO_T_SI_FD 1
16862 _ACEOF
16868 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16869 #ifdef HAVE_SYS_MTIO_H
16870 #include <sys/mtio.h>
16871 #endif
16873 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16875 cat >>confdefs.h <<_ACEOF
16876 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16877 _ACEOF
16881 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16882 #ifdef HAVE_SYS_MTIO_H
16883 #include <sys/mtio.h>
16884 #endif
16886 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16888 cat >>confdefs.h <<_ACEOF
16889 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16890 _ACEOF
16894 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16895 #ifdef HAVE_SYS_MTIO_H
16896 #include <sys/mtio.h>
16897 #endif
16899 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16901 cat >>confdefs.h <<_ACEOF
16902 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16903 _ACEOF
16909 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16910 #include <getopt.h>
16911 #endif
16913 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16915 cat >>confdefs.h <<_ACEOF
16916 #define HAVE_STRUCT_OPTION_NAME 1
16917 _ACEOF
16923 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16924 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16926 cat >>confdefs.h <<_ACEOF
16927 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16928 _ACEOF
16932 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16933 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16935 cat >>confdefs.h <<_ACEOF
16936 #define HAVE_STRUCT_STAT_ST_MTIM 1
16937 _ACEOF
16941 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16942 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16944 cat >>confdefs.h <<_ACEOF
16945 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16946 _ACEOF
16950 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16951 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16953 cat >>confdefs.h <<_ACEOF
16954 #define HAVE_STRUCT_STAT_ST_CTIM 1
16955 _ACEOF
16959 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16960 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16962 cat >>confdefs.h <<_ACEOF
16963 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16964 _ACEOF
16968 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16969 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16971 cat >>confdefs.h <<_ACEOF
16972 #define HAVE_STRUCT_STAT_ST_ATIM 1
16973 _ACEOF
16977 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16978 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16980 cat >>confdefs.h <<_ACEOF
16981 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16982 _ACEOF
16986 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16987 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16989 cat >>confdefs.h <<_ACEOF
16990 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16991 _ACEOF
16995 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16996 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16998 cat >>confdefs.h <<_ACEOF
16999 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17000 _ACEOF
17004 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17005 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17007 cat >>confdefs.h <<_ACEOF
17008 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17009 _ACEOF
17013 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17014 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17016 cat >>confdefs.h <<_ACEOF
17017 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17018 _ACEOF
17022 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17023 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17025 cat >>confdefs.h <<_ACEOF
17026 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17027 _ACEOF
17033 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
17034 #include <sys/types.h>
17035 #endif
17036 #ifdef HAVE_NETINET_IN_H
17037 #include <netinet/in.h>
17038 #endif
17040 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17042 cat >>confdefs.h <<_ACEOF
17043 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17044 _ACEOF
17050 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17051 #include <sys/types.h>
17052 #endif
17053 #ifdef HAVE_NETINET_IN_H
17054 #include <netinet/in.h>
17055 #endif
17056 #ifdef HAVE_RESOLV_H
17057 #include <resolv.h>
17058 #endif
17060 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17062 cat >>confdefs.h <<_ACEOF
17063 #define HAVE_STRUCT___RES_STATE 1
17064 _ACEOF
17070 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
17071 #include <resolv.h>
17072 #endif
17074 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17076 cat >>confdefs.h <<_ACEOF
17077 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17078 _ACEOF
17084 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17085 #include <sys/types.h>
17086 #endif
17087 #ifdef HAVE_NETINET_IN_H
17088 # include <netinet/in.h>
17089 #endif
17090 #ifdef HAVE_ARPA_NAMESER_H
17091 # include <arpa/nameser.h>
17092 #endif
17094 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17096 cat >>confdefs.h <<_ACEOF
17097 #define HAVE_NS_MSG__MSG_PTR 1
17098 _ACEOF
17104 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17105 #include <sys/types.h>
17106 #endif
17107 #ifdef HAVE_NETINET_IN_H
17108 #include <netinet/in.h>
17109 #endif
17110 #ifdef HAVE_NETINET_IP_H
17111 #include <netinet/ip.h>
17112 #endif
17113 #ifdef HAVE_NETINET_IP_ICMP_H
17114 #include <netinet/ip_icmp.h>
17115 #endif
17116 #ifdef HAVE_NETINET_ICMP_VAR_H
17117 #include <netinet/icmp_var.h>
17118 #endif
17120 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17122 cat >>confdefs.h <<_ACEOF
17123 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17124 _ACEOF
17130 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17131 #include <sys/types.h>
17132 #endif
17133 #ifdef HAVE_ALIAS_H
17134 #include <alias.h>
17135 #endif
17136 #ifdef HAVE_SYS_SOCKET_H
17137 #include <sys/socket.h>
17138 #endif
17139 #ifdef HAVE_SYS_SOCKETVAR_H
17140 #include <sys/socketvar.h>
17141 #endif
17142 #ifdef HAVE_SYS_TIMEOUT_H
17143 #include <sys/timeout.h>
17144 #endif
17145 #ifdef HAVE_NETINET_IN_H
17146 #include <netinet/in.h>
17147 #endif
17148 #ifdef HAVE_NETINET_IN_SYSTM_H
17149 #include <netinet/in_systm.h>
17150 #endif
17151 #ifdef HAVE_NETINET_IP_H
17152 #include <netinet/ip.h>
17153 #endif
17154 #ifdef HAVE_NETINET_IP_VAR_H
17155 #include <netinet/ip_var.h>
17156 #endif
17157 #ifdef HAVE_NETINET_IP_ICMP_H
17158 #include <netinet/ip_icmp.h>
17159 #endif
17160 #ifdef HAVE_NETINET_ICMP_VAR_H
17161 #include <netinet/icmp_var.h>
17162 #endif
17164 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17168 _ACEOF
17174 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17175 #include <sys/types.h>
17176 #endif
17177 #ifdef HAVE_SYS_SOCKETVAR_H
17178 #include <sys/socketvar.h>
17179 #endif
17180 #ifdef HAVE_NETINET_IN_H
17181 #include <netinet/in.h>
17182 #endif
17183 #ifdef HAVE_NETINET_IP_VAR_H
17184 #include <netinet/ip_var.h>
17185 #endif
17187 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17189 cat >>confdefs.h <<_ACEOF
17190 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17191 _ACEOF
17197 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
17198 #include <netinet/ip_var.h>
17199 #endif
17201 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17203 cat >>confdefs.h <<_ACEOF
17204 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17205 _ACEOF
17211 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17212 #include <sys/types.h>
17213 #endif
17214 #ifdef HAVE_SYS_SOCKETVAR_H
17215 #include <sys/socketvar.h>
17216 #endif
17217 #ifdef HAVE_NETINET_IN_H
17218 #include <netinet/in.h>
17219 #endif
17220 #ifdef HAVE_NETINET_TCP_H
17221 #include <netinet/tcp.h>
17222 #endif
17223 #ifdef HAVE_NETINET_TCP_VAR_H
17224 #include <netinet/tcp_var.h>
17225 #endif
17227 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17229 cat >>confdefs.h <<_ACEOF
17230 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17231 _ACEOF
17237 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
17238 #include <netinet/tcp_var.h>
17239 #endif
17241 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17243 cat >>confdefs.h <<_ACEOF
17244 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17245 _ACEOF
17251 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17252 #include <sys/types.h>
17253 #endif
17254 #ifdef HAVE_NETINET_IN_H
17255 #include <netinet/in.h>
17256 #endif
17257 #ifdef HAVE_NETINET_IP_VAR_H
17258 #include <netinet/ip_var.h>
17259 #endif
17260 #ifdef HAVE_NETINET_UDP_H
17261 #include <netinet/udp.h>
17262 #endif
17263 #ifdef HAVE_NETINET_UDP_VAR_H
17264 #include <netinet/udp_var.h>
17265 #endif
17267 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17269 cat >>confdefs.h <<_ACEOF
17270 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17271 _ACEOF
17277 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17278 #include <sys/types.h>
17279 #endif
17280 #ifdef HAVE_NET_IF_H
17281 # include <net/if.h>
17282 #endif
17284 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17286 cat >>confdefs.h <<_ACEOF
17287 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17288 _ACEOF
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17295 $as_echo_n "checking for timezone variable... " >&6; }
17296 if ${ac_cv_have_timezone+:} false; then :
17297 $as_echo_n "(cached) " >&6
17298 else
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 #include <time.h>
17303 main ()
17305 timezone = 1
17307 return 0;
17309 _ACEOF
17310 if ac_fn_c_try_link "$LINENO"; then :
17311 ac_cv_have_timezone="yes"
17312 else
17313 ac_cv_have_timezone="no"
17315 rm -f core conftest.err conftest.$ac_objext \
17316 conftest$ac_exeext conftest.$ac_ext
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17319 $as_echo "$ac_cv_have_timezone" >&6; }
17320 if test "$ac_cv_have_timezone" = "yes"
17321 then
17323 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17327 $as_echo_n "checking for daylight variable... " >&6; }
17328 if ${ac_cv_have_daylight+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #include <time.h>
17335 main ()
17337 daylight = 1
17339 return 0;
17341 _ACEOF
17342 if ac_fn_c_try_link "$LINENO"; then :
17343 ac_cv_have_daylight="yes"
17344 else
17345 ac_cv_have_daylight="no"
17347 rm -f core conftest.err conftest.$ac_objext \
17348 conftest$ac_exeext conftest.$ac_ext
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17351 $as_echo "$ac_cv_have_daylight" >&6; }
17352 if test "$ac_cv_have_daylight" = "yes"
17353 then
17355 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17359 ac_save_LIBS="$LIBS"
17360 LIBS="$LIBS -lm"
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17362 $as_echo_n "checking for isfinite... " >&6; }
17363 if ${ac_cv_have_isfinite+:} false; then :
17364 $as_echo_n "(cached) " >&6
17365 else
17366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17367 /* end confdefs.h. */
17368 #define _GNU_SOURCE
17369 #include <math.h>
17371 main ()
17373 float f = 0.0; return isfinite(f)
17375 return 0;
17377 _ACEOF
17378 if ac_fn_c_try_link "$LINENO"; then :
17379 ac_cv_have_isfinite="yes"
17380 else
17381 ac_cv_have_isfinite="no"
17383 rm -f core conftest.err conftest.$ac_objext \
17384 conftest$ac_exeext conftest.$ac_ext
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17387 $as_echo "$ac_cv_have_isfinite" >&6; }
17388 if test "$ac_cv_have_isfinite" = "yes"
17389 then
17391 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17396 $as_echo_n "checking for isinf... " >&6; }
17397 if ${ac_cv_have_isinf+:} false; then :
17398 $as_echo_n "(cached) " >&6
17399 else
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #include <math.h>
17404 main ()
17406 float f = 0.0; return isinf(f)
17408 return 0;
17410 _ACEOF
17411 if ac_fn_c_try_link "$LINENO"; then :
17412 ac_cv_have_isinf="yes"
17413 else
17414 ac_cv_have_isinf="no"
17416 rm -f core conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17420 $as_echo "$ac_cv_have_isinf" >&6; }
17421 if test "$ac_cv_have_isinf" = "yes"
17422 then
17424 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17429 $as_echo_n "checking for isnan... " >&6; }
17430 if ${ac_cv_have_isnan+:} false; then :
17431 $as_echo_n "(cached) " >&6
17432 else
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17435 #include <math.h>
17437 main ()
17439 float f = 0.0; return isnan(f)
17441 return 0;
17443 _ACEOF
17444 if ac_fn_c_try_link "$LINENO"; then :
17445 ac_cv_have_isnan="yes"
17446 else
17447 ac_cv_have_isnan="no"
17449 rm -f core conftest.err conftest.$ac_objext \
17450 conftest$ac_exeext conftest.$ac_ext
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17453 $as_echo "$ac_cv_have_isnan" >&6; }
17454 if test "$ac_cv_have_isnan" = "yes"
17455 then
17457 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17461 for ac_func in \
17462 acosh \
17463 acoshf \
17464 asinh \
17465 asinhf \
17466 atanh \
17467 atanhf \
17468 cbrt \
17469 cbrtf \
17470 erf \
17471 erfc \
17472 erfcf \
17473 erff \
17474 exp2 \
17475 exp2f \
17476 expm1 \
17477 expm1f \
17478 lgamma \
17479 lgammaf \
17480 llrint \
17481 llrintf \
17482 llround \
17483 llroundf \
17484 log1p \
17485 log1pf \
17486 log2 \
17487 log2f \
17488 lrint \
17489 lrintf \
17490 lround \
17491 lroundf \
17492 nearbyint \
17493 nearbyintf \
17494 powl \
17495 remainder \
17496 remainderf \
17497 rint \
17498 rintf \
17499 round \
17500 roundf \
17501 trunc \
17502 truncf
17504 do :
17505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17507 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17508 cat >>confdefs.h <<_ACEOF
17509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17510 _ACEOF
17513 done
17515 LIBS="$ac_save_LIBS"
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17518 $as_echo_n "checking for __builtin_clz... " >&6; }
17519 if ${ac_cv_have___builtin_clz+:} false; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17526 main ()
17528 return __builtin_clz(1)
17530 return 0;
17532 _ACEOF
17533 if ac_fn_c_try_link "$LINENO"; then :
17534 ac_cv_have___builtin_clz="yes"
17535 else
17536 ac_cv_have___builtin_clz="no"
17538 rm -f core conftest.err conftest.$ac_objext \
17539 conftest$ac_exeext conftest.$ac_ext
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17542 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17543 if test "$ac_cv_have___builtin_clz" = "yes"
17544 then
17546 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17551 $as_echo_n "checking for __builtin_popcount... " >&6; }
17552 if ${ac_cv_have___builtin_popcount+:} false; then :
17553 $as_echo_n "(cached) " >&6
17554 else
17555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h. */
17559 main ()
17561 return __builtin_popcount(1)
17563 return 0;
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567 ac_cv_have___builtin_popcount="yes"
17568 else
17569 ac_cv_have___builtin_popcount="no"
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17575 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17576 if test "$ac_cv_have___builtin_popcount" = "yes"
17577 then
17579 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17584 case $host_cpu in
17585 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17586 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17587 if ${ac_cv_cpp_def___i386__+:} false; then :
17588 $as_echo_n "(cached) " >&6
17589 else
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 #ifndef __i386__
17594 #endif
17595 _ACEOF
17596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17597 $EGREP "yes" >/dev/null 2>&1; then :
17598 ac_cv_cpp_def___i386__=yes
17599 else
17600 ac_cv_cpp_def___i386__=no
17602 rm -f conftest*
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17606 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17607 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17608 CFLAGS="$CFLAGS -D__i386__"
17609 LINTFLAGS="$LINTFLAGS -D__i386__"
17610 fi ;;
17611 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17612 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17613 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17614 $as_echo_n "(cached) " >&6
17615 else
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17618 #ifndef __x86_64__
17620 #endif
17621 _ACEOF
17622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17623 $EGREP "yes" >/dev/null 2>&1; then :
17624 ac_cv_cpp_def___x86_64__=yes
17625 else
17626 ac_cv_cpp_def___x86_64__=no
17628 rm -f conftest*
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17632 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17633 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17634 CFLAGS="$CFLAGS -D__x86_64__"
17635 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17636 fi ;;
17637 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17638 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17639 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17644 #ifndef __sparc64__
17646 #endif
17647 _ACEOF
17648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17649 $EGREP "yes" >/dev/null 2>&1; then :
17650 ac_cv_cpp_def___sparc64__=yes
17651 else
17652 ac_cv_cpp_def___sparc64__=no
17654 rm -f conftest*
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17658 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17659 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17660 CFLAGS="$CFLAGS -D__sparc64__"
17661 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17662 fi ;;
17663 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17664 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17665 if ${ac_cv_cpp_def___sparc__+:} false; then :
17666 $as_echo_n "(cached) " >&6
17667 else
17668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17670 #ifndef __sparc__
17672 #endif
17673 _ACEOF
17674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17675 $EGREP "yes" >/dev/null 2>&1; then :
17676 ac_cv_cpp_def___sparc__=yes
17677 else
17678 ac_cv_cpp_def___sparc__=no
17680 rm -f conftest*
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17684 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17685 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17686 CFLAGS="$CFLAGS -D__sparc__"
17687 LINTFLAGS="$LINTFLAGS -D__sparc__"
17688 fi ;;
17689 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17690 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17691 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17692 $as_echo_n "(cached) " >&6
17693 else
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #ifndef __powerpc64__
17698 #endif
17699 _ACEOF
17700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17701 $EGREP "yes" >/dev/null 2>&1; then :
17702 ac_cv_cpp_def___powerpc64__=yes
17703 else
17704 ac_cv_cpp_def___powerpc64__=no
17706 rm -f conftest*
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17710 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17711 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17712 CFLAGS="$CFLAGS -D__powerpc64__"
17713 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17714 fi ;;
17715 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17716 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17717 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17722 #ifndef __powerpc__
17724 #endif
17725 _ACEOF
17726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17727 $EGREP "yes" >/dev/null 2>&1; then :
17728 ac_cv_cpp_def___powerpc__=yes
17729 else
17730 ac_cv_cpp_def___powerpc__=no
17732 rm -f conftest*
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17736 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17737 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17738 CFLAGS="$CFLAGS -D__powerpc__"
17739 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17740 fi ;;
17741 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17742 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17743 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745 else
17746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17748 #ifndef __aarch64__
17750 #endif
17751 _ACEOF
17752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17753 $EGREP "yes" >/dev/null 2>&1; then :
17754 ac_cv_cpp_def___aarch64__=yes
17755 else
17756 ac_cv_cpp_def___aarch64__=no
17758 rm -f conftest*
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17762 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17763 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17764 CFLAGS="$CFLAGS -D__aarch64__"
17765 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17766 fi ;;
17767 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17768 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17769 if ${ac_cv_cpp_def___arm__+:} false; then :
17770 $as_echo_n "(cached) " >&6
17771 else
17772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h. */
17774 #ifndef __arm__
17776 #endif
17777 _ACEOF
17778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17779 $EGREP "yes" >/dev/null 2>&1; then :
17780 ac_cv_cpp_def___arm__=yes
17781 else
17782 ac_cv_cpp_def___arm__=no
17784 rm -f conftest*
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17788 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17789 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17790 CFLAGS="$CFLAGS -D__arm__"
17791 LINTFLAGS="$LINTFLAGS -D__arm__"
17792 fi ;;
17793 esac
17795 case $host_vendor in
17796 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17797 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17798 if ${ac_cv_cpp_def___sun__+:} false; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17803 #ifndef __sun__
17805 #endif
17806 _ACEOF
17807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17808 $EGREP "yes" >/dev/null 2>&1; then :
17809 ac_cv_cpp_def___sun__=yes
17810 else
17811 ac_cv_cpp_def___sun__=no
17813 rm -f conftest*
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17817 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17818 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17819 CFLAGS="$CFLAGS -D__sun__"
17820 LINTFLAGS="$LINTFLAGS -D__sun__"
17821 fi ;;
17822 esac
17828 ac_config_commands="$ac_config_commands include/stamp-h"
17830 $as_echo_n "creating Makefile rules..." >&6
17832 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17833 SOCKET_LIBS = $SOCKET_LIBS
17834 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17835 IOKIT_LIBS = $IOKIT_LIBS
17836 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17837 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17838 CORESERVICES_LIBS = $CORESERVICES_LIBS
17839 APPKIT_LIBS = $APPKIT_LIBS
17840 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17841 SECURITY_LIBS = $SECURITY_LIBS
17842 COREAUDIO_LIBS = $COREAUDIO_LIBS
17843 OPENAL_LIBS = $OPENAL_LIBS
17844 OPENCL_LIBS = $OPENCL_LIBS
17845 QUICKTIME_LIBS = $QUICKTIME_LIBS
17846 CARBON_LIBS = $CARBON_LIBS
17847 PTHREAD_LIBS = $PTHREAD_LIBS
17848 X_CFLAGS = $X_CFLAGS
17849 X_PRE_LIBS = $X_PRE_LIBS
17850 X_LIBS = $X_LIBS
17851 X_EXTRA_LIBS = $X_EXTRA_LIBS
17852 PCAP_LIBS = $PCAP_LIBS
17853 XML2_CFLAGS = $XML2_CFLAGS
17854 XML2_LIBS = $XML2_LIBS
17855 XSLT_CFLAGS = $XSLT_CFLAGS
17856 XSLT_LIBS = $XSLT_LIBS
17857 DBUS_CFLAGS = $DBUS_CFLAGS
17858 DBUS_LIBS = $DBUS_LIBS
17859 HAL_CFLAGS = $HAL_CFLAGS
17860 HAL_LIBS = $HAL_LIBS
17861 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17862 GNUTLS_LIBS = $GNUTLS_LIBS
17863 SANE_CFLAGS = $SANE_CFLAGS
17864 SANE_LIBS = $SANE_LIBS
17865 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17866 GPHOTO2_LIBS = $GPHOTO2_LIBS
17867 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17868 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17869 RESOLV_LIBS = $RESOLV_LIBS
17870 LCMS2_CFLAGS = $LCMS2_CFLAGS
17871 LCMS2_LIBS = $LCMS2_LIBS
17872 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17873 FREETYPE_LIBS = $FREETYPE_LIBS
17874 Z_LIBS = $Z_LIBS
17875 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17876 PULSE_CFLAGS = $PULSE_CFLAGS
17877 PULSE_LIBS = $PULSE_LIBS
17878 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17879 GSTREAMER_LIBS = $GSTREAMER_LIBS
17880 ALSA_LIBS = $ALSA_LIBS
17881 OSS4_CFLAGS = $OSS4_CFLAGS
17882 UDEV_CFLAGS = $UDEV_CFLAGS
17883 UDEV_LIBS = $UDEV_LIBS
17884 CAPI20_CFLAGS = $CAPI20_CFLAGS
17885 CAPI20_LIBS = $CAPI20_LIBS
17886 CUPS_CFLAGS = $CUPS_CFLAGS
17887 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17888 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17889 JPEG_CFLAGS = $JPEG_CFLAGS
17890 JPEG_LIBS = $JPEG_LIBS
17891 PNG_CFLAGS = $PNG_CFLAGS
17892 PNG_LIBS = $PNG_LIBS
17893 TIFF_CFLAGS = $TIFF_CFLAGS
17894 TIFF_LIBS = $TIFF_LIBS
17895 MPG123_CFLAGS = $MPG123_CFLAGS
17896 MPG123_LIBS = $MPG123_LIBS
17897 KSTAT_LIBS = $KSTAT_LIBS
17898 PROCSTAT_LIBS = $PROCSTAT_LIBS
17899 NETAPI_CFLAGS = $NETAPI_CFLAGS
17900 NETAPI_LIBS = $NETAPI_LIBS
17901 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17902 DL_LIBS = $DL_LIBS
17903 POLL_LIBS = $POLL_LIBS
17904 RT_LIBS = $RT_LIBS
17905 LDAP_CFLAGS = $LDAP_CFLAGS
17906 LDAP_LIBS = $LDAP_LIBS
17911 wine_fn_append_rule "
17912 # Rules automatically generated by configure
17914 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17916 .INIT: Makefile
17917 .MAKEFILEDEPS:
17918 all: Makefile
17919 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17920 @./config.status Make.tmp Makefile
17921 depend: \$(MAKEDEP) dummy
17922 \$(MAKEDEP)"
17924 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17925 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17927 if test "x$enable_fonts" != xno; then
17928 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17929 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17930 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17931 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17932 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17933 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17935 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17936 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17937 ac_config_links="$ac_config_links wine:tools/winewrapper"
17938 wine_fn_config_symlink wine
17939 if test "x$enable_win64" != xno; then
17940 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17941 wine_fn_config_symlink wine64
17944 wine_fn_config_dll acledit enable_acledit
17945 wine_fn_config_dll aclui enable_aclui implib
17946 wine_fn_config_dll activeds enable_activeds implib
17947 wine_fn_config_dll actxprxy enable_actxprxy clean
17948 wine_fn_config_lib adsiid
17949 wine_fn_config_dll adsldpc enable_adsldpc
17950 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17951 wine_fn_config_test dlls/advapi32/tests advapi32_test
17952 wine_fn_config_dll advpack enable_advpack implib
17953 wine_fn_config_test dlls/advpack/tests advpack_test
17954 wine_fn_config_dll amstream enable_amstream clean
17955 wine_fn_config_test dlls/amstream/tests amstream_test
17956 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17957 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17958 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17960 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17965 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17966 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17968 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17970 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17972 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17974 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17976 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17978 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17979 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17981 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17983 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17984 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17985 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17986 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17989 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17992 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17994 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17995 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17996 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17997 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17998 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17999 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18000 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18002 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18003 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18004 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18005 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18006 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18007 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18008 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18009 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18013 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18014 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18015 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18017 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18021 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18022 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18023 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18024 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18025 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18026 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18034 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18037 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18042 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18045 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18046 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18048 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18049 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18050 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18051 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18063 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18064 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18069 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18070 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18071 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18072 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18085 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18086 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18087 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18088 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18089 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18090 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18091 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18092 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18093 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18094 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18095 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18096 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18097 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18098 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18099 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18100 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18101 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18102 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18103 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18104 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18105 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18106 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18107 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18108 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18109 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18110 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18111 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18112 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18113 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18114 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18115 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18116 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18117 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18118 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18119 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18120 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18121 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18122 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18123 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18124 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18125 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18126 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18127 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18128 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18129 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18130 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18131 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18132 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18133 wine_fn_config_dll apphelp enable_apphelp
18134 wine_fn_config_test dlls/apphelp/tests apphelp_test
18135 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18136 wine_fn_config_dll atl enable_atl clean,implib
18137 wine_fn_config_test dlls/atl/tests atl_test
18138 wine_fn_config_dll atl100 enable_atl100 clean,implib
18139 wine_fn_config_test dlls/atl100/tests atl100_test
18140 wine_fn_config_dll atl110 enable_atl110 clean
18141 wine_fn_config_dll atl80 enable_atl80 clean,implib
18142 wine_fn_config_test dlls/atl80/tests atl80_test
18143 wine_fn_config_dll atl90 enable_atl90 clean
18144 wine_fn_config_dll authz enable_authz
18145 wine_fn_config_dll avicap32 enable_avicap32 implib
18146 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18147 wine_fn_config_test dlls/avifil32/tests avifil32_test
18148 wine_fn_config_dll avifile.dll16 enable_win16
18149 wine_fn_config_dll avrt enable_avrt implib
18150 wine_fn_config_dll bcrypt enable_bcrypt implib
18151 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18152 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18153 wine_fn_config_dll browseui enable_browseui clean
18154 wine_fn_config_test dlls/browseui/tests browseui_test
18155 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18156 wine_fn_config_dll cabinet enable_cabinet implib
18157 wine_fn_config_test dlls/cabinet/tests cabinet_test
18158 wine_fn_config_dll capi2032 enable_capi2032 implib
18159 wine_fn_config_dll cards enable_cards implib
18160 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18161 wine_fn_config_dll clusapi enable_clusapi implib
18162 wine_fn_config_dll combase enable_combase
18163 wine_fn_config_test dlls/combase/tests combase_test
18164 wine_fn_config_dll comcat enable_comcat
18165 wine_fn_config_test dlls/comcat/tests comcat_test
18166 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18167 wine_fn_config_test dlls/comctl32/tests comctl32_test
18168 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18169 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18170 wine_fn_config_dll comm.drv16 enable_win16
18171 wine_fn_config_dll commdlg.dll16 enable_win16
18172 wine_fn_config_dll compobj.dll16 enable_win16
18173 wine_fn_config_dll compstui enable_compstui implib
18174 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18175 wine_fn_config_dll concrt140 enable_concrt140
18176 wine_fn_config_dll connect enable_connect
18177 wine_fn_config_dll credui enable_credui clean,implib
18178 wine_fn_config_test dlls/credui/tests credui_test
18179 wine_fn_config_dll crtdll enable_crtdll
18180 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18181 wine_fn_config_test dlls/crypt32/tests crypt32_test
18182 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18183 wine_fn_config_dll cryptdll enable_cryptdll implib
18184 wine_fn_config_dll cryptext enable_cryptext
18185 wine_fn_config_dll cryptnet enable_cryptnet implib
18186 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18187 wine_fn_config_dll cryptui enable_cryptui clean,implib
18188 wine_fn_config_test dlls/cryptui/tests cryptui_test
18189 wine_fn_config_dll ctapi32 enable_ctapi32
18190 wine_fn_config_dll ctl3d.dll16 enable_win16
18191 wine_fn_config_dll ctl3d32 enable_ctl3d32
18192 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18193 wine_fn_config_dll d2d1 enable_d2d1 implib
18194 wine_fn_config_test dlls/d2d1/tests d2d1_test
18195 wine_fn_config_dll d3d10 enable_d3d10 implib
18196 wine_fn_config_test dlls/d3d10/tests d3d10_test
18197 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18198 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18199 wine_fn_config_dll d3d10core enable_d3d10core implib
18200 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18201 wine_fn_config_dll d3d11 enable_d3d11 implib
18202 wine_fn_config_test dlls/d3d11/tests d3d11_test
18203 wine_fn_config_dll d3d8 enable_d3d8 implib
18204 wine_fn_config_test dlls/d3d8/tests d3d8_test
18205 wine_fn_config_dll d3d9 enable_d3d9 implib
18206 wine_fn_config_test dlls/d3d9/tests d3d9_test
18207 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18208 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18209 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18210 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18211 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18212 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18213 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18214 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18215 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18216 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18217 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18218 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18219 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18220 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18221 wine_fn_config_dll d3dim enable_d3dim
18222 wine_fn_config_dll d3drm enable_d3drm implib
18223 wine_fn_config_test dlls/d3drm/tests d3drm_test
18224 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18225 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18226 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18227 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18228 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18229 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18230 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18231 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18232 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18233 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18234 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18235 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18236 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18237 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18238 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18239 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18240 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18241 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18242 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18243 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18244 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18245 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18246 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18247 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18248 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18249 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18250 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18251 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18252 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18253 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18254 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18255 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18256 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18257 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18258 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18259 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18260 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18261 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18262 wine_fn_config_dll davclnt enable_davclnt
18263 wine_fn_config_dll dbgeng enable_dbgeng implib
18264 wine_fn_config_dll dbghelp enable_dbghelp implib
18265 wine_fn_config_dll dciman32 enable_dciman32 implib
18266 wine_fn_config_dll ddeml.dll16 enable_win16
18267 wine_fn_config_dll ddraw enable_ddraw clean,implib
18268 wine_fn_config_test dlls/ddraw/tests ddraw_test
18269 wine_fn_config_dll ddrawex enable_ddrawex clean
18270 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18271 wine_fn_config_dll devenum enable_devenum clean
18272 wine_fn_config_test dlls/devenum/tests devenum_test
18273 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18274 wine_fn_config_dll difxapi enable_difxapi
18275 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18276 wine_fn_config_test dlls/dinput/tests dinput_test
18277 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18278 wine_fn_config_test dlls/dinput8/tests dinput8_test
18279 wine_fn_config_dll dispdib.dll16 enable_win16
18280 wine_fn_config_dll dispex enable_dispex clean
18281 wine_fn_config_test dlls/dispex/tests dispex_test
18282 wine_fn_config_dll display.drv16 enable_win16
18283 wine_fn_config_dll dmband enable_dmband clean
18284 wine_fn_config_test dlls/dmband/tests dmband_test
18285 wine_fn_config_dll dmcompos enable_dmcompos clean
18286 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18287 wine_fn_config_dll dmime enable_dmime clean
18288 wine_fn_config_test dlls/dmime/tests dmime_test
18289 wine_fn_config_dll dmloader enable_dmloader clean
18290 wine_fn_config_test dlls/dmloader/tests dmloader_test
18291 wine_fn_config_dll dmscript enable_dmscript clean
18292 wine_fn_config_test dlls/dmscript/tests dmscript_test
18293 wine_fn_config_dll dmstyle enable_dmstyle clean
18294 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18295 wine_fn_config_dll dmsynth enable_dmsynth clean
18296 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18297 wine_fn_config_dll dmusic enable_dmusic clean
18298 wine_fn_config_test dlls/dmusic/tests dmusic_test
18299 wine_fn_config_dll dmusic32 enable_dmusic32
18300 wine_fn_config_dll dnsapi enable_dnsapi implib
18301 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18302 wine_fn_config_dll dplay enable_dplay
18303 wine_fn_config_dll dplayx enable_dplayx clean,implib
18304 wine_fn_config_test dlls/dplayx/tests dplayx_test
18305 wine_fn_config_dll dpnaddr enable_dpnaddr
18306 wine_fn_config_dll dpnet enable_dpnet clean,implib
18307 wine_fn_config_test dlls/dpnet/tests dpnet_test
18308 wine_fn_config_dll dpnhpast enable_dpnhpast
18309 wine_fn_config_dll dpnlobby enable_dpnlobby
18310 wine_fn_config_dll dpvoice enable_dpvoice clean
18311 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18312 wine_fn_config_dll dpwsockx enable_dpwsockx
18313 wine_fn_config_dll drmclien enable_drmclien
18314 wine_fn_config_dll dsound enable_dsound clean,implib
18315 wine_fn_config_test dlls/dsound/tests dsound_test
18316 wine_fn_config_dll dsquery enable_dsquery
18317 wine_fn_config_dll dssenh enable_dssenh
18318 wine_fn_config_test dlls/dssenh/tests dssenh_test
18319 wine_fn_config_dll dswave enable_dswave clean
18320 wine_fn_config_test dlls/dswave/tests dswave_test
18321 wine_fn_config_dll dwmapi enable_dwmapi implib
18322 wine_fn_config_dll dwrite enable_dwrite implib
18323 wine_fn_config_test dlls/dwrite/tests dwrite_test
18324 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18325 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18326 wine_fn_config_lib dxerr8
18327 wine_fn_config_lib dxerr9
18328 wine_fn_config_dll dxgi enable_dxgi implib
18329 wine_fn_config_test dlls/dxgi/tests dxgi_test
18330 wine_fn_config_lib dxguid
18331 wine_fn_config_dll dxva2 enable_dxva2
18332 wine_fn_config_dll esent enable_esent
18333 wine_fn_config_dll evr enable_evr
18334 wine_fn_config_dll explorerframe enable_explorerframe clean
18335 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18336 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18337 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18338 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18339 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18340 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18341 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18342 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18343 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18344 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18345 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18346 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18347 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18348 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18349 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18350 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18351 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18352 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18353 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18354 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
18355 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18356 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18357 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18358 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18359 wine_fn_config_dll faultrep enable_faultrep implib
18360 wine_fn_config_test dlls/faultrep/tests faultrep_test
18361 wine_fn_config_dll fltlib enable_fltlib
18362 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18363 wine_fn_config_dll fntcache enable_fntcache
18364 wine_fn_config_dll fontsub enable_fontsub
18365 wine_fn_config_dll fusion enable_fusion
18366 wine_fn_config_test dlls/fusion/tests fusion_test
18367 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18368 wine_fn_config_dll gameux enable_gameux clean
18369 wine_fn_config_test dlls/gameux/tests gameux_test
18370 wine_fn_config_dll gdi.exe16 enable_win16
18371 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18372 wine_fn_config_test dlls/gdi32/tests gdi32_test
18373 wine_fn_config_dll gdiplus enable_gdiplus implib
18374 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18375 wine_fn_config_dll glu32 enable_glu32 implib
18376 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18377 wine_fn_config_dll gpkcsp enable_gpkcsp
18378 wine_fn_config_dll hal enable_hal
18379 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18380 wine_fn_config_dll hid enable_hid implib
18381 wine_fn_config_test dlls/hid/tests hid_test
18382 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18383 wine_fn_config_dll hlink enable_hlink clean,implib
18384 wine_fn_config_test dlls/hlink/tests hlink_test
18385 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18386 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18387 wine_fn_config_dll httpapi enable_httpapi
18388 wine_fn_config_dll iccvid enable_iccvid clean
18389 wine_fn_config_dll icmp enable_icmp
18390 wine_fn_config_dll ieframe enable_ieframe clean,implib
18391 wine_fn_config_test dlls/ieframe/tests ieframe_test
18392 wine_fn_config_dll ieproxy enable_ieproxy clean
18393 wine_fn_config_dll ifsmgr.vxd enable_win16
18394 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18395 wine_fn_config_dll imagehlp enable_imagehlp implib
18396 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18397 wine_fn_config_dll imm.dll16 enable_win16
18398 wine_fn_config_dll imm32 enable_imm32 implib
18399 wine_fn_config_test dlls/imm32/tests imm32_test
18400 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18401 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18402 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18403 wine_fn_config_dll inetmib1 enable_inetmib1
18404 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18405 wine_fn_config_dll infosoft enable_infosoft clean
18406 wine_fn_config_test dlls/infosoft/tests infosoft_test
18407 wine_fn_config_dll initpki enable_initpki
18408 wine_fn_config_dll inkobj enable_inkobj
18409 wine_fn_config_dll inseng enable_inseng clean
18410 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18411 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18412 wine_fn_config_dll iprop enable_iprop
18413 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18414 wine_fn_config_dll itircl enable_itircl
18415 wine_fn_config_dll itss enable_itss clean
18416 wine_fn_config_test dlls/itss/tests itss_test
18417 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18418 wine_fn_config_dll jscript enable_jscript clean
18419 wine_fn_config_test dlls/jscript/tests jscript_test
18420 wine_fn_config_dll jsproxy enable_jsproxy implib
18421 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18422 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18423 wine_fn_config_test dlls/kernel32/tests kernel32_test
18424 wine_fn_config_dll kernelbase enable_kernelbase
18425 wine_fn_config_dll keyboard.drv16 enable_win16
18426 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18427 wine_fn_config_dll ksuser enable_ksuser
18428 wine_fn_config_dll ktmw32 enable_ktmw32
18429 wine_fn_config_dll loadperf enable_loadperf implib
18430 wine_fn_config_dll localspl enable_localspl clean
18431 wine_fn_config_test dlls/localspl/tests localspl_test
18432 wine_fn_config_dll localui enable_localui clean
18433 wine_fn_config_test dlls/localui/tests localui_test
18434 wine_fn_config_dll lz32 enable_lz32 implib
18435 wine_fn_config_test dlls/lz32/tests lz32_test
18436 wine_fn_config_dll lzexpand.dll16 enable_win16
18437 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18438 wine_fn_config_test dlls/mapi32/tests mapi32_test
18439 wine_fn_config_dll mapistub enable_mapistub
18440 wine_fn_config_dll mciavi32 enable_mciavi32
18441 wine_fn_config_dll mcicda enable_mcicda
18442 wine_fn_config_dll mciqtz32 enable_mciqtz32
18443 wine_fn_config_dll mciseq enable_mciseq
18444 wine_fn_config_dll mciwave enable_mciwave
18445 wine_fn_config_dll mf enable_mf implib
18446 wine_fn_config_test dlls/mf/tests mf_test
18447 wine_fn_config_dll mf3216 enable_mf3216
18448 wine_fn_config_dll mfplat enable_mfplat implib
18449 wine_fn_config_test dlls/mfplat/tests mfplat_test
18450 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18451 wine_fn_config_dll mgmtapi enable_mgmtapi
18452 wine_fn_config_dll midimap enable_midimap
18453 wine_fn_config_dll mlang enable_mlang clean,implib
18454 wine_fn_config_test dlls/mlang/tests mlang_test
18455 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18456 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18457 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18458 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18459 wine_fn_config_dll mmdevldr.vxd enable_win16
18460 wine_fn_config_dll mmsystem.dll16 enable_win16
18461 wine_fn_config_dll monodebg.vxd enable_win16
18462 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18463 wine_fn_config_dll mouse.drv16 enable_win16
18464 wine_fn_config_dll mpr enable_mpr clean,implib
18465 wine_fn_config_test dlls/mpr/tests mpr_test
18466 wine_fn_config_dll mprapi enable_mprapi implib
18467 wine_fn_config_dll msacm.dll16 enable_win16
18468 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18469 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18470 wine_fn_config_test dlls/msacm32/tests msacm32_test
18471 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18472 wine_fn_config_dll msasn1 enable_msasn1 implib
18473 wine_fn_config_dll mscat32 enable_mscat32
18474 wine_fn_config_dll mscms enable_mscms implib
18475 wine_fn_config_test dlls/mscms/tests mscms_test
18476 wine_fn_config_dll mscoree enable_mscoree clean
18477 wine_fn_config_test dlls/mscoree/tests mscoree_test
18478 wine_fn_config_dll msctf enable_msctf clean
18479 wine_fn_config_test dlls/msctf/tests msctf_test
18480 wine_fn_config_dll msctfp enable_msctfp clean
18481 wine_fn_config_dll msdaps enable_msdaps clean
18482 wine_fn_config_dll msdelta enable_msdelta
18483 wine_fn_config_dll msdmo enable_msdmo implib
18484 wine_fn_config_test dlls/msdmo/tests msdmo_test
18485 wine_fn_config_dll msdrm enable_msdrm
18486 wine_fn_config_dll msftedit enable_msftedit
18487 wine_fn_config_dll msg711.acm enable_msg711_acm
18488 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18489 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18490 wine_fn_config_dll mshtml enable_mshtml clean,implib
18491 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18492 wine_fn_config_dll msi enable_msi clean,implib
18493 wine_fn_config_test dlls/msi/tests msi_test
18494 wine_fn_config_dll msident enable_msident clean
18495 wine_fn_config_dll msimg32 enable_msimg32 implib
18496 wine_fn_config_dll msimsg enable_msimsg
18497 wine_fn_config_dll msimtf enable_msimtf clean
18498 wine_fn_config_dll msisip enable_msisip
18499 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18500 wine_fn_config_dll msls31 enable_msls31
18501 wine_fn_config_dll msnet32 enable_msnet32
18502 wine_fn_config_dll mspatcha enable_mspatcha implib
18503 wine_fn_config_dll msports enable_msports
18504 wine_fn_config_dll msrle32 enable_msrle32 clean
18505 wine_fn_config_test dlls/msrle32/tests msrle32_test
18506 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18507 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18508 wine_fn_config_dll mssign32 enable_mssign32
18509 wine_fn_config_dll mssip32 enable_mssip32
18510 wine_fn_config_dll mstask enable_mstask clean
18511 wine_fn_config_test dlls/mstask/tests mstask_test
18512 wine_fn_config_dll msvcirt enable_msvcirt
18513 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18514 wine_fn_config_dll msvcm80 enable_msvcm80
18515 wine_fn_config_dll msvcm90 enable_msvcm90
18516 wine_fn_config_dll msvcp100 enable_msvcp100
18517 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18518 wine_fn_config_dll msvcp110 enable_msvcp110
18519 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18520 wine_fn_config_dll msvcp120 enable_msvcp120
18521 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18522 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18523 wine_fn_config_dll msvcp140 enable_msvcp140
18524 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18525 wine_fn_config_dll msvcp60 enable_msvcp60
18526 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18527 wine_fn_config_dll msvcp70 enable_msvcp70
18528 wine_fn_config_dll msvcp71 enable_msvcp71
18529 wine_fn_config_dll msvcp80 enable_msvcp80
18530 wine_fn_config_dll msvcp90 enable_msvcp90
18531 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18532 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18533 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18534 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18535 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18536 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18537 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18538 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18539 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18540 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18541 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18542 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18543 wine_fn_config_dll msvcrt enable_msvcrt implib
18544 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18545 wine_fn_config_dll msvcrt20 enable_msvcrt20
18546 wine_fn_config_dll msvcrt40 enable_msvcrt40
18547 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18548 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18549 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18550 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18551 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18552 wine_fn_config_dll msvideo.dll16 enable_win16
18553 wine_fn_config_dll mswsock enable_mswsock implib
18554 wine_fn_config_dll msxml enable_msxml clean
18555 wine_fn_config_dll msxml2 enable_msxml2 clean
18556 wine_fn_config_dll msxml3 enable_msxml3 clean
18557 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18558 wine_fn_config_dll msxml4 enable_msxml4 clean
18559 wine_fn_config_dll msxml6 enable_msxml6 clean
18560 wine_fn_config_dll mtxdm enable_mtxdm
18561 wine_fn_config_dll ncrypt enable_ncrypt
18562 wine_fn_config_dll nddeapi enable_nddeapi implib
18563 wine_fn_config_dll ndis.sys enable_ndis_sys
18564 wine_fn_config_dll netapi32 enable_netapi32 implib
18565 wine_fn_config_test dlls/netapi32/tests netapi32_test
18566 wine_fn_config_dll netcfgx enable_netcfgx clean
18567 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18568 wine_fn_config_dll netprofm enable_netprofm clean
18569 wine_fn_config_test dlls/netprofm/tests netprofm_test
18570 wine_fn_config_dll newdev enable_newdev implib
18571 wine_fn_config_dll normaliz enable_normaliz implib
18572 wine_fn_config_dll npmshtml enable_npmshtml
18573 wine_fn_config_dll npptools enable_npptools
18574 wine_fn_config_dll ntdll enable_ntdll implib
18575 wine_fn_config_test dlls/ntdll/tests ntdll_test
18576 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18577 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18578 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18579 wine_fn_config_dll ntprint enable_ntprint
18580 wine_fn_config_test dlls/ntprint/tests ntprint_test
18581 wine_fn_config_dll objsel enable_objsel clean
18582 wine_fn_config_dll odbc32 enable_odbc32 implib
18583 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18584 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18585 wine_fn_config_dll odbccu32 enable_odbccu32
18586 wine_fn_config_dll ole2.dll16 enable_win16
18587 wine_fn_config_dll ole2conv.dll16 enable_win16
18588 wine_fn_config_dll ole2disp.dll16 enable_win16
18589 wine_fn_config_dll ole2nls.dll16 enable_win16
18590 wine_fn_config_dll ole2prox.dll16 enable_win16
18591 wine_fn_config_dll ole2thk.dll16 enable_win16
18592 wine_fn_config_dll ole32 enable_ole32 clean,implib
18593 wine_fn_config_test dlls/ole32/tests ole32_test
18594 wine_fn_config_dll oleacc enable_oleacc clean,implib
18595 wine_fn_config_test dlls/oleacc/tests oleacc_test
18596 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18597 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18598 wine_fn_config_dll olecli.dll16 enable_win16
18599 wine_fn_config_dll olecli32 enable_olecli32 implib
18600 wine_fn_config_dll oledb32 enable_oledb32 clean
18601 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18602 wine_fn_config_dll oledlg enable_oledlg clean,implib
18603 wine_fn_config_test dlls/oledlg/tests oledlg_test
18604 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18605 wine_fn_config_dll olesvr.dll16 enable_win16
18606 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18607 wine_fn_config_dll olethk32 enable_olethk32
18608 wine_fn_config_dll openal32 enable_openal32
18609 wine_fn_config_dll opencl enable_opencl
18610 wine_fn_config_dll opengl32 enable_opengl32 implib
18611 wine_fn_config_test dlls/opengl32/tests opengl32_test
18612 wine_fn_config_dll packager enable_packager clean
18613 wine_fn_config_test dlls/packager/tests packager_test
18614 wine_fn_config_dll pdh enable_pdh implib
18615 wine_fn_config_test dlls/pdh/tests pdh_test
18616 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18617 wine_fn_config_dll pidgen enable_pidgen
18618 wine_fn_config_dll powrprof enable_powrprof implib
18619 wine_fn_config_dll printui enable_printui
18620 wine_fn_config_dll prntvpt enable_prntvpt
18621 wine_fn_config_dll propsys enable_propsys clean,implib
18622 wine_fn_config_test dlls/propsys/tests propsys_test
18623 wine_fn_config_dll psapi enable_psapi implib
18624 wine_fn_config_test dlls/psapi/tests psapi_test
18625 wine_fn_config_dll pstorec enable_pstorec clean
18626 wine_fn_config_test dlls/pstorec/tests pstorec_test
18627 wine_fn_config_dll qcap enable_qcap
18628 wine_fn_config_test dlls/qcap/tests qcap_test
18629 wine_fn_config_dll qedit enable_qedit clean
18630 wine_fn_config_test dlls/qedit/tests qedit_test
18631 wine_fn_config_dll qmgr enable_qmgr clean
18632 wine_fn_config_test dlls/qmgr/tests qmgr_test
18633 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18634 wine_fn_config_dll quartz enable_quartz clean,implib
18635 wine_fn_config_test dlls/quartz/tests quartz_test clean
18636 wine_fn_config_dll query enable_query
18637 wine_fn_config_dll rasapi16.dll16 enable_win16
18638 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18639 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18640 wine_fn_config_dll rasdlg enable_rasdlg implib
18641 wine_fn_config_dll regapi enable_regapi
18642 wine_fn_config_dll resutils enable_resutils implib
18643 wine_fn_config_dll riched20 enable_riched20 clean,implib
18644 wine_fn_config_test dlls/riched20/tests riched20_test
18645 wine_fn_config_dll riched32 enable_riched32
18646 wine_fn_config_test dlls/riched32/tests riched32_test
18647 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18648 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18649 wine_fn_config_dll rsabase enable_rsabase
18650 wine_fn_config_dll rsaenh enable_rsaenh implib
18651 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18652 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18653 wine_fn_config_dll rtutils enable_rtutils implib
18654 wine_fn_config_dll samlib enable_samlib
18655 wine_fn_config_dll sane.ds enable_sane_ds clean
18656 wine_fn_config_dll scarddlg enable_scarddlg
18657 wine_fn_config_dll sccbase enable_sccbase
18658 wine_fn_config_dll schannel enable_schannel
18659 wine_fn_config_test dlls/schannel/tests schannel_test
18660 wine_fn_config_dll schedsvc enable_schedsvc clean
18661 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18662 wine_fn_config_dll scrobj enable_scrobj clean
18663 wine_fn_config_dll scrrun enable_scrrun clean
18664 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18665 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18666 wine_fn_config_dll secur32 enable_secur32 implib
18667 wine_fn_config_test dlls/secur32/tests secur32_test
18668 wine_fn_config_dll security enable_security
18669 wine_fn_config_dll sensapi enable_sensapi implib
18670 wine_fn_config_dll serialui enable_serialui clean
18671 wine_fn_config_test dlls/serialui/tests serialui_test
18672 wine_fn_config_dll setupapi enable_setupapi clean,implib
18673 wine_fn_config_test dlls/setupapi/tests setupapi_test
18674 wine_fn_config_dll setupx.dll16 enable_win16
18675 wine_fn_config_dll sfc enable_sfc implib
18676 wine_fn_config_dll sfc_os enable_sfc_os implib
18677 wine_fn_config_dll shdoclc enable_shdoclc clean
18678 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18679 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18680 wine_fn_config_dll shell.dll16 enable_win16
18681 wine_fn_config_dll shell32 enable_shell32 clean,implib
18682 wine_fn_config_test dlls/shell32/tests shell32_test
18683 wine_fn_config_dll shfolder enable_shfolder implib
18684 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18685 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18686 wine_fn_config_dll slbcsp enable_slbcsp
18687 wine_fn_config_dll slc enable_slc implib
18688 wine_fn_config_test dlls/slc/tests slc_test
18689 wine_fn_config_dll snmpapi enable_snmpapi implib
18690 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18691 wine_fn_config_dll softpub enable_softpub
18692 wine_fn_config_dll sound.drv16 enable_win16
18693 wine_fn_config_dll spoolss enable_spoolss implib
18694 wine_fn_config_test dlls/spoolss/tests spoolss_test
18695 wine_fn_config_dll sspicli enable_sspicli
18696 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18697 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18698 wine_fn_config_dll sti enable_sti clean,implib
18699 wine_fn_config_test dlls/sti/tests sti_test
18700 wine_fn_config_dll storage.dll16 enable_win16
18701 wine_fn_config_dll stress.dll16 enable_win16
18702 wine_fn_config_lib strmbase
18703 wine_fn_config_lib strmiids
18704 wine_fn_config_dll svrapi enable_svrapi
18705 wine_fn_config_dll sxs enable_sxs implib
18706 wine_fn_config_test dlls/sxs/tests sxs_test
18707 wine_fn_config_dll system.drv16 enable_win16
18708 wine_fn_config_dll t2embed enable_t2embed implib
18709 wine_fn_config_test dlls/t2embed/tests t2embed_test
18710 wine_fn_config_dll tapi32 enable_tapi32 implib
18711 wine_fn_config_dll taskschd enable_taskschd clean
18712 wine_fn_config_test dlls/taskschd/tests taskschd_test
18713 wine_fn_config_dll tdh enable_tdh
18714 wine_fn_config_dll tdi.sys enable_tdi_sys
18715 wine_fn_config_dll toolhelp.dll16 enable_win16
18716 wine_fn_config_dll traffic enable_traffic
18717 wine_fn_config_dll twain.dll16 enable_win16
18718 wine_fn_config_dll twain_32 enable_twain_32
18719 wine_fn_config_test dlls/twain_32/tests twain_32_test
18720 wine_fn_config_dll typelib.dll16 enable_win16
18721 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18722 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18723 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18724 wine_fn_config_dll uiribbon enable_uiribbon clean
18725 wine_fn_config_dll unicows enable_unicows implib
18726 wine_fn_config_dll updspapi enable_updspapi
18727 wine_fn_config_dll url enable_url implib
18728 wine_fn_config_dll urlmon enable_urlmon clean,implib
18729 wine_fn_config_test dlls/urlmon/tests urlmon_test
18730 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18731 wine_fn_config_dll user.exe16 enable_win16
18732 wine_fn_config_dll user32 enable_user32 clean,implib
18733 wine_fn_config_test dlls/user32/tests user32_test
18734 wine_fn_config_dll userenv enable_userenv implib
18735 wine_fn_config_test dlls/userenv/tests userenv_test
18736 wine_fn_config_dll usp10 enable_usp10 implib
18737 wine_fn_config_test dlls/usp10/tests usp10_test
18738 wine_fn_config_lib uuid
18739 wine_fn_config_dll uxtheme enable_uxtheme implib
18740 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18741 wine_fn_config_dll vbscript enable_vbscript clean
18742 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18743 wine_fn_config_dll vcomp enable_vcomp
18744 wine_fn_config_test dlls/vcomp/tests vcomp_test
18745 wine_fn_config_dll vcomp100 enable_vcomp100
18746 wine_fn_config_dll vcomp110 enable_vcomp110
18747 wine_fn_config_dll vcomp120 enable_vcomp120
18748 wine_fn_config_dll vcomp140 enable_vcomp140
18749 wine_fn_config_dll vcomp90 enable_vcomp90
18750 wine_fn_config_dll vcruntime140 enable_vcruntime140
18751 wine_fn_config_dll vdhcp.vxd enable_win16
18752 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18753 wine_fn_config_dll ver.dll16 enable_win16
18754 wine_fn_config_dll version enable_version implib
18755 wine_fn_config_test dlls/version/tests version_test
18756 wine_fn_config_dll virtdisk enable_virtdisk
18757 wine_fn_config_dll vmm.vxd enable_win16
18758 wine_fn_config_dll vnbt.vxd enable_win16
18759 wine_fn_config_dll vnetbios.vxd enable_win16
18760 wine_fn_config_dll vssapi enable_vssapi
18761 wine_fn_config_dll vtdapi.vxd enable_win16
18762 wine_fn_config_dll vwin32.vxd enable_win16
18763 wine_fn_config_dll w32skrnl enable_win16
18764 wine_fn_config_dll w32sys.dll16 enable_win16
18765 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18766 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18767 wine_fn_config_dll wbemprox enable_wbemprox clean
18768 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18769 wine_fn_config_dll webservices enable_webservices implib
18770 wine_fn_config_test dlls/webservices/tests webservices_test
18771 wine_fn_config_dll wer enable_wer implib
18772 wine_fn_config_test dlls/wer/tests wer_test
18773 wine_fn_config_dll wevtapi enable_wevtapi
18774 wine_fn_config_dll wiaservc enable_wiaservc clean
18775 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18776 wine_fn_config_dll wimgapi enable_wimgapi
18777 wine_fn_config_dll win32s16.dll16 enable_win16
18778 wine_fn_config_dll win87em.dll16 enable_win16
18779 wine_fn_config_dll winaspi.dll16 enable_win16
18780 wine_fn_config_dll windebug.dll16 enable_win16
18781 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18782 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18783 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18784 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18785 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18786 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18787 wine_fn_config_dll winebus.sys enable_winebus_sys
18788 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18789 wine_fn_config_lib winecrt0
18790 wine_fn_config_dll wined3d enable_wined3d implib
18791 wine_fn_config_dll winegstreamer enable_winegstreamer
18792 wine_fn_config_dll winehid.sys enable_winehid_sys
18793 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18794 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18795 wine_fn_config_dll winemapi enable_winemapi
18796 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18797 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18798 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18799 wine_fn_config_dll wineps16.drv16 enable_win16
18800 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18801 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18802 wine_fn_config_dll winex11.drv enable_winex11_drv
18803 wine_fn_config_dll wing.dll16 enable_win16
18804 wine_fn_config_dll wing32 enable_wing32
18805 wine_fn_config_dll winhttp enable_winhttp clean,implib
18806 wine_fn_config_test dlls/winhttp/tests winhttp_test
18807 wine_fn_config_dll wininet enable_wininet clean,implib
18808 wine_fn_config_test dlls/wininet/tests wininet_test
18809 wine_fn_config_dll winmm enable_winmm clean,implib
18810 wine_fn_config_test dlls/winmm/tests winmm_test
18811 wine_fn_config_dll winnls.dll16 enable_win16
18812 wine_fn_config_dll winnls32 enable_winnls32 implib
18813 wine_fn_config_dll winscard enable_winscard implib
18814 wine_fn_config_dll winsock.dll16 enable_win16
18815 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18816 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18817 wine_fn_config_dll winsta enable_winsta
18818 wine_fn_config_dll wintab.dll16 enable_win16
18819 wine_fn_config_dll wintab32 enable_wintab32 implib
18820 wine_fn_config_test dlls/wintab32/tests wintab32_test
18821 wine_fn_config_dll wintrust enable_wintrust implib
18822 wine_fn_config_test dlls/wintrust/tests wintrust_test
18823 wine_fn_config_dll winusb enable_winusb
18824 wine_fn_config_dll wlanapi enable_wlanapi implib
18825 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18826 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18827 wine_fn_config_test dlls/wldap32/tests wldap32_test
18828 wine_fn_config_dll wmasf enable_wmasf
18829 wine_fn_config_dll wmi enable_wmi
18830 wine_fn_config_dll wmiutils enable_wmiutils clean
18831 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18832 wine_fn_config_dll wmp enable_wmp clean
18833 wine_fn_config_test dlls/wmp/tests wmp_test
18834 wine_fn_config_dll wmphoto enable_wmphoto clean
18835 wine_fn_config_dll wmvcore enable_wmvcore implib
18836 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18837 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18838 wine_fn_config_dll wow32 enable_win16 implib
18839 wine_fn_config_dll wpc enable_wpc clean
18840 wine_fn_config_test dlls/wpc/tests wpc_test
18841 wine_fn_config_dll wpcap enable_wpcap
18842 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18843 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18844 wine_fn_config_dll wsdapi enable_wsdapi implib
18845 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18846 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18847 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18848 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18849 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18850 wine_fn_config_dll wsock32 enable_wsock32 implib
18851 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18852 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18853 wine_fn_config_dll wuapi enable_wuapi clean
18854 wine_fn_config_dll wuaueng enable_wuaueng
18855 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18856 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18857 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18858 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18859 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18860 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18861 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18862 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18863 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18864 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18865 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18866 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18867 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18868 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18869 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18870 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18871 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18872 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18873 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18874 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18875 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18876 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18877 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18878 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18879 wine_fn_config_dll xinput1_1 enable_xinput1_1
18880 wine_fn_config_dll xinput1_2 enable_xinput1_2
18881 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18882 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18883 wine_fn_config_dll xinput1_4 enable_xinput1_4
18884 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18885 wine_fn_config_dll xmllite enable_xmllite implib
18886 wine_fn_config_test dlls/xmllite/tests xmllite_test
18887 wine_fn_config_dll xolehlp enable_xolehlp
18888 wine_fn_config_dll xpsprint enable_xpsprint
18889 wine_fn_config_dll xpssvcs enable_xpssvcs
18890 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18891 wine_fn_config_makefile include enable_include clean,install-dev
18892 wine_fn_config_makefile libs/port enable_libs_port
18893 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18894 wine_fn_config_makefile libs/wpp enable_libs_wpp
18895 wine_fn_config_makefile loader enable_loader clean,install-lib
18896 wine_fn_config_makefile po enable_po clean
18897 wine_fn_config_program arp enable_arp install
18898 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18899 wine_fn_config_program attrib enable_attrib clean,install
18900 wine_fn_config_program cabarc enable_cabarc install
18901 wine_fn_config_program cacls enable_cacls install
18902 wine_fn_config_program clock enable_clock clean,install
18903 wine_fn_config_program cmd enable_cmd clean,install
18904 wine_fn_config_test programs/cmd/tests cmd.exe_test
18905 wine_fn_config_program conhost enable_conhost install
18906 wine_fn_config_program control enable_control install
18907 wine_fn_config_program cscript enable_cscript clean,install
18908 wine_fn_config_program dpnsvr enable_dpnsvr install
18909 wine_fn_config_program dxdiag enable_dxdiag clean,install
18910 wine_fn_config_program eject enable_eject install
18911 wine_fn_config_program expand enable_expand install
18912 wine_fn_config_program explorer enable_explorer clean,install
18913 wine_fn_config_program extrac32 enable_extrac32 install
18914 wine_fn_config_program findstr enable_findstr install
18915 wine_fn_config_program fsutil enable_fsutil install
18916 wine_fn_config_program hh enable_hh install
18917 wine_fn_config_program hostname enable_hostname clean,install
18918 wine_fn_config_program icacls enable_icacls install
18919 wine_fn_config_program icinfo enable_icinfo install
18920 wine_fn_config_program iexplore enable_iexplore install
18921 wine_fn_config_program ipconfig enable_ipconfig clean,install
18922 wine_fn_config_program lodctr enable_lodctr install
18923 wine_fn_config_program mofcomp enable_mofcomp install
18924 wine_fn_config_program mshta enable_mshta install
18925 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18926 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18927 wine_fn_config_program net enable_net clean,install
18928 wine_fn_config_program netsh enable_netsh install
18929 wine_fn_config_program netstat enable_netstat clean,install
18930 wine_fn_config_program ngen enable_ngen install
18931 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18932 wine_fn_config_program oleview enable_oleview clean,install
18933 wine_fn_config_program ping enable_ping install
18934 wine_fn_config_program plugplay enable_plugplay install
18935 wine_fn_config_program powershell enable_powershell install
18936 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18937 wine_fn_config_program progman enable_progman clean,install
18938 wine_fn_config_program reg enable_reg clean,install
18939 wine_fn_config_test programs/reg/tests reg.exe_test
18940 wine_fn_config_program regasm enable_regasm install
18941 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18942 wine_fn_config_test programs/regedit/tests regedit.exe_test
18943 wine_fn_config_program regsvcs enable_regsvcs install
18944 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18945 wine_fn_config_program rpcss enable_rpcss clean,install
18946 wine_fn_config_program rundll.exe16 enable_win16 install
18947 wine_fn_config_program rundll32 enable_rundll32 install
18948 wine_fn_config_program sc enable_sc install
18949 wine_fn_config_program schtasks enable_schtasks install
18950 wine_fn_config_program sdbinst enable_sdbinst install
18951 wine_fn_config_program secedit enable_secedit install
18952 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18953 wine_fn_config_program services enable_services clean,install
18954 wine_fn_config_test programs/services/tests services.exe_test
18955 wine_fn_config_program shutdown enable_shutdown install
18956 wine_fn_config_program spoolsv enable_spoolsv install
18957 wine_fn_config_program start enable_start clean,install
18958 wine_fn_config_program subst enable_subst install
18959 wine_fn_config_program svchost enable_svchost install
18960 wine_fn_config_program systeminfo enable_systeminfo install
18961 wine_fn_config_program taskkill enable_taskkill clean,install
18962 wine_fn_config_program tasklist enable_tasklist install
18963 wine_fn_config_program taskmgr enable_taskmgr clean,install
18964 wine_fn_config_program termsv enable_termsv install
18965 wine_fn_config_program uninstaller enable_uninstaller clean,install
18966 wine_fn_config_program unlodctr enable_unlodctr install
18967 wine_fn_config_program view enable_view clean,install
18968 wine_fn_config_program wevtutil enable_wevtutil install
18969 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18970 wine_fn_config_program winebrowser enable_winebrowser install
18971 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18972 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18973 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18974 wine_fn_config_program winedevice enable_winedevice install
18975 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18976 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18977 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18978 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18979 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18980 wine_fn_config_program winetest enable_winetest clean
18981 wine_fn_config_program winevdm enable_win16 install
18982 wine_fn_config_program winhelp.exe16 enable_win16 install
18983 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18984 wine_fn_config_program winoldap.mod16 enable_win16 install
18985 wine_fn_config_program winver enable_winver install
18986 wine_fn_config_program wmic enable_wmic clean,install
18987 wine_fn_config_program wmplayer enable_wmplayer install
18988 wine_fn_config_program wordpad enable_wordpad clean,install
18989 wine_fn_config_program write enable_write clean,install
18990 wine_fn_config_program wscript enable_wscript clean,install
18991 wine_fn_config_test programs/wscript/tests wscript.exe_test
18992 wine_fn_config_program wusa enable_wusa install
18993 wine_fn_config_program xcopy enable_xcopy clean,install
18994 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18995 wine_fn_config_makefile server enable_server clean,install-lib
18996 wine_fn_config_tool tools clean
18997 wine_fn_config_tool tools/sfnt2fon clean
18998 wine_fn_config_tool tools/widl clean,install-dev
18999 wine_fn_config_tool tools/winebuild clean,install-dev
19000 wine_fn_config_tool tools/winedump clean,install-dev
19001 wine_fn_config_tool tools/winegcc clean,install-dev
19002 wine_fn_config_tool tools/winemaker clean,install-dev
19003 wine_fn_config_tool tools/wmc clean,install-dev
19004 wine_fn_config_tool tools/wrc clean,install-dev
19007 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19008 wine_fn_append_file CONFIGURE_TARGETS "tags"
19009 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19010 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19011 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19012 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19013 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19014 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19016 if test "x$enable_tools" != xno
19017 then
19018 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19019 ac_config_commands="$ac_config_commands tools/makedep"
19023 ac_config_commands="$ac_config_commands Makefile"
19026 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19030 if test "x$enable_maintainer_mode" = xyes
19031 then
19032 wine_fn_append_rule "configure: configure.ac aclocal.m4
19033 autoconf --warnings=all
19034 include/config.h.in: include/stamp-h.in
19035 include/stamp-h.in: configure.ac aclocal.m4
19036 autoheader --warnings=all
19037 @echo timestamp > \$@"
19040 if test "x$enable_tools" != xno
19041 then
19042 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19043 @./config.status tools/makedep
19044 Makefile: tools/makedep$ac_exeext"
19045 else
19046 wine_fn_append_rule "\$(MAKEDEP):
19047 @echo \"You need to run make in $TOOLSDIR first\" && false"
19050 if test -n "$with_wine64"
19051 then
19052 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19053 fonts server:
19054 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19055 $with_wine64/loader/wine:
19056 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19057 $with_wine64/loader/wine-preloader:
19058 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19059 clean::
19060 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19061 else
19062 WINELOADER_INSTALL="wine.inf"
19064 wine_fn_append_rule "install install-lib::
19065 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19066 uninstall::
19067 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19068 case $host_os in
19069 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19070 *) wine_fn_append_rule "install install-lib::
19071 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19072 uninstall::
19073 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19074 esac
19077 $as_echo " done" >&6
19078 cat >confcache <<\_ACEOF
19079 # This file is a shell script that caches the results of configure
19080 # tests run on this system so they can be shared between configure
19081 # scripts and configure runs, see configure's option --config-cache.
19082 # It is not useful on other systems. If it contains results you don't
19083 # want to keep, you may remove or edit it.
19085 # config.status only pays attention to the cache file if you give it
19086 # the --recheck option to rerun configure.
19088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19090 # following values.
19092 _ACEOF
19094 # The following way of writing the cache mishandles newlines in values,
19095 # but we know of no workaround that is simple, portable, and efficient.
19096 # So, we kill variables containing newlines.
19097 # Ultrix sh set writes to stderr and can't be redirected directly,
19098 # and sets the high bit in the cache file unless we assign to the vars.
19100 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19101 eval ac_val=\$$ac_var
19102 case $ac_val in #(
19103 *${as_nl}*)
19104 case $ac_var in #(
19105 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19106 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19107 esac
19108 case $ac_var in #(
19109 _ | IFS | as_nl) ;; #(
19110 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19111 *) { eval $ac_var=; unset $ac_var;} ;;
19112 esac ;;
19113 esac
19114 done
19116 (set) 2>&1 |
19117 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19118 *${as_nl}ac_space=\ *)
19119 # `set' does not quote correctly, so add quotes: double-quote
19120 # substitution turns \\\\ into \\, and sed turns \\ into \.
19121 sed -n \
19122 "s/'/'\\\\''/g;
19123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19124 ;; #(
19126 # `set' quotes correctly as required by POSIX, so do not add quotes.
19127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19129 esac |
19130 sort
19132 sed '
19133 /^ac_cv_env_/b end
19134 t clear
19135 :clear
19136 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19137 t end
19138 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19139 :end' >>confcache
19140 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19141 if test -w "$cache_file"; then
19142 if test "x$cache_file" != "x/dev/null"; then
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19144 $as_echo "$as_me: updating cache $cache_file" >&6;}
19145 if test ! -f "$cache_file" || test -h "$cache_file"; then
19146 cat confcache >"$cache_file"
19147 else
19148 case $cache_file in #(
19149 */* | ?:*)
19150 mv -f confcache "$cache_file"$$ &&
19151 mv -f "$cache_file"$$ "$cache_file" ;; #(
19153 mv -f confcache "$cache_file" ;;
19154 esac
19157 else
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19159 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19162 rm -f confcache
19164 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19165 # Let make expand exec_prefix.
19166 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19168 DEFS=-DHAVE_CONFIG_H
19170 ac_libobjs=
19171 ac_ltlibobjs=
19173 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19174 # 1. Remove the extension, and $U if already installed.
19175 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19176 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19177 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19178 # will be set to the directory where LIBOBJS objects are built.
19179 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19180 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19181 done
19182 LIBOBJS=$ac_libobjs
19184 LTLIBOBJS=$ac_ltlibobjs
19188 : "${CONFIG_STATUS=./config.status}"
19189 ac_write_fail=0
19190 ac_clean_files_save=$ac_clean_files
19191 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19193 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19194 as_write_fail=0
19195 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19196 #! $SHELL
19197 # Generated by $as_me.
19198 # Run this file to recreate the current configuration.
19199 # Compiler output produced by configure, useful for debugging
19200 # configure, is in config.log if it exists.
19202 debug=false
19203 ac_cs_recheck=false
19204 ac_cs_silent=false
19206 SHELL=\${CONFIG_SHELL-$SHELL}
19207 export SHELL
19208 _ASEOF
19209 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19210 ## -------------------- ##
19211 ## M4sh Initialization. ##
19212 ## -------------------- ##
19214 # Be more Bourne compatible
19215 DUALCASE=1; export DUALCASE # for MKS sh
19216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19217 emulate sh
19218 NULLCMD=:
19219 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19220 # is contrary to our usage. Disable this feature.
19221 alias -g '${1+"$@"}'='"$@"'
19222 setopt NO_GLOB_SUBST
19223 else
19224 case `(set -o) 2>/dev/null` in #(
19225 *posix*) :
19226 set -o posix ;; #(
19227 *) :
19229 esac
19233 as_nl='
19235 export as_nl
19236 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19237 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19238 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19239 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19240 # Prefer a ksh shell builtin over an external printf program on Solaris,
19241 # but without wasting forks for bash or zsh.
19242 if test -z "$BASH_VERSION$ZSH_VERSION" \
19243 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19244 as_echo='print -r --'
19245 as_echo_n='print -rn --'
19246 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19247 as_echo='printf %s\n'
19248 as_echo_n='printf %s'
19249 else
19250 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19251 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19252 as_echo_n='/usr/ucb/echo -n'
19253 else
19254 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19255 as_echo_n_body='eval
19256 arg=$1;
19257 case $arg in #(
19258 *"$as_nl"*)
19259 expr "X$arg" : "X\\(.*\\)$as_nl";
19260 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19261 esac;
19262 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19264 export as_echo_n_body
19265 as_echo_n='sh -c $as_echo_n_body as_echo'
19267 export as_echo_body
19268 as_echo='sh -c $as_echo_body as_echo'
19271 # The user is always right.
19272 if test "${PATH_SEPARATOR+set}" != set; then
19273 PATH_SEPARATOR=:
19274 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19275 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19276 PATH_SEPARATOR=';'
19281 # IFS
19282 # We need space, tab and new line, in precisely that order. Quoting is
19283 # there to prevent editors from complaining about space-tab.
19284 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19285 # splitting by setting IFS to empty value.)
19286 IFS=" "" $as_nl"
19288 # Find who we are. Look in the path if we contain no directory separator.
19289 as_myself=
19290 case $0 in #((
19291 *[\\/]* ) as_myself=$0 ;;
19292 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19293 for as_dir in $PATH
19295 IFS=$as_save_IFS
19296 test -z "$as_dir" && as_dir=.
19297 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19298 done
19299 IFS=$as_save_IFS
19302 esac
19303 # We did not find ourselves, most probably we were run as `sh COMMAND'
19304 # in which case we are not to be found in the path.
19305 if test "x$as_myself" = x; then
19306 as_myself=$0
19308 if test ! -f "$as_myself"; then
19309 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19310 exit 1
19313 # Unset variables that we do not need and which cause bugs (e.g. in
19314 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19315 # suppresses any "Segmentation fault" message there. '((' could
19316 # trigger a bug in pdksh 5.2.14.
19317 for as_var in BASH_ENV ENV MAIL MAILPATH
19318 do eval test x\${$as_var+set} = xset \
19319 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19320 done
19321 PS1='$ '
19322 PS2='> '
19323 PS4='+ '
19325 # NLS nuisances.
19326 LC_ALL=C
19327 export LC_ALL
19328 LANGUAGE=C
19329 export LANGUAGE
19331 # CDPATH.
19332 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19335 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19336 # ----------------------------------------
19337 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19338 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19339 # script with STATUS, using 1 if that was 0.
19340 as_fn_error ()
19342 as_status=$1; test $as_status -eq 0 && as_status=1
19343 if test "$4"; then
19344 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19345 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19347 $as_echo "$as_me: error: $2" >&2
19348 as_fn_exit $as_status
19349 } # as_fn_error
19352 # as_fn_set_status STATUS
19353 # -----------------------
19354 # Set $? to STATUS, without forking.
19355 as_fn_set_status ()
19357 return $1
19358 } # as_fn_set_status
19360 # as_fn_exit STATUS
19361 # -----------------
19362 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19363 as_fn_exit ()
19365 set +e
19366 as_fn_set_status $1
19367 exit $1
19368 } # as_fn_exit
19370 # as_fn_unset VAR
19371 # ---------------
19372 # Portably unset VAR.
19373 as_fn_unset ()
19375 { eval $1=; unset $1;}
19377 as_unset=as_fn_unset
19378 # as_fn_append VAR VALUE
19379 # ----------------------
19380 # Append the text in VALUE to the end of the definition contained in VAR. Take
19381 # advantage of any shell optimizations that allow amortized linear growth over
19382 # repeated appends, instead of the typical quadratic growth present in naive
19383 # implementations.
19384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19385 eval 'as_fn_append ()
19387 eval $1+=\$2
19389 else
19390 as_fn_append ()
19392 eval $1=\$$1\$2
19394 fi # as_fn_append
19396 # as_fn_arith ARG...
19397 # ------------------
19398 # Perform arithmetic evaluation on the ARGs, and store the result in the
19399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19400 # must be portable across $(()) and expr.
19401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19402 eval 'as_fn_arith ()
19404 as_val=$(( $* ))
19406 else
19407 as_fn_arith ()
19409 as_val=`expr "$@" || test $? -eq 1`
19411 fi # as_fn_arith
19414 if expr a : '\(a\)' >/dev/null 2>&1 &&
19415 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19416 as_expr=expr
19417 else
19418 as_expr=false
19421 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19422 as_basename=basename
19423 else
19424 as_basename=false
19427 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19428 as_dirname=dirname
19429 else
19430 as_dirname=false
19433 as_me=`$as_basename -- "$0" ||
19434 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19435 X"$0" : 'X\(//\)$' \| \
19436 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19437 $as_echo X/"$0" |
19438 sed '/^.*\/\([^/][^/]*\)\/*$/{
19439 s//\1/
19442 /^X\/\(\/\/\)$/{
19443 s//\1/
19446 /^X\/\(\/\).*/{
19447 s//\1/
19450 s/.*/./; q'`
19452 # Avoid depending upon Character Ranges.
19453 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19454 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19455 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19456 as_cr_digits='0123456789'
19457 as_cr_alnum=$as_cr_Letters$as_cr_digits
19459 ECHO_C= ECHO_N= ECHO_T=
19460 case `echo -n x` in #(((((
19461 -n*)
19462 case `echo 'xy\c'` in
19463 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19464 xy) ECHO_C='\c';;
19465 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19466 ECHO_T=' ';;
19467 esac;;
19469 ECHO_N='-n';;
19470 esac
19472 rm -f conf$$ conf$$.exe conf$$.file
19473 if test -d conf$$.dir; then
19474 rm -f conf$$.dir/conf$$.file
19475 else
19476 rm -f conf$$.dir
19477 mkdir conf$$.dir 2>/dev/null
19479 if (echo >conf$$.file) 2>/dev/null; then
19480 if ln -s conf$$.file conf$$ 2>/dev/null; then
19481 as_ln_s='ln -s'
19482 # ... but there are two gotchas:
19483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19485 # In both cases, we have to default to `cp -pR'.
19486 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19487 as_ln_s='cp -pR'
19488 elif ln conf$$.file conf$$ 2>/dev/null; then
19489 as_ln_s=ln
19490 else
19491 as_ln_s='cp -pR'
19493 else
19494 as_ln_s='cp -pR'
19496 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19497 rmdir conf$$.dir 2>/dev/null
19500 # as_fn_mkdir_p
19501 # -------------
19502 # Create "$as_dir" as a directory, including parents if necessary.
19503 as_fn_mkdir_p ()
19506 case $as_dir in #(
19507 -*) as_dir=./$as_dir;;
19508 esac
19509 test -d "$as_dir" || eval $as_mkdir_p || {
19510 as_dirs=
19511 while :; do
19512 case $as_dir in #(
19513 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19514 *) as_qdir=$as_dir;;
19515 esac
19516 as_dirs="'$as_qdir' $as_dirs"
19517 as_dir=`$as_dirname -- "$as_dir" ||
19518 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19519 X"$as_dir" : 'X\(//\)[^/]' \| \
19520 X"$as_dir" : 'X\(//\)$' \| \
19521 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19522 $as_echo X"$as_dir" |
19523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19524 s//\1/
19527 /^X\(\/\/\)[^/].*/{
19528 s//\1/
19531 /^X\(\/\/\)$/{
19532 s//\1/
19535 /^X\(\/\).*/{
19536 s//\1/
19539 s/.*/./; q'`
19540 test -d "$as_dir" && break
19541 done
19542 test -z "$as_dirs" || eval "mkdir $as_dirs"
19543 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19546 } # as_fn_mkdir_p
19547 if mkdir -p . 2>/dev/null; then
19548 as_mkdir_p='mkdir -p "$as_dir"'
19549 else
19550 test -d ./-p && rmdir ./-p
19551 as_mkdir_p=false
19555 # as_fn_executable_p FILE
19556 # -----------------------
19557 # Test if FILE is an executable regular file.
19558 as_fn_executable_p ()
19560 test -f "$1" && test -x "$1"
19561 } # as_fn_executable_p
19562 as_test_x='test -x'
19563 as_executable_p=as_fn_executable_p
19565 # Sed expression to map a string onto a valid CPP name.
19566 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19568 # Sed expression to map a string onto a valid variable name.
19569 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19572 exec 6>&1
19573 ## ----------------------------------- ##
19574 ## Main body of $CONFIG_STATUS script. ##
19575 ## ----------------------------------- ##
19576 _ASEOF
19577 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19580 # Save the log message, to keep $0 and so on meaningful, and to
19581 # report actual input values of CONFIG_FILES etc. instead of their
19582 # values after options handling.
19583 ac_log="
19584 This file was extended by Wine $as_me 2.15, which was
19585 generated by GNU Autoconf 2.69. Invocation command line was
19587 CONFIG_FILES = $CONFIG_FILES
19588 CONFIG_HEADERS = $CONFIG_HEADERS
19589 CONFIG_LINKS = $CONFIG_LINKS
19590 CONFIG_COMMANDS = $CONFIG_COMMANDS
19591 $ $0 $@
19593 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19596 _ACEOF
19598 case $ac_config_files in *"
19599 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19600 esac
19602 case $ac_config_headers in *"
19603 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19604 esac
19607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19608 # Files that config.status was made for.
19609 config_files="$ac_config_files"
19610 config_headers="$ac_config_headers"
19611 config_links="$ac_config_links"
19612 config_commands="$ac_config_commands"
19614 _ACEOF
19616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19617 ac_cs_usage="\
19618 \`$as_me' instantiates files and other configuration actions
19619 from templates according to the current configuration. Unless the files
19620 and actions are specified as TAGs, all are instantiated by default.
19622 Usage: $0 [OPTION]... [TAG]...
19624 -h, --help print this help, then exit
19625 -V, --version print version number and configuration settings, then exit
19626 --config print configuration, then exit
19627 -q, --quiet, --silent
19628 do not print progress messages
19629 -d, --debug don't remove temporary files
19630 --recheck update $as_me by reconfiguring in the same conditions
19631 --file=FILE[:TEMPLATE]
19632 instantiate the configuration file FILE
19633 --header=FILE[:TEMPLATE]
19634 instantiate the configuration header FILE
19636 Configuration files:
19637 $config_files
19639 Configuration headers:
19640 $config_headers
19642 Configuration links:
19643 $config_links
19645 Configuration commands:
19646 $config_commands
19648 Report bugs to <wine-devel@winehq.org>.
19649 Wine home page: <http://www.winehq.org>."
19651 _ACEOF
19652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19653 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19654 ac_cs_version="\\
19655 Wine config.status 2.15
19656 configured by $0, generated by GNU Autoconf 2.69,
19657 with options \\"\$ac_cs_config\\"
19659 Copyright (C) 2012 Free Software Foundation, Inc.
19660 This config.status script is free software; the Free Software Foundation
19661 gives unlimited permission to copy, distribute and modify it."
19663 ac_pwd='$ac_pwd'
19664 srcdir='$srcdir'
19665 test -n "\$AWK" || AWK=awk
19666 _ACEOF
19668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19669 # The default lists apply if the user does not specify any file.
19670 ac_need_defaults=:
19671 while test $# != 0
19673 case $1 in
19674 --*=?*)
19675 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19676 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19677 ac_shift=:
19679 --*=)
19680 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19681 ac_optarg=
19682 ac_shift=:
19685 ac_option=$1
19686 ac_optarg=$2
19687 ac_shift=shift
19689 esac
19691 case $ac_option in
19692 # Handling of the options.
19693 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19694 ac_cs_recheck=: ;;
19695 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19696 $as_echo "$ac_cs_version"; exit ;;
19697 --config | --confi | --conf | --con | --co | --c )
19698 $as_echo "$ac_cs_config"; exit ;;
19699 --debug | --debu | --deb | --de | --d | -d )
19700 debug=: ;;
19701 --file | --fil | --fi | --f )
19702 $ac_shift
19703 case $ac_optarg in
19704 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19705 '') as_fn_error $? "missing file argument" ;;
19706 esac
19707 as_fn_append CONFIG_FILES " '$ac_optarg'"
19708 ac_need_defaults=false;;
19709 --header | --heade | --head | --hea )
19710 $ac_shift
19711 case $ac_optarg in
19712 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19713 esac
19714 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19715 ac_need_defaults=false;;
19716 --he | --h)
19717 # Conflict between --help and --header
19718 as_fn_error $? "ambiguous option: \`$1'
19719 Try \`$0 --help' for more information.";;
19720 --help | --hel | -h )
19721 $as_echo "$ac_cs_usage"; exit ;;
19722 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19723 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19724 ac_cs_silent=: ;;
19726 # This is an error.
19727 -*) as_fn_error $? "unrecognized option: \`$1'
19728 Try \`$0 --help' for more information." ;;
19730 *) as_fn_append ac_config_targets " $1"
19731 ac_need_defaults=false ;;
19733 esac
19734 shift
19735 done
19737 ac_configure_extra_args=
19739 if $ac_cs_silent; then
19740 exec 6>/dev/null
19741 ac_configure_extra_args="$ac_configure_extra_args --silent"
19744 _ACEOF
19745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19746 if \$ac_cs_recheck; then
19747 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19748 shift
19749 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19750 CONFIG_SHELL='$SHELL'
19751 export CONFIG_SHELL
19752 exec "\$@"
19755 _ACEOF
19756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19757 exec 5>>config.log
19759 echo
19760 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19761 ## Running $as_me. ##
19762 _ASBOX
19763 $as_echo "$ac_log"
19764 } >&5
19766 _ACEOF
19767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19769 # INIT-COMMANDS
19771 wine_fn_output_makedep ()
19773 as_dir=tools; as_fn_mkdir_p
19774 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19776 wine_fn_output_makefile ()
19778 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19779 `cat $wine_rules_file`
19780 _WINE_EOF
19781 as_fn_error $? "could not create Makefile" "$LINENO" 5
19784 _ACEOF
19786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19788 # Handling of arguments.
19789 for ac_config_target in $ac_config_targets
19791 case $ac_config_target in
19792 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19793 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19794 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19795 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19796 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19797 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19798 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19799 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19800 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19801 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19802 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19803 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19804 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19806 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19807 esac
19808 done
19811 # If the user did not use the arguments to specify the items to instantiate,
19812 # then the envvar interface is used. Set only those that are not.
19813 # We use the long form for the default assignment because of an extremely
19814 # bizarre bug on SunOS 4.1.3.
19815 if $ac_need_defaults; then
19816 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19817 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19818 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19819 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19822 # Have a temporary directory for convenience. Make it in the build tree
19823 # simply because there is no reason against having it here, and in addition,
19824 # creating and moving files from /tmp can sometimes cause problems.
19825 # Hook for its removal unless debugging.
19826 # Note that there is a small window in which the directory will not be cleaned:
19827 # after its creation but before its name has been assigned to `$tmp'.
19828 $debug ||
19830 tmp= ac_tmp=
19831 trap 'exit_status=$?
19832 : "${ac_tmp:=$tmp}"
19833 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19835 trap 'as_fn_exit 1' 1 2 13 15
19837 # Create a (secure) tmp directory for tmp files.
19840 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19841 test -d "$tmp"
19842 } ||
19844 tmp=./conf$$-$RANDOM
19845 (umask 077 && mkdir "$tmp")
19846 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19847 ac_tmp=$tmp
19849 # Set up the scripts for CONFIG_FILES section.
19850 # No need to generate them if there are no CONFIG_FILES.
19851 # This happens for instance with `./config.status config.h'.
19852 if test -n "$CONFIG_FILES"; then
19855 ac_cr=`echo X | tr X '\015'`
19856 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19857 # But we know of no other shell where ac_cr would be empty at this
19858 # point, so we can use a bashism as a fallback.
19859 if test "x$ac_cr" = x; then
19860 eval ac_cr=\$\'\\r\'
19862 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19863 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19864 ac_cs_awk_cr='\\r'
19865 else
19866 ac_cs_awk_cr=$ac_cr
19869 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19870 _ACEOF
19874 echo "cat >conf$$subs.awk <<_ACEOF" &&
19875 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19876 echo "_ACEOF"
19877 } >conf$$subs.sh ||
19878 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19879 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19880 ac_delim='%!_!# '
19881 for ac_last_try in false false false false false :; do
19882 . ./conf$$subs.sh ||
19883 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19885 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19886 if test $ac_delim_n = $ac_delim_num; then
19887 break
19888 elif $ac_last_try; then
19889 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19890 else
19891 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19893 done
19894 rm -f conf$$subs.sh
19896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19897 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19898 _ACEOF
19899 sed -n '
19901 s/^/S["/; s/!.*/"]=/
19904 s/^[^!]*!//
19905 :repl
19906 t repl
19907 s/'"$ac_delim"'$//
19908 t delim
19911 s/\(.\{148\}\)..*/\1/
19912 t more1
19913 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19916 b repl
19917 :more1
19918 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19921 s/.\{148\}//
19922 t nl
19923 :delim
19925 s/\(.\{148\}\)..*/\1/
19926 t more2
19927 s/["\\]/\\&/g; s/^/"/; s/$/"/
19930 :more2
19931 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19934 s/.\{148\}//
19935 t delim
19936 ' <conf$$subs.awk | sed '
19937 /^[^""]/{
19939 s/\n//
19941 ' >>$CONFIG_STATUS || ac_write_fail=1
19942 rm -f conf$$subs.awk
19943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19944 _ACAWK
19945 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19946 for (key in S) S_is_set[key] = 1
19947 FS = "\a"
19951 line = $ 0
19952 nfields = split(line, field, "@")
19953 substed = 0
19954 len = length(field[1])
19955 for (i = 2; i < nfields; i++) {
19956 key = field[i]
19957 keylen = length(key)
19958 if (S_is_set[key]) {
19959 value = S[key]
19960 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19961 len += length(value) + length(field[++i])
19962 substed = 1
19963 } else
19964 len += 1 + keylen
19967 print line
19970 _ACAWK
19971 _ACEOF
19972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19973 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19974 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19975 else
19977 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19978 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19979 _ACEOF
19981 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19982 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19983 # trailing colons and then remove the whole line if VPATH becomes empty
19984 # (actually we leave an empty line to preserve line numbers).
19985 if test "x$srcdir" = x.; then
19986 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19988 s///
19989 s/^/:/
19990 s/[ ]*$/:/
19991 s/:\$(srcdir):/:/g
19992 s/:\${srcdir}:/:/g
19993 s/:@srcdir@:/:/g
19994 s/^:*//
19995 s/:*$//
19997 s/\(=[ ]*\).*/\1/
19999 s/\n//
20000 s/^[^=]*=[ ]*$//
20004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20005 fi # test -n "$CONFIG_FILES"
20007 # Set up the scripts for CONFIG_HEADERS section.
20008 # No need to generate them if there are no CONFIG_HEADERS.
20009 # This happens for instance with `./config.status Makefile'.
20010 if test -n "$CONFIG_HEADERS"; then
20011 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20012 BEGIN {
20013 _ACEOF
20015 # Transform confdefs.h into an awk script `defines.awk', embedded as
20016 # here-document in config.status, that substitutes the proper values into
20017 # config.h.in to produce config.h.
20019 # Create a delimiter string that does not exist in confdefs.h, to ease
20020 # handling of long lines.
20021 ac_delim='%!_!# '
20022 for ac_last_try in false false :; do
20023 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20024 if test -z "$ac_tt"; then
20025 break
20026 elif $ac_last_try; then
20027 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20028 else
20029 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20031 done
20033 # For the awk script, D is an array of macro values keyed by name,
20034 # likewise P contains macro parameters if any. Preserve backslash
20035 # newline sequences.
20037 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20038 sed -n '
20039 s/.\{148\}/&'"$ac_delim"'/g
20040 t rset
20041 :rset
20042 s/^[ ]*#[ ]*define[ ][ ]*/ /
20043 t def
20045 :def
20046 s/\\$//
20047 t bsnl
20048 s/["\\]/\\&/g
20049 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20050 D["\1"]=" \3"/p
20051 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20053 :bsnl
20054 s/["\\]/\\&/g
20055 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20056 D["\1"]=" \3\\\\\\n"\\/p
20057 t cont
20058 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20059 t cont
20061 :cont
20063 s/.\{148\}/&'"$ac_delim"'/g
20064 t clear
20065 :clear
20066 s/\\$//
20067 t bsnlc
20068 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20070 :bsnlc
20071 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20072 b cont
20073 ' <confdefs.h | sed '
20074 s/'"$ac_delim"'/"\\\
20075 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20078 for (key in D) D_is_set[key] = 1
20079 FS = "\a"
20081 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20082 line = \$ 0
20083 split(line, arg, " ")
20084 if (arg[1] == "#") {
20085 defundef = arg[2]
20086 mac1 = arg[3]
20087 } else {
20088 defundef = substr(arg[1], 2)
20089 mac1 = arg[2]
20091 split(mac1, mac2, "(") #)
20092 macro = mac2[1]
20093 prefix = substr(line, 1, index(line, defundef) - 1)
20094 if (D_is_set[macro]) {
20095 # Preserve the white space surrounding the "#".
20096 print prefix "define", macro P[macro] D[macro]
20097 next
20098 } else {
20099 # Replace #undef with comments. This is necessary, for example,
20100 # in the case of _POSIX_SOURCE, which is predefined and required
20101 # on some systems where configure will not decide to define it.
20102 if (defundef == "undef") {
20103 print "/*", prefix defundef, macro, "*/"
20104 next
20108 { print }
20109 _ACAWK
20110 _ACEOF
20111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20112 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20113 fi # test -n "$CONFIG_HEADERS"
20116 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20117 shift
20118 for ac_tag
20120 case $ac_tag in
20121 :[FHLC]) ac_mode=$ac_tag; continue;;
20122 esac
20123 case $ac_mode$ac_tag in
20124 :[FHL]*:*);;
20125 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20126 :[FH]-) ac_tag=-:-;;
20127 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20128 esac
20129 ac_save_IFS=$IFS
20130 IFS=:
20131 set x $ac_tag
20132 IFS=$ac_save_IFS
20133 shift
20134 ac_file=$1
20135 shift
20137 case $ac_mode in
20138 :L) ac_source=$1;;
20139 :[FH])
20140 ac_file_inputs=
20141 for ac_f
20143 case $ac_f in
20144 -) ac_f="$ac_tmp/stdin";;
20145 *) # Look for the file first in the build tree, then in the source tree
20146 # (if the path is not absolute). The absolute path cannot be DOS-style,
20147 # because $ac_f cannot contain `:'.
20148 test -f "$ac_f" ||
20149 case $ac_f in
20150 [\\/$]*) false;;
20151 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20152 esac ||
20153 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20154 esac
20155 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20156 as_fn_append ac_file_inputs " '$ac_f'"
20157 done
20159 # Let's still pretend it is `configure' which instantiates (i.e., don't
20160 # use $as_me), people would be surprised to read:
20161 # /* config.h. Generated by config.status. */
20162 configure_input='Generated from '`
20163 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20164 `' by configure.'
20165 if test x"$ac_file" != x-; then
20166 configure_input="$ac_file. $configure_input"
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20168 $as_echo "$as_me: creating $ac_file" >&6;}
20170 # Neutralize special characters interpreted by sed in replacement strings.
20171 case $configure_input in #(
20172 *\&* | *\|* | *\\* )
20173 ac_sed_conf_input=`$as_echo "$configure_input" |
20174 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20175 *) ac_sed_conf_input=$configure_input;;
20176 esac
20178 case $ac_tag in
20179 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20180 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20181 esac
20183 esac
20185 ac_dir=`$as_dirname -- "$ac_file" ||
20186 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20187 X"$ac_file" : 'X\(//\)[^/]' \| \
20188 X"$ac_file" : 'X\(//\)$' \| \
20189 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20190 $as_echo X"$ac_file" |
20191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20192 s//\1/
20195 /^X\(\/\/\)[^/].*/{
20196 s//\1/
20199 /^X\(\/\/\)$/{
20200 s//\1/
20203 /^X\(\/\).*/{
20204 s//\1/
20207 s/.*/./; q'`
20208 as_dir="$ac_dir"; as_fn_mkdir_p
20209 ac_builddir=.
20211 case "$ac_dir" in
20212 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20214 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20215 # A ".." for each directory in $ac_dir_suffix.
20216 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20217 case $ac_top_builddir_sub in
20218 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20219 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20220 esac ;;
20221 esac
20222 ac_abs_top_builddir=$ac_pwd
20223 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20224 # for backward compatibility:
20225 ac_top_builddir=$ac_top_build_prefix
20227 case $srcdir in
20228 .) # We are building in place.
20229 ac_srcdir=.
20230 ac_top_srcdir=$ac_top_builddir_sub
20231 ac_abs_top_srcdir=$ac_pwd ;;
20232 [\\/]* | ?:[\\/]* ) # Absolute name.
20233 ac_srcdir=$srcdir$ac_dir_suffix;
20234 ac_top_srcdir=$srcdir
20235 ac_abs_top_srcdir=$srcdir ;;
20236 *) # Relative name.
20237 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20238 ac_top_srcdir=$ac_top_build_prefix$srcdir
20239 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20240 esac
20241 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20244 case $ac_mode in
20247 # CONFIG_FILE
20250 _ACEOF
20252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20253 # If the template does not know about datarootdir, expand it.
20254 # FIXME: This hack should be removed a few years after 2.60.
20255 ac_datarootdir_hack=; ac_datarootdir_seen=
20256 ac_sed_dataroot='
20257 /datarootdir/ {
20261 /@datadir@/p
20262 /@docdir@/p
20263 /@infodir@/p
20264 /@localedir@/p
20265 /@mandir@/p'
20266 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20267 *datarootdir*) ac_datarootdir_seen=yes;;
20268 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20270 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20271 _ACEOF
20272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20273 ac_datarootdir_hack='
20274 s&@datadir@&$datadir&g
20275 s&@docdir@&$docdir&g
20276 s&@infodir@&$infodir&g
20277 s&@localedir@&$localedir&g
20278 s&@mandir@&$mandir&g
20279 s&\\\${datarootdir}&$datarootdir&g' ;;
20280 esac
20281 _ACEOF
20283 # Neutralize VPATH when `$srcdir' = `.'.
20284 # Shell code in configure.ac might set extrasub.
20285 # FIXME: do we really want to maintain this feature?
20286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20287 ac_sed_extra="$ac_vpsub
20288 $extrasub
20289 _ACEOF
20290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20292 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20293 s|@configure_input@|$ac_sed_conf_input|;t t
20294 s&@top_builddir@&$ac_top_builddir_sub&;t t
20295 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20296 s&@srcdir@&$ac_srcdir&;t t
20297 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20298 s&@top_srcdir@&$ac_top_srcdir&;t t
20299 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20300 s&@builddir@&$ac_builddir&;t t
20301 s&@abs_builddir@&$ac_abs_builddir&;t t
20302 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20303 $ac_datarootdir_hack
20305 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20306 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20308 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20309 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20310 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20311 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20313 which seems to be undefined. Please make sure it is defined" >&5
20314 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20315 which seems to be undefined. Please make sure it is defined" >&2;}
20317 rm -f "$ac_tmp/stdin"
20318 case $ac_file in
20319 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20320 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20321 esac \
20322 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20326 # CONFIG_HEADER
20328 if test x"$ac_file" != x-; then
20330 $as_echo "/* $configure_input */" \
20331 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20332 } >"$ac_tmp/config.h" \
20333 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20334 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20336 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20337 else
20338 rm -f "$ac_file"
20339 mv "$ac_tmp/config.h" "$ac_file" \
20340 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20342 else
20343 $as_echo "/* $configure_input */" \
20344 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20345 || as_fn_error $? "could not create -" "$LINENO" 5
20350 # CONFIG_LINK
20353 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20355 else
20356 # Prefer the file from the source tree if names are identical.
20357 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20358 ac_source=$srcdir/$ac_source
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20362 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20364 if test ! -r "$ac_source"; then
20365 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20367 rm -f "$ac_file"
20369 # Try a relative symlink, then a hard link, then a copy.
20370 case $ac_source in
20371 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20372 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20373 esac
20374 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20375 ln "$ac_source" "$ac_file" 2>/dev/null ||
20376 cp -p "$ac_source" "$ac_file" ||
20377 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20380 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20381 $as_echo "$as_me: executing $ac_file commands" >&6;}
20383 esac
20386 case $ac_file$ac_mode in
20387 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20388 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20389 "Makefile":C) wine_fn_output_makefile Makefile ;;
20391 esac
20392 done # for ac_tag
20395 as_fn_exit 0
20396 _ACEOF
20397 ac_clean_files=$ac_clean_files_save
20399 test $ac_write_fail = 0 ||
20400 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20403 # configure is writing to config.log, and then calls config.status.
20404 # config.status does its own redirection, appending to config.log.
20405 # Unfortunately, on DOS this fails, as config.log is still kept open
20406 # by configure, so config.status won't be able to write to it; its
20407 # output is simply discarded. So we exec the FD to /dev/null,
20408 # effectively closing config.log, so it can be properly (re)opened and
20409 # appended to by config.status. When coming back to configure, we
20410 # need to make the FD available again.
20411 if test "$no_create" != yes; then
20412 ac_cs_success=:
20413 ac_config_status_args=
20414 test "$silent" = yes &&
20415 ac_config_status_args="$ac_config_status_args --quiet"
20416 exec 5>/dev/null
20417 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20418 exec 5>>config.log
20419 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20420 # would make configure fail if this is the last instruction.
20421 $ac_cs_success || as_fn_exit 1
20423 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20425 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20429 if test "$no_create" = "yes"
20430 then
20431 exit 0
20434 ac_save_IFS="$IFS"
20435 if test "x$wine_notices" != x; then
20436 echo >&6
20437 IFS="|"
20438 for msg in $wine_notices; do
20439 IFS="$ac_save_IFS"
20440 if ${msg:+false} :; then :
20442 else
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20444 $as_echo "$as_me: $msg" >&6;}
20446 done
20448 IFS="|"
20449 for msg in $wine_warnings; do
20450 IFS="$ac_save_IFS"
20451 if ${msg:+false} :; then :
20453 else
20454 echo >&2
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20456 $as_echo "$as_me: WARNING: $msg" >&2;}
20458 done
20459 IFS="$ac_save_IFS"
20461 $as_echo "
20462 $as_me: Finished. Do '${ac_make}' to compile Wine.
20463 " >&6