dwmapi: Update the spec file.
[wine.git] / configure
blob425f15ddebd4f80b687bd4b5bed81402be9f5b3f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.17.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='2.17'
584 PACKAGE_STRING='Wine 2.17'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 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_errorhandling_l1_1_3
906 enable_api_ms_win_core_fibers_l1_1_0
907 enable_api_ms_win_core_fibers_l1_1_1
908 enable_api_ms_win_core_file_l1_1_0
909 enable_api_ms_win_core_file_l1_2_0
910 enable_api_ms_win_core_file_l1_2_1
911 enable_api_ms_win_core_file_l2_1_0
912 enable_api_ms_win_core_file_l2_1_1
913 enable_api_ms_win_core_file_l2_1_2
914 enable_api_ms_win_core_handle_l1_1_0
915 enable_api_ms_win_core_heap_l1_1_0
916 enable_api_ms_win_core_heap_l1_2_0
917 enable_api_ms_win_core_heap_l2_1_0
918 enable_api_ms_win_core_heap_obsolete_l1_1_0
919 enable_api_ms_win_core_interlocked_l1_1_0
920 enable_api_ms_win_core_interlocked_l1_2_0
921 enable_api_ms_win_core_io_l1_1_0
922 enable_api_ms_win_core_io_l1_1_1
923 enable_api_ms_win_core_job_l1_1_0
924 enable_api_ms_win_core_job_l2_1_0
925 enable_api_ms_win_core_kernel32_legacy_l1_1_0
926 enable_api_ms_win_core_kernel32_legacy_l1_1_1
927 enable_api_ms_win_core_kernel32_private_l1_1_1
928 enable_api_ms_win_core_libraryloader_l1_1_0
929 enable_api_ms_win_core_libraryloader_l1_1_1
930 enable_api_ms_win_core_libraryloader_l1_2_0
931 enable_api_ms_win_core_libraryloader_l1_2_2
932 enable_api_ms_win_core_localization_l1_1_0
933 enable_api_ms_win_core_localization_l1_2_0
934 enable_api_ms_win_core_localization_l1_2_1
935 enable_api_ms_win_core_localization_l2_1_0
936 enable_api_ms_win_core_localization_obsolete_l1_1_0
937 enable_api_ms_win_core_localization_obsolete_l1_2_0
938 enable_api_ms_win_core_localization_obsolete_l1_3_0
939 enable_api_ms_win_core_localization_private_l1_1_0
940 enable_api_ms_win_core_localregistry_l1_1_0
941 enable_api_ms_win_core_memory_l1_1_0
942 enable_api_ms_win_core_memory_l1_1_1
943 enable_api_ms_win_core_memory_l1_1_2
944 enable_api_ms_win_core_misc_l1_1_0
945 enable_api_ms_win_core_namedpipe_l1_1_0
946 enable_api_ms_win_core_namedpipe_l1_2_0
947 enable_api_ms_win_core_namespace_l1_1_0
948 enable_api_ms_win_core_normalization_l1_1_0
949 enable_api_ms_win_core_path_l1_1_0
950 enable_api_ms_win_core_privateprofile_l1_1_1
951 enable_api_ms_win_core_processenvironment_l1_1_0
952 enable_api_ms_win_core_processenvironment_l1_2_0
953 enable_api_ms_win_core_processthreads_l1_1_0
954 enable_api_ms_win_core_processthreads_l1_1_1
955 enable_api_ms_win_core_processthreads_l1_1_2
956 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
957 enable_api_ms_win_core_profile_l1_1_0
958 enable_api_ms_win_core_psapi_ansi_l1_1_0
959 enable_api_ms_win_core_psapi_l1_1_0
960 enable_api_ms_win_core_psapi_obsolete_l1_1_0
961 enable_api_ms_win_core_quirks_l1_1_0
962 enable_api_ms_win_core_realtime_l1_1_0
963 enable_api_ms_win_core_registry_l1_1_0
964 enable_api_ms_win_core_registry_l2_1_0
965 enable_api_ms_win_core_registryuserspecific_l1_1_0
966 enable_api_ms_win_core_rtlsupport_l1_1_0
967 enable_api_ms_win_core_rtlsupport_l1_2_0
968 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
969 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
970 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
971 enable_api_ms_win_core_sidebyside_l1_1_0
972 enable_api_ms_win_core_string_l1_1_0
973 enable_api_ms_win_core_string_l2_1_0
974 enable_api_ms_win_core_string_obsolete_l1_1_0
975 enable_api_ms_win_core_stringansi_l1_1_0
976 enable_api_ms_win_core_synch_l1_1_0
977 enable_api_ms_win_core_synch_l1_2_0
978 enable_api_ms_win_core_synch_l1_2_1
979 enable_api_ms_win_core_sysinfo_l1_1_0
980 enable_api_ms_win_core_sysinfo_l1_2_0
981 enable_api_ms_win_core_sysinfo_l1_2_1
982 enable_api_ms_win_core_threadpool_l1_1_0
983 enable_api_ms_win_core_threadpool_l1_2_0
984 enable_api_ms_win_core_threadpool_legacy_l1_1_0
985 enable_api_ms_win_core_threadpool_private_l1_1_0
986 enable_api_ms_win_core_timezone_l1_1_0
987 enable_api_ms_win_core_toolhelp_l1_1_0
988 enable_api_ms_win_core_url_l1_1_0
989 enable_api_ms_win_core_util_l1_1_0
990 enable_api_ms_win_core_version_l1_1_0
991 enable_api_ms_win_core_version_l1_1_1
992 enable_api_ms_win_core_version_private_l1_1_0
993 enable_api_ms_win_core_versionansi_l1_1_0
994 enable_api_ms_win_core_windowserrorreporting_l1_1_0
995 enable_api_ms_win_core_winrt_error_l1_1_0
996 enable_api_ms_win_core_winrt_error_l1_1_1
997 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
998 enable_api_ms_win_core_winrt_l1_1_0
999 enable_api_ms_win_core_winrt_registration_l1_1_0
1000 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1001 enable_api_ms_win_core_winrt_string_l1_1_0
1002 enable_api_ms_win_core_wow64_l1_1_0
1003 enable_api_ms_win_core_wow64_l1_1_1
1004 enable_api_ms_win_core_xstate_l1_1_0
1005 enable_api_ms_win_core_xstate_l2_1_0
1006 enable_api_ms_win_crt_conio_l1_1_0
1007 enable_api_ms_win_crt_convert_l1_1_0
1008 enable_api_ms_win_crt_environment_l1_1_0
1009 enable_api_ms_win_crt_filesystem_l1_1_0
1010 enable_api_ms_win_crt_heap_l1_1_0
1011 enable_api_ms_win_crt_locale_l1_1_0
1012 enable_api_ms_win_crt_math_l1_1_0
1013 enable_api_ms_win_crt_multibyte_l1_1_0
1014 enable_api_ms_win_crt_private_l1_1_0
1015 enable_api_ms_win_crt_process_l1_1_0
1016 enable_api_ms_win_crt_runtime_l1_1_0
1017 enable_api_ms_win_crt_stdio_l1_1_0
1018 enable_api_ms_win_crt_string_l1_1_0
1019 enable_api_ms_win_crt_time_l1_1_0
1020 enable_api_ms_win_crt_utility_l1_1_0
1021 enable_api_ms_win_devices_config_l1_1_1
1022 enable_api_ms_win_devices_query_l1_1_1
1023 enable_api_ms_win_downlevel_advapi32_l1_1_0
1024 enable_api_ms_win_downlevel_advapi32_l2_1_0
1025 enable_api_ms_win_downlevel_normaliz_l1_1_0
1026 enable_api_ms_win_downlevel_ole32_l1_1_0
1027 enable_api_ms_win_downlevel_shell32_l1_1_0
1028 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1029 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1030 enable_api_ms_win_downlevel_user32_l1_1_0
1031 enable_api_ms_win_downlevel_version_l1_1_0
1032 enable_api_ms_win_dx_d3dkmt_l1_1_0
1033 enable_api_ms_win_eventing_classicprovider_l1_1_0
1034 enable_api_ms_win_eventing_consumer_l1_1_0
1035 enable_api_ms_win_eventing_controller_l1_1_0
1036 enable_api_ms_win_eventing_legacy_l1_1_0
1037 enable_api_ms_win_eventing_provider_l1_1_0
1038 enable_api_ms_win_eventlog_legacy_l1_1_0
1039 enable_api_ms_win_mm_joystick_l1_1_0
1040 enable_api_ms_win_mm_misc_l1_1_1
1041 enable_api_ms_win_mm_mme_l1_1_0
1042 enable_api_ms_win_mm_time_l1_1_0
1043 enable_api_ms_win_ntuser_dc_access_l1_1_0
1044 enable_api_ms_win_ntuser_rectangle_l1_1_0
1045 enable_api_ms_win_power_base_l1_1_0
1046 enable_api_ms_win_power_setting_l1_1_0
1047 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1048 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1049 enable_api_ms_win_security_audit_l1_1_1
1050 enable_api_ms_win_security_base_l1_1_0
1051 enable_api_ms_win_security_base_l1_2_0
1052 enable_api_ms_win_security_base_private_l1_1_1
1053 enable_api_ms_win_security_credentials_l1_1_0
1054 enable_api_ms_win_security_grouppolicy_l1_1_0
1055 enable_api_ms_win_security_lsalookup_l1_1_0
1056 enable_api_ms_win_security_lsalookup_l1_1_1
1057 enable_api_ms_win_security_lsalookup_l2_1_1
1058 enable_api_ms_win_security_lsapolicy_l1_1_0
1059 enable_api_ms_win_security_provider_l1_1_0
1060 enable_api_ms_win_security_sddl_l1_1_0
1061 enable_api_ms_win_security_systemfunctions_l1_1_0
1062 enable_api_ms_win_service_core_l1_1_0
1063 enable_api_ms_win_service_core_l1_1_1
1064 enable_api_ms_win_service_management_l1_1_0
1065 enable_api_ms_win_service_management_l2_1_0
1066 enable_api_ms_win_service_private_l1_1_1
1067 enable_api_ms_win_service_winsvc_l1_1_0
1068 enable_api_ms_win_service_winsvc_l1_2_0
1069 enable_api_ms_win_shell_shellcom_l1_1_0
1070 enable_api_ms_win_shell_shellfolders_l1_1_0
1071 enable_apphelp
1072 enable_appwiz_cpl
1073 enable_atl
1074 enable_atl100
1075 enable_atl110
1076 enable_atl80
1077 enable_atl90
1078 enable_authz
1079 enable_avicap32
1080 enable_avifil32
1081 enable_avrt
1082 enable_bcrypt
1083 enable_bluetoothapis
1084 enable_browseui
1085 enable_bthprops_cpl
1086 enable_cabinet
1087 enable_capi2032
1088 enable_cards
1089 enable_cfgmgr32
1090 enable_clusapi
1091 enable_combase
1092 enable_comcat
1093 enable_comctl32
1094 enable_comdlg32
1095 enable_compstui
1096 enable_comsvcs
1097 enable_concrt140
1098 enable_connect
1099 enable_credui
1100 enable_crtdll
1101 enable_crypt32
1102 enable_cryptdlg
1103 enable_cryptdll
1104 enable_cryptext
1105 enable_cryptnet
1106 enable_cryptui
1107 enable_ctapi32
1108 enable_ctl3d32
1109 enable_d2d1
1110 enable_d3d10
1111 enable_d3d10_1
1112 enable_d3d10core
1113 enable_d3d11
1114 enable_d3d8
1115 enable_d3d9
1116 enable_d3dcompiler_33
1117 enable_d3dcompiler_34
1118 enable_d3dcompiler_35
1119 enable_d3dcompiler_36
1120 enable_d3dcompiler_37
1121 enable_d3dcompiler_38
1122 enable_d3dcompiler_39
1123 enable_d3dcompiler_40
1124 enable_d3dcompiler_41
1125 enable_d3dcompiler_42
1126 enable_d3dcompiler_43
1127 enable_d3dcompiler_46
1128 enable_d3dcompiler_47
1129 enable_d3dim
1130 enable_d3drm
1131 enable_d3dx10_33
1132 enable_d3dx10_34
1133 enable_d3dx10_35
1134 enable_d3dx10_36
1135 enable_d3dx10_37
1136 enable_d3dx10_38
1137 enable_d3dx10_39
1138 enable_d3dx10_40
1139 enable_d3dx10_41
1140 enable_d3dx10_42
1141 enable_d3dx10_43
1142 enable_d3dx11_42
1143 enable_d3dx11_43
1144 enable_d3dx9_24
1145 enable_d3dx9_25
1146 enable_d3dx9_26
1147 enable_d3dx9_27
1148 enable_d3dx9_28
1149 enable_d3dx9_29
1150 enable_d3dx9_30
1151 enable_d3dx9_31
1152 enable_d3dx9_32
1153 enable_d3dx9_33
1154 enable_d3dx9_34
1155 enable_d3dx9_35
1156 enable_d3dx9_36
1157 enable_d3dx9_37
1158 enable_d3dx9_38
1159 enable_d3dx9_39
1160 enable_d3dx9_40
1161 enable_d3dx9_41
1162 enable_d3dx9_42
1163 enable_d3dx9_43
1164 enable_d3dxof
1165 enable_davclnt
1166 enable_dbgeng
1167 enable_dbghelp
1168 enable_dciman32
1169 enable_ddraw
1170 enable_ddrawex
1171 enable_devenum
1172 enable_dhcpcsvc
1173 enable_difxapi
1174 enable_dinput
1175 enable_dinput8
1176 enable_dispex
1177 enable_dmband
1178 enable_dmcompos
1179 enable_dmime
1180 enable_dmloader
1181 enable_dmscript
1182 enable_dmstyle
1183 enable_dmsynth
1184 enable_dmusic
1185 enable_dmusic32
1186 enable_dnsapi
1187 enable_dplay
1188 enable_dplayx
1189 enable_dpnaddr
1190 enable_dpnet
1191 enable_dpnhpast
1192 enable_dpnlobby
1193 enable_dpvoice
1194 enable_dpwsockx
1195 enable_drmclien
1196 enable_dsound
1197 enable_dsquery
1198 enable_dssenh
1199 enable_dswave
1200 enable_dwmapi
1201 enable_dwrite
1202 enable_dx8vb
1203 enable_dxdiagn
1204 enable_dxgi
1205 enable_dxva2
1206 enable_esent
1207 enable_evr
1208 enable_explorerframe
1209 enable_ext_ms_win_authz_context_l1_1_0
1210 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1211 enable_ext_ms_win_gdi_dc_create_l1_1_1
1212 enable_ext_ms_win_gdi_dc_l1_2_0
1213 enable_ext_ms_win_gdi_devcaps_l1_1_0
1214 enable_ext_ms_win_gdi_draw_l1_1_1
1215 enable_ext_ms_win_gdi_render_l1_1_0
1216 enable_ext_ms_win_kernel32_package_current_l1_1_0
1217 enable_ext_ms_win_kernel32_package_l1_1_1
1218 enable_ext_ms_win_ntuser_message_l1_1_1
1219 enable_ext_ms_win_ntuser_private_l1_1_1
1220 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1221 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1222 enable_ext_ms_win_ntuser_window_l1_1_1
1223 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1224 enable_ext_ms_win_ras_rasapi32_l1_1_0
1225 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1226 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1227 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1228 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1229 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1230 enable_ext_ms_win_security_credui_l1_1_0
1231 enable_ext_ms_win_security_cryptui_l1_1_0
1232 enable_faultrep
1233 enable_fltlib
1234 enable_fltmgr_sys
1235 enable_fntcache
1236 enable_fontsub
1237 enable_fusion
1238 enable_fwpuclnt
1239 enable_gameux
1240 enable_gdi32
1241 enable_gdiplus
1242 enable_glu32
1243 enable_gphoto2_ds
1244 enable_gpkcsp
1245 enable_hal
1246 enable_hhctrl_ocx
1247 enable_hid
1248 enable_hidclass_sys
1249 enable_hlink
1250 enable_hnetcfg
1251 enable_httpapi
1252 enable_iccvid
1253 enable_icmp
1254 enable_ieframe
1255 enable_ieproxy
1256 enable_imaadp32_acm
1257 enable_imagehlp
1258 enable_imm32
1259 enable_inetcomm
1260 enable_inetcpl_cpl
1261 enable_inetmib1
1262 enable_infosoft
1263 enable_initpki
1264 enable_inkobj
1265 enable_inseng
1266 enable_iphlpapi
1267 enable_iprop
1268 enable_irprops_cpl
1269 enable_itircl
1270 enable_itss
1271 enable_joy_cpl
1272 enable_jscript
1273 enable_jsproxy
1274 enable_kernel32
1275 enable_kernelbase
1276 enable_ksuser
1277 enable_ktmw32
1278 enable_loadperf
1279 enable_localspl
1280 enable_localui
1281 enable_lz32
1282 enable_mapi32
1283 enable_mapistub
1284 enable_mciavi32
1285 enable_mcicda
1286 enable_mciqtz32
1287 enable_mciseq
1288 enable_mciwave
1289 enable_mf
1290 enable_mf3216
1291 enable_mfplat
1292 enable_mfreadwrite
1293 enable_mgmtapi
1294 enable_midimap
1295 enable_mlang
1296 enable_mmcndmgr
1297 enable_mmdevapi
1298 enable_mountmgr_sys
1299 enable_mpr
1300 enable_mprapi
1301 enable_msacm32_drv
1302 enable_msacm32
1303 enable_msadp32_acm
1304 enable_msasn1
1305 enable_mscat32
1306 enable_mscms
1307 enable_mscoree
1308 enable_msctf
1309 enable_msctfp
1310 enable_msdaps
1311 enable_msdelta
1312 enable_msdmo
1313 enable_msdrm
1314 enable_msftedit
1315 enable_msg711_acm
1316 enable_msgsm32_acm
1317 enable_mshtml_tlb
1318 enable_mshtml
1319 enable_msi
1320 enable_msident
1321 enable_msimg32
1322 enable_msimsg
1323 enable_msimtf
1324 enable_msisip
1325 enable_msisys_ocx
1326 enable_msls31
1327 enable_msnet32
1328 enable_mspatcha
1329 enable_msports
1330 enable_msrle32
1331 enable_msscript_ocx
1332 enable_mssign32
1333 enable_mssip32
1334 enable_mstask
1335 enable_msvcirt
1336 enable_msvcm80
1337 enable_msvcm90
1338 enable_msvcp100
1339 enable_msvcp110
1340 enable_msvcp120
1341 enable_msvcp120_app
1342 enable_msvcp140
1343 enable_msvcp60
1344 enable_msvcp70
1345 enable_msvcp71
1346 enable_msvcp80
1347 enable_msvcp90
1348 enable_msvcr100
1349 enable_msvcr110
1350 enable_msvcr120
1351 enable_msvcr120_app
1352 enable_msvcr70
1353 enable_msvcr71
1354 enable_msvcr80
1355 enable_msvcr90
1356 enable_msvcrt
1357 enable_msvcrt20
1358 enable_msvcrt40
1359 enable_msvcrtd
1360 enable_msvfw32
1361 enable_msvidc32
1362 enable_mswsock
1363 enable_msxml
1364 enable_msxml2
1365 enable_msxml3
1366 enable_msxml4
1367 enable_msxml6
1368 enable_mtxdm
1369 enable_ncrypt
1370 enable_nddeapi
1371 enable_ndis_sys
1372 enable_netapi32
1373 enable_netcfgx
1374 enable_netprofm
1375 enable_newdev
1376 enable_normaliz
1377 enable_npmshtml
1378 enable_npptools
1379 enable_ntdll
1380 enable_ntdsapi
1381 enable_ntoskrnl_exe
1382 enable_ntprint
1383 enable_objsel
1384 enable_odbc32
1385 enable_odbccp32
1386 enable_odbccu32
1387 enable_ole32
1388 enable_oleacc
1389 enable_oleaut32
1390 enable_olecli32
1391 enable_oledb32
1392 enable_oledlg
1393 enable_olepro32
1394 enable_olesvr32
1395 enable_olethk32
1396 enable_openal32
1397 enable_opencl
1398 enable_opengl32
1399 enable_packager
1400 enable_pdh
1401 enable_photometadatahandler
1402 enable_pidgen
1403 enable_powrprof
1404 enable_printui
1405 enable_prntvpt
1406 enable_propsys
1407 enable_psapi
1408 enable_pstorec
1409 enable_qcap
1410 enable_qedit
1411 enable_qmgr
1412 enable_qmgrprxy
1413 enable_quartz
1414 enable_query
1415 enable_rasapi32
1416 enable_rasdlg
1417 enable_regapi
1418 enable_resutils
1419 enable_riched20
1420 enable_riched32
1421 enable_rpcrt4
1422 enable_rsabase
1423 enable_rsaenh
1424 enable_rstrtmgr
1425 enable_rtutils
1426 enable_samlib
1427 enable_sane_ds
1428 enable_scarddlg
1429 enable_sccbase
1430 enable_schannel
1431 enable_schedsvc
1432 enable_scrobj
1433 enable_scrrun
1434 enable_scsiport_sys
1435 enable_secur32
1436 enable_security
1437 enable_sensapi
1438 enable_serialui
1439 enable_setupapi
1440 enable_sfc
1441 enable_sfc_os
1442 enable_shdoclc
1443 enable_shdocvw
1444 enable_shell32
1445 enable_shfolder
1446 enable_shlwapi
1447 enable_slbcsp
1448 enable_slc
1449 enable_snmpapi
1450 enable_softpub
1451 enable_spoolss
1452 enable_sspicli
1453 enable_stdole2_tlb
1454 enable_stdole32_tlb
1455 enable_sti
1456 enable_svrapi
1457 enable_sxs
1458 enable_t2embed
1459 enable_tapi32
1460 enable_taskschd
1461 enable_tdh
1462 enable_tdi_sys
1463 enable_traffic
1464 enable_twain_32
1465 enable_ucrtbase
1466 enable_uiautomationcore
1467 enable_uiribbon
1468 enable_unicows
1469 enable_updspapi
1470 enable_url
1471 enable_urlmon
1472 enable_usbd_sys
1473 enable_user32
1474 enable_userenv
1475 enable_usp10
1476 enable_uxtheme
1477 enable_vbscript
1478 enable_vcomp
1479 enable_vcomp100
1480 enable_vcomp110
1481 enable_vcomp120
1482 enable_vcomp140
1483 enable_vcomp90
1484 enable_vcruntime140
1485 enable_vdmdbg
1486 enable_version
1487 enable_virtdisk
1488 enable_vssapi
1489 enable_wbemdisp
1490 enable_wbemprox
1491 enable_webservices
1492 enable_wer
1493 enable_wevtapi
1494 enable_wiaservc
1495 enable_wimgapi
1496 enable_windowscodecs
1497 enable_windowscodecsext
1498 enable_winealsa_drv
1499 enable_wineandroid_drv
1500 enable_winebus_sys
1501 enable_winecoreaudio_drv
1502 enable_wined3d
1503 enable_winegstreamer
1504 enable_winehid_sys
1505 enable_winejoystick_drv
1506 enable_winemac_drv
1507 enable_winemapi
1508 enable_winemp3_acm
1509 enable_wineoss_drv
1510 enable_wineps_drv
1511 enable_winepulse_drv
1512 enable_wineqtdecoder
1513 enable_winex11_drv
1514 enable_wing32
1515 enable_winhttp
1516 enable_wininet
1517 enable_winmm
1518 enable_winnls32
1519 enable_winscard
1520 enable_winspool_drv
1521 enable_winsta
1522 enable_wintab32
1523 enable_wintrust
1524 enable_winusb
1525 enable_wlanapi
1526 enable_wldap32
1527 enable_wmasf
1528 enable_wmi
1529 enable_wmiutils
1530 enable_wmp
1531 enable_wmphoto
1532 enable_wmvcore
1533 enable_wnaspi32
1534 enable_wpc
1535 enable_wpcap
1536 enable_ws2_32
1537 enable_wsdapi
1538 enable_wshom_ocx
1539 enable_wsnmp32
1540 enable_wsock32
1541 enable_wtsapi32
1542 enable_wuapi
1543 enable_wuaueng
1544 enable_x3daudio1_0
1545 enable_x3daudio1_1
1546 enable_x3daudio1_2
1547 enable_x3daudio1_3
1548 enable_x3daudio1_4
1549 enable_x3daudio1_5
1550 enable_x3daudio1_6
1551 enable_x3daudio1_7
1552 enable_xapofx1_1
1553 enable_xapofx1_2
1554 enable_xapofx1_3
1555 enable_xapofx1_4
1556 enable_xapofx1_5
1557 enable_xaudio2_0
1558 enable_xaudio2_1
1559 enable_xaudio2_2
1560 enable_xaudio2_3
1561 enable_xaudio2_4
1562 enable_xaudio2_5
1563 enable_xaudio2_6
1564 enable_xaudio2_7
1565 enable_xaudio2_8
1566 enable_xaudio2_9
1567 enable_xinput1_1
1568 enable_xinput1_2
1569 enable_xinput1_3
1570 enable_xinput1_4
1571 enable_xinput9_1_0
1572 enable_xmllite
1573 enable_xolehlp
1574 enable_xpsprint
1575 enable_xpssvcs
1576 enable_fonts
1577 enable_include
1578 enable_libs_port
1579 enable_libs_wine
1580 enable_libs_wpp
1581 enable_loader
1582 enable_po
1583 enable_arp
1584 enable_aspnet_regiis
1585 enable_attrib
1586 enable_cabarc
1587 enable_cacls
1588 enable_clock
1589 enable_cmd
1590 enable_conhost
1591 enable_control
1592 enable_cscript
1593 enable_dpnsvr
1594 enable_dxdiag
1595 enable_eject
1596 enable_expand
1597 enable_explorer
1598 enable_extrac32
1599 enable_findstr
1600 enable_fsutil
1601 enable_hh
1602 enable_hostname
1603 enable_icacls
1604 enable_icinfo
1605 enable_iexplore
1606 enable_ipconfig
1607 enable_lodctr
1608 enable_mofcomp
1609 enable_mshta
1610 enable_msiexec
1611 enable_msinfo32
1612 enable_net
1613 enable_netsh
1614 enable_netstat
1615 enable_ngen
1616 enable_notepad
1617 enable_oleview
1618 enable_ping
1619 enable_plugplay
1620 enable_powershell
1621 enable_presentationfontcache
1622 enable_progman
1623 enable_reg
1624 enable_regasm
1625 enable_regedit
1626 enable_regsvcs
1627 enable_regsvr32
1628 enable_rpcss
1629 enable_rundll32
1630 enable_sc
1631 enable_schtasks
1632 enable_sdbinst
1633 enable_secedit
1634 enable_servicemodelreg
1635 enable_services
1636 enable_shutdown
1637 enable_spoolsv
1638 enable_start
1639 enable_subst
1640 enable_svchost
1641 enable_systeminfo
1642 enable_taskkill
1643 enable_tasklist
1644 enable_taskmgr
1645 enable_termsv
1646 enable_uninstaller
1647 enable_unlodctr
1648 enable_view
1649 enable_wevtutil
1650 enable_wineboot
1651 enable_winebrowser
1652 enable_winecfg
1653 enable_wineconsole
1654 enable_winedbg
1655 enable_winedevice
1656 enable_winefile
1657 enable_winemenubuilder
1658 enable_winemine
1659 enable_winemsibuilder
1660 enable_winepath
1661 enable_winetest
1662 enable_winhlp32
1663 enable_winver
1664 enable_wmic
1665 enable_wmplayer
1666 enable_wordpad
1667 enable_write
1668 enable_wscript
1669 enable_wusa
1670 enable_xcopy
1671 enable_server
1672 enable_tools
1674 ac_precious_vars='build_alias
1675 host_alias
1676 target_alias
1678 CFLAGS
1679 LDFLAGS
1680 LIBS
1681 CPPFLAGS
1683 CXXFLAGS
1686 XMKMF
1687 XML2_CFLAGS
1688 XML2_LIBS
1689 XSLT_CFLAGS
1690 XSLT_LIBS
1691 DBUS_CFLAGS
1692 DBUS_LIBS
1693 HAL_CFLAGS
1694 HAL_LIBS
1695 GNUTLS_CFLAGS
1696 GNUTLS_LIBS
1697 SANE_CFLAGS
1698 SANE_LIBS
1699 GPHOTO2_CFLAGS
1700 GPHOTO2_LIBS
1701 GPHOTO2_PORT_CFLAGS
1702 GPHOTO2_PORT_LIBS
1703 LCMS2_CFLAGS
1704 LCMS2_LIBS
1705 FREETYPE_CFLAGS
1706 FREETYPE_LIBS
1707 PULSE_CFLAGS
1708 PULSE_LIBS
1709 GSTREAMER_CFLAGS
1710 GSTREAMER_LIBS
1711 UDEV_CFLAGS
1712 UDEV_LIBS
1713 CAPI20_CFLAGS
1714 CAPI20_LIBS
1715 FONTCONFIG_CFLAGS
1716 FONTCONFIG_LIBS
1717 JPEG_CFLAGS
1718 JPEG_LIBS
1719 PNG_CFLAGS
1720 PNG_LIBS
1721 TIFF_CFLAGS
1722 TIFF_LIBS
1723 MPG123_CFLAGS
1724 MPG123_LIBS
1725 NETAPI_CFLAGS
1726 NETAPI_LIBS
1727 LDAP_CFLAGS
1728 LDAP_LIBS'
1731 # Initialize some variables set by options.
1732 ac_init_help=
1733 ac_init_version=false
1734 ac_unrecognized_opts=
1735 ac_unrecognized_sep=
1736 # The variables have the same names as the options, with
1737 # dashes changed to underlines.
1738 cache_file=/dev/null
1739 exec_prefix=NONE
1740 no_create=
1741 no_recursion=
1742 prefix=NONE
1743 program_prefix=NONE
1744 program_suffix=NONE
1745 program_transform_name=s,x,x,
1746 silent=
1747 site=
1748 srcdir=
1749 verbose=
1750 x_includes=NONE
1751 x_libraries=NONE
1753 # Installation directory options.
1754 # These are left unexpanded so users can "make install exec_prefix=/foo"
1755 # and all the variables that are supposed to be based on exec_prefix
1756 # by default will actually change.
1757 # Use braces instead of parens because sh, perl, etc. also accept them.
1758 # (The list follows the same order as the GNU Coding Standards.)
1759 bindir='${exec_prefix}/bin'
1760 sbindir='${exec_prefix}/sbin'
1761 libexecdir='${exec_prefix}/libexec'
1762 datarootdir='${prefix}/share'
1763 datadir='${datarootdir}'
1764 sysconfdir='${prefix}/etc'
1765 sharedstatedir='${prefix}/com'
1766 localstatedir='${prefix}/var'
1767 runstatedir='${localstatedir}/run'
1768 includedir='${prefix}/include'
1769 oldincludedir='/usr/include'
1770 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1771 infodir='${datarootdir}/info'
1772 htmldir='${docdir}'
1773 dvidir='${docdir}'
1774 pdfdir='${docdir}'
1775 psdir='${docdir}'
1776 libdir='${exec_prefix}/lib'
1777 localedir='${datarootdir}/locale'
1778 mandir='${datarootdir}/man'
1780 ac_prev=
1781 ac_dashdash=
1782 for ac_option
1784 # If the previous option needs an argument, assign it.
1785 if test -n "$ac_prev"; then
1786 eval $ac_prev=\$ac_option
1787 ac_prev=
1788 continue
1791 case $ac_option in
1792 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1793 *=) ac_optarg= ;;
1794 *) ac_optarg=yes ;;
1795 esac
1797 # Accept the important Cygnus configure options, so we can diagnose typos.
1799 case $ac_dashdash$ac_option in
1801 ac_dashdash=yes ;;
1803 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1804 ac_prev=bindir ;;
1805 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1806 bindir=$ac_optarg ;;
1808 -build | --build | --buil | --bui | --bu)
1809 ac_prev=build_alias ;;
1810 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1811 build_alias=$ac_optarg ;;
1813 -cache-file | --cache-file | --cache-fil | --cache-fi \
1814 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1815 ac_prev=cache_file ;;
1816 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1817 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1818 cache_file=$ac_optarg ;;
1820 --config-cache | -C)
1821 cache_file=config.cache ;;
1823 -datadir | --datadir | --datadi | --datad)
1824 ac_prev=datadir ;;
1825 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1826 datadir=$ac_optarg ;;
1828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1829 | --dataroo | --dataro | --datar)
1830 ac_prev=datarootdir ;;
1831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1833 datarootdir=$ac_optarg ;;
1835 -disable-* | --disable-*)
1836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1837 # Reject names that are not valid shell variable names.
1838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1839 as_fn_error $? "invalid feature name: $ac_useropt"
1840 ac_useropt_orig=$ac_useropt
1841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1842 case $ac_user_opts in
1844 "enable_$ac_useropt"
1845 "*) ;;
1846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1847 ac_unrecognized_sep=', ';;
1848 esac
1849 eval enable_$ac_useropt=no ;;
1851 -docdir | --docdir | --docdi | --doc | --do)
1852 ac_prev=docdir ;;
1853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1854 docdir=$ac_optarg ;;
1856 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1857 ac_prev=dvidir ;;
1858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1859 dvidir=$ac_optarg ;;
1861 -enable-* | --enable-*)
1862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1863 # Reject names that are not valid shell variable names.
1864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1865 as_fn_error $? "invalid feature name: $ac_useropt"
1866 ac_useropt_orig=$ac_useropt
1867 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1868 case $ac_user_opts in
1870 "enable_$ac_useropt"
1871 "*) ;;
1872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1873 ac_unrecognized_sep=', ';;
1874 esac
1875 eval enable_$ac_useropt=\$ac_optarg ;;
1877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1878 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1879 | --exec | --exe | --ex)
1880 ac_prev=exec_prefix ;;
1881 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1882 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1883 | --exec=* | --exe=* | --ex=*)
1884 exec_prefix=$ac_optarg ;;
1886 -gas | --gas | --ga | --g)
1887 # Obsolete; use --with-gas.
1888 with_gas=yes ;;
1890 -help | --help | --hel | --he | -h)
1891 ac_init_help=long ;;
1892 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1893 ac_init_help=recursive ;;
1894 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1895 ac_init_help=short ;;
1897 -host | --host | --hos | --ho)
1898 ac_prev=host_alias ;;
1899 -host=* | --host=* | --hos=* | --ho=*)
1900 host_alias=$ac_optarg ;;
1902 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1903 ac_prev=htmldir ;;
1904 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1905 | --ht=*)
1906 htmldir=$ac_optarg ;;
1908 -includedir | --includedir | --includedi | --included | --include \
1909 | --includ | --inclu | --incl | --inc)
1910 ac_prev=includedir ;;
1911 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1912 | --includ=* | --inclu=* | --incl=* | --inc=*)
1913 includedir=$ac_optarg ;;
1915 -infodir | --infodir | --infodi | --infod | --info | --inf)
1916 ac_prev=infodir ;;
1917 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1918 infodir=$ac_optarg ;;
1920 -libdir | --libdir | --libdi | --libd)
1921 ac_prev=libdir ;;
1922 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1923 libdir=$ac_optarg ;;
1925 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1926 | --libexe | --libex | --libe)
1927 ac_prev=libexecdir ;;
1928 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1929 | --libexe=* | --libex=* | --libe=*)
1930 libexecdir=$ac_optarg ;;
1932 -localedir | --localedir | --localedi | --localed | --locale)
1933 ac_prev=localedir ;;
1934 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1935 localedir=$ac_optarg ;;
1937 -localstatedir | --localstatedir | --localstatedi | --localstated \
1938 | --localstate | --localstat | --localsta | --localst | --locals)
1939 ac_prev=localstatedir ;;
1940 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1941 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1942 localstatedir=$ac_optarg ;;
1944 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1945 ac_prev=mandir ;;
1946 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1947 mandir=$ac_optarg ;;
1949 -nfp | --nfp | --nf)
1950 # Obsolete; use --without-fp.
1951 with_fp=no ;;
1953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1954 | --no-cr | --no-c | -n)
1955 no_create=yes ;;
1957 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1958 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1959 no_recursion=yes ;;
1961 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1962 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1963 | --oldin | --oldi | --old | --ol | --o)
1964 ac_prev=oldincludedir ;;
1965 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1966 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1967 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1968 oldincludedir=$ac_optarg ;;
1970 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1971 ac_prev=prefix ;;
1972 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1973 prefix=$ac_optarg ;;
1975 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1976 | --program-pre | --program-pr | --program-p)
1977 ac_prev=program_prefix ;;
1978 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1979 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1980 program_prefix=$ac_optarg ;;
1982 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1983 | --program-suf | --program-su | --program-s)
1984 ac_prev=program_suffix ;;
1985 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1986 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1987 program_suffix=$ac_optarg ;;
1989 -program-transform-name | --program-transform-name \
1990 | --program-transform-nam | --program-transform-na \
1991 | --program-transform-n | --program-transform- \
1992 | --program-transform | --program-transfor \
1993 | --program-transfo | --program-transf \
1994 | --program-trans | --program-tran \
1995 | --progr-tra | --program-tr | --program-t)
1996 ac_prev=program_transform_name ;;
1997 -program-transform-name=* | --program-transform-name=* \
1998 | --program-transform-nam=* | --program-transform-na=* \
1999 | --program-transform-n=* | --program-transform-=* \
2000 | --program-transform=* | --program-transfor=* \
2001 | --program-transfo=* | --program-transf=* \
2002 | --program-trans=* | --program-tran=* \
2003 | --progr-tra=* | --program-tr=* | --program-t=*)
2004 program_transform_name=$ac_optarg ;;
2006 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2007 ac_prev=pdfdir ;;
2008 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2009 pdfdir=$ac_optarg ;;
2011 -psdir | --psdir | --psdi | --psd | --ps)
2012 ac_prev=psdir ;;
2013 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2014 psdir=$ac_optarg ;;
2016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2017 | -silent | --silent | --silen | --sile | --sil)
2018 silent=yes ;;
2020 -runstatedir | --runstatedir | --runstatedi | --runstated \
2021 | --runstate | --runstat | --runsta | --runst | --runs \
2022 | --run | --ru | --r)
2023 ac_prev=runstatedir ;;
2024 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2025 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2026 | --run=* | --ru=* | --r=*)
2027 runstatedir=$ac_optarg ;;
2029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2030 ac_prev=sbindir ;;
2031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2032 | --sbi=* | --sb=*)
2033 sbindir=$ac_optarg ;;
2035 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2037 | --sharedst | --shareds | --shared | --share | --shar \
2038 | --sha | --sh)
2039 ac_prev=sharedstatedir ;;
2040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2043 | --sha=* | --sh=*)
2044 sharedstatedir=$ac_optarg ;;
2046 -site | --site | --sit)
2047 ac_prev=site ;;
2048 -site=* | --site=* | --sit=*)
2049 site=$ac_optarg ;;
2051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2052 ac_prev=srcdir ;;
2053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2054 srcdir=$ac_optarg ;;
2056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2057 | --syscon | --sysco | --sysc | --sys | --sy)
2058 ac_prev=sysconfdir ;;
2059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2061 sysconfdir=$ac_optarg ;;
2063 -target | --target | --targe | --targ | --tar | --ta | --t)
2064 ac_prev=target_alias ;;
2065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2066 target_alias=$ac_optarg ;;
2068 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2069 verbose=yes ;;
2071 -version | --version | --versio | --versi | --vers | -V)
2072 ac_init_version=: ;;
2074 -with-* | --with-*)
2075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2076 # Reject names that are not valid shell variable names.
2077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2078 as_fn_error $? "invalid package name: $ac_useropt"
2079 ac_useropt_orig=$ac_useropt
2080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2081 case $ac_user_opts in
2083 "with_$ac_useropt"
2084 "*) ;;
2085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2086 ac_unrecognized_sep=', ';;
2087 esac
2088 eval with_$ac_useropt=\$ac_optarg ;;
2090 -without-* | --without-*)
2091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2092 # Reject names that are not valid shell variable names.
2093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2094 as_fn_error $? "invalid package name: $ac_useropt"
2095 ac_useropt_orig=$ac_useropt
2096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2097 case $ac_user_opts in
2099 "with_$ac_useropt"
2100 "*) ;;
2101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2102 ac_unrecognized_sep=', ';;
2103 esac
2104 eval with_$ac_useropt=no ;;
2106 --x)
2107 # Obsolete; use --with-x.
2108 with_x=yes ;;
2110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2111 | --x-incl | --x-inc | --x-in | --x-i)
2112 ac_prev=x_includes ;;
2113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2115 x_includes=$ac_optarg ;;
2117 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2119 ac_prev=x_libraries ;;
2120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2122 x_libraries=$ac_optarg ;;
2124 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2125 Try \`$0 --help' for more information"
2128 *=*)
2129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2130 # Reject names that are not valid shell variable names.
2131 case $ac_envvar in #(
2132 '' | [0-9]* | *[!_$as_cr_alnum]* )
2133 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2134 esac
2135 eval $ac_envvar=\$ac_optarg
2136 export $ac_envvar ;;
2139 # FIXME: should be removed in autoconf 3.0.
2140 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2142 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2146 esac
2147 done
2149 if test -n "$ac_prev"; then
2150 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2151 as_fn_error $? "missing argument to $ac_option"
2154 if test -n "$ac_unrecognized_opts"; then
2155 case $enable_option_checking in
2156 no) ;;
2157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2159 esac
2162 # Check all directory arguments for consistency.
2163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2164 datadir sysconfdir sharedstatedir localstatedir includedir \
2165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2166 libdir localedir mandir runstatedir
2168 eval ac_val=\$$ac_var
2169 # Remove trailing slashes.
2170 case $ac_val in
2171 */ )
2172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2173 eval $ac_var=\$ac_val;;
2174 esac
2175 # Be sure to have absolute directory names.
2176 case $ac_val in
2177 [\\/$]* | ?:[\\/]* ) continue;;
2178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2179 esac
2180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2181 done
2183 # There might be people who depend on the old broken behavior: `$host'
2184 # used to hold the argument of --host etc.
2185 # FIXME: To remove some day.
2186 build=$build_alias
2187 host=$host_alias
2188 target=$target_alias
2190 # FIXME: To remove some day.
2191 if test "x$host_alias" != x; then
2192 if test "x$build_alias" = x; then
2193 cross_compiling=maybe
2194 elif test "x$build_alias" != "x$host_alias"; then
2195 cross_compiling=yes
2199 ac_tool_prefix=
2200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2202 test "$silent" = yes && exec 6>/dev/null
2205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2206 ac_ls_di=`ls -di .` &&
2207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2208 as_fn_error $? "working directory cannot be determined"
2209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2210 as_fn_error $? "pwd does not report name of working directory"
2213 # Find the source files, if location was not specified.
2214 if test -z "$srcdir"; then
2215 ac_srcdir_defaulted=yes
2216 # Try the directory containing this script, then the parent directory.
2217 ac_confdir=`$as_dirname -- "$as_myself" ||
2218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2219 X"$as_myself" : 'X\(//\)[^/]' \| \
2220 X"$as_myself" : 'X\(//\)$' \| \
2221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2222 $as_echo X"$as_myself" |
2223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2224 s//\1/
2227 /^X\(\/\/\)[^/].*/{
2228 s//\1/
2231 /^X\(\/\/\)$/{
2232 s//\1/
2235 /^X\(\/\).*/{
2236 s//\1/
2239 s/.*/./; q'`
2240 srcdir=$ac_confdir
2241 if test ! -r "$srcdir/$ac_unique_file"; then
2242 srcdir=..
2244 else
2245 ac_srcdir_defaulted=no
2247 if test ! -r "$srcdir/$ac_unique_file"; then
2248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2252 ac_abs_confdir=`(
2253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2254 pwd)`
2255 # When building in place, set srcdir=.
2256 if test "$ac_abs_confdir" = "$ac_pwd"; then
2257 srcdir=.
2259 # Remove unnecessary trailing slashes from srcdir.
2260 # Double slashes in file names in object file debugging info
2261 # mess up M-x gdb in Emacs.
2262 case $srcdir in
2263 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2264 esac
2265 for ac_var in $ac_precious_vars; do
2266 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2267 eval ac_env_${ac_var}_value=\$${ac_var}
2268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2269 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2270 done
2273 # Report the --help message.
2275 if test "$ac_init_help" = "long"; then
2276 # Omit some internal or obsolete options to make the list less imposing.
2277 # This message is too long to be a string in the A/UX 3.1 sh.
2278 cat <<_ACEOF
2279 \`configure' configures Wine 2.17 to adapt to many kinds of systems.
2281 Usage: $0 [OPTION]... [VAR=VALUE]...
2283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2284 VAR=VALUE. See below for descriptions of some of the useful variables.
2286 Defaults for the options are specified in brackets.
2288 Configuration:
2289 -h, --help display this help and exit
2290 --help=short display options specific to this package
2291 --help=recursive display the short help of all the included packages
2292 -V, --version display version information and exit
2293 -q, --quiet, --silent do not print \`checking ...' messages
2294 --cache-file=FILE cache test results in FILE [disabled]
2295 -C, --config-cache alias for \`--cache-file=config.cache'
2296 -n, --no-create do not create output files
2297 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2299 Installation directories:
2300 --prefix=PREFIX install architecture-independent files in PREFIX
2301 [$ac_default_prefix]
2302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2303 [PREFIX]
2305 By default, \`make install' will install all the files in
2306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2308 for instance \`--prefix=\$HOME'.
2310 For better control, use the options below.
2312 Fine tuning of the installation directories:
2313 --bindir=DIR user executables [EPREFIX/bin]
2314 --sbindir=DIR system admin executables [EPREFIX/sbin]
2315 --libexecdir=DIR program executables [EPREFIX/libexec]
2316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2319 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2320 --libdir=DIR object code libraries [EPREFIX/lib]
2321 --includedir=DIR C header files [PREFIX/include]
2322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2325 --infodir=DIR info documentation [DATAROOTDIR/info]
2326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2327 --mandir=DIR man documentation [DATAROOTDIR/man]
2328 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2329 --htmldir=DIR html documentation [DOCDIR]
2330 --dvidir=DIR dvi documentation [DOCDIR]
2331 --pdfdir=DIR pdf documentation [DOCDIR]
2332 --psdir=DIR ps documentation [DOCDIR]
2333 _ACEOF
2335 cat <<\_ACEOF
2337 X features:
2338 --x-includes=DIR X include files are in DIR
2339 --x-libraries=DIR X library files are in DIR
2341 System types:
2342 --build=BUILD configure for building on BUILD [guessed]
2343 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2344 _ACEOF
2347 if test -n "$ac_init_help"; then
2348 case $ac_init_help in
2349 short | recursive ) echo "Configuration of Wine 2.17:";;
2350 esac
2351 cat <<\_ACEOF
2353 Optional Features:
2354 --disable-option-checking ignore unrecognized --enable/--with options
2355 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2356 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2357 --disable-win16 do not include Win16 support
2358 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2359 binaries)
2360 --disable-tests do not build the regression tests
2361 --enable-maintainer-mode
2362 enable maintainer-specific build rules
2363 --disable-largefile omit support for large files
2365 Optional Packages:
2366 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2367 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2368 --without-alsa do not use the Alsa sound support
2369 --without-capi do not use CAPI (ISDN support)
2370 --without-cms do not use CMS (color management support)
2371 --without-coreaudio do not use the CoreAudio sound support
2372 --without-cups do not use CUPS
2373 --without-curses do not use (n)curses
2374 --without-dbus do not use DBus (dynamic device support)
2375 --without-fontconfig do not use fontconfig
2376 --without-freetype do not use the FreeType library
2377 --without-gettext do not use gettext
2378 --with-gettextpo use the GetTextPO library to rebuild po files
2379 --without-gphoto do not use gphoto (Digital Camera support)
2380 --without-glu do not use the GLU library
2381 --without-gnutls do not use GnuTLS (schannel support)
2382 --without-gsm do not use libgsm (GSM 06.10 codec support)
2383 --without-gstreamer do not use GStreamer (codecs support)
2384 --without-hal do not use HAL (dynamic device support)
2385 --without-jpeg do not use JPEG
2386 --without-ldap do not use LDAP
2387 --without-mpg123 do not use the mpg123 library
2388 --without-netapi do not use the Samba NetAPI library
2389 --without-openal do not use OpenAL
2390 --without-opencl do not use OpenCL
2391 --without-opengl do not use OpenGL
2392 --without-osmesa do not use the OSMesa library
2393 --without-oss do not use the OSS sound support
2394 --without-pcap do not use the Packet Capture library
2395 --without-png do not use PNG
2396 --without-pthread do not use the pthread library
2397 --without-pulse do not use PulseAudio sound support
2398 --without-sane do not use SANE (scanner support)
2399 --without-tiff do not use TIFF
2400 --without-udev do not use udev (plug and play support)
2401 --without-v4l do not use v4l1 (v4l support)
2402 --without-xcomposite do not use the Xcomposite extension
2403 --without-xcursor do not use the Xcursor extension
2404 --without-xfixes do not use Xfixes for clipboard change notifications
2405 --without-xinerama do not use Xinerama (multi-monitor support)
2406 --without-xinput do not use the Xinput extension
2407 --without-xinput2 do not use the Xinput 2 extension
2408 --without-xml do not use XML
2409 --without-xrandr do not use Xrandr (resolution changes)
2410 --without-xrender do not use the Xrender extension
2411 --without-xshape do not use the Xshape extension
2412 --without-xshm do not use XShm (shared memory extension)
2413 --without-xslt do not use XSLT
2414 --without-xxf86vm do not use XFree video mode extension
2415 --without-zlib do not use Zlib (data compression)
2416 --with-wine-tools=DIR use Wine tools from directory DIR
2417 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2418 --with-x use the X Window System
2420 Some influential environment variables:
2421 CC C compiler command
2422 CFLAGS C compiler flags
2423 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2424 nonstandard directory <lib dir>
2425 LIBS libraries to pass to the linker, e.g. -l<library>
2426 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2427 you have headers in a nonstandard directory <include dir>
2428 CXX C++ compiler command
2429 CXXFLAGS C++ compiler flags
2430 CPP C preprocessor
2431 XMKMF Path to xmkmf, Makefile generator for X Window System
2432 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2433 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2434 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2435 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2436 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2437 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2438 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2439 HAL_LIBS Linker flags for hal, overriding pkg-config
2440 GNUTLS_CFLAGS
2441 C compiler flags for gnutls, overriding pkg-config
2442 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2443 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2444 SANE_LIBS Linker flags for libsane, overriding pkg-config
2445 GPHOTO2_CFLAGS
2446 C compiler flags for libgphoto2, overriding pkg-config
2447 GPHOTO2_LIBS
2448 Linker flags for libgphoto2, overriding pkg-config
2449 GPHOTO2_PORT_CFLAGS
2450 C compiler flags for libgphoto2_port, overriding pkg-config
2451 GPHOTO2_PORT_LIBS
2452 Linker flags for libgphoto2_port, overriding pkg-config
2453 LCMS2_CFLAGS
2454 C compiler flags for lcms2, overriding pkg-config
2455 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2456 FREETYPE_CFLAGS
2457 C compiler flags for freetype2, overriding pkg-config
2458 FREETYPE_LIBS
2459 Linker flags for freetype2, overriding pkg-config
2460 PULSE_CFLAGS
2461 C compiler flags for libpulse, overriding pkg-config
2462 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2463 GSTREAMER_CFLAGS
2464 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2465 gstreamer-audio-1.0, overriding pkg-config
2466 GSTREAMER_LIBS
2467 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2468 gstreamer-audio-1.0, overriding pkg-config
2469 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2470 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2471 CAPI20_CFLAGS
2472 C compiler flags for capi20, overriding pkg-config
2473 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2474 FONTCONFIG_CFLAGS
2475 C compiler flags for fontconfig, overriding pkg-config
2476 FONTCONFIG_LIBS
2477 Linker flags for fontconfig, overriding pkg-config
2478 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2479 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2480 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2481 PNG_LIBS Linker flags for libpng, overriding pkg-config
2482 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2483 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2484 MPG123_CFLAGS
2485 C compiler flags for libmpg123, overriding pkg-config
2486 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2487 NETAPI_CFLAGS
2488 C compiler flags for netapi, overriding pkg-config
2489 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2490 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2491 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2493 Use these variables to override the choices made by `configure' or to help
2494 it to find libraries and programs with nonstandard names/locations.
2496 Report bugs to <wine-devel@winehq.org>.
2497 Wine home page: <http://www.winehq.org>.
2498 _ACEOF
2499 ac_status=$?
2502 if test "$ac_init_help" = "recursive"; then
2503 # If there are subdirs, report their specific --help.
2504 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2505 test -d "$ac_dir" ||
2506 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2507 continue
2508 ac_builddir=.
2510 case "$ac_dir" in
2511 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2513 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2514 # A ".." for each directory in $ac_dir_suffix.
2515 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2516 case $ac_top_builddir_sub in
2517 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2518 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2519 esac ;;
2520 esac
2521 ac_abs_top_builddir=$ac_pwd
2522 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2523 # for backward compatibility:
2524 ac_top_builddir=$ac_top_build_prefix
2526 case $srcdir in
2527 .) # We are building in place.
2528 ac_srcdir=.
2529 ac_top_srcdir=$ac_top_builddir_sub
2530 ac_abs_top_srcdir=$ac_pwd ;;
2531 [\\/]* | ?:[\\/]* ) # Absolute name.
2532 ac_srcdir=$srcdir$ac_dir_suffix;
2533 ac_top_srcdir=$srcdir
2534 ac_abs_top_srcdir=$srcdir ;;
2535 *) # Relative name.
2536 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2537 ac_top_srcdir=$ac_top_build_prefix$srcdir
2538 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2539 esac
2540 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2542 cd "$ac_dir" || { ac_status=$?; continue; }
2543 # Check for guested configure.
2544 if test -f "$ac_srcdir/configure.gnu"; then
2545 echo &&
2546 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2547 elif test -f "$ac_srcdir/configure"; then
2548 echo &&
2549 $SHELL "$ac_srcdir/configure" --help=recursive
2550 else
2551 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2552 fi || ac_status=$?
2553 cd "$ac_pwd" || { ac_status=$?; break; }
2554 done
2557 test -n "$ac_init_help" && exit $ac_status
2558 if $ac_init_version; then
2559 cat <<\_ACEOF
2560 Wine configure 2.17
2561 generated by GNU Autoconf 2.69
2563 Copyright (C) 2012 Free Software Foundation, Inc.
2564 This configure script is free software; the Free Software Foundation
2565 gives unlimited permission to copy, distribute and modify it.
2566 _ACEOF
2567 exit
2570 ## ------------------------ ##
2571 ## Autoconf initialization. ##
2572 ## ------------------------ ##
2574 # ac_fn_c_try_compile LINENO
2575 # --------------------------
2576 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2577 ac_fn_c_try_compile ()
2579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580 rm -f conftest.$ac_objext
2581 if { { ac_try="$ac_compile"
2582 case "(($ac_try" in
2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584 *) ac_try_echo=$ac_try;;
2585 esac
2586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2587 $as_echo "$ac_try_echo"; } >&5
2588 (eval "$ac_compile") 2>conftest.err
2589 ac_status=$?
2590 if test -s conftest.err; then
2591 grep -v '^ *+' conftest.err >conftest.er1
2592 cat conftest.er1 >&5
2593 mv -f conftest.er1 conftest.err
2595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2596 test $ac_status = 0; } && {
2597 test -z "$ac_c_werror_flag" ||
2598 test ! -s conftest.err
2599 } && test -s conftest.$ac_objext; then :
2600 ac_retval=0
2601 else
2602 $as_echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2605 ac_retval=1
2607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 as_fn_set_status $ac_retval
2610 } # ac_fn_c_try_compile
2612 # ac_fn_cxx_try_compile LINENO
2613 # ----------------------------
2614 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2615 ac_fn_cxx_try_compile ()
2617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 rm -f conftest.$ac_objext
2619 if { { ac_try="$ac_compile"
2620 case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623 esac
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_compile") 2>conftest.err
2627 ac_status=$?
2628 if test -s conftest.err; then
2629 grep -v '^ *+' conftest.err >conftest.er1
2630 cat conftest.er1 >&5
2631 mv -f conftest.er1 conftest.err
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; } && {
2635 test -z "$ac_cxx_werror_flag" ||
2636 test ! -s conftest.err
2637 } && test -s conftest.$ac_objext; then :
2638 ac_retval=0
2639 else
2640 $as_echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2643 ac_retval=1
2645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2646 as_fn_set_status $ac_retval
2648 } # ac_fn_cxx_try_compile
2650 # ac_fn_c_try_link LINENO
2651 # -----------------------
2652 # Try to link conftest.$ac_ext, and return whether this succeeded.
2653 ac_fn_c_try_link ()
2655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2656 rm -f conftest.$ac_objext conftest$ac_exeext
2657 if { { ac_try="$ac_link"
2658 case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661 esac
2662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2663 $as_echo "$ac_try_echo"; } >&5
2664 (eval "$ac_link") 2>conftest.err
2665 ac_status=$?
2666 if test -s conftest.err; then
2667 grep -v '^ *+' conftest.err >conftest.er1
2668 cat conftest.er1 >&5
2669 mv -f conftest.er1 conftest.err
2671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2672 test $ac_status = 0; } && {
2673 test -z "$ac_c_werror_flag" ||
2674 test ! -s conftest.err
2675 } && test -s conftest$ac_exeext && {
2676 test "$cross_compiling" = yes ||
2677 test -x conftest$ac_exeext
2678 }; then :
2679 ac_retval=0
2680 else
2681 $as_echo "$as_me: failed program was:" >&5
2682 sed 's/^/| /' conftest.$ac_ext >&5
2684 ac_retval=1
2686 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2687 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2688 # interfere with the next link command; also delete a directory that is
2689 # left behind by Apple's compiler. We do this before executing the actions.
2690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2692 as_fn_set_status $ac_retval
2694 } # ac_fn_c_try_link
2696 # ac_fn_c_try_cpp LINENO
2697 # ----------------------
2698 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2699 ac_fn_c_try_cpp ()
2701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2702 if { { ac_try="$ac_cpp conftest.$ac_ext"
2703 case "(($ac_try" in
2704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705 *) ac_try_echo=$ac_try;;
2706 esac
2707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2708 $as_echo "$ac_try_echo"; } >&5
2709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2710 ac_status=$?
2711 if test -s conftest.err; then
2712 grep -v '^ *+' conftest.err >conftest.er1
2713 cat conftest.er1 >&5
2714 mv -f conftest.er1 conftest.err
2716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2717 test $ac_status = 0; } > conftest.i && {
2718 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2719 test ! -s conftest.err
2720 }; then :
2721 ac_retval=0
2722 else
2723 $as_echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.$ac_ext >&5
2726 ac_retval=1
2728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2729 as_fn_set_status $ac_retval
2731 } # ac_fn_c_try_cpp
2733 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2734 # -------------------------------------------------------
2735 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2736 # the include files in INCLUDES and setting the cache variable VAR
2737 # accordingly.
2738 ac_fn_c_check_header_mongrel ()
2740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2741 if eval \${$3+:} false; then :
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2743 $as_echo_n "checking for $2... " >&6; }
2744 if eval \${$3+:} false; then :
2745 $as_echo_n "(cached) " >&6
2747 eval ac_res=\$$3
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2749 $as_echo "$ac_res" >&6; }
2750 else
2751 # Is the header compilable?
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2753 $as_echo_n "checking $2 usability... " >&6; }
2754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2757 #include <$2>
2758 _ACEOF
2759 if ac_fn_c_try_compile "$LINENO"; then :
2760 ac_header_compiler=yes
2761 else
2762 ac_header_compiler=no
2764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2766 $as_echo "$ac_header_compiler" >&6; }
2768 # Is the header present?
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2770 $as_echo_n "checking $2 presence... " >&6; }
2771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2772 /* end confdefs.h. */
2773 #include <$2>
2774 _ACEOF
2775 if ac_fn_c_try_cpp "$LINENO"; then :
2776 ac_header_preproc=yes
2777 else
2778 ac_header_preproc=no
2780 rm -f conftest.err conftest.i conftest.$ac_ext
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2782 $as_echo "$ac_header_preproc" >&6; }
2784 # So? What about this header?
2785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2786 yes:no: )
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2788 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2790 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2792 no:yes:* )
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2794 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2796 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2798 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2800 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2802 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2803 ( $as_echo "## ------------------------------------ ##
2804 ## Report this to wine-devel@winehq.org ##
2805 ## ------------------------------------ ##"
2806 ) | sed "s/^/$as_me: WARNING: /" >&2
2808 esac
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2810 $as_echo_n "checking for $2... " >&6; }
2811 if eval \${$3+:} false; then :
2812 $as_echo_n "(cached) " >&6
2813 else
2814 eval "$3=\$ac_header_compiler"
2816 eval ac_res=\$$3
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2818 $as_echo "$ac_res" >&6; }
2820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 } # ac_fn_c_check_header_mongrel
2824 # ac_fn_c_try_run LINENO
2825 # ----------------------
2826 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2827 # that executables *can* be run.
2828 ac_fn_c_try_run ()
2830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2831 if { { ac_try="$ac_link"
2832 case "(($ac_try" in
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2835 esac
2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2837 $as_echo "$ac_try_echo"; } >&5
2838 (eval "$ac_link") 2>&5
2839 ac_status=$?
2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2841 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2842 { { case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848 (eval "$ac_try") 2>&5
2849 ac_status=$?
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; }; }; then :
2852 ac_retval=0
2853 else
2854 $as_echo "$as_me: program exited with status $ac_status" >&5
2855 $as_echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 ac_retval=$ac_status
2860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 as_fn_set_status $ac_retval
2864 } # ac_fn_c_try_run
2866 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2867 # -------------------------------------------------------
2868 # Tests whether HEADER exists and can be compiled using the include files in
2869 # INCLUDES, setting the cache variable VAR accordingly.
2870 ac_fn_c_check_header_compile ()
2872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2874 $as_echo_n "checking for $2... " >&6; }
2875 if eval \${$3+:} false; then :
2876 $as_echo_n "(cached) " >&6
2877 else
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h. */
2881 #include <$2>
2882 _ACEOF
2883 if ac_fn_c_try_compile "$LINENO"; then :
2884 eval "$3=yes"
2885 else
2886 eval "$3=no"
2888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2890 eval ac_res=\$$3
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2892 $as_echo "$ac_res" >&6; }
2893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2895 } # ac_fn_c_check_header_compile
2897 # ac_fn_c_check_func LINENO FUNC VAR
2898 # ----------------------------------
2899 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2900 ac_fn_c_check_func ()
2902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2904 $as_echo_n "checking for $2... " >&6; }
2905 if eval \${$3+:} false; then :
2906 $as_echo_n "(cached) " >&6
2907 else
2908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h. */
2910 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2912 #define $2 innocuous_$2
2914 /* System header to define __stub macros and hopefully few prototypes,
2915 which can conflict with char $2 (); below.
2916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2917 <limits.h> exists even on freestanding compilers. */
2919 #ifdef __STDC__
2920 # include <limits.h>
2921 #else
2922 # include <assert.h>
2923 #endif
2925 #undef $2
2927 /* Override any GCC internal prototype to avoid an error.
2928 Use char because int might match the return type of a GCC
2929 builtin and then its argument prototype would still apply. */
2930 #ifdef __cplusplus
2931 extern "C"
2932 #endif
2933 char $2 ();
2934 /* The GNU C library defines this for functions which it implements
2935 to always fail with ENOSYS. Some functions are actually named
2936 something starting with __ and the normal name is an alias. */
2937 #if defined __stub_$2 || defined __stub___$2
2938 choke me
2939 #endif
2942 main ()
2944 return $2 ();
2946 return 0;
2948 _ACEOF
2949 if ac_fn_c_try_link "$LINENO"; then :
2950 eval "$3=yes"
2951 else
2952 eval "$3=no"
2954 rm -f core conftest.err conftest.$ac_objext \
2955 conftest$ac_exeext conftest.$ac_ext
2957 eval ac_res=\$$3
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 $as_echo "$ac_res" >&6; }
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 } # ac_fn_c_check_func
2964 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2965 # ----------------------------------------------------
2966 # Tries to find if the field MEMBER exists in type AGGR, after including
2967 # INCLUDES, setting cache variable VAR accordingly.
2968 ac_fn_c_check_member ()
2970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2972 $as_echo_n "checking for $2.$3... " >&6; }
2973 if eval \${$4+:} false; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2980 main ()
2982 static $2 ac_aggr;
2983 if (ac_aggr.$3)
2984 return 0;
2986 return 0;
2988 _ACEOF
2989 if ac_fn_c_try_compile "$LINENO"; then :
2990 eval "$4=yes"
2991 else
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2996 main ()
2998 static $2 ac_aggr;
2999 if (sizeof ac_aggr.$3)
3000 return 0;
3002 return 0;
3004 _ACEOF
3005 if ac_fn_c_try_compile "$LINENO"; then :
3006 eval "$4=yes"
3007 else
3008 eval "$4=no"
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014 eval ac_res=\$$4
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3016 $as_echo "$ac_res" >&6; }
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3019 } # ac_fn_c_check_member
3021 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3022 # -------------------------------------------
3023 # Tests whether TYPE exists after having included INCLUDES, setting cache
3024 # variable VAR accordingly.
3025 ac_fn_c_check_type ()
3027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3029 $as_echo_n "checking for $2... " >&6; }
3030 if eval \${$3+:} false; then :
3031 $as_echo_n "(cached) " >&6
3032 else
3033 eval "$3=no"
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 :
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3051 main ()
3053 if (sizeof (($2)))
3054 return 0;
3056 return 0;
3058 _ACEOF
3059 if ac_fn_c_try_compile "$LINENO"; then :
3061 else
3062 eval "$3=yes"
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 eval ac_res=\$$3
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3070 $as_echo "$ac_res" >&6; }
3071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3073 } # ac_fn_c_check_type
3074 cat >config.log <<_ACEOF
3075 This file contains any messages produced by compilers while
3076 running configure, to aid debugging if configure makes a mistake.
3078 It was created by Wine $as_me 2.17, which was
3079 generated by GNU Autoconf 2.69. Invocation command line was
3081 $ $0 $@
3083 _ACEOF
3084 exec 5>>config.log
3086 cat <<_ASUNAME
3087 ## --------- ##
3088 ## Platform. ##
3089 ## --------- ##
3091 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3092 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3093 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3094 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3095 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3097 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3098 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3100 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3101 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3102 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3103 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3104 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3105 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3106 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3108 _ASUNAME
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111 for as_dir in $PATH
3113 IFS=$as_save_IFS
3114 test -z "$as_dir" && as_dir=.
3115 $as_echo "PATH: $as_dir"
3116 done
3117 IFS=$as_save_IFS
3119 } >&5
3121 cat >&5 <<_ACEOF
3124 ## ----------- ##
3125 ## Core tests. ##
3126 ## ----------- ##
3128 _ACEOF
3131 # Keep a trace of the command line.
3132 # Strip out --no-create and --no-recursion so they do not pile up.
3133 # Strip out --silent because we don't want to record it for future runs.
3134 # Also quote any args containing shell meta-characters.
3135 # Make two passes to allow for proper duplicate-argument suppression.
3136 ac_configure_args=
3137 ac_configure_args0=
3138 ac_configure_args1=
3139 ac_must_keep_next=false
3140 for ac_pass in 1 2
3142 for ac_arg
3144 case $ac_arg in
3145 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3147 | -silent | --silent | --silen | --sile | --sil)
3148 continue ;;
3149 *\'*)
3150 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3151 esac
3152 case $ac_pass in
3153 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3155 as_fn_append ac_configure_args1 " '$ac_arg'"
3156 if test $ac_must_keep_next = true; then
3157 ac_must_keep_next=false # Got value, back to normal.
3158 else
3159 case $ac_arg in
3160 *=* | --config-cache | -C | -disable-* | --disable-* \
3161 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3162 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3163 | -with-* | --with-* | -without-* | --without-* | --x)
3164 case "$ac_configure_args0 " in
3165 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3166 esac
3168 -* ) ac_must_keep_next=true ;;
3169 esac
3171 as_fn_append ac_configure_args " '$ac_arg'"
3173 esac
3174 done
3175 done
3176 { ac_configure_args0=; unset ac_configure_args0;}
3177 { ac_configure_args1=; unset ac_configure_args1;}
3179 # When interrupted or exit'd, cleanup temporary files, and complete
3180 # config.log. We remove comments because anyway the quotes in there
3181 # would cause problems or look ugly.
3182 # WARNING: Use '\'' to represent an apostrophe within the trap.
3183 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3184 trap 'exit_status=$?
3185 # Save into config.log some information that might help in debugging.
3187 echo
3189 $as_echo "## ---------------- ##
3190 ## Cache variables. ##
3191 ## ---------------- ##"
3192 echo
3193 # The following way of writing the cache mishandles newlines in values,
3195 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3196 eval ac_val=\$$ac_var
3197 case $ac_val in #(
3198 *${as_nl}*)
3199 case $ac_var in #(
3200 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3201 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3202 esac
3203 case $ac_var in #(
3204 _ | IFS | as_nl) ;; #(
3205 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3206 *) { eval $ac_var=; unset $ac_var;} ;;
3207 esac ;;
3208 esac
3209 done
3210 (set) 2>&1 |
3211 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3212 *${as_nl}ac_space=\ *)
3213 sed -n \
3214 "s/'\''/'\''\\\\'\'''\''/g;
3215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3216 ;; #(
3218 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3220 esac |
3221 sort
3223 echo
3225 $as_echo "## ----------------- ##
3226 ## Output variables. ##
3227 ## ----------------- ##"
3228 echo
3229 for ac_var in $ac_subst_vars
3231 eval ac_val=\$$ac_var
3232 case $ac_val in
3233 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3234 esac
3235 $as_echo "$ac_var='\''$ac_val'\''"
3236 done | sort
3237 echo
3239 if test -n "$ac_subst_files"; then
3240 $as_echo "## ------------------- ##
3241 ## File substitutions. ##
3242 ## ------------------- ##"
3243 echo
3244 for ac_var in $ac_subst_files
3246 eval ac_val=\$$ac_var
3247 case $ac_val in
3248 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3249 esac
3250 $as_echo "$ac_var='\''$ac_val'\''"
3251 done | sort
3252 echo
3255 if test -s confdefs.h; then
3256 $as_echo "## ----------- ##
3257 ## confdefs.h. ##
3258 ## ----------- ##"
3259 echo
3260 cat confdefs.h
3261 echo
3263 test "$ac_signal" != 0 &&
3264 $as_echo "$as_me: caught signal $ac_signal"
3265 $as_echo "$as_me: exit $exit_status"
3266 } >&5
3267 rm -f core *.core core.conftest.* &&
3268 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3269 exit $exit_status
3271 for ac_signal in 1 2 13 15; do
3272 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3273 done
3274 ac_signal=0
3276 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3277 rm -f -r conftest* confdefs.h
3279 $as_echo "/* confdefs.h */" > confdefs.h
3281 # Predefined preprocessor variables.
3283 cat >>confdefs.h <<_ACEOF
3284 #define PACKAGE_NAME "$PACKAGE_NAME"
3285 _ACEOF
3287 cat >>confdefs.h <<_ACEOF
3288 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3289 _ACEOF
3291 cat >>confdefs.h <<_ACEOF
3292 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3293 _ACEOF
3295 cat >>confdefs.h <<_ACEOF
3296 #define PACKAGE_STRING "$PACKAGE_STRING"
3297 _ACEOF
3299 cat >>confdefs.h <<_ACEOF
3300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3301 _ACEOF
3303 cat >>confdefs.h <<_ACEOF
3304 #define PACKAGE_URL "$PACKAGE_URL"
3305 _ACEOF
3308 # Let the site file select an alternate cache file if it wants to.
3309 # Prefer an explicitly selected file to automatically selected ones.
3310 ac_site_file1=NONE
3311 ac_site_file2=NONE
3312 if test -n "$CONFIG_SITE"; then
3313 # We do not want a PATH search for config.site.
3314 case $CONFIG_SITE in #((
3315 -*) ac_site_file1=./$CONFIG_SITE;;
3316 */*) ac_site_file1=$CONFIG_SITE;;
3317 *) ac_site_file1=./$CONFIG_SITE;;
3318 esac
3319 elif test "x$prefix" != xNONE; then
3320 ac_site_file1=$prefix/share/config.site
3321 ac_site_file2=$prefix/etc/config.site
3322 else
3323 ac_site_file1=$ac_default_prefix/share/config.site
3324 ac_site_file2=$ac_default_prefix/etc/config.site
3326 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3328 test "x$ac_site_file" = xNONE && continue
3329 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3331 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3332 sed 's/^/| /' "$ac_site_file" >&5
3333 . "$ac_site_file" \
3334 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3336 as_fn_error $? "failed to load site script $ac_site_file
3337 See \`config.log' for more details" "$LINENO" 5; }
3339 done
3341 if test -r "$cache_file"; then
3342 # Some versions of bash will fail to source /dev/null (special files
3343 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3344 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3346 $as_echo "$as_me: loading cache $cache_file" >&6;}
3347 case $cache_file in
3348 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3349 *) . "./$cache_file";;
3350 esac
3352 else
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3354 $as_echo "$as_me: creating cache $cache_file" >&6;}
3355 >$cache_file
3358 # Check that the precious variables saved in the cache have kept the same
3359 # value.
3360 ac_cache_corrupted=false
3361 for ac_var in $ac_precious_vars; do
3362 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3363 eval ac_new_set=\$ac_env_${ac_var}_set
3364 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3365 eval ac_new_val=\$ac_env_${ac_var}_value
3366 case $ac_old_set,$ac_new_set in
3367 set,)
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3369 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3370 ac_cache_corrupted=: ;;
3371 ,set)
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3373 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3374 ac_cache_corrupted=: ;;
3375 ,);;
3377 if test "x$ac_old_val" != "x$ac_new_val"; then
3378 # differences in whitespace do not lead to failure.
3379 ac_old_val_w=`echo x $ac_old_val`
3380 ac_new_val_w=`echo x $ac_new_val`
3381 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3383 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3384 ac_cache_corrupted=:
3385 else
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3387 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3388 eval $ac_var=\$ac_old_val
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3391 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3393 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3394 fi;;
3395 esac
3396 # Pass precious variables to config.status.
3397 if test "$ac_new_set" = set; then
3398 case $ac_new_val in
3399 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3400 *) ac_arg=$ac_var=$ac_new_val ;;
3401 esac
3402 case " $ac_configure_args " in
3403 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3404 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3405 esac
3407 done
3408 if $ac_cache_corrupted; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3412 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3413 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3415 ## -------------------- ##
3416 ## Main body of script. ##
3417 ## -------------------- ##
3419 ac_ext=c
3420 ac_cpp='$CPP $CPPFLAGS'
3421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3427 ac_config_headers="$ac_config_headers include/config.h"
3429 ac_aux_dir=
3430 for ac_dir in tools "$srcdir"/tools; do
3431 if test -f "$ac_dir/install-sh"; then
3432 ac_aux_dir=$ac_dir
3433 ac_install_sh="$ac_aux_dir/install-sh -c"
3434 break
3435 elif test -f "$ac_dir/install.sh"; then
3436 ac_aux_dir=$ac_dir
3437 ac_install_sh="$ac_aux_dir/install.sh -c"
3438 break
3439 elif test -f "$ac_dir/shtool"; then
3440 ac_aux_dir=$ac_dir
3441 ac_install_sh="$ac_aux_dir/shtool install -c"
3442 break
3444 done
3445 if test -z "$ac_aux_dir"; then
3446 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3449 # These three variables are undocumented and unsupported,
3450 # and are intended to be withdrawn in a future Autoconf release.
3451 # They can cause serious problems if a builder's source tree is in a directory
3452 # whose full name contains unusual characters.
3453 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3454 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3455 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3459 libwine_version="1.0"
3463 # Check whether --enable-win16 was given.
3464 if test "${enable_win16+set}" = set; then :
3465 enableval=$enable_win16;
3468 # Check whether --enable-win64 was given.
3469 if test "${enable_win64+set}" = set; then :
3470 enableval=$enable_win64;
3473 # Check whether --enable-tests was given.
3474 if test "${enable_tests+set}" = set; then :
3475 enableval=$enable_tests;
3478 # Check whether --enable-maintainer-mode was given.
3479 if test "${enable_maintainer_mode+set}" = set; then :
3480 enableval=$enable_maintainer_mode;
3485 # Check whether --with-alsa was given.
3486 if test "${with_alsa+set}" = set; then :
3487 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3491 # Check whether --with-capi was given.
3492 if test "${with_capi+set}" = set; then :
3493 withval=$with_capi;
3497 # Check whether --with-cms was given.
3498 if test "${with_cms+set}" = set; then :
3499 withval=$with_cms;
3503 # Check whether --with-coreaudio was given.
3504 if test "${with_coreaudio+set}" = set; then :
3505 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3509 # Check whether --with-cups was given.
3510 if test "${with_cups+set}" = set; then :
3511 withval=$with_cups;
3515 # Check whether --with-curses was given.
3516 if test "${with_curses+set}" = set; then :
3517 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3521 # Check whether --with-dbus was given.
3522 if test "${with_dbus+set}" = set; then :
3523 withval=$with_dbus;
3527 # Check whether --with-fontconfig was given.
3528 if test "${with_fontconfig+set}" = set; then :
3529 withval=$with_fontconfig;
3533 # Check whether --with-freetype was given.
3534 if test "${with_freetype+set}" = set; then :
3535 withval=$with_freetype;
3539 # Check whether --with-gettext was given.
3540 if test "${with_gettext+set}" = set; then :
3541 withval=$with_gettext;
3545 # Check whether --with-gettextpo was given.
3546 if test "${with_gettextpo+set}" = set; then :
3547 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3551 # Check whether --with-gphoto was given.
3552 if test "${with_gphoto+set}" = set; then :
3553 withval=$with_gphoto;
3557 # Check whether --with-glu was given.
3558 if test "${with_glu+set}" = set; then :
3559 withval=$with_glu;
3563 # Check whether --with-gnutls was given.
3564 if test "${with_gnutls+set}" = set; then :
3565 withval=$with_gnutls;
3569 # Check whether --with-gsm was given.
3570 if test "${with_gsm+set}" = set; then :
3571 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3575 # Check whether --with-gstreamer was given.
3576 if test "${with_gstreamer+set}" = set; then :
3577 withval=$with_gstreamer;
3581 # Check whether --with-hal was given.
3582 if test "${with_hal+set}" = set; then :
3583 withval=$with_hal;
3587 # Check whether --with-jpeg was given.
3588 if test "${with_jpeg+set}" = set; then :
3589 withval=$with_jpeg;
3593 # Check whether --with-ldap was given.
3594 if test "${with_ldap+set}" = set; then :
3595 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3599 # Check whether --with-mpg123 was given.
3600 if test "${with_mpg123+set}" = set; then :
3601 withval=$with_mpg123;
3605 # Check whether --with-netapi was given.
3606 if test "${with_netapi+set}" = set; then :
3607 withval=$with_netapi;
3611 # Check whether --with-openal was given.
3612 if test "${with_openal+set}" = set; then :
3613 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3617 # Check whether --with-opencl was given.
3618 if test "${with_opencl+set}" = set; then :
3619 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3623 # Check whether --with-opengl was given.
3624 if test "${with_opengl+set}" = set; then :
3625 withval=$with_opengl;
3629 # Check whether --with-osmesa was given.
3630 if test "${with_osmesa+set}" = set; then :
3631 withval=$with_osmesa;
3635 # Check whether --with-oss was given.
3636 if test "${with_oss+set}" = set; then :
3637 withval=$with_oss;
3641 # Check whether --with-pcap was given.
3642 if test "${with_pcap+set}" = set; then :
3643 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3647 # Check whether --with-png was given.
3648 if test "${with_png+set}" = set; then :
3649 withval=$with_png;
3653 # Check whether --with-pthread was given.
3654 if test "${with_pthread+set}" = set; then :
3655 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3659 # Check whether --with-pulse was given.
3660 if test "${with_pulse+set}" = set; then :
3661 withval=$with_pulse;
3665 # Check whether --with-sane was given.
3666 if test "${with_sane+set}" = set; then :
3667 withval=$with_sane;
3671 # Check whether --with-tiff was given.
3672 if test "${with_tiff+set}" = set; then :
3673 withval=$with_tiff;
3677 # Check whether --with-udev was given.
3678 if test "${with_udev+set}" = set; then :
3679 withval=$with_udev;
3683 # Check whether --with-v4l was given.
3684 if test "${with_v4l+set}" = set; then :
3685 withval=$with_v4l;
3689 # Check whether --with-xcomposite was given.
3690 if test "${with_xcomposite+set}" = set; then :
3691 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3695 # Check whether --with-xcursor was given.
3696 if test "${with_xcursor+set}" = set; then :
3697 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3701 # Check whether --with-xfixes was given.
3702 if test "${with_xfixes+set}" = set; then :
3703 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3707 # Check whether --with-xinerama was given.
3708 if test "${with_xinerama+set}" = set; then :
3709 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3713 # Check whether --with-xinput was given.
3714 if test "${with_xinput+set}" = set; then :
3715 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3719 # Check whether --with-xinput2 was given.
3720 if test "${with_xinput2+set}" = set; then :
3721 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3725 # Check whether --with-xml was given.
3726 if test "${with_xml+set}" = set; then :
3727 withval=$with_xml;
3731 # Check whether --with-xrandr was given.
3732 if test "${with_xrandr+set}" = set; then :
3733 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3737 # Check whether --with-xrender was given.
3738 if test "${with_xrender+set}" = set; then :
3739 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3743 # Check whether --with-xshape was given.
3744 if test "${with_xshape+set}" = set; then :
3745 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3749 # Check whether --with-xshm was given.
3750 if test "${with_xshm+set}" = set; then :
3751 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3755 # Check whether --with-xslt was given.
3756 if test "${with_xslt+set}" = set; then :
3757 withval=$with_xslt;
3761 # Check whether --with-xxf86vm was given.
3762 if test "${with_xxf86vm+set}" = set; then :
3763 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
3767 # Check whether --with-zlib was given.
3768 if test "${with_zlib+set}" = set; then :
3769 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3774 # Check whether --with-wine-tools was given.
3775 if test "${with_wine_tools+set}" = set; then :
3776 withval=$with_wine_tools;
3780 # Check whether --with-wine64 was given.
3781 if test "${with_wine64+set}" = set; then :
3782 withval=$with_wine64;
3786 # Make sure we can run config.sub.
3787 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3788 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3791 $as_echo_n "checking build system type... " >&6; }
3792 if ${ac_cv_build+:} false; then :
3793 $as_echo_n "(cached) " >&6
3794 else
3795 ac_build_alias=$build_alias
3796 test "x$ac_build_alias" = x &&
3797 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3798 test "x$ac_build_alias" = x &&
3799 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3800 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3801 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3805 $as_echo "$ac_cv_build" >&6; }
3806 case $ac_cv_build in
3807 *-*-*) ;;
3808 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3809 esac
3810 build=$ac_cv_build
3811 ac_save_IFS=$IFS; IFS='-'
3812 set x $ac_cv_build
3813 shift
3814 build_cpu=$1
3815 build_vendor=$2
3816 shift; shift
3817 # Remember, the first character of IFS is used to create $*,
3818 # except with old shells:
3819 build_os=$*
3820 IFS=$ac_save_IFS
3821 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3825 $as_echo_n "checking host system type... " >&6; }
3826 if ${ac_cv_host+:} false; then :
3827 $as_echo_n "(cached) " >&6
3828 else
3829 if test "x$host_alias" = x; then
3830 ac_cv_host=$ac_cv_build
3831 else
3832 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3833 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3838 $as_echo "$ac_cv_host" >&6; }
3839 case $ac_cv_host in
3840 *-*-*) ;;
3841 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3842 esac
3843 host=$ac_cv_host
3844 ac_save_IFS=$IFS; IFS='-'
3845 set x $ac_cv_host
3846 shift
3847 host_cpu=$1
3848 host_vendor=$2
3849 shift; shift
3850 # Remember, the first character of IFS is used to create $*,
3851 # except with old shells:
3852 host_os=$*
3853 IFS=$ac_save_IFS
3854 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3858 case "$srcdir" in
3859 .) ;;
3860 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3861 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3862 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3863 fi ;;
3864 esac
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3868 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3869 set x ${MAKE-make}
3870 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3871 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3872 $as_echo_n "(cached) " >&6
3873 else
3874 cat >conftest.make <<\_ACEOF
3875 SHELL = /bin/sh
3876 all:
3877 @echo '@@@%%%=$(MAKE)=@@@%%%'
3878 _ACEOF
3879 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3880 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3881 *@@@%%%=?*=@@@%%%*)
3882 eval ac_cv_prog_make_${ac_make}_set=yes;;
3884 eval ac_cv_prog_make_${ac_make}_set=no;;
3885 esac
3886 rm -f conftest.make
3888 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3890 $as_echo "yes" >&6; }
3891 SET_MAKE=
3892 else
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3894 $as_echo "no" >&6; }
3895 SET_MAKE="MAKE=${MAKE-make}"
3898 ac_ext=c
3899 ac_cpp='$CPP $CPPFLAGS'
3900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3903 if test -n "$ac_tool_prefix"; then
3904 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3905 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if ${ac_cv_prog_CC+:} false; then :
3909 $as_echo_n "(cached) " >&6
3910 else
3911 if test -n "$CC"; then
3912 ac_cv_prog_CC="$CC" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 break 2
3925 done
3926 done
3927 IFS=$as_save_IFS
3931 CC=$ac_cv_prog_CC
3932 if test -n "$CC"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3934 $as_echo "$CC" >&6; }
3935 else
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3942 if test -z "$ac_cv_prog_CC"; then
3943 ac_ct_CC=$CC
3944 # Extract the first word of "gcc", so it can be a program name with args.
3945 set dummy gcc; ac_word=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3949 $as_echo_n "(cached) " >&6
3950 else
3951 if test -n "$ac_ct_CC"; then
3952 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3953 else
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 for as_dir in $PATH
3957 IFS=$as_save_IFS
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961 ac_cv_prog_ac_ct_CC="gcc"
3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 break 2
3965 done
3966 done
3967 IFS=$as_save_IFS
3971 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3972 if test -n "$ac_ct_CC"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3974 $as_echo "$ac_ct_CC" >&6; }
3975 else
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3980 if test "x$ac_ct_CC" = x; then
3981 CC=""
3982 else
3983 case $cross_compiling:$ac_tool_warned in
3984 yes:)
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3987 ac_tool_warned=yes ;;
3988 esac
3989 CC=$ac_ct_CC
3991 else
3992 CC="$ac_cv_prog_CC"
3995 if test -z "$CC"; then
3996 if test -n "$ac_tool_prefix"; then
3997 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3998 set dummy ${ac_tool_prefix}cc; ac_word=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if ${ac_cv_prog_CC+:} false; then :
4002 $as_echo_n "(cached) " >&6
4003 else
4004 if test -n "$CC"; then
4005 ac_cv_prog_CC="$CC" # Let the user override the test.
4006 else
4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008 for as_dir in $PATH
4010 IFS=$as_save_IFS
4011 test -z "$as_dir" && as_dir=.
4012 for ac_exec_ext in '' $ac_executable_extensions; do
4013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4014 ac_cv_prog_CC="${ac_tool_prefix}cc"
4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 break 2
4018 done
4019 done
4020 IFS=$as_save_IFS
4024 CC=$ac_cv_prog_CC
4025 if test -n "$CC"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4027 $as_echo "$CC" >&6; }
4028 else
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4036 if test -z "$CC"; then
4037 # Extract the first word of "cc", so it can be a program name with args.
4038 set dummy cc; ac_word=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if ${ac_cv_prog_CC+:} false; then :
4042 $as_echo_n "(cached) " >&6
4043 else
4044 if test -n "$CC"; then
4045 ac_cv_prog_CC="$CC" # Let the user override the test.
4046 else
4047 ac_prog_rejected=no
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049 for as_dir in $PATH
4051 IFS=$as_save_IFS
4052 test -z "$as_dir" && as_dir=.
4053 for ac_exec_ext in '' $ac_executable_extensions; do
4054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4055 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4056 ac_prog_rejected=yes
4057 continue
4059 ac_cv_prog_CC="cc"
4060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 break 2
4063 done
4064 done
4065 IFS=$as_save_IFS
4067 if test $ac_prog_rejected = yes; then
4068 # We found a bogon in the path, so make sure we never use it.
4069 set dummy $ac_cv_prog_CC
4070 shift
4071 if test $# != 0; then
4072 # We chose a different compiler from the bogus one.
4073 # However, it has the same basename, so the bogon will be chosen
4074 # first if we set CC to just the basename; use the full file name.
4075 shift
4076 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4081 CC=$ac_cv_prog_CC
4082 if test -n "$CC"; then
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4084 $as_echo "$CC" >&6; }
4085 else
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4092 if test -z "$CC"; then
4093 if test -n "$ac_tool_prefix"; then
4094 for ac_prog in cl.exe
4096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4097 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4099 $as_echo_n "checking for $ac_word... " >&6; }
4100 if ${ac_cv_prog_CC+:} false; then :
4101 $as_echo_n "(cached) " >&6
4102 else
4103 if test -n "$CC"; then
4104 ac_cv_prog_CC="$CC" # Let the user override the test.
4105 else
4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107 for as_dir in $PATH
4109 IFS=$as_save_IFS
4110 test -z "$as_dir" && as_dir=.
4111 for ac_exec_ext in '' $ac_executable_extensions; do
4112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4113 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4115 break 2
4117 done
4118 done
4119 IFS=$as_save_IFS
4123 CC=$ac_cv_prog_CC
4124 if test -n "$CC"; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4126 $as_echo "$CC" >&6; }
4127 else
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4133 test -n "$CC" && break
4134 done
4136 if test -z "$CC"; then
4137 ac_ct_CC=$CC
4138 for ac_prog in cl.exe
4140 # Extract the first word of "$ac_prog", so it can be a program name with args.
4141 set dummy $ac_prog; ac_word=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4145 $as_echo_n "(cached) " >&6
4146 else
4147 if test -n "$ac_ct_CC"; then
4148 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4149 else
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 for as_dir in $PATH
4153 IFS=$as_save_IFS
4154 test -z "$as_dir" && as_dir=.
4155 for ac_exec_ext in '' $ac_executable_extensions; do
4156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4157 ac_cv_prog_ac_ct_CC="$ac_prog"
4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 break 2
4161 done
4162 done
4163 IFS=$as_save_IFS
4167 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4168 if test -n "$ac_ct_CC"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4170 $as_echo "$ac_ct_CC" >&6; }
4171 else
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4177 test -n "$ac_ct_CC" && break
4178 done
4180 if test "x$ac_ct_CC" = x; then
4181 CC=""
4182 else
4183 case $cross_compiling:$ac_tool_warned in
4184 yes:)
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4187 ac_tool_warned=yes ;;
4188 esac
4189 CC=$ac_ct_CC
4196 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4198 as_fn_error $? "no acceptable C compiler found in \$PATH
4199 See \`config.log' for more details" "$LINENO" 5; }
4201 # Provide some information about the compiler.
4202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4203 set X $ac_compile
4204 ac_compiler=$2
4205 for ac_option in --version -v -V -qversion; do
4206 { { ac_try="$ac_compiler $ac_option >&5"
4207 case "(($ac_try" in
4208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4210 esac
4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4212 $as_echo "$ac_try_echo"; } >&5
4213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4214 ac_status=$?
4215 if test -s conftest.err; then
4216 sed '10a\
4217 ... rest of stderr output deleted ...
4218 10q' conftest.err >conftest.er1
4219 cat conftest.er1 >&5
4221 rm -f conftest.er1 conftest.err
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }
4224 done
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4234 return 0;
4236 _ACEOF
4237 ac_clean_files_save=$ac_clean_files
4238 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4239 # Try to create an executable without -o first, disregard a.out.
4240 # It will help us diagnose broken compilers, and finding out an intuition
4241 # of exeext.
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4243 $as_echo_n "checking whether the C compiler works... " >&6; }
4244 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4246 # The possible output files:
4247 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4249 ac_rmfiles=
4250 for ac_file in $ac_files
4252 case $ac_file in
4253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4254 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4255 esac
4256 done
4257 rm -f $ac_rmfiles
4259 if { { ac_try="$ac_link_default"
4260 case "(($ac_try" in
4261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4262 *) ac_try_echo=$ac_try;;
4263 esac
4264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4265 $as_echo "$ac_try_echo"; } >&5
4266 (eval "$ac_link_default") 2>&5
4267 ac_status=$?
4268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4269 test $ac_status = 0; }; then :
4270 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4271 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4272 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4273 # so that the user can short-circuit this test for compilers unknown to
4274 # Autoconf.
4275 for ac_file in $ac_files ''
4277 test -f "$ac_file" || continue
4278 case $ac_file in
4279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4281 [ab].out )
4282 # We found the default executable, but exeext='' is most
4283 # certainly right.
4284 break;;
4285 *.* )
4286 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4287 then :; else
4288 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4290 # We set ac_cv_exeext here because the later test for it is not
4291 # safe: cross compilers may not add the suffix if given an `-o'
4292 # argument, so we may need to know it at that point already.
4293 # Even if this section looks crufty: it has the advantage of
4294 # actually working.
4295 break;;
4297 break;;
4298 esac
4299 done
4300 test "$ac_cv_exeext" = no && ac_cv_exeext=
4302 else
4303 ac_file=''
4305 if test -z "$ac_file"; then :
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4308 $as_echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4313 as_fn_error 77 "C compiler cannot create executables
4314 See \`config.log' for more details" "$LINENO" 5; }
4315 else
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4317 $as_echo "yes" >&6; }
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4320 $as_echo_n "checking for C compiler default output file name... " >&6; }
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4322 $as_echo "$ac_file" >&6; }
4323 ac_exeext=$ac_cv_exeext
4325 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4326 ac_clean_files=$ac_clean_files_save
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4328 $as_echo_n "checking for suffix of executables... " >&6; }
4329 if { { ac_try="$ac_link"
4330 case "(($ac_try" in
4331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4332 *) ac_try_echo=$ac_try;;
4333 esac
4334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4335 $as_echo "$ac_try_echo"; } >&5
4336 (eval "$ac_link") 2>&5
4337 ac_status=$?
4338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339 test $ac_status = 0; }; then :
4340 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4341 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4342 # work properly (i.e., refer to `conftest.exe'), while it won't with
4343 # `rm'.
4344 for ac_file in conftest.exe conftest conftest.*; do
4345 test -f "$ac_file" || continue
4346 case $ac_file in
4347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4348 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4349 break;;
4350 * ) break;;
4351 esac
4352 done
4353 else
4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4356 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4357 See \`config.log' for more details" "$LINENO" 5; }
4359 rm -f conftest conftest$ac_cv_exeext
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4361 $as_echo "$ac_cv_exeext" >&6; }
4363 rm -f conftest.$ac_ext
4364 EXEEXT=$ac_cv_exeext
4365 ac_exeext=$EXEEXT
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4368 #include <stdio.h>
4370 main ()
4372 FILE *f = fopen ("conftest.out", "w");
4373 return ferror (f) || fclose (f) != 0;
4376 return 0;
4378 _ACEOF
4379 ac_clean_files="$ac_clean_files conftest.out"
4380 # Check that the compiler produces executables we can run. If not, either
4381 # the compiler is broken, or we cross compile.
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4383 $as_echo_n "checking whether we are cross compiling... " >&6; }
4384 if test "$cross_compiling" != yes; then
4385 { { ac_try="$ac_link"
4386 case "(($ac_try" in
4387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388 *) ac_try_echo=$ac_try;;
4389 esac
4390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4391 $as_echo "$ac_try_echo"; } >&5
4392 (eval "$ac_link") 2>&5
4393 ac_status=$?
4394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4395 test $ac_status = 0; }
4396 if { ac_try='./conftest$ac_cv_exeext'
4397 { { case "(($ac_try" in
4398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4399 *) ac_try_echo=$ac_try;;
4400 esac
4401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4402 $as_echo "$ac_try_echo"; } >&5
4403 (eval "$ac_try") 2>&5
4404 ac_status=$?
4405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4406 test $ac_status = 0; }; }; then
4407 cross_compiling=no
4408 else
4409 if test "$cross_compiling" = maybe; then
4410 cross_compiling=yes
4411 else
4412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4414 as_fn_error $? "cannot run C compiled programs.
4415 If you meant to cross compile, use \`--host'.
4416 See \`config.log' for more details" "$LINENO" 5; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4421 $as_echo "$cross_compiling" >&6; }
4423 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4424 ac_clean_files=$ac_clean_files_save
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4426 $as_echo_n "checking for suffix of object files... " >&6; }
4427 if ${ac_cv_objext+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4434 main ()
4438 return 0;
4440 _ACEOF
4441 rm -f conftest.o conftest.obj
4442 if { { ac_try="$ac_compile"
4443 case "(($ac_try" in
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4446 esac
4447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4448 $as_echo "$ac_try_echo"; } >&5
4449 (eval "$ac_compile") 2>&5
4450 ac_status=$?
4451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4452 test $ac_status = 0; }; then :
4453 for ac_file in conftest.o conftest.obj conftest.*; do
4454 test -f "$ac_file" || continue;
4455 case $ac_file in
4456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4457 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4458 break;;
4459 esac
4460 done
4461 else
4462 $as_echo "$as_me: failed program was:" >&5
4463 sed 's/^/| /' conftest.$ac_ext >&5
4465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4467 as_fn_error $? "cannot compute suffix of object files: cannot compile
4468 See \`config.log' for more details" "$LINENO" 5; }
4470 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4473 $as_echo "$ac_cv_objext" >&6; }
4474 OBJEXT=$ac_cv_objext
4475 ac_objext=$OBJEXT
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4477 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4478 if ${ac_cv_c_compiler_gnu+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4485 main ()
4487 #ifndef __GNUC__
4488 choke me
4489 #endif
4492 return 0;
4494 _ACEOF
4495 if ac_fn_c_try_compile "$LINENO"; then :
4496 ac_compiler_gnu=yes
4497 else
4498 ac_compiler_gnu=no
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4505 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4506 if test $ac_compiler_gnu = yes; then
4507 GCC=yes
4508 else
4509 GCC=
4511 ac_test_CFLAGS=${CFLAGS+set}
4512 ac_save_CFLAGS=$CFLAGS
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4514 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4515 if ${ac_cv_prog_cc_g+:} false; then :
4516 $as_echo_n "(cached) " >&6
4517 else
4518 ac_save_c_werror_flag=$ac_c_werror_flag
4519 ac_c_werror_flag=yes
4520 ac_cv_prog_cc_g=no
4521 CFLAGS="-g"
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4526 main ()
4530 return 0;
4532 _ACEOF
4533 if ac_fn_c_try_compile "$LINENO"; then :
4534 ac_cv_prog_cc_g=yes
4535 else
4536 CFLAGS=""
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4541 main ()
4545 return 0;
4547 _ACEOF
4548 if ac_fn_c_try_compile "$LINENO"; then :
4550 else
4551 ac_c_werror_flag=$ac_save_c_werror_flag
4552 CFLAGS="-g"
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4557 main ()
4561 return 0;
4563 _ACEOF
4564 if ac_fn_c_try_compile "$LINENO"; then :
4565 ac_cv_prog_cc_g=yes
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_c_werror_flag=$ac_save_c_werror_flag
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4575 $as_echo "$ac_cv_prog_cc_g" >&6; }
4576 if test "$ac_test_CFLAGS" = set; then
4577 CFLAGS=$ac_save_CFLAGS
4578 elif test $ac_cv_prog_cc_g = yes; then
4579 if test "$GCC" = yes; then
4580 CFLAGS="-g -O2"
4581 else
4582 CFLAGS="-g"
4584 else
4585 if test "$GCC" = yes; then
4586 CFLAGS="-O2"
4587 else
4588 CFLAGS=
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4592 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4593 if ${ac_cv_prog_cc_c89+:} false; then :
4594 $as_echo_n "(cached) " >&6
4595 else
4596 ac_cv_prog_cc_c89=no
4597 ac_save_CC=$CC
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4600 #include <stdarg.h>
4601 #include <stdio.h>
4602 struct stat;
4603 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4604 struct buf { int x; };
4605 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4606 static char *e (p, i)
4607 char **p;
4608 int i;
4610 return p[i];
4612 static char *f (char * (*g) (char **, int), char **p, ...)
4614 char *s;
4615 va_list v;
4616 va_start (v,p);
4617 s = g (p, va_arg (v,int));
4618 va_end (v);
4619 return s;
4622 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4623 function prototypes and stuff, but not '\xHH' hex character constants.
4624 These don't provoke an error unfortunately, instead are silently treated
4625 as 'x'. The following induces an error, until -std is added to get
4626 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4627 array size at least. It's necessary to write '\x00'==0 to get something
4628 that's true only with -std. */
4629 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4631 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4632 inside strings and character constants. */
4633 #define FOO(x) 'x'
4634 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4636 int test (int i, double x);
4637 struct s1 {int (*f) (int a);};
4638 struct s2 {int (*f) (double a);};
4639 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4640 int argc;
4641 char **argv;
4643 main ()
4645 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4647 return 0;
4649 _ACEOF
4650 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4651 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4653 CC="$ac_save_CC $ac_arg"
4654 if ac_fn_c_try_compile "$LINENO"; then :
4655 ac_cv_prog_cc_c89=$ac_arg
4657 rm -f core conftest.err conftest.$ac_objext
4658 test "x$ac_cv_prog_cc_c89" != "xno" && break
4659 done
4660 rm -f conftest.$ac_ext
4661 CC=$ac_save_CC
4664 # AC_CACHE_VAL
4665 case "x$ac_cv_prog_cc_c89" in
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4668 $as_echo "none needed" >&6; } ;;
4669 xno)
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4671 $as_echo "unsupported" >&6; } ;;
4673 CC="$CC $ac_cv_prog_cc_c89"
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4675 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4676 esac
4677 if test "x$ac_cv_prog_cc_c89" != xno; then :
4681 ac_ext=c
4682 ac_cpp='$CPP $CPPFLAGS'
4683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 ac_ext=cpp
4688 ac_cpp='$CXXCPP $CPPFLAGS'
4689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4692 if test -z "$CXX"; then
4693 if test -n "$CCC"; then
4694 CXX=$CCC
4695 else
4696 if test -n "$ac_tool_prefix"; then
4697 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_prog_CXX+:} false; then :
4704 $as_echo_n "(cached) " >&6
4705 else
4706 if test -n "$CXX"; then
4707 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4708 else
4709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 for as_dir in $PATH
4712 IFS=$as_save_IFS
4713 test -z "$as_dir" && as_dir=.
4714 for ac_exec_ext in '' $ac_executable_extensions; do
4715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4716 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 break 2
4720 done
4721 done
4722 IFS=$as_save_IFS
4726 CXX=$ac_cv_prog_CXX
4727 if test -n "$CXX"; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4729 $as_echo "$CXX" >&6; }
4730 else
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4736 test -n "$CXX" && break
4737 done
4739 if test -z "$CXX"; then
4740 ac_ct_CXX=$CXX
4741 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4743 # Extract the first word of "$ac_prog", so it can be a program name with args.
4744 set dummy $ac_prog; ac_word=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -n "$ac_ct_CXX"; then
4751 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4752 else
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4760 ac_cv_prog_ac_ct_CXX="$ac_prog"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 break 2
4764 done
4765 done
4766 IFS=$as_save_IFS
4770 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4771 if test -n "$ac_ct_CXX"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4773 $as_echo "$ac_ct_CXX" >&6; }
4774 else
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4780 test -n "$ac_ct_CXX" && break
4781 done
4783 if test "x$ac_ct_CXX" = x; then
4784 CXX="g++"
4785 else
4786 case $cross_compiling:$ac_tool_warned in
4787 yes:)
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4790 ac_tool_warned=yes ;;
4791 esac
4792 CXX=$ac_ct_CXX
4798 # Provide some information about the compiler.
4799 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4800 set X $ac_compile
4801 ac_compiler=$2
4802 for ac_option in --version -v -V -qversion; do
4803 { { ac_try="$ac_compiler $ac_option >&5"
4804 case "(($ac_try" in
4805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4806 *) ac_try_echo=$ac_try;;
4807 esac
4808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4809 $as_echo "$ac_try_echo"; } >&5
4810 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4811 ac_status=$?
4812 if test -s conftest.err; then
4813 sed '10a\
4814 ... rest of stderr output deleted ...
4815 10q' conftest.err >conftest.er1
4816 cat conftest.er1 >&5
4818 rm -f conftest.er1 conftest.err
4819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4820 test $ac_status = 0; }
4821 done
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4824 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4825 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4826 $as_echo_n "(cached) " >&6
4827 else
4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4832 main ()
4834 #ifndef __GNUC__
4835 choke me
4836 #endif
4839 return 0;
4841 _ACEOF
4842 if ac_fn_cxx_try_compile "$LINENO"; then :
4843 ac_compiler_gnu=yes
4844 else
4845 ac_compiler_gnu=no
4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4848 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4852 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4853 if test $ac_compiler_gnu = yes; then
4854 GXX=yes
4855 else
4856 GXX=
4858 ac_test_CXXFLAGS=${CXXFLAGS+set}
4859 ac_save_CXXFLAGS=$CXXFLAGS
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4861 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4862 if ${ac_cv_prog_cxx_g+:} false; then :
4863 $as_echo_n "(cached) " >&6
4864 else
4865 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4866 ac_cxx_werror_flag=yes
4867 ac_cv_prog_cxx_g=no
4868 CXXFLAGS="-g"
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4873 main ()
4877 return 0;
4879 _ACEOF
4880 if ac_fn_cxx_try_compile "$LINENO"; then :
4881 ac_cv_prog_cxx_g=yes
4882 else
4883 CXXFLAGS=""
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4888 main ()
4892 return 0;
4894 _ACEOF
4895 if ac_fn_cxx_try_compile "$LINENO"; then :
4897 else
4898 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4899 CXXFLAGS="-g"
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4904 main ()
4908 return 0;
4910 _ACEOF
4911 if ac_fn_cxx_try_compile "$LINENO"; then :
4912 ac_cv_prog_cxx_g=yes
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4919 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4922 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4923 if test "$ac_test_CXXFLAGS" = set; then
4924 CXXFLAGS=$ac_save_CXXFLAGS
4925 elif test $ac_cv_prog_cxx_g = yes; then
4926 if test "$GXX" = yes; then
4927 CXXFLAGS="-g -O2"
4928 else
4929 CXXFLAGS="-g"
4931 else
4932 if test "$GXX" = yes; then
4933 CXXFLAGS="-O2"
4934 else
4935 CXXFLAGS=
4938 ac_ext=c
4939 ac_cpp='$CPP $CPPFLAGS'
4940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4944 if test -n "$ac_tool_prefix"; then
4945 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4946 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if ${ac_cv_prog_CPPBIN+:} false; then :
4950 $as_echo_n "(cached) " >&6
4951 else
4952 if test -n "$CPPBIN"; then
4953 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4954 else
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH
4958 IFS=$as_save_IFS
4959 test -z "$as_dir" && as_dir=.
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4962 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 break 2
4966 done
4967 done
4968 IFS=$as_save_IFS
4972 CPPBIN=$ac_cv_prog_CPPBIN
4973 if test -n "$CPPBIN"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4975 $as_echo "$CPPBIN" >&6; }
4976 else
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4983 if test -z "$ac_cv_prog_CPPBIN"; then
4984 ac_ct_CPPBIN=$CPPBIN
4985 # Extract the first word of "cpp", so it can be a program name with args.
4986 set dummy cpp; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 if test -n "$ac_ct_CPPBIN"; then
4993 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_ac_ct_CPPBIN="cpp"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 break 2
5006 done
5007 done
5008 IFS=$as_save_IFS
5012 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5013 if test -n "$ac_ct_CPPBIN"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5015 $as_echo "$ac_ct_CPPBIN" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5021 if test "x$ac_ct_CPPBIN" = x; then
5022 CPPBIN="cpp"
5023 else
5024 case $cross_compiling:$ac_tool_warned in
5025 yes:)
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned=yes ;;
5029 esac
5030 CPPBIN=$ac_ct_CPPBIN
5032 else
5033 CPPBIN="$ac_cv_prog_CPPBIN"
5037 cat >>confdefs.h <<_ACEOF
5038 #define EXEEXT "$ac_exeext"
5039 _ACEOF
5041 if test -n "$ac_tool_prefix"; then
5042 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5043 set dummy ${ac_tool_prefix}ld; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_LD+:} false; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 if test -n "$LD"; then
5050 ac_cv_prog_LD="$LD" # Let the user override the test.
5051 else
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH
5055 IFS=$as_save_IFS
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_LD="${ac_tool_prefix}ld"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 break 2
5063 done
5064 done
5065 IFS=$as_save_IFS
5069 LD=$ac_cv_prog_LD
5070 if test -n "$LD"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5072 $as_echo "$LD" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5080 if test -z "$ac_cv_prog_LD"; then
5081 ac_ct_LD=$LD
5082 # Extract the first word of "ld", so it can be a program name with args.
5083 set dummy ld; ac_word=$2
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5085 $as_echo_n "checking for $ac_word... " >&6; }
5086 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5087 $as_echo_n "(cached) " >&6
5088 else
5089 if test -n "$ac_ct_LD"; then
5090 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5091 else
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 for as_dir in $PATH
5095 IFS=$as_save_IFS
5096 test -z "$as_dir" && as_dir=.
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5099 ac_cv_prog_ac_ct_LD="ld"
5100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 break 2
5103 done
5104 done
5105 IFS=$as_save_IFS
5109 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5110 if test -n "$ac_ct_LD"; then
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5112 $as_echo "$ac_ct_LD" >&6; }
5113 else
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5118 if test "x$ac_ct_LD" = x; then
5119 LD=""
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 LD=$ac_ct_LD
5129 else
5130 LD="$ac_cv_prog_LD"
5134 case $host in
5135 *-darwin*)
5136 with_fontconfig=${with_fontconfig:-no}
5138 *-mingw32*|*-cygwin*)
5139 enable_win16=${enable_win16:-no}
5140 CFLAGS="$CFLAGS -D_WIN32"
5142 esac
5144 case $host in
5145 x86_64*|amd64*)
5146 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5147 then
5148 CC="$CC -m32"
5149 CXX="$CXX -m32"
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5151 $as_echo_n "checking whether $CC works... " >&6; }
5153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5154 /* end confdefs.h. */
5157 main ()
5161 return 0;
5163 _ACEOF
5164 if ac_fn_c_try_link "$LINENO"; then :
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5166 $as_echo "yes" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5170 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5172 rm -f core conftest.err conftest.$ac_objext \
5173 conftest$ac_exeext conftest.$ac_ext
5174 host_cpu="i386"
5175 notice_platform="32-bit "
5176 TARGETFLAGS="-m32"
5178 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5179 export PKG_CONFIG_PATH
5180 enable_win16=${enable_win16:-yes}
5181 else
5182 if test "x${GCC}" = "xyes"
5183 then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5185 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5188 #include <stdarg.h>
5190 main ()
5192 void func(__builtin_ms_va_list *args);
5194 return 0;
5196 _ACEOF
5197 if ac_fn_c_try_compile "$LINENO"; then :
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5199 $as_echo "yes" >&6; }
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5203 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5207 CC="$CC -m64"
5208 CXX="$CXX -m64"
5209 host_cpu="x86_64"
5210 notice_platform="64-bit "
5211 TARGETFLAGS="-m64"
5215 arm*)
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5217 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219 /* end confdefs.h. */
5220 int ac_test(int i) { return i; }
5222 main ()
5224 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5226 return 0;
5228 _ACEOF
5229 if ac_fn_c_try_link "$LINENO"; then :
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5231 $as_echo "yes" >&6; }
5232 else
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5235 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5237 rm -f core conftest.err conftest.$ac_objext \
5238 conftest$ac_exeext conftest.$ac_ext
5239 CFLAGS="$CFLAGS -marm"
5240 TARGETFLAGS="-marm"
5243 i[3456789]86*)
5244 enable_win16=${enable_win16:-yes}
5246 esac
5248 enable_win16=${enable_win16:-no}
5249 enable_win64=${enable_win64:-no}
5251 enable_winetest=${enable_winetest:-$enable_tests}
5253 if test -n "$with_wine64"
5254 then
5255 if test "x$enable_win64" = "xyes"
5256 then
5257 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5258 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5260 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5261 You should create a separate build directory and run configure from there." "$LINENO" 5
5262 enable_fonts=${enable_fonts:-no}
5263 enable_server=${enable_server:-no}
5264 elif test "x$enable_win64" = "xyes"
5265 then
5266 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5270 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5271 if ${wine_cv_toolsdir+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 wine_cv_toolsdir="$with_wine_tools"
5275 if test -z "$with_wine_tools"; then
5276 if test "$cross_compiling" = "yes"; then
5277 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5278 elif test -n "$with_wine64"; then
5279 wine_cv_toolsdir="$with_wine64"
5282 if test -z "$wine_cv_toolsdir"; then
5283 wine_makedep=tools/makedep
5284 wine_cv_toolsdir="\$(top_builddir)"
5285 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5286 wine_makedep=$wine_cv_toolsdir/tools/makedep
5287 case "$wine_cv_toolsdir" in
5288 /*) ;;
5289 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5290 esac
5291 enable_tools=${enable_tools:-no}
5292 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5293 else
5294 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5298 $as_echo "$wine_cv_toolsdir" >&6; }
5299 TOOLSDIR=$wine_cv_toolsdir
5301 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5302 then
5303 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5307 for ac_prog in flex
5309 # Extract the first word of "$ac_prog", so it can be a program name with args.
5310 set dummy $ac_prog; ac_word=$2
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5312 $as_echo_n "checking for $ac_word... " >&6; }
5313 if ${ac_cv_prog_FLEX+:} false; then :
5314 $as_echo_n "(cached) " >&6
5315 else
5316 if test -n "$FLEX"; then
5317 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5318 else
5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5320 for as_dir in $PATH
5322 IFS=$as_save_IFS
5323 test -z "$as_dir" && as_dir=.
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5326 ac_cv_prog_FLEX="$ac_prog"
5327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 break 2
5330 done
5331 done
5332 IFS=$as_save_IFS
5336 FLEX=$ac_cv_prog_FLEX
5337 if test -n "$FLEX"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5339 $as_echo "$FLEX" >&6; }
5340 else
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5346 test -n "$FLEX" && break
5347 done
5348 test -n "$FLEX" || FLEX="none"
5350 if test "$FLEX" = "none"
5351 then
5352 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5355 $as_echo_n "checking whether flex is recent enough... " >&6; }
5356 cat >conftest.l <<EOF
5357 %top{
5358 #include "prediluvian.h"
5362 if $FLEX -t conftest.l >/dev/null 2>&5
5363 then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5365 $as_echo "yes" >&6; }
5366 else
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5369 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5372 for ac_prog in bison
5374 # Extract the first word of "$ac_prog", so it can be a program name with args.
5375 set dummy $ac_prog; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_BISON+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if test -n "$BISON"; then
5382 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_BISON="$ac_prog"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5395 done
5396 done
5397 IFS=$as_save_IFS
5401 BISON=$ac_cv_prog_BISON
5402 if test -n "$BISON"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5404 $as_echo "$BISON" >&6; }
5405 else
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5411 test -n "$BISON" && break
5412 done
5413 test -n "$BISON" || BISON="none"
5415 if test "$BISON" = "none"
5416 then
5417 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5420 if test -n "$ac_tool_prefix"; then
5421 for ac_prog in ar gar
5423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if ${ac_cv_prog_AR+:} false; then :
5428 $as_echo_n "(cached) " >&6
5429 else
5430 if test -n "$AR"; then
5431 ac_cv_prog_AR="$AR" # Let the user override the test.
5432 else
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH
5436 IFS=$as_save_IFS
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 break 2
5444 done
5445 done
5446 IFS=$as_save_IFS
5450 AR=$ac_cv_prog_AR
5451 if test -n "$AR"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5453 $as_echo "$AR" >&6; }
5454 else
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5460 test -n "$AR" && break
5461 done
5463 if test -z "$AR"; then
5464 ac_ct_AR=$AR
5465 for ac_prog in ar gar
5467 # Extract the first word of "$ac_prog", so it can be a program name with args.
5468 set dummy $ac_prog; ac_word=$2
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5470 $as_echo_n "checking for $ac_word... " >&6; }
5471 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 if test -n "$ac_ct_AR"; then
5475 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5476 else
5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478 for as_dir in $PATH
5480 IFS=$as_save_IFS
5481 test -z "$as_dir" && as_dir=.
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5484 ac_cv_prog_ac_ct_AR="$ac_prog"
5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 break 2
5488 done
5489 done
5490 IFS=$as_save_IFS
5494 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5495 if test -n "$ac_ct_AR"; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5497 $as_echo "$ac_ct_AR" >&6; }
5498 else
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5504 test -n "$ac_ct_AR" && break
5505 done
5507 if test "x$ac_ct_AR" = x; then
5508 AR="ar"
5509 else
5510 case $cross_compiling:$ac_tool_warned in
5511 yes:)
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5514 ac_tool_warned=yes ;;
5515 esac
5516 AR=$ac_ct_AR
5520 if test -n "$ac_tool_prefix"; then
5521 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5522 set dummy ${ac_tool_prefix}strip; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_STRIP+:} false; then :
5526 $as_echo_n "(cached) " >&6
5527 else
5528 if test -n "$STRIP"; then
5529 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5530 else
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 for as_dir in $PATH
5534 IFS=$as_save_IFS
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 break 2
5542 done
5543 done
5544 IFS=$as_save_IFS
5548 STRIP=$ac_cv_prog_STRIP
5549 if test -n "$STRIP"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5551 $as_echo "$STRIP" >&6; }
5552 else
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5559 if test -z "$ac_cv_prog_STRIP"; then
5560 ac_ct_STRIP=$STRIP
5561 # Extract the first word of "strip", so it can be a program name with args.
5562 set dummy strip; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 if test -n "$ac_ct_STRIP"; then
5569 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5570 else
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH
5574 IFS=$as_save_IFS
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_ac_ct_STRIP="strip"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 break 2
5582 done
5583 done
5584 IFS=$as_save_IFS
5588 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5589 if test -n "$ac_ct_STRIP"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5591 $as_echo "$ac_ct_STRIP" >&6; }
5592 else
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5597 if test "x$ac_ct_STRIP" = x; then
5598 STRIP="strip"
5599 else
5600 case $cross_compiling:$ac_tool_warned in
5601 yes:)
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5604 ac_tool_warned=yes ;;
5605 esac
5606 STRIP=$ac_ct_STRIP
5608 else
5609 STRIP="$ac_cv_prog_STRIP"
5612 ARFLAGS=rc
5614 if test -n "$ac_tool_prefix"; then
5615 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5616 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if ${ac_cv_prog_RANLIB+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if test -n "$RANLIB"; then
5623 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5624 else
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 for as_dir in $PATH
5628 IFS=$as_save_IFS
5629 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 break 2
5636 done
5637 done
5638 IFS=$as_save_IFS
5642 RANLIB=$ac_cv_prog_RANLIB
5643 if test -n "$RANLIB"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5645 $as_echo "$RANLIB" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5653 if test -z "$ac_cv_prog_RANLIB"; then
5654 ac_ct_RANLIB=$RANLIB
5655 # Extract the first word of "ranlib", so it can be a program name with args.
5656 set dummy ranlib; ac_word=$2
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 $as_echo_n "checking for $ac_word... " >&6; }
5659 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5660 $as_echo_n "(cached) " >&6
5661 else
5662 if test -n "$ac_ct_RANLIB"; then
5663 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5664 else
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 for as_dir in $PATH
5668 IFS=$as_save_IFS
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_ac_ct_RANLIB="ranlib"
5673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 break 2
5676 done
5677 done
5678 IFS=$as_save_IFS
5682 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5683 if test -n "$ac_ct_RANLIB"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5685 $as_echo "$ac_ct_RANLIB" >&6; }
5686 else
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 $as_echo "no" >&6; }
5691 if test "x$ac_ct_RANLIB" = x; then
5692 RANLIB=":"
5693 else
5694 case $cross_compiling:$ac_tool_warned in
5695 yes:)
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5698 ac_tool_warned=yes ;;
5699 esac
5700 RANLIB=$ac_ct_RANLIB
5702 else
5703 RANLIB="$ac_cv_prog_RANLIB"
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5707 $as_echo_n "checking whether ln -s works... " >&6; }
5708 LN_S=$as_ln_s
5709 if test "$LN_S" = "ln -s"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5711 $as_echo "yes" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5714 $as_echo "no, using $LN_S" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5718 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5719 if ${ac_cv_path_GREP+:} false; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 if test -z "$GREP"; then
5723 ac_path_GREP_found=false
5724 # Loop through the user's path and test for each of PROGNAME-LIST
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5728 IFS=$as_save_IFS
5729 test -z "$as_dir" && as_dir=.
5730 for ac_prog in grep ggrep; do
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5733 as_fn_executable_p "$ac_path_GREP" || continue
5734 # Check for GNU ac_path_GREP and select it if it is found.
5735 # Check for GNU $ac_path_GREP
5736 case `"$ac_path_GREP" --version 2>&1` in
5737 *GNU*)
5738 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5740 ac_count=0
5741 $as_echo_n 0123456789 >"conftest.in"
5742 while :
5744 cat "conftest.in" "conftest.in" >"conftest.tmp"
5745 mv "conftest.tmp" "conftest.in"
5746 cp "conftest.in" "conftest.nl"
5747 $as_echo 'GREP' >> "conftest.nl"
5748 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5749 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5750 as_fn_arith $ac_count + 1 && ac_count=$as_val
5751 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5752 # Best one so far, save it but keep looking for a better one
5753 ac_cv_path_GREP="$ac_path_GREP"
5754 ac_path_GREP_max=$ac_count
5756 # 10*(2^10) chars as input seems more than enough
5757 test $ac_count -gt 10 && break
5758 done
5759 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5760 esac
5762 $ac_path_GREP_found && break 3
5763 done
5764 done
5765 done
5766 IFS=$as_save_IFS
5767 if test -z "$ac_cv_path_GREP"; then
5768 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5770 else
5771 ac_cv_path_GREP=$GREP
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5776 $as_echo "$ac_cv_path_GREP" >&6; }
5777 GREP="$ac_cv_path_GREP"
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5781 $as_echo_n "checking for egrep... " >&6; }
5782 if ${ac_cv_path_EGREP+:} false; then :
5783 $as_echo_n "(cached) " >&6
5784 else
5785 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5786 then ac_cv_path_EGREP="$GREP -E"
5787 else
5788 if test -z "$EGREP"; then
5789 ac_path_EGREP_found=false
5790 # Loop through the user's path and test for each of PROGNAME-LIST
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5794 IFS=$as_save_IFS
5795 test -z "$as_dir" && as_dir=.
5796 for ac_prog in egrep; do
5797 for ac_exec_ext in '' $ac_executable_extensions; do
5798 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5799 as_fn_executable_p "$ac_path_EGREP" || continue
5800 # Check for GNU ac_path_EGREP and select it if it is found.
5801 # Check for GNU $ac_path_EGREP
5802 case `"$ac_path_EGREP" --version 2>&1` in
5803 *GNU*)
5804 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5806 ac_count=0
5807 $as_echo_n 0123456789 >"conftest.in"
5808 while :
5810 cat "conftest.in" "conftest.in" >"conftest.tmp"
5811 mv "conftest.tmp" "conftest.in"
5812 cp "conftest.in" "conftest.nl"
5813 $as_echo 'EGREP' >> "conftest.nl"
5814 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5815 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5816 as_fn_arith $ac_count + 1 && ac_count=$as_val
5817 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5818 # Best one so far, save it but keep looking for a better one
5819 ac_cv_path_EGREP="$ac_path_EGREP"
5820 ac_path_EGREP_max=$ac_count
5822 # 10*(2^10) chars as input seems more than enough
5823 test $ac_count -gt 10 && break
5824 done
5825 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5826 esac
5828 $ac_path_EGREP_found && break 3
5829 done
5830 done
5831 done
5832 IFS=$as_save_IFS
5833 if test -z "$ac_cv_path_EGREP"; then
5834 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5836 else
5837 ac_cv_path_EGREP=$EGREP
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5843 $as_echo "$ac_cv_path_EGREP" >&6; }
5844 EGREP="$ac_cv_path_EGREP"
5847 # Extract the first word of "ldconfig", so it can be a program name with args.
5848 set dummy ldconfig; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_path_LDCONFIG+:} false; then :
5852 $as_echo_n "(cached) " >&6
5853 else
5854 case $LDCONFIG in
5855 [\\/]* | ?:[\\/]*)
5856 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 for as_dir in /sbin /usr/sbin $PATH
5862 IFS=$as_save_IFS
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5866 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 break 2
5870 done
5871 done
5872 IFS=$as_save_IFS
5874 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5876 esac
5878 LDCONFIG=$ac_cv_path_LDCONFIG
5879 if test -n "$LDCONFIG"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5881 $as_echo "$LDCONFIG" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 for ac_prog in msgfmt
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy $ac_prog; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if ${ac_cv_prog_MSGFMT+:} false; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5897 if test -n "$MSGFMT"; then
5898 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5899 else
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_MSGFMT="$ac_prog"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5917 MSGFMT=$ac_cv_prog_MSGFMT
5918 if test -n "$MSGFMT"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5920 $as_echo "$MSGFMT" >&6; }
5921 else
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5927 test -n "$MSGFMT" && break
5928 done
5929 test -n "$MSGFMT" || MSGFMT="false"
5931 if ${ac_tool_prefix+:} false; then :
5932 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5933 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5937 $as_echo_n "(cached) " >&6
5938 else
5939 if test -n "$PKG_CONFIG"; then
5940 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5953 done
5954 done
5955 IFS=$as_save_IFS
5959 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5960 if test -n "$PKG_CONFIG"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5962 $as_echo "$PKG_CONFIG" >&6; }
5963 else
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5970 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5971 if test "x$cross_compiling" = xyes; then :
5973 else
5974 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5975 # Extract the first word of "pkg-config", so it can be a program name with args.
5976 set dummy pkg-config; ac_word=$2
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 $as_echo_n "checking for $ac_word... " >&6; }
5979 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 if test -n "$PKG_CONFIG"; then
5983 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5984 else
5985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 for as_dir in $PATH
5988 IFS=$as_save_IFS
5989 test -z "$as_dir" && as_dir=.
5990 for ac_exec_ext in '' $ac_executable_extensions; do
5991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 ac_cv_prog_PKG_CONFIG="pkg-config"
5993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 break 2
5996 done
5997 done
5998 IFS=$as_save_IFS
6002 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6003 if test -n "$PKG_CONFIG"; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6005 $as_echo "$PKG_CONFIG" >&6; }
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6013 else
6014 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6017 if test "x$enable_maintainer_mode" != "xyes"
6018 then
6019 FONTFORGE=""
6020 RSVG=""
6021 CONVERT=""
6022 ICOTOOL=""
6023 else
6024 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6025 for ac_prog in fontforge
6027 # Extract the first word of "$ac_prog", so it can be a program name with args.
6028 set dummy $ac_prog; ac_word=$2
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6030 $as_echo_n "checking for $ac_word... " >&6; }
6031 if ${ac_cv_prog_FONTFORGE+:} false; then :
6032 $as_echo_n "(cached) " >&6
6033 else
6034 if test -n "$FONTFORGE"; then
6035 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6036 else
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 for as_dir in $PATH
6040 IFS=$as_save_IFS
6041 test -z "$as_dir" && as_dir=.
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6044 ac_cv_prog_FONTFORGE="$ac_prog"
6045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 break 2
6048 done
6049 done
6050 IFS=$as_save_IFS
6054 FONTFORGE=$ac_cv_prog_FONTFORGE
6055 if test -n "$FONTFORGE"; then
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6057 $as_echo "$FONTFORGE" >&6; }
6058 else
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6060 $as_echo "no" >&6; }
6064 test -n "$FONTFORGE" && break
6065 done
6066 test -n "$FONTFORGE" || FONTFORGE="false"
6068 for ac_prog in rsvg-convert rsvg
6070 # Extract the first word of "$ac_prog", so it can be a program name with args.
6071 set dummy $ac_prog; ac_word=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073 $as_echo_n "checking for $ac_word... " >&6; }
6074 if ${ac_cv_prog_RSVG+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 if test -n "$RSVG"; then
6078 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6083 IFS=$as_save_IFS
6084 test -z "$as_dir" && as_dir=.
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_RSVG="$ac_prog"
6088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 RSVG=$ac_cv_prog_RSVG
6098 if test -n "$RSVG"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6100 $as_echo "$RSVG" >&6; }
6101 else
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 $as_echo "no" >&6; }
6107 test -n "$RSVG" && break
6108 done
6109 test -n "$RSVG" || RSVG="false"
6111 for ac_prog in convert
6113 # Extract the first word of "$ac_prog", so it can be a program name with args.
6114 set dummy $ac_prog; ac_word=$2
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 $as_echo_n "checking for $ac_word... " >&6; }
6117 if ${ac_cv_prog_CONVERT+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 if test -n "$CONVERT"; then
6121 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_CONVERT="$ac_prog"
6131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 break 2
6134 done
6135 done
6136 IFS=$as_save_IFS
6140 CONVERT=$ac_cv_prog_CONVERT
6141 if test -n "$CONVERT"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6143 $as_echo "$CONVERT" >&6; }
6144 else
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 $as_echo "no" >&6; }
6150 test -n "$CONVERT" && break
6151 done
6152 test -n "$CONVERT" || CONVERT="false"
6154 for ac_prog in icotool
6156 # Extract the first word of "$ac_prog", so it can be a program name with args.
6157 set dummy $ac_prog; ac_word=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6159 $as_echo_n "checking for $ac_word... " >&6; }
6160 if ${ac_cv_prog_ICOTOOL+:} false; then :
6161 $as_echo_n "(cached) " >&6
6162 else
6163 if test -n "$ICOTOOL"; then
6164 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6165 else
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167 for as_dir in $PATH
6169 IFS=$as_save_IFS
6170 test -z "$as_dir" && as_dir=.
6171 for ac_exec_ext in '' $ac_executable_extensions; do
6172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6173 ac_cv_prog_ICOTOOL="$ac_prog"
6174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6175 break 2
6177 done
6178 done
6179 IFS=$as_save_IFS
6183 ICOTOOL=$ac_cv_prog_ICOTOOL
6184 if test -n "$ICOTOOL"; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6186 $as_echo "$ICOTOOL" >&6; }
6187 else
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6193 test -n "$ICOTOOL" && break
6194 done
6195 test -n "$ICOTOOL" || ICOTOOL="false"
6197 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6198 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6200 if test "$CONVERT" = false
6201 then
6202 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6203 else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6205 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6206 convert_version=`convert --version | head -n1`
6207 if test "x$convert_version" != "x"
6208 then
6209 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6210 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6211 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6212 then
6213 CONVERT=false
6216 if test "$CONVERT" = false
6217 then
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6219 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6220 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6221 else
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6223 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6227 if test "$ICOTOOL" = false
6228 then
6229 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6230 else
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6232 $as_echo_n "checking for recent enough icotool... " >&6; }
6233 icotool_version=`icotool --version | head -n1`
6234 if test "x$icotool_version" != "x"
6235 then
6236 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6237 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6238 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6239 then
6240 ICOTOOL=false
6241 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6244 if test "$ICOTOOL" = false
6245 then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6247 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6248 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6249 else
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6251 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6255 with_gettext=yes
6256 with_gettextpo=yes
6257 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6260 test "x$with_gettext" != xno || MSGFMT=false
6261 if test "$MSGFMT" != "false"
6262 then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6264 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6265 cat >conftest.po <<EOF
6266 # comment
6267 msgctxt "ctxt"
6268 msgid "id"
6269 msgstr "str"
6271 if $MSGFMT -o /dev/null conftest.po 2>&5
6272 then
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6274 $as_echo "yes" >&6; }
6275 else
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277 $as_echo "no" >&6; }
6278 MSGFMT=false
6281 if test "$MSGFMT" = false; then :
6282 case "x$with_gettext" in
6283 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6284 xno) ;;
6285 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6286 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6287 esac
6288 enable_po=${enable_po:-no}
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6293 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6294 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 ac_check_lib_save_LIBS=$LIBS
6298 LIBS="-li386 $LIBS"
6299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6302 /* Override any GCC internal prototype to avoid an error.
6303 Use char because int might match the return type of a GCC
6304 builtin and then its argument prototype would still apply. */
6305 #ifdef __cplusplus
6306 extern "C"
6307 #endif
6308 char i386_set_ldt ();
6310 main ()
6312 return i386_set_ldt ();
6314 return 0;
6316 _ACEOF
6317 if ac_fn_c_try_link "$LINENO"; then :
6318 ac_cv_lib_i386_i386_set_ldt=yes
6319 else
6320 ac_cv_lib_i386_i386_set_ldt=no
6322 rm -f core conftest.err conftest.$ac_objext \
6323 conftest$ac_exeext conftest.$ac_ext
6324 LIBS=$ac_check_lib_save_LIBS
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6327 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6328 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6329 cat >>confdefs.h <<_ACEOF
6330 #define HAVE_LIBI386 1
6331 _ACEOF
6333 LIBS="-li386 $LIBS"
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6338 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6339 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6340 $as_echo_n "(cached) " >&6
6341 else
6342 ac_check_lib_save_LIBS=$LIBS
6343 LIBS="-lossaudio $LIBS"
6344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6347 /* Override any GCC internal prototype to avoid an error.
6348 Use char because int might match the return type of a GCC
6349 builtin and then its argument prototype would still apply. */
6350 #ifdef __cplusplus
6351 extern "C"
6352 #endif
6353 char _oss_ioctl ();
6355 main ()
6357 return _oss_ioctl ();
6359 return 0;
6361 _ACEOF
6362 if ac_fn_c_try_link "$LINENO"; then :
6363 ac_cv_lib_ossaudio__oss_ioctl=yes
6364 else
6365 ac_cv_lib_ossaudio__oss_ioctl=no
6367 rm -f core conftest.err conftest.$ac_objext \
6368 conftest$ac_exeext conftest.$ac_ext
6369 LIBS=$ac_check_lib_save_LIBS
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6372 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6373 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6374 cat >>confdefs.h <<_ACEOF
6375 #define HAVE_LIBOSSAUDIO 1
6376 _ACEOF
6378 LIBS="-lossaudio $LIBS"
6383 OPENGL_LIBS=""
6387 # Check whether --enable-largefile was given.
6388 if test "${enable_largefile+set}" = set; then :
6389 enableval=$enable_largefile;
6392 if test "$enable_largefile" != no; then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6395 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6396 if ${ac_cv_sys_largefile_CC+:} false; then :
6397 $as_echo_n "(cached) " >&6
6398 else
6399 ac_cv_sys_largefile_CC=no
6400 if test "$GCC" != yes; then
6401 ac_save_CC=$CC
6402 while :; do
6403 # IRIX 6.2 and later do not support large files by default,
6404 # so use the C compiler's -n32 option if that helps.
6405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6406 /* end confdefs.h. */
6407 #include <sys/types.h>
6408 /* Check that off_t can represent 2**63 - 1 correctly.
6409 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6410 since some C++ compilers masquerading as C compilers
6411 incorrectly reject 9223372036854775807. */
6412 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6413 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6414 && LARGE_OFF_T % 2147483647 == 1)
6415 ? 1 : -1];
6417 main ()
6421 return 0;
6423 _ACEOF
6424 if ac_fn_c_try_compile "$LINENO"; then :
6425 break
6427 rm -f core conftest.err conftest.$ac_objext
6428 CC="$CC -n32"
6429 if ac_fn_c_try_compile "$LINENO"; then :
6430 ac_cv_sys_largefile_CC=' -n32'; break
6432 rm -f core conftest.err conftest.$ac_objext
6433 break
6434 done
6435 CC=$ac_save_CC
6436 rm -f conftest.$ac_ext
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6440 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6441 if test "$ac_cv_sys_largefile_CC" != no; then
6442 CC=$CC$ac_cv_sys_largefile_CC
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6446 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6447 if ${ac_cv_sys_file_offset_bits+:} false; then :
6448 $as_echo_n "(cached) " >&6
6449 else
6450 while :; do
6451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6452 /* end confdefs.h. */
6453 #include <sys/types.h>
6454 /* Check that off_t can represent 2**63 - 1 correctly.
6455 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6456 since some C++ compilers masquerading as C compilers
6457 incorrectly reject 9223372036854775807. */
6458 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6459 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6460 && LARGE_OFF_T % 2147483647 == 1)
6461 ? 1 : -1];
6463 main ()
6467 return 0;
6469 _ACEOF
6470 if ac_fn_c_try_compile "$LINENO"; then :
6471 ac_cv_sys_file_offset_bits=no; break
6473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6476 #define _FILE_OFFSET_BITS 64
6477 #include <sys/types.h>
6478 /* Check that off_t can represent 2**63 - 1 correctly.
6479 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6480 since some C++ compilers masquerading as C compilers
6481 incorrectly reject 9223372036854775807. */
6482 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6483 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6484 && LARGE_OFF_T % 2147483647 == 1)
6485 ? 1 : -1];
6487 main ()
6491 return 0;
6493 _ACEOF
6494 if ac_fn_c_try_compile "$LINENO"; then :
6495 ac_cv_sys_file_offset_bits=64; break
6497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6498 ac_cv_sys_file_offset_bits=unknown
6499 break
6500 done
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6503 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6504 case $ac_cv_sys_file_offset_bits in #(
6505 no | unknown) ;;
6507 cat >>confdefs.h <<_ACEOF
6508 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6509 _ACEOF
6511 esac
6512 rm -rf conftest*
6513 if test $ac_cv_sys_file_offset_bits = unknown; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6515 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6516 if ${ac_cv_sys_large_files+:} false; then :
6517 $as_echo_n "(cached) " >&6
6518 else
6519 while :; do
6520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6521 /* end confdefs.h. */
6522 #include <sys/types.h>
6523 /* Check that off_t can represent 2**63 - 1 correctly.
6524 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6525 since some C++ compilers masquerading as C compilers
6526 incorrectly reject 9223372036854775807. */
6527 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6528 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6529 && LARGE_OFF_T % 2147483647 == 1)
6530 ? 1 : -1];
6532 main ()
6536 return 0;
6538 _ACEOF
6539 if ac_fn_c_try_compile "$LINENO"; then :
6540 ac_cv_sys_large_files=no; break
6542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6545 #define _LARGE_FILES 1
6546 #include <sys/types.h>
6547 /* Check that off_t can represent 2**63 - 1 correctly.
6548 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6549 since some C++ compilers masquerading as C compilers
6550 incorrectly reject 9223372036854775807. */
6551 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6552 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6553 && LARGE_OFF_T % 2147483647 == 1)
6554 ? 1 : -1];
6556 main ()
6560 return 0;
6562 _ACEOF
6563 if ac_fn_c_try_compile "$LINENO"; then :
6564 ac_cv_sys_large_files=1; break
6566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6567 ac_cv_sys_large_files=unknown
6568 break
6569 done
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6572 $as_echo "$ac_cv_sys_large_files" >&6; }
6573 case $ac_cv_sys_large_files in #(
6574 no | unknown) ;;
6576 cat >>confdefs.h <<_ACEOF
6577 #define _LARGE_FILES $ac_cv_sys_large_files
6578 _ACEOF
6580 esac
6581 rm -rf conftest*
6588 ac_ext=c
6589 ac_cpp='$CPP $CPPFLAGS'
6590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6594 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6595 # On Suns, sometimes $CPP names a directory.
6596 if test -n "$CPP" && test -d "$CPP"; then
6597 CPP=
6599 if test -z "$CPP"; then
6600 if ${ac_cv_prog_CPP+:} false; then :
6601 $as_echo_n "(cached) " >&6
6602 else
6603 # Double quotes because CPP needs to be expanded
6604 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6606 ac_preproc_ok=false
6607 for ac_c_preproc_warn_flag in '' yes
6609 # Use a header file that comes with gcc, so configuring glibc
6610 # with a fresh cross-compiler works.
6611 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6612 # <limits.h> exists even on freestanding compilers.
6613 # On the NeXT, cc -E runs the code through the compiler's parser,
6614 # not just through cpp. "Syntax error" is here to catch this case.
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 #ifdef __STDC__
6618 # include <limits.h>
6619 #else
6620 # include <assert.h>
6621 #endif
6622 Syntax error
6623 _ACEOF
6624 if ac_fn_c_try_cpp "$LINENO"; then :
6626 else
6627 # Broken: fails on valid input.
6628 continue
6630 rm -f conftest.err conftest.i conftest.$ac_ext
6632 # OK, works on sane cases. Now check whether nonexistent headers
6633 # can be detected and how.
6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6636 #include <ac_nonexistent.h>
6637 _ACEOF
6638 if ac_fn_c_try_cpp "$LINENO"; then :
6639 # Broken: success on invalid input.
6640 continue
6641 else
6642 # Passes both tests.
6643 ac_preproc_ok=:
6644 break
6646 rm -f conftest.err conftest.i conftest.$ac_ext
6648 done
6649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6650 rm -f conftest.i conftest.err conftest.$ac_ext
6651 if $ac_preproc_ok; then :
6652 break
6655 done
6656 ac_cv_prog_CPP=$CPP
6659 CPP=$ac_cv_prog_CPP
6660 else
6661 ac_cv_prog_CPP=$CPP
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6664 $as_echo "$CPP" >&6; }
6665 ac_preproc_ok=false
6666 for ac_c_preproc_warn_flag in '' yes
6668 # Use a header file that comes with gcc, so configuring glibc
6669 # with a fresh cross-compiler works.
6670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6671 # <limits.h> exists even on freestanding compilers.
6672 # On the NeXT, cc -E runs the code through the compiler's parser,
6673 # not just through cpp. "Syntax error" is here to catch this case.
6674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6675 /* end confdefs.h. */
6676 #ifdef __STDC__
6677 # include <limits.h>
6678 #else
6679 # include <assert.h>
6680 #endif
6681 Syntax error
6682 _ACEOF
6683 if ac_fn_c_try_cpp "$LINENO"; then :
6685 else
6686 # Broken: fails on valid input.
6687 continue
6689 rm -f conftest.err conftest.i conftest.$ac_ext
6691 # OK, works on sane cases. Now check whether nonexistent headers
6692 # can be detected and how.
6693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6695 #include <ac_nonexistent.h>
6696 _ACEOF
6697 if ac_fn_c_try_cpp "$LINENO"; then :
6698 # Broken: success on invalid input.
6699 continue
6700 else
6701 # Passes both tests.
6702 ac_preproc_ok=:
6703 break
6705 rm -f conftest.err conftest.i conftest.$ac_ext
6707 done
6708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6709 rm -f conftest.i conftest.err conftest.$ac_ext
6710 if $ac_preproc_ok; then :
6712 else
6713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6715 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6716 See \`config.log' for more details" "$LINENO" 5; }
6719 ac_ext=c
6720 ac_cpp='$CPP $CPPFLAGS'
6721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6727 $as_echo_n "checking for ANSI C header files... " >&6; }
6728 if ${ac_cv_header_stdc+:} false; then :
6729 $as_echo_n "(cached) " >&6
6730 else
6731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6733 #include <stdlib.h>
6734 #include <stdarg.h>
6735 #include <string.h>
6736 #include <float.h>
6739 main ()
6743 return 0;
6745 _ACEOF
6746 if ac_fn_c_try_compile "$LINENO"; then :
6747 ac_cv_header_stdc=yes
6748 else
6749 ac_cv_header_stdc=no
6751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6753 if test $ac_cv_header_stdc = yes; then
6754 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6756 /* end confdefs.h. */
6757 #include <string.h>
6759 _ACEOF
6760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6761 $EGREP "memchr" >/dev/null 2>&1; then :
6763 else
6764 ac_cv_header_stdc=no
6766 rm -f conftest*
6770 if test $ac_cv_header_stdc = yes; then
6771 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6774 #include <stdlib.h>
6776 _ACEOF
6777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6778 $EGREP "free" >/dev/null 2>&1; then :
6780 else
6781 ac_cv_header_stdc=no
6783 rm -f conftest*
6787 if test $ac_cv_header_stdc = yes; then
6788 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6789 if test "$cross_compiling" = yes; then :
6791 else
6792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6793 /* end confdefs.h. */
6794 #include <ctype.h>
6795 #include <stdlib.h>
6796 #if ((' ' & 0x0FF) == 0x020)
6797 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6798 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6799 #else
6800 # define ISLOWER(c) \
6801 (('a' <= (c) && (c) <= 'i') \
6802 || ('j' <= (c) && (c) <= 'r') \
6803 || ('s' <= (c) && (c) <= 'z'))
6804 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6805 #endif
6807 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6809 main ()
6811 int i;
6812 for (i = 0; i < 256; i++)
6813 if (XOR (islower (i), ISLOWER (i))
6814 || toupper (i) != TOUPPER (i))
6815 return 2;
6816 return 0;
6818 _ACEOF
6819 if ac_fn_c_try_run "$LINENO"; then :
6821 else
6822 ac_cv_header_stdc=no
6824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6825 conftest.$ac_objext conftest.beam conftest.$ac_ext
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6831 $as_echo "$ac_cv_header_stdc" >&6; }
6832 if test $ac_cv_header_stdc = yes; then
6834 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6838 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6839 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6840 inttypes.h stdint.h unistd.h
6841 do :
6842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6843 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6845 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6846 cat >>confdefs.h <<_ACEOF
6847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6848 _ACEOF
6852 done
6855 for ac_header in \
6856 AL/al.h \
6857 ApplicationServices/ApplicationServices.h \
6858 AudioToolbox/AudioConverter.h \
6859 AudioUnit/AudioUnit.h \
6860 AudioUnit/AudioComponent.h \
6861 CL/cl.h \
6862 Carbon/Carbon.h \
6863 CommonCrypto/CommonDigest.h \
6864 CoreAudio/CoreAudio.h \
6865 CoreServices/CoreServices.h \
6866 DiskArbitration/DiskArbitration.h \
6867 EGL/egl.h \
6868 IOKit/IOKitLib.h \
6869 IOKit/hid/IOHIDLib.h \
6870 OpenAL/al.h \
6871 OpenCL/opencl.h \
6872 QuickTime/ImageCompression.h \
6873 Security/Security.h \
6874 alias.h \
6875 alsa/asoundlib.h \
6876 arpa/inet.h \
6877 arpa/nameser.h \
6878 asm/types.h \
6879 asm/user.h \
6880 curses.h \
6881 direct.h \
6882 dirent.h \
6883 dlfcn.h \
6884 elf.h \
6885 float.h \
6886 fnmatch.h \
6887 getopt.h \
6888 gettext-po.h \
6889 grp.h \
6890 gsm.h \
6891 gsm/gsm.h \
6892 ieeefp.h \
6893 inet/mib2.h \
6894 io.h \
6895 kstat.h \
6896 libproc.h \
6897 link.h \
6898 linux/cdrom.h \
6899 linux/compiler.h \
6900 linux/filter.h \
6901 linux/hdreg.h \
6902 linux/hidraw.h \
6903 linux/input.h \
6904 linux/ioctl.h \
6905 linux/joystick.h \
6906 linux/major.h \
6907 linux/param.h \
6908 linux/serial.h \
6909 linux/types.h \
6910 linux/ucdrom.h \
6911 lwp.h \
6912 mach-o/nlist.h \
6913 mach-o/loader.h \
6914 mach/mach.h \
6915 mach/machine.h \
6916 machine/cpu.h \
6917 machine/limits.h \
6918 machine/sysarch.h \
6919 mntent.h \
6920 ncurses.h \
6921 netdb.h \
6922 netinet/in.h \
6923 netinet/in_systm.h \
6924 netinet/tcp.h \
6925 netinet/tcp_fsm.h \
6926 pcap/pcap.h \
6927 poll.h \
6928 port.h \
6929 process.h \
6930 pthread.h \
6931 pwd.h \
6932 sched.h \
6933 scsi/scsi.h \
6934 scsi/scsi_ioctl.h \
6935 scsi/sg.h \
6936 stdbool.h \
6937 stdint.h \
6938 stropts.h \
6939 sys/asoundlib.h \
6940 sys/attr.h \
6941 sys/auxv.h \
6942 sys/cdio.h \
6943 sys/elf32.h \
6944 sys/epoll.h \
6945 sys/event.h \
6946 sys/exec_elf.h \
6947 sys/filio.h \
6948 sys/inotify.h \
6949 sys/ioctl.h \
6950 sys/ipc.h \
6951 sys/limits.h \
6952 sys/link.h \
6953 sys/mman.h \
6954 sys/modem.h \
6955 sys/msg.h \
6956 sys/mtio.h \
6957 sys/param.h \
6958 sys/poll.h \
6959 sys/prctl.h \
6960 sys/protosw.h \
6961 sys/ptrace.h \
6962 sys/queue.h \
6963 sys/resource.h \
6964 sys/scsiio.h \
6965 sys/shm.h \
6966 sys/signal.h \
6967 sys/socket.h \
6968 sys/socketvar.h \
6969 sys/sockio.h \
6970 sys/statvfs.h \
6971 sys/strtio.h \
6972 sys/syscall.h \
6973 sys/sysinfo.h \
6974 sys/tihdr.h \
6975 sys/time.h \
6976 sys/timeout.h \
6977 sys/times.h \
6978 sys/uio.h \
6979 sys/user.h \
6980 sys/utsname.h \
6981 sys/vm86.h \
6982 sys/vnode.h \
6983 sys/wait.h \
6984 syscall.h \
6985 termios.h \
6986 unistd.h \
6987 utime.h \
6988 valgrind/memcheck.h \
6989 valgrind/valgrind.h \
6990 zlib.h
6992 do :
6993 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6994 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6995 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6996 cat >>confdefs.h <<_ACEOF
6997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6998 _ACEOF
7002 done
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7005 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7006 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010 /* end confdefs.h. */
7011 #include <sys/types.h>
7013 main ()
7015 return makedev(0, 0);
7017 return 0;
7019 _ACEOF
7020 if ac_fn_c_try_link "$LINENO"; then :
7021 ac_cv_header_sys_types_h_makedev=yes
7022 else
7023 ac_cv_header_sys_types_h_makedev=no
7025 rm -f core conftest.err conftest.$ac_objext \
7026 conftest$ac_exeext conftest.$ac_ext
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7030 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7032 if test $ac_cv_header_sys_types_h_makedev = no; then
7033 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7034 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7036 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7042 if test $ac_cv_header_sys_mkdev_h = no; then
7043 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7044 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7046 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7055 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7056 if ${ac_cv_header_stat_broken+:} false; then :
7057 $as_echo_n "(cached) " >&6
7058 else
7059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7060 /* end confdefs.h. */
7061 #include <sys/types.h>
7062 #include <sys/stat.h>
7064 #if defined S_ISBLK && defined S_IFDIR
7065 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7066 #endif
7068 #if defined S_ISBLK && defined S_IFCHR
7069 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7070 #endif
7072 #if defined S_ISLNK && defined S_IFREG
7073 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7074 #endif
7076 #if defined S_ISSOCK && defined S_IFREG
7077 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7078 #endif
7080 _ACEOF
7081 if ac_fn_c_try_compile "$LINENO"; then :
7082 ac_cv_header_stat_broken=no
7083 else
7084 ac_cv_header_stat_broken=yes
7086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7089 $as_echo "$ac_cv_header_stat_broken" >&6; }
7090 if test $ac_cv_header_stat_broken = yes; then
7092 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7098 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7099 do :
7100 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7101 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7102 #ifdef HAVE_SYS_PARAM_H
7103 # include <sys/param.h>
7104 #endif
7106 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7107 cat >>confdefs.h <<_ACEOF
7108 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7109 _ACEOF
7113 done
7116 for ac_header in \
7117 netinet/ip.h \
7118 net/if.h \
7119 net/if_arp.h \
7120 net/if_dl.h \
7121 net/if_types.h \
7122 net/route.h \
7123 netinet/if_ether.h \
7124 netinet/if_inarp.h \
7125 netinet/in_pcb.h \
7126 netinet/ip_icmp.h \
7127 netinet/ip_var.h \
7128 netinet/udp.h \
7129 netipx/ipx.h \
7130 sys/un.h \
7132 do :
7133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7134 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7135 #ifdef HAVE_SYS_SOCKET_H
7136 # include <sys/socket.h>
7137 #endif
7138 #ifdef HAVE_SYS_SOCKETVAR_H
7139 # include <sys/socketvar.h>
7140 #endif
7141 #ifdef HAVE_NET_ROUTE_H
7142 # include <net/route.h>
7143 #endif
7144 #ifdef HAVE_NETINET_IN_H
7145 # include <netinet/in.h>
7146 #endif
7147 #ifdef HAVE_NETINET_IN_SYSTM_H
7148 # include <netinet/in_systm.h>
7149 #endif
7150 #ifdef HAVE_NET_IF_H
7151 # include <net/if.h>
7152 #endif
7153 #ifdef HAVE_NETINET_IP_H
7154 # include <netinet/ip.h>
7155 #endif
7157 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7158 cat >>confdefs.h <<_ACEOF
7159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7160 _ACEOF
7164 done
7167 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7168 do :
7169 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7170 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7171 #ifdef HAVE_ALIAS_H
7172 # include <alias.h>
7173 #endif
7174 #ifdef HAVE_SYS_SOCKET_H
7175 # include <sys/socket.h>
7176 #endif
7177 #ifdef HAVE_SYS_SOCKETVAR_H
7178 # include <sys/socketvar.h>
7179 #endif
7180 #ifdef HAVE_SYS_TIMEOUT_H
7181 # include <sys/timeout.h>
7182 #endif
7183 #ifdef HAVE_NETINET_IN_H
7184 # include <netinet/in.h>
7185 #endif
7186 #ifdef HAVE_NETINET_IN_SYSTM_H
7187 # include <netinet/in_systm.h>
7188 #endif
7189 #ifdef HAVE_NETINET_IP_H
7190 # include <netinet/ip.h>
7191 #endif
7192 #ifdef HAVE_NETINET_IP_VAR_H
7193 # include <netinet/ip_var.h>
7194 #endif
7195 #ifdef HAVE_NETINET_IP_ICMP_H
7196 # include <netinet/ip_icmp.h>
7197 #endif
7198 #ifdef HAVE_NETINET_UDP_H
7199 # include <netinet/udp.h>
7200 #endif
7201 #ifdef HAVE_NETINET_TCP_H
7202 # include <netinet/tcp.h>
7203 #endif
7204 #ifdef HAVE_NETINET_TCP_TIMER_H
7205 #include <netinet/tcp_timer.h>
7206 #endif
7208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7209 cat >>confdefs.h <<_ACEOF
7210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7211 _ACEOF
7215 done
7218 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7219 do :
7220 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7221 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7222 #ifdef HAVE_ASM_TYPES_H
7223 # include <asm/types.h>
7224 #endif
7225 #ifdef HAVE_SYS_SOCKET_H
7226 # include <sys/socket.h>
7227 #endif
7228 #ifdef HAVE_LINUX_TYPES_H
7229 # include <linux/types.h>
7230 #endif
7232 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7233 cat >>confdefs.h <<_ACEOF
7234 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7235 _ACEOF
7239 done
7242 for ac_header in mach-o/dyld_images.h
7243 do :
7244 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7245 # include <stdbool.h>
7246 #endif
7247 #ifdef HAVE_STDINT_H
7248 # include <stdint.h>
7249 #endif
7251 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7252 cat >>confdefs.h <<_ACEOF
7253 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7254 _ACEOF
7258 done
7261 for ac_header in resolv.h
7262 do :
7263 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7264 #ifdef HAVE_SYS_SOCKET_H
7265 # include <sys/socket.h>
7266 #endif
7267 #ifdef HAVE_NETINET_IN_H
7268 # include <netinet/in.h>
7269 #endif
7270 #ifdef HAVE_ARPA_NAMESER_H
7271 # include <arpa/nameser.h>
7272 #endif
7274 if test "x$ac_cv_header_resolv_h" = xyes; then :
7275 cat >>confdefs.h <<_ACEOF
7276 #define HAVE_RESOLV_H 1
7277 _ACEOF
7281 done
7284 for ac_header in ifaddrs.h
7285 do :
7286 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7288 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7289 cat >>confdefs.h <<_ACEOF
7290 #define HAVE_IFADDRS_H 1
7291 _ACEOF
7295 done
7298 for ac_header in sys/ucontext.h
7299 do :
7300 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7302 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7303 cat >>confdefs.h <<_ACEOF
7304 #define HAVE_SYS_UCONTEXT_H 1
7305 _ACEOF
7309 done
7312 for ac_header in sys/thr.h
7313 do :
7314 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7315 #ifdef HAVE_SYS_UCONTEXT_H
7316 #include <sys/ucontext.h>
7317 #endif
7319 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7320 cat >>confdefs.h <<_ACEOF
7321 #define HAVE_SYS_THR_H 1
7322 _ACEOF
7326 done
7329 for ac_header in pthread_np.h
7330 do :
7331 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7332 #include <pthread.h>
7333 #endif
7335 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7336 cat >>confdefs.h <<_ACEOF
7337 #define HAVE_PTHREAD_NP_H 1
7338 _ACEOF
7342 done
7345 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7346 do :
7347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7349 #include <sys/time.h>
7350 #endif
7351 #include <sys/types.h>
7352 #ifdef HAVE_ASM_TYPES_H
7353 #include <asm/types.h>
7354 #endif
7356 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7357 cat >>confdefs.h <<_ACEOF
7358 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7359 _ACEOF
7363 done
7366 for ac_header in libprocstat.h
7367 do :
7368 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7369 #include <sys/param.h>
7370 #endif
7371 #ifdef HAVE_SYS_QUEUE_H
7372 #include <sys/queue.h>
7373 #endif
7374 #ifdef HAVE_SYS_SOCKET_H
7375 #include <sys/socket.h>
7376 #endif
7378 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7379 cat >>confdefs.h <<_ACEOF
7380 #define HAVE_LIBPROCSTAT_H 1
7381 _ACEOF
7385 done
7389 dlldir="\${libdir}/wine"
7391 DLLFLAGS="-D_REENTRANT"
7393 LDRPATH_INSTALL=""
7395 LDRPATH_LOCAL=""
7397 LDEXECFLAGS=""
7399 WINELOADER_LDFLAGS=""
7401 LIBEXT="so"
7402 DLLEXT=".so"
7403 IMPLIBEXT="def"
7404 # Extract the first word of "ldd", so it can be a program name with args.
7405 set dummy ldd; ac_word=$2
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407 $as_echo_n "checking for $ac_word... " >&6; }
7408 if ${ac_cv_path_LDD+:} false; then :
7409 $as_echo_n "(cached) " >&6
7410 else
7411 case $LDD in
7412 [\\/]* | ?:[\\/]*)
7413 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7417 as_dummy="/sbin:/usr/sbin:$PATH"
7418 for as_dir in $as_dummy
7420 IFS=$as_save_IFS
7421 test -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7424 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 break 2
7428 done
7429 done
7430 IFS=$as_save_IFS
7432 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7434 esac
7436 LDD=$ac_cv_path_LDD
7437 if test -n "$LDD"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7439 $as_echo "$LDD" >&6; }
7440 else
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7446 if test -n "$ac_tool_prefix"; then
7447 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7448 set dummy ${ac_tool_prefix}otool; ac_word=$2
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450 $as_echo_n "checking for $ac_word... " >&6; }
7451 if ${ac_cv_prog_OTOOL+:} false; then :
7452 $as_echo_n "(cached) " >&6
7453 else
7454 if test -n "$OTOOL"; then
7455 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7456 else
7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 for as_dir in $PATH
7460 IFS=$as_save_IFS
7461 test -z "$as_dir" && as_dir=.
7462 for ac_exec_ext in '' $ac_executable_extensions; do
7463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7464 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7466 break 2
7468 done
7469 done
7470 IFS=$as_save_IFS
7474 OTOOL=$ac_cv_prog_OTOOL
7475 if test -n "$OTOOL"; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7477 $as_echo "$OTOOL" >&6; }
7478 else
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7485 if test -z "$ac_cv_prog_OTOOL"; then
7486 ac_ct_OTOOL=$OTOOL
7487 # Extract the first word of "otool", so it can be a program name with args.
7488 set dummy otool; ac_word=$2
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490 $as_echo_n "checking for $ac_word... " >&6; }
7491 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7492 $as_echo_n "(cached) " >&6
7493 else
7494 if test -n "$ac_ct_OTOOL"; then
7495 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7496 else
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 for as_dir in $PATH
7500 IFS=$as_save_IFS
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7504 ac_cv_prog_ac_ct_OTOOL="otool"
7505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 break 2
7508 done
7509 done
7510 IFS=$as_save_IFS
7514 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7515 if test -n "$ac_ct_OTOOL"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7517 $as_echo "$ac_ct_OTOOL" >&6; }
7518 else
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7523 if test "x$ac_ct_OTOOL" = x; then
7524 OTOOL="otool"
7525 else
7526 case $cross_compiling:$ac_tool_warned in
7527 yes:)
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7530 ac_tool_warned=yes ;;
7531 esac
7532 OTOOL=$ac_ct_OTOOL
7534 else
7535 OTOOL="$ac_cv_prog_OTOOL"
7538 if test -n "$ac_tool_prefix"; then
7539 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7540 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7542 $as_echo_n "checking for $ac_word... " >&6; }
7543 if ${ac_cv_prog_READELF+:} false; then :
7544 $as_echo_n "(cached) " >&6
7545 else
7546 if test -n "$READELF"; then
7547 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7548 else
7549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 for as_dir in $PATH
7552 IFS=$as_save_IFS
7553 test -z "$as_dir" && as_dir=.
7554 for ac_exec_ext in '' $ac_executable_extensions; do
7555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7556 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7558 break 2
7560 done
7561 done
7562 IFS=$as_save_IFS
7566 READELF=$ac_cv_prog_READELF
7567 if test -n "$READELF"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7569 $as_echo "$READELF" >&6; }
7570 else
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7572 $as_echo "no" >&6; }
7577 if test -z "$ac_cv_prog_READELF"; then
7578 ac_ct_READELF=$READELF
7579 # Extract the first word of "readelf", so it can be a program name with args.
7580 set dummy readelf; ac_word=$2
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7582 $as_echo_n "checking for $ac_word... " >&6; }
7583 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7584 $as_echo_n "(cached) " >&6
7585 else
7586 if test -n "$ac_ct_READELF"; then
7587 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7588 else
7589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 for as_dir in $PATH
7592 IFS=$as_save_IFS
7593 test -z "$as_dir" && as_dir=.
7594 for ac_exec_ext in '' $ac_executable_extensions; do
7595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7596 ac_cv_prog_ac_ct_READELF="readelf"
7597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 break 2
7600 done
7601 done
7602 IFS=$as_save_IFS
7606 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7607 if test -n "$ac_ct_READELF"; then
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7609 $as_echo "$ac_ct_READELF" >&6; }
7610 else
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7612 $as_echo "no" >&6; }
7615 if test "x$ac_ct_READELF" = x; then
7616 READELF="true"
7617 else
7618 case $cross_compiling:$ac_tool_warned in
7619 yes:)
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7622 ac_tool_warned=yes ;;
7623 esac
7624 READELF=$ac_ct_READELF
7626 else
7627 READELF="$ac_cv_prog_READELF"
7630 wine_rules_file=conf$$rules.make
7631 rm -f $wine_rules_file
7632 SUBDIRS=""
7634 DISABLED_SUBDIRS=""
7636 CONFIGURE_TARGETS=""
7638 ALL_TEST_RESOURCES=""
7641 wine_fn_append_file ()
7643 as_fn_append $1 " \\$as_nl $2"
7646 wine_fn_append_rule ()
7648 $as_echo "$1" >>$wine_rules_file
7651 wine_fn_has_flag ()
7653 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7656 wine_fn_all_rules ()
7658 wine_fn_append_file SUBDIRS $ac_dir
7659 wine_fn_append_rule \
7660 "all: $ac_dir
7661 .PHONY: $ac_dir
7662 $ac_dir: dummy
7663 @cd $ac_dir && \$(MAKE)"
7666 wine_fn_install_rules ()
7668 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7670 wine_fn_append_rule \
7671 ".PHONY: $ac_dir/install $ac_dir/uninstall
7672 $ac_dir/install:: $ac_dir
7673 @cd $ac_dir && \$(MAKE) install
7674 $ac_dir/uninstall::
7675 @cd $ac_dir && \$(MAKE) uninstall
7676 install:: $ac_dir/install
7677 __uninstall__: $ac_dir/uninstall"
7679 if wine_fn_has_flag install-lib
7680 then
7681 wine_fn_append_rule \
7682 ".PHONY: $ac_dir/install-lib
7683 $ac_dir/install-lib:: $ac_dir
7684 @cd $ac_dir && \$(MAKE) install-lib
7685 install-lib:: $ac_dir/install-lib"
7688 if wine_fn_has_flag install-dev
7689 then
7690 wine_fn_append_rule \
7691 ".PHONY: $ac_dir/install-dev
7692 $ac_dir/install-dev:: $ac_dir
7693 @cd $ac_dir && \$(MAKE) install-dev
7694 install-dev:: $ac_dir/install-dev"
7698 wine_fn_clean_rules ()
7700 ac_clean=$@
7702 if wine_fn_has_flag clean
7703 then
7704 wine_fn_append_rule \
7705 "$ac_dir/clean: dummy
7706 @cd $ac_dir && \$(MAKE) clean"
7707 else
7708 wine_fn_append_rule \
7709 "$ac_dir/clean: dummy
7710 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7712 wine_fn_append_rule \
7713 "__clean__: $ac_dir/clean
7714 .PHONY: $ac_dir/clean"
7717 wine_fn_disabled_rules ()
7719 ac_clean=$@
7721 wine_fn_append_file SUBDIRS $ac_dir
7722 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7723 wine_fn_append_rule \
7724 "__clean__: $ac_dir/clean
7725 .PHONY: $ac_dir/clean
7726 $ac_dir/clean: dummy
7727 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7730 wine_fn_config_makefile ()
7732 ac_dir=$1
7733 ac_enable=$2
7734 ac_flags=$3
7736 case $ac_dir in
7737 fonts|server) test -z "$with_wine64" || return ;;
7738 esac
7739 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7740 wine_fn_disabled_rules; return
7742 wine_fn_all_rules
7743 wine_fn_install_rules
7744 wine_fn_clean_rules
7747 wine_fn_config_lib ()
7749 ac_name=$1
7750 ac_flags=$2
7751 ac_dir=dlls/$ac_name
7752 ac_deps="include"
7754 if test "x$enable_tools" = xno; then :
7756 else
7757 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7759 wine_fn_all_rules
7760 wine_fn_clean_rules
7762 wine_fn_append_rule \
7763 ".PHONY: $ac_dir/install $ac_dir/uninstall
7764 $ac_dir/install:: $ac_dir
7765 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7766 $ac_dir/uninstall::
7767 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7768 install install-dev:: $ac_dir/install
7769 __uninstall__: $ac_dir/uninstall
7770 __builddeps__: $ac_dir
7771 $ac_dir: $ac_deps"
7774 wine_fn_config_dll ()
7776 ac_name=$1
7777 ac_dir=dlls/$ac_name
7778 ac_enable=$2
7779 ac_flags=$3
7780 ac_implib=${4:-$ac_name}
7781 ac_file=$ac_dir/lib$ac_implib
7782 ac_dll=$ac_name
7783 ac_deps="include"
7784 ac_implibflags=""
7786 if test "x$enable_tools" = xno; then :
7788 else
7789 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7791 case $ac_name in
7792 *.*16) ac_implibflags=" -m16" ;;
7793 *.*) ;;
7794 *) ac_dll=$ac_dll.dll ;;
7795 esac
7797 ac_clean=
7798 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7799 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7801 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7802 if test "$ac_enable" != enable_win16
7803 then
7804 wine_fn_clean_rules $ac_clean
7805 wine_fn_append_file SUBDIRS $ac_dir
7806 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7807 else
7808 wine_fn_disabled_rules $ac_clean
7809 return
7811 else
7812 wine_fn_all_rules
7813 wine_fn_clean_rules $ac_clean
7814 wine_fn_append_rule \
7815 "$ac_dir: __builddeps__
7816 manpages htmlpages sgmlpages xmlpages::
7817 @cd $ac_dir && \$(MAKE) \$@
7818 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7819 install install-lib:: $ac_dir/install-lib
7820 __uninstall__: $ac_dir/uninstall"
7821 if test -n "$DLLEXT"
7822 then
7823 wine_fn_append_rule \
7824 "$ac_dir/install-lib:: $ac_dir
7825 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7826 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7827 $ac_dir/uninstall::
7828 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7829 else
7830 wine_fn_append_rule \
7831 "$ac_dir/install-lib:: $ac_dir
7832 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7833 $ac_dir/uninstall::
7834 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7838 if wine_fn_has_flag staticimplib
7839 then
7840 wine_fn_append_rule \
7841 "__builddeps__: $ac_file.a
7842 $ac_file.a $ac_file.cross.a: $ac_deps
7843 $ac_file.a: dummy
7844 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7845 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7846 $ac_dir/install-dev:: $ac_file.a
7847 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7848 $ac_dir/uninstall::
7849 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7850 install install-dev:: $ac_dir/install-dev
7851 __uninstall__: $ac_dir/uninstall"
7853 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7854 then
7855 wine_fn_append_rule \
7856 "__builddeps__: $ac_file.cross.a
7857 $ac_file.cross.a: dummy
7858 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7861 elif wine_fn_has_flag implib
7862 then
7863 wine_fn_append_rule \
7864 "__builddeps__: $ac_file.$IMPLIBEXT
7865 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7866 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7867 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7868 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7869 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7870 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7871 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7872 $ac_dir/uninstall::
7873 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7874 install install-dev:: $ac_dir/install-dev
7875 __uninstall__: $ac_dir/uninstall"
7876 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7877 then
7878 wine_fn_append_rule \
7879 "__builddeps__: $ac_file.cross.a
7880 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7881 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7886 wine_fn_config_program ()
7888 ac_name=$1
7889 ac_dir=programs/$ac_name
7890 ac_enable=$2
7891 ac_flags=$3
7892 ac_program=$ac_name
7894 case $ac_name in
7895 *.*) ;;
7896 *) ac_program=$ac_program.exe ;;
7897 esac
7899 ac_clean=
7900 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7901 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7903 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7904 wine_fn_disabled_rules $ac_clean; return
7907 wine_fn_all_rules
7908 wine_fn_clean_rules $ac_clean
7909 wine_fn_append_rule "$ac_dir: __builddeps__"
7911 wine_fn_has_flag install || return
7912 wine_fn_append_rule \
7913 ".PHONY: $ac_dir/install $ac_dir/uninstall
7914 install install-lib:: $ac_dir/install
7915 __uninstall__: $ac_dir/uninstall"
7917 if test -n "$DLLEXT"
7918 then
7919 wine_fn_append_rule \
7920 "$ac_dir/install:: $ac_dir
7921 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7922 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7923 $ac_dir/uninstall::
7924 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7926 if test -z "$with_wine64" && wine_fn_has_flag installbin
7927 then
7928 wine_fn_append_rule \
7929 "$ac_dir/install:: __tooldeps__
7930 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7931 $ac_dir/uninstall::
7932 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7934 else
7935 wine_fn_append_rule \
7936 "$ac_dir/install:: $ac_dir
7937 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7938 $ac_dir/uninstall::
7939 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7942 if test -z "$with_wine64" && wine_fn_has_flag manpage
7943 then
7944 wine_fn_append_rule \
7945 "$ac_dir/install:: $ac_dir
7946 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7947 $ac_dir/uninstall::
7948 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7952 wine_fn_config_test ()
7954 ac_dir=$1
7955 ac_name=$2
7956 ac_flags=$3
7958 ac_clean=
7959 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7960 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7962 if test "x$enable_tests" = xno; then :
7963 wine_fn_disabled_rules $ac_clean; return
7966 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7967 wine_fn_all_rules
7968 wine_fn_clean_rules $ac_clean
7970 wine_fn_append_rule \
7971 "$ac_dir: __builddeps__
7972 programs/winetest: $ac_dir
7973 check test: $ac_dir/test
7974 .PHONY: $ac_dir/test
7975 $ac_dir/test: dummy
7976 @cd $ac_dir && \$(MAKE) test
7977 testclean::
7978 \$(RM) $ac_dir/*.ok"
7980 if test -n "$CROSSTARGET"
7981 then
7982 wine_fn_append_rule \
7983 "crosstest: $ac_dir/crosstest
7984 .PHONY: $ac_dir/crosstest
7985 $ac_dir/crosstest: __builddeps__ dummy
7986 @cd $ac_dir && \$(MAKE) crosstest"
7990 wine_fn_config_tool ()
7992 ac_dir=$1
7993 ac_flags=$2
7994 if test "x$enable_tools" = xno; then :
7995 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7998 wine_fn_all_rules
7999 wine_fn_install_rules
8000 wine_fn_clean_rules
8002 wine_fn_append_rule "__tooldeps__: $ac_dir"
8003 wine_fn_append_rule "$ac_dir: libs/port"
8004 case $ac_dir in
8005 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8006 esac
8009 wine_fn_config_symlink ()
8011 ac_linkdir=
8012 if test "x$1" = "x-d"
8013 then
8014 ac_linkdir=$2
8015 shift; shift
8017 ac_links=$@
8018 wine_fn_append_rule \
8019 "$ac_links:
8020 @./config.status \$@"
8021 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8022 test -n "$ac_linkdir" || return
8023 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8026 wine_binary="wine"
8027 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8028 WINELOADER_PROGRAMS="$wine_binary"
8030 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8032 case $host_os in
8033 cygwin*|mingw32*)
8034 if test -n "$ac_tool_prefix"; then
8035 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8036 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8038 $as_echo_n "checking for $ac_word... " >&6; }
8039 if ${ac_cv_prog_DLLTOOL+:} false; then :
8040 $as_echo_n "(cached) " >&6
8041 else
8042 if test -n "$DLLTOOL"; then
8043 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8044 else
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 for as_dir in $PATH
8048 IFS=$as_save_IFS
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8054 break 2
8056 done
8057 done
8058 IFS=$as_save_IFS
8062 DLLTOOL=$ac_cv_prog_DLLTOOL
8063 if test -n "$DLLTOOL"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8065 $as_echo "$DLLTOOL" >&6; }
8066 else
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8068 $as_echo "no" >&6; }
8073 if test -z "$ac_cv_prog_DLLTOOL"; then
8074 ac_ct_DLLTOOL=$DLLTOOL
8075 # Extract the first word of "dlltool", so it can be a program name with args.
8076 set dummy dlltool; ac_word=$2
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8078 $as_echo_n "checking for $ac_word... " >&6; }
8079 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8080 $as_echo_n "(cached) " >&6
8081 else
8082 if test -n "$ac_ct_DLLTOOL"; then
8083 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8084 else
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 for as_dir in $PATH
8088 IFS=$as_save_IFS
8089 test -z "$as_dir" && as_dir=.
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8092 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8094 break 2
8096 done
8097 done
8098 IFS=$as_save_IFS
8102 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8103 if test -n "$ac_ct_DLLTOOL"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8105 $as_echo "$ac_ct_DLLTOOL" >&6; }
8106 else
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8111 if test "x$ac_ct_DLLTOOL" = x; then
8112 DLLTOOL="false"
8113 else
8114 case $cross_compiling:$ac_tool_warned in
8115 yes:)
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8118 ac_tool_warned=yes ;;
8119 esac
8120 DLLTOOL=$ac_ct_DLLTOOL
8122 else
8123 DLLTOOL="$ac_cv_prog_DLLTOOL"
8126 LIBEXT="dll"
8127 DLLEXT=""
8128 IMPLIBEXT="a"
8129 enable_iphlpapi=${enable_iphlpapi:-no}
8130 enable_kernel32=${enable_kernel32:-no}
8131 enable_msvcrt=${enable_msvcrt:-no}
8132 enable_ntdll=${enable_ntdll:-no}
8133 enable_ws2_32=${enable_ws2_32:-no}
8134 enable_loader=${enable_loader:-no}
8135 enable_server=${enable_server:-no}
8136 with_x=${with_x:-no}
8137 with_pthread=${with_pthread:-no}
8139 crtlibs=""
8140 case $host_os in
8141 mingw32*)
8142 crtlibs="-lmsvcrt"
8143 SOCKET_LIBS="-lws2_32"
8145 esac
8147 LIBWINE_SHAREDLIB="libwine.dll"
8149 LIBWINE_IMPORTLIB="libwine.a"
8151 LIBWINE_INSTALL_LIB="libwine.dll"
8153 LIBWINE_INSTALL_DEV="libwine.a"
8155 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8157 LIBWINE_DEPENDS="wine.def"
8161 darwin*|macosx*)
8162 for ac_header in libunwind.h
8163 do :
8164 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8166 cat >>confdefs.h <<_ACEOF
8167 #define HAVE_LIBUNWIND_H 1
8168 _ACEOF
8172 done
8174 LIBEXT="dylib"
8175 DLLFLAGS="$DLLFLAGS -fPIC"
8176 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8177 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8178 COREFOUNDATION_LIBS="-framework CoreFoundation"
8180 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8182 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8184 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8186 CORESERVICES_LIBS="-framework CoreServices"
8188 APPKIT_LIBS="-framework AppKit"
8190 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8192 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8193 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8194 $as_echo_n "(cached) " >&6
8195 else
8196 ac_wine_try_cflags_saved=$CFLAGS
8197 CFLAGS="$CFLAGS -Wl,-no_pie"
8198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8199 /* end confdefs.h. */
8200 int main(int argc, char **argv) { return 0; }
8201 _ACEOF
8202 if ac_fn_c_try_link "$LINENO"; then :
8203 ac_cv_cflags__Wl__no_pie=yes
8204 else
8205 ac_cv_cflags__Wl__no_pie=no
8207 rm -f core conftest.err conftest.$ac_objext \
8208 conftest$ac_exeext conftest.$ac_ext
8209 CFLAGS=$ac_wine_try_cflags_saved
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8212 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8213 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8214 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8216 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8217 then
8218 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8221 if test "$ac_cv_header_Security_Security_h" = "yes"
8222 then
8223 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8225 ac_save_LIBS="$LIBS"
8226 LIBS="$LIBS $SECURITY_LIBS"
8227 for ac_func in SSLCopyPeerCertificates
8228 do :
8229 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8230 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8231 cat >>confdefs.h <<_ACEOF
8232 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8233 _ACEOF
8236 done
8238 LIBS="$ac_save_LIBS"
8239 with_gnutls=${with_gnutls:-no}
8241 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8242 then
8243 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8244 then
8245 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8247 else
8248 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8251 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8252 ac_save_LIBS="$LIBS"
8253 LIBS="$LIBS $COREAUDIO_LIBS"
8254 for ac_func in AUGraphAddNode
8255 do :
8256 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8257 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8258 cat >>confdefs.h <<_ACEOF
8259 #define HAVE_AUGRAPHADDNODE 1
8260 _ACEOF
8263 done
8265 LIBS="$ac_save_LIBS"
8267 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8268 then
8269 OPENAL_LIBS="-framework OpenAL"
8272 cat >>confdefs.h <<_ACEOF
8273 #define HAVE_OPENAL 1
8274 _ACEOF
8276 ac_cv_lib_openal=yes
8278 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8279 then
8280 OPENCL_LIBS="-framework OpenCL"
8282 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8284 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8285 then
8286 ac_save_LIBS="$LIBS"
8287 LIBS="$LIBS $IOKIT_LIBS"
8288 for ac_func in IOHIDManagerCreate
8289 do :
8290 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8291 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8292 cat >>confdefs.h <<_ACEOF
8293 #define HAVE_IOHIDMANAGERCREATE 1
8294 _ACEOF
8297 done
8299 LIBS="$ac_save_LIBS"
8301 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8302 then
8303 ac_save_LIBS="$LIBS"
8304 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8306 $as_echo_n "checking for the QuickTime framework... " >&6; }
8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 #include <QuickTime/ImageCompression.h>
8311 main ()
8313 CodecManagerVersion(NULL);
8315 return 0;
8317 _ACEOF
8318 if ac_fn_c_try_link "$LINENO"; then :
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8320 $as_echo "yes" >&6; }
8321 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8323 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8324 else
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8326 $as_echo "no" >&6; }
8327 ac_cv_header_QuickTime_ImageCompression_h=no
8329 rm -f core conftest.err conftest.$ac_objext \
8330 conftest$ac_exeext conftest.$ac_ext
8331 LIBS="$ac_save_LIBS"
8333 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8334 then
8335 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8337 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8338 then
8339 CARBON_LIBS="-framework Carbon"
8343 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8344 then
8345 ac_save_LIBS="$LIBS"
8346 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8347 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8348 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8349 enable_winemac_drv=${enable_winemac_drv:-yes}
8352 LIBS="$ac_save_LIBS"
8355 if test "x$enable_win16" = "xyes"
8356 then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8358 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8359 if test "$cross_compiling" = yes; then :
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8361 $as_echo "cross-compiling, assuming yes" >&6; }
8362 else
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 asm(".text\n"
8366 "bad:\tnop;nop\n"
8367 "good:\tnop;nop\n\t"
8368 ".globl _testfunc\n"
8369 "_testfunc:\tcallw good");
8370 extern void testfunc();
8372 main ()
8374 unsigned short *p = (unsigned short *)testfunc;
8375 return p[0] != 0xe866 || p[1] != 0xfffa
8377 return 0;
8379 _ACEOF
8380 if ac_fn_c_try_run "$LINENO"; then :
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8382 $as_echo "yes" >&6; }
8383 else
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385 $as_echo "no" >&6; }
8386 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
8388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8389 conftest.$ac_objext conftest.beam conftest.$ac_ext
8394 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8396 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8398 LIBWINE_INSTALL_DEV="libwine.dylib"
8400 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8402 WINELOADER_DEPENDS="wine_info.plist"
8406 linux-android*)
8407 DLLFLAGS="$DLLFLAGS -fPIC"
8408 LDEXECFLAGS="-Wl,-pie"
8409 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8411 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8412 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8413 $as_echo_n "(cached) " >&6
8414 else
8415 ac_wine_try_cflags_saved=$CFLAGS
8416 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 int main(int argc, char **argv) { return 0; }
8420 _ACEOF
8421 if ac_fn_c_try_link "$LINENO"; then :
8422 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8423 else
8424 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8426 rm -f core conftest.err conftest.$ac_objext \
8427 conftest$ac_exeext conftest.$ac_ext
8428 CFLAGS=$ac_wine_try_cflags_saved
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8431 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8432 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8433 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8435 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8437 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8438 if eval \${$as_ac_var+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 ac_wine_try_cflags_saved=$CFLAGS
8442 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8445 int main(int argc, char **argv) { return 0; }
8446 _ACEOF
8447 if ac_fn_c_try_link "$LINENO"; then :
8448 eval "$as_ac_var=yes"
8449 else
8450 eval "$as_ac_var=no"
8452 rm -f core conftest.err conftest.$ac_objext \
8453 conftest$ac_exeext conftest.$ac_ext
8454 CFLAGS=$ac_wine_try_cflags_saved
8456 eval ac_res=\$$as_ac_var
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8458 $as_echo "$ac_res" >&6; }
8459 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8460 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8461 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8462 else
8463 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8465 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8466 if eval \${$as_ac_var+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 ac_wine_try_cflags_saved=$CFLAGS
8470 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 int main(int argc, char **argv) { return 0; }
8474 _ACEOF
8475 if ac_fn_c_try_link "$LINENO"; then :
8476 eval "$as_ac_var=yes"
8477 else
8478 eval "$as_ac_var=no"
8480 rm -f core conftest.err conftest.$ac_objext \
8481 conftest$ac_exeext conftest.$ac_ext
8482 CFLAGS=$ac_wine_try_cflags_saved
8484 eval ac_res=\$$as_ac_var
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8486 $as_echo "$ac_res" >&6; }
8487 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8488 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8489 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8493 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8494 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 ac_wine_try_cflags_saved=$CFLAGS
8498 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8501 int main(int argc, char **argv) { return 0; }
8502 _ACEOF
8503 if ac_fn_c_try_link "$LINENO"; then :
8504 ac_cv_cflags__Wl___enable_new_dtags=yes
8505 else
8506 ac_cv_cflags__Wl___enable_new_dtags=no
8508 rm -f core conftest.err conftest.$ac_objext \
8509 conftest$ac_exeext conftest.$ac_ext
8510 CFLAGS=$ac_wine_try_cflags_saved
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8513 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8514 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8515 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8518 LIBWINE_SHAREDLIB="libwine.so"
8520 LIBWINE_INSTALL_LIB="libwine.so"
8522 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8526 $as_echo_n "checking for -lEGL... " >&6; }
8527 if ${ac_cv_lib_soname_EGL+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_check_soname_save_LIBS=$LIBS
8531 LIBS="-lEGL $LIBS"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8535 /* Override any GCC internal prototype to avoid an error.
8536 Use char because int might match the return type of a GCC
8537 builtin and then its argument prototype would still apply. */
8538 #ifdef __cplusplus
8539 extern "C"
8540 #endif
8541 char eglGetProcAddress ();
8543 main ()
8545 return eglGetProcAddress ();
8547 return 0;
8549 _ACEOF
8550 if ac_fn_c_try_link "$LINENO"; then :
8551 case "$LIBEXT" in
8552 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8553 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'` ;;
8554 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8555 if ${ac_cv_lib_soname_EGL:+false} :; then :
8556 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8557 fi ;;
8558 esac
8560 rm -f core conftest.err conftest.$ac_objext \
8561 conftest$ac_exeext conftest.$ac_ext
8562 LIBS=$ac_check_soname_save_LIBS
8564 if ${ac_cv_lib_soname_EGL:+false} :; then :
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8566 $as_echo "not found" >&6; }
8568 else
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8570 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8572 cat >>confdefs.h <<_ACEOF
8573 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8574 _ACEOF
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8579 $as_echo_n "checking for -lGLESv2... " >&6; }
8580 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 ac_check_soname_save_LIBS=$LIBS
8584 LIBS="-lGLESv2 $LIBS"
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8588 /* Override any GCC internal prototype to avoid an error.
8589 Use char because int might match the return type of a GCC
8590 builtin and then its argument prototype would still apply. */
8591 #ifdef __cplusplus
8592 extern "C"
8593 #endif
8594 char glFlush ();
8596 main ()
8598 return glFlush ();
8600 return 0;
8602 _ACEOF
8603 if ac_fn_c_try_link "$LINENO"; then :
8604 case "$LIBEXT" in
8605 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8606 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'` ;;
8607 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8608 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8609 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8610 fi ;;
8611 esac
8613 rm -f core conftest.err conftest.$ac_objext \
8614 conftest$ac_exeext conftest.$ac_ext
8615 LIBS=$ac_check_soname_save_LIBS
8617 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8619 $as_echo "not found" >&6; }
8621 else
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8623 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8625 cat >>confdefs.h <<_ACEOF
8626 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8627 _ACEOF
8632 if test "x$exec_prefix" = xNONE
8633 then
8634 case $host_cpu in
8635 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8636 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8637 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8638 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8639 esac
8644 DLLFLAGS="$DLLFLAGS -fPIC"
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8646 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8647 if ${ac_cv_c_dll_gnuelf+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 ac_wine_try_cflags_saved=$CFLAGS
8651 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 void myfunc() {}
8655 _ACEOF
8656 if ac_fn_c_try_link "$LINENO"; then :
8657 ac_cv_c_dll_gnuelf="yes"
8658 else
8659 ac_cv_c_dll_gnuelf="no"
8661 rm -f core conftest.err conftest.$ac_objext \
8662 conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8666 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8667 if test "$ac_cv_c_dll_gnuelf" = "yes"
8668 then
8669 LIBWINE_LDFLAGS="-shared"
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8671 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8672 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 int main(int argc, char **argv) { return 0; }
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8683 else
8684 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8691 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8692 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8693 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8694 else
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8696 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8697 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 int main(int argc, char **argv) { return 0; }
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8708 else
8709 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8711 rm -f core conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 CFLAGS=$ac_wine_try_cflags_saved
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8716 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8717 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8718 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8722 echo '{ global: *; };' >conftest.map
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8724 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8725 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8726 $as_echo_n "(cached) " >&6
8727 else
8728 ac_wine_try_cflags_saved=$CFLAGS
8729 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 int main(int argc, char **argv) { return 0; }
8733 _ACEOF
8734 if ac_fn_c_try_link "$LINENO"; then :
8735 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8736 else
8737 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8739 rm -f core conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 CFLAGS=$ac_wine_try_cflags_saved
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8744 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8745 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8746 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8748 rm -f conftest.map
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8751 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8752 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 ac_wine_try_cflags_saved=$CFLAGS
8756 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int main(int argc, char **argv) { return 0; }
8760 _ACEOF
8761 if ac_fn_c_try_link "$LINENO"; then :
8762 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8763 else
8764 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8766 rm -f core conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8771 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8772 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8773 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8776 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8778 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8779 if eval \${$as_ac_var+:} false; then :
8780 $as_echo_n "(cached) " >&6
8781 else
8782 ac_wine_try_cflags_saved=$CFLAGS
8783 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8785 /* end confdefs.h. */
8786 int main(int argc, char **argv) { return 0; }
8787 _ACEOF
8788 if ac_fn_c_try_link "$LINENO"; then :
8789 eval "$as_ac_var=yes"
8790 else
8791 eval "$as_ac_var=no"
8793 rm -f core conftest.err conftest.$ac_objext \
8794 conftest$ac_exeext conftest.$ac_ext
8795 CFLAGS=$ac_wine_try_cflags_saved
8797 eval ac_res=\$$as_ac_var
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8799 $as_echo "$ac_res" >&6; }
8800 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8801 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8802 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8803 else
8804 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8806 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8807 if eval \${$as_ac_var+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 ac_wine_try_cflags_saved=$CFLAGS
8811 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8814 int main(int argc, char **argv) { return 0; }
8815 _ACEOF
8816 if ac_fn_c_try_link "$LINENO"; then :
8817 eval "$as_ac_var=yes"
8818 else
8819 eval "$as_ac_var=no"
8821 rm -f core conftest.err conftest.$ac_objext \
8822 conftest$ac_exeext conftest.$ac_ext
8823 CFLAGS=$ac_wine_try_cflags_saved
8825 eval ac_res=\$$as_ac_var
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8827 $as_echo "$ac_res" >&6; }
8828 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8829 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8830 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8835 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8836 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 ac_wine_try_cflags_saved=$CFLAGS
8840 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8843 int main(int argc, char **argv) { return 0; }
8844 _ACEOF
8845 if ac_fn_c_try_link "$LINENO"; then :
8846 ac_cv_cflags__Wl___enable_new_dtags=yes
8847 else
8848 ac_cv_cflags__Wl___enable_new_dtags=no
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8852 CFLAGS=$ac_wine_try_cflags_saved
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8855 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8856 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8857 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8860 case $host_cpu in
8861 *i[3456789]86* | x86_64)
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8863 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8864 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8865 $as_echo_n "(cached) " >&6
8866 else
8867 ac_wine_try_cflags_saved=$CFLAGS
8868 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870 /* end confdefs.h. */
8871 int main(int argc, char **argv) { return 0; }
8872 _ACEOF
8873 if ac_fn_c_try_link "$LINENO"; then :
8874 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8875 else
8876 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
8880 CFLAGS=$ac_wine_try_cflags_saved
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8883 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8884 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8885 case $host_os in
8886 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8887 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8888 esac
8889 else
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8891 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8892 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8893 $as_echo_n "(cached) " >&6
8894 else
8895 ac_wine_try_cflags_saved=$CFLAGS
8896 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8899 int main(int argc, char **argv) { return 0; }
8900 _ACEOF
8901 if ac_fn_c_try_link "$LINENO"; then :
8902 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8903 else
8904 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8906 rm -f core conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 CFLAGS=$ac_wine_try_cflags_saved
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8911 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8912 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8913 case $host_os in
8914 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8915 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8916 esac
8918 # Extract the first word of "prelink", so it can be a program name with args.
8919 set dummy prelink; ac_word=$2
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8921 $as_echo_n "checking for $ac_word... " >&6; }
8922 if ${ac_cv_path_PRELINK+:} false; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 case $PRELINK in
8926 [\\/]* | ?:[\\/]*)
8927 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8931 for as_dir in /sbin /usr/sbin $PATH
8933 IFS=$as_save_IFS
8934 test -z "$as_dir" && as_dir=.
8935 for ac_exec_ext in '' $ac_executable_extensions; do
8936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8937 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8939 break 2
8941 done
8942 done
8943 IFS=$as_save_IFS
8945 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8947 esac
8949 PRELINK=$ac_cv_path_PRELINK
8950 if test -n "$PRELINK"; then
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8952 $as_echo "$PRELINK" >&6; }
8953 else
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8955 $as_echo "no" >&6; }
8959 if test "x$PRELINK" = xfalse
8960 then
8961 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8965 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8966 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8967 $as_echo_n "(cached) " >&6
8968 else
8969 ac_wine_try_cflags_saved=$CFLAGS
8970 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8972 /* end confdefs.h. */
8973 int main(int argc, char **argv) { return 0; }
8974 _ACEOF
8975 if ac_fn_c_try_link "$LINENO"; then :
8976 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8977 else
8978 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8980 rm -f core conftest.err conftest.$ac_objext \
8981 conftest$ac_exeext conftest.$ac_ext
8982 CFLAGS=$ac_wine_try_cflags_saved
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8985 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8986 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8987 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8990 esac
8992 else
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8994 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8995 if ${ac_cv_c_dll_unixware+:} false; then :
8996 $as_echo_n "(cached) " >&6
8997 else
8998 ac_wine_try_cflags_saved=$CFLAGS
8999 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9001 /* end confdefs.h. */
9002 void myfunc() {}
9003 _ACEOF
9004 if ac_fn_c_try_link "$LINENO"; then :
9005 ac_cv_c_dll_unixware="yes"
9006 else
9007 ac_cv_c_dll_unixware="no"
9009 rm -f core conftest.err conftest.$ac_objext \
9010 conftest$ac_exeext conftest.$ac_ext
9011 CFLAGS=$ac_wine_try_cflags_saved
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9014 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9015 if test "$ac_cv_c_dll_unixware" = "yes"
9016 then
9017 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9020 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9022 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9024 LIBWINE_INSTALL_DEV="libwine.so"
9026 LIBWINE_DEPENDS="wine.map"
9029 esac
9031 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9032 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9033 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9034 enable_winemac_drv=${enable_winemac_drv:-no}
9035 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9037 CROSSTARGET=""
9039 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9040 then
9041 case "$host_cpu" in
9042 arm*)
9043 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9044 i[3456789]86*)
9045 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
9046 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9047 mingw32-gcc" ;;
9048 x86_64)
9049 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
9050 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9052 ac_prefix_list="" ;;
9053 esac
9054 for ac_prog in $ac_prefix_list
9056 # Extract the first word of "$ac_prog", so it can be a program name with args.
9057 set dummy $ac_prog; ac_word=$2
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9059 $as_echo_n "checking for $ac_word... " >&6; }
9060 if ${ac_cv_prog_CROSSCC+:} false; then :
9061 $as_echo_n "(cached) " >&6
9062 else
9063 if test -n "$CROSSCC"; then
9064 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9065 else
9066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9067 for as_dir in $PATH
9069 IFS=$as_save_IFS
9070 test -z "$as_dir" && as_dir=.
9071 for ac_exec_ext in '' $ac_executable_extensions; do
9072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9073 ac_cv_prog_CROSSCC="$ac_prog"
9074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9075 break 2
9077 done
9078 done
9079 IFS=$as_save_IFS
9083 CROSSCC=$ac_cv_prog_CROSSCC
9084 if test -n "$CROSSCC"; then
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9086 $as_echo "$CROSSCC" >&6; }
9087 else
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 $as_echo "no" >&6; }
9093 test -n "$CROSSCC" && break
9094 done
9095 test -n "$CROSSCC" || CROSSCC="false"
9097 if test "$CROSSCC" != "false"
9098 then
9099 ac_save_CC="$CC"
9100 CC="$CROSSCC"
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9102 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9107 main ()
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_compile "$LINENO"; then :
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9116 $as_echo "yes" >&6; }
9117 set x $CROSSCC
9118 shift
9119 while test $# -ge 1
9121 case "$1" in
9122 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9123 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9124 esac
9125 shift
9126 done
9127 else
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9129 $as_echo "no" >&6; }
9131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9132 CC="$ac_save_CC"
9133 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9139 if test "$ac_cv_header_pthread_h" = "yes"
9140 then
9141 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9142 if test "x$ac_cv_func_pthread_create" = xyes; then :
9144 else
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9146 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9147 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9148 $as_echo_n "(cached) " >&6
9149 else
9150 ac_check_lib_save_LIBS=$LIBS
9151 LIBS="-lpthread $LIBS"
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9155 /* Override any GCC internal prototype to avoid an error.
9156 Use char because int might match the return type of a GCC
9157 builtin and then its argument prototype would still apply. */
9158 #ifdef __cplusplus
9159 extern "C"
9160 #endif
9161 char pthread_create ();
9163 main ()
9165 return pthread_create ();
9167 return 0;
9169 _ACEOF
9170 if ac_fn_c_try_link "$LINENO"; then :
9171 ac_cv_lib_pthread_pthread_create=yes
9172 else
9173 ac_cv_lib_pthread_pthread_create=no
9175 rm -f core conftest.err conftest.$ac_objext \
9176 conftest$ac_exeext conftest.$ac_ext
9177 LIBS=$ac_check_lib_save_LIBS
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9180 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9181 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9182 PTHREAD_LIBS="-lpthread"
9189 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9190 case "x$with_pthread" in
9191 xno) ;;
9192 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9193 Wine cannot support threads without libpthread.
9194 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9195 esac
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9201 $as_echo_n "checking for X... " >&6; }
9204 # Check whether --with-x was given.
9205 if test "${with_x+set}" = set; then :
9206 withval=$with_x;
9209 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9210 if test "x$with_x" = xno; then
9211 # The user explicitly disabled X.
9212 have_x=disabled
9213 else
9214 case $x_includes,$x_libraries in #(
9215 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9216 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9217 $as_echo_n "(cached) " >&6
9218 else
9219 # One or both of the vars are not set, and there is no cached value.
9220 ac_x_includes=no ac_x_libraries=no
9221 rm -f -r conftest.dir
9222 if mkdir conftest.dir; then
9223 cd conftest.dir
9224 cat >Imakefile <<'_ACEOF'
9225 incroot:
9226 @echo incroot='${INCROOT}'
9227 usrlibdir:
9228 @echo usrlibdir='${USRLIBDIR}'
9229 libdir:
9230 @echo libdir='${LIBDIR}'
9231 _ACEOF
9232 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9233 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9234 for ac_var in incroot usrlibdir libdir; do
9235 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9236 done
9237 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9238 for ac_extension in a so sl dylib la dll; do
9239 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9240 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9241 ac_im_usrlibdir=$ac_im_libdir; break
9243 done
9244 # Screen out bogus values from the imake configuration. They are
9245 # bogus both because they are the default anyway, and because
9246 # using them would break gcc on systems where it needs fixed includes.
9247 case $ac_im_incroot in
9248 /usr/include) ac_x_includes= ;;
9249 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9250 esac
9251 case $ac_im_usrlibdir in
9252 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9253 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9254 esac
9256 cd ..
9257 rm -f -r conftest.dir
9260 # Standard set of common directories for X headers.
9261 # Check X11 before X11Rn because it is often a symlink to the current release.
9262 ac_x_header_dirs='
9263 /usr/X11/include
9264 /usr/X11R7/include
9265 /usr/X11R6/include
9266 /usr/X11R5/include
9267 /usr/X11R4/include
9269 /usr/include/X11
9270 /usr/include/X11R7
9271 /usr/include/X11R6
9272 /usr/include/X11R5
9273 /usr/include/X11R4
9275 /usr/local/X11/include
9276 /usr/local/X11R7/include
9277 /usr/local/X11R6/include
9278 /usr/local/X11R5/include
9279 /usr/local/X11R4/include
9281 /usr/local/include/X11
9282 /usr/local/include/X11R7
9283 /usr/local/include/X11R6
9284 /usr/local/include/X11R5
9285 /usr/local/include/X11R4
9287 /usr/X386/include
9288 /usr/x386/include
9289 /usr/XFree86/include/X11
9291 /usr/include
9292 /usr/local/include
9293 /usr/unsupported/include
9294 /usr/athena/include
9295 /usr/local/x11r5/include
9296 /usr/lpp/Xamples/include
9298 /usr/openwin/include
9299 /usr/openwin/share/include'
9301 if test "$ac_x_includes" = no; then
9302 # Guess where to find include files, by looking for Xlib.h.
9303 # First, try using that file with no special directory specified.
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9306 #include <X11/Xlib.h>
9307 _ACEOF
9308 if ac_fn_c_try_cpp "$LINENO"; then :
9309 # We can compile using X headers with no special include directory.
9310 ac_x_includes=
9311 else
9312 for ac_dir in $ac_x_header_dirs; do
9313 if test -r "$ac_dir/X11/Xlib.h"; then
9314 ac_x_includes=$ac_dir
9315 break
9317 done
9319 rm -f conftest.err conftest.i conftest.$ac_ext
9320 fi # $ac_x_includes = no
9322 if test "$ac_x_libraries" = no; then
9323 # Check for the libraries.
9324 # See if we find them without any special options.
9325 # Don't add to $LIBS permanently.
9326 ac_save_LIBS=$LIBS
9327 LIBS="-lX11 $LIBS"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9330 #include <X11/Xlib.h>
9332 main ()
9334 XrmInitialize ()
9336 return 0;
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9340 LIBS=$ac_save_LIBS
9341 # We can link X programs with no special library path.
9342 ac_x_libraries=
9343 else
9344 LIBS=$ac_save_LIBS
9345 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9347 # Don't even attempt the hair of trying to link an X program!
9348 for ac_extension in a so sl dylib la dll; do
9349 if test -r "$ac_dir/libX11.$ac_extension"; then
9350 ac_x_libraries=$ac_dir
9351 break 2
9353 done
9354 done
9356 rm -f core conftest.err conftest.$ac_objext \
9357 conftest$ac_exeext conftest.$ac_ext
9358 fi # $ac_x_libraries = no
9360 case $ac_x_includes,$ac_x_libraries in #(
9361 no,* | *,no | *\'*)
9362 # Didn't find X, or a directory has "'" in its name.
9363 ac_cv_have_x="have_x=no";; #(
9365 # Record where we found X for the cache.
9366 ac_cv_have_x="have_x=yes\
9367 ac_x_includes='$ac_x_includes'\
9368 ac_x_libraries='$ac_x_libraries'"
9369 esac
9371 ;; #(
9372 *) have_x=yes;;
9373 esac
9374 eval "$ac_cv_have_x"
9375 fi # $with_x != no
9377 if test "$have_x" != yes; then
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9379 $as_echo "$have_x" >&6; }
9380 no_x=yes
9381 else
9382 # If each of the values was on the command line, it overrides each guess.
9383 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9384 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9385 # Update the cache value to reflect the command line values.
9386 ac_cv_have_x="have_x=yes\
9387 ac_x_includes='$x_includes'\
9388 ac_x_libraries='$x_libraries'"
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9390 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9393 if test "$no_x" = yes; then
9394 # Not all programs may use this symbol, but it does not hurt to define it.
9396 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9398 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9399 else
9400 if test -n "$x_includes"; then
9401 X_CFLAGS="$X_CFLAGS -I$x_includes"
9404 # It would also be nice to do this for all -L options, not just this one.
9405 if test -n "$x_libraries"; then
9406 X_LIBS="$X_LIBS -L$x_libraries"
9407 # For Solaris; some versions of Sun CC require a space after -R and
9408 # others require no space. Words are not sufficient . . . .
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9410 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9411 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9412 ac_xsave_c_werror_flag=$ac_c_werror_flag
9413 ac_c_werror_flag=yes
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9418 main ()
9422 return 0;
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9427 $as_echo "no" >&6; }
9428 X_LIBS="$X_LIBS -R$x_libraries"
9429 else
9430 LIBS="$ac_xsave_LIBS -R $x_libraries"
9431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9435 main ()
9439 return 0;
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9444 $as_echo "yes" >&6; }
9445 X_LIBS="$X_LIBS -R $x_libraries"
9446 else
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9448 $as_echo "neither works" >&6; }
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9453 rm -f core conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9455 ac_c_werror_flag=$ac_xsave_c_werror_flag
9456 LIBS=$ac_xsave_LIBS
9459 # Check for system-dependent libraries X programs must link with.
9460 # Do this before checking for the system-independent R6 libraries
9461 # (-lICE), since we may need -lsocket or whatever for X linking.
9463 if test "$ISC" = yes; then
9464 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9465 else
9466 # Martyn Johnson says this is needed for Ultrix, if the X
9467 # libraries were built with DECnet support. And Karl Berry says
9468 # the Alpha needs dnet_stub (dnet does not exist).
9469 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9476 #ifdef __cplusplus
9477 extern "C"
9478 #endif
9479 char XOpenDisplay ();
9481 main ()
9483 return XOpenDisplay ();
9485 return 0;
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9490 else
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9492 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9493 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 ac_check_lib_save_LIBS=$LIBS
9497 LIBS="-ldnet $LIBS"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9501 /* Override any GCC internal prototype to avoid an error.
9502 Use char because int might match the return type of a GCC
9503 builtin and then its argument prototype would still apply. */
9504 #ifdef __cplusplus
9505 extern "C"
9506 #endif
9507 char dnet_ntoa ();
9509 main ()
9511 return dnet_ntoa ();
9513 return 0;
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 ac_cv_lib_dnet_dnet_ntoa=yes
9518 else
9519 ac_cv_lib_dnet_dnet_ntoa=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 LIBS=$ac_check_lib_save_LIBS
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9526 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9527 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9528 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9531 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9533 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9534 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9535 $as_echo_n "(cached) " >&6
9536 else
9537 ac_check_lib_save_LIBS=$LIBS
9538 LIBS="-ldnet_stub $LIBS"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9542 /* Override any GCC internal prototype to avoid an error.
9543 Use char because int might match the return type of a GCC
9544 builtin and then its argument prototype would still apply. */
9545 #ifdef __cplusplus
9546 extern "C"
9547 #endif
9548 char dnet_ntoa ();
9550 main ()
9552 return dnet_ntoa ();
9554 return 0;
9556 _ACEOF
9557 if ac_fn_c_try_link "$LINENO"; then :
9558 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9559 else
9560 ac_cv_lib_dnet_stub_dnet_ntoa=no
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 LIBS=$ac_check_lib_save_LIBS
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9567 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9568 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9569 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 LIBS="$ac_xsave_LIBS"
9578 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9579 # to get the SysV transport functions.
9580 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9581 # needs -lnsl.
9582 # The nsl library prevents programs from opening the X display
9583 # on Irix 5.2, according to T.E. Dickey.
9584 # The functions gethostbyname, getservbyname, and inet_addr are
9585 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9586 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9587 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9591 if test $ac_cv_func_gethostbyname = no; then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9593 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9594 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_check_lib_save_LIBS=$LIBS
9598 LIBS="-lnsl $LIBS"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9605 #ifdef __cplusplus
9606 extern "C"
9607 #endif
9608 char gethostbyname ();
9610 main ()
9612 return gethostbyname ();
9614 return 0;
9616 _ACEOF
9617 if ac_fn_c_try_link "$LINENO"; then :
9618 ac_cv_lib_nsl_gethostbyname=yes
9619 else
9620 ac_cv_lib_nsl_gethostbyname=no
9622 rm -f core conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_lib_save_LIBS
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9627 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9628 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9629 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9632 if test $ac_cv_lib_nsl_gethostbyname = no; then
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9634 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9635 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9636 $as_echo_n "(cached) " >&6
9637 else
9638 ac_check_lib_save_LIBS=$LIBS
9639 LIBS="-lbsd $LIBS"
9640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9641 /* end confdefs.h. */
9643 /* Override any GCC internal prototype to avoid an error.
9644 Use char because int might match the return type of a GCC
9645 builtin and then its argument prototype would still apply. */
9646 #ifdef __cplusplus
9647 extern "C"
9648 #endif
9649 char gethostbyname ();
9651 main ()
9653 return gethostbyname ();
9655 return 0;
9657 _ACEOF
9658 if ac_fn_c_try_link "$LINENO"; then :
9659 ac_cv_lib_bsd_gethostbyname=yes
9660 else
9661 ac_cv_lib_bsd_gethostbyname=no
9663 rm -f core conftest.err conftest.$ac_objext \
9664 conftest$ac_exeext conftest.$ac_ext
9665 LIBS=$ac_check_lib_save_LIBS
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9668 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9669 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9670 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9676 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9677 # socket/setsockopt and other routines are undefined under SCO ODT
9678 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9679 # on later versions), says Simon Leinen: it contains gethostby*
9680 # variants that don't use the name server (or something). -lsocket
9681 # must be given before -lnsl if both are needed. We assume that
9682 # if connect needs -lnsl, so does gethostbyname.
9683 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9684 if test "x$ac_cv_func_connect" = xyes; then :
9688 if test $ac_cv_func_connect = no; then
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9690 $as_echo_n "checking for connect in -lsocket... " >&6; }
9691 if ${ac_cv_lib_socket_connect+:} false; then :
9692 $as_echo_n "(cached) " >&6
9693 else
9694 ac_check_lib_save_LIBS=$LIBS
9695 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9697 /* end confdefs.h. */
9699 /* Override any GCC internal prototype to avoid an error.
9700 Use char because int might match the return type of a GCC
9701 builtin and then its argument prototype would still apply. */
9702 #ifdef __cplusplus
9703 extern "C"
9704 #endif
9705 char connect ();
9707 main ()
9709 return connect ();
9711 return 0;
9713 _ACEOF
9714 if ac_fn_c_try_link "$LINENO"; then :
9715 ac_cv_lib_socket_connect=yes
9716 else
9717 ac_cv_lib_socket_connect=no
9719 rm -f core conftest.err conftest.$ac_objext \
9720 conftest$ac_exeext conftest.$ac_ext
9721 LIBS=$ac_check_lib_save_LIBS
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9724 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9725 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9726 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9731 # Guillermo Gomez says -lposix is necessary on A/UX.
9732 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9733 if test "x$ac_cv_func_remove" = xyes; then :
9737 if test $ac_cv_func_remove = no; then
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9739 $as_echo_n "checking for remove in -lposix... " >&6; }
9740 if ${ac_cv_lib_posix_remove+:} false; then :
9741 $as_echo_n "(cached) " >&6
9742 else
9743 ac_check_lib_save_LIBS=$LIBS
9744 LIBS="-lposix $LIBS"
9745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9746 /* end confdefs.h. */
9748 /* Override any GCC internal prototype to avoid an error.
9749 Use char because int might match the return type of a GCC
9750 builtin and then its argument prototype would still apply. */
9751 #ifdef __cplusplus
9752 extern "C"
9753 #endif
9754 char remove ();
9756 main ()
9758 return remove ();
9760 return 0;
9762 _ACEOF
9763 if ac_fn_c_try_link "$LINENO"; then :
9764 ac_cv_lib_posix_remove=yes
9765 else
9766 ac_cv_lib_posix_remove=no
9768 rm -f core conftest.err conftest.$ac_objext \
9769 conftest$ac_exeext conftest.$ac_ext
9770 LIBS=$ac_check_lib_save_LIBS
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9773 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9774 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9775 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9780 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9781 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9782 if test "x$ac_cv_func_shmat" = xyes; then :
9786 if test $ac_cv_func_shmat = no; then
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9788 $as_echo_n "checking for shmat in -lipc... " >&6; }
9789 if ${ac_cv_lib_ipc_shmat+:} false; then :
9790 $as_echo_n "(cached) " >&6
9791 else
9792 ac_check_lib_save_LIBS=$LIBS
9793 LIBS="-lipc $LIBS"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9797 /* Override any GCC internal prototype to avoid an error.
9798 Use char because int might match the return type of a GCC
9799 builtin and then its argument prototype would still apply. */
9800 #ifdef __cplusplus
9801 extern "C"
9802 #endif
9803 char shmat ();
9805 main ()
9807 return shmat ();
9809 return 0;
9811 _ACEOF
9812 if ac_fn_c_try_link "$LINENO"; then :
9813 ac_cv_lib_ipc_shmat=yes
9814 else
9815 ac_cv_lib_ipc_shmat=no
9817 rm -f core conftest.err conftest.$ac_objext \
9818 conftest$ac_exeext conftest.$ac_ext
9819 LIBS=$ac_check_lib_save_LIBS
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9822 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9823 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9824 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9830 # Check for libraries that X11R6 Xt/Xaw programs need.
9831 ac_save_LDFLAGS=$LDFLAGS
9832 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9833 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9834 # check for ICE first), but we must link in the order -lSM -lICE or
9835 # we get undefined symbols. So assume we have SM if we have ICE.
9836 # These have to be linked with before -lX11, unlike the other
9837 # libraries we check for below, so use a different variable.
9838 # John Interrante, Karl Berry
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9840 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9841 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9842 $as_echo_n "(cached) " >&6
9843 else
9844 ac_check_lib_save_LIBS=$LIBS
9845 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9849 /* Override any GCC internal prototype to avoid an error.
9850 Use char because int might match the return type of a GCC
9851 builtin and then its argument prototype would still apply. */
9852 #ifdef __cplusplus
9853 extern "C"
9854 #endif
9855 char IceConnectionNumber ();
9857 main ()
9859 return IceConnectionNumber ();
9861 return 0;
9863 _ACEOF
9864 if ac_fn_c_try_link "$LINENO"; then :
9865 ac_cv_lib_ICE_IceConnectionNumber=yes
9866 else
9867 ac_cv_lib_ICE_IceConnectionNumber=no
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 LIBS=$ac_check_lib_save_LIBS
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9874 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9875 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9876 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9879 LDFLAGS=$ac_save_LDFLAGS
9884 if test "$have_x" = "yes"
9885 then
9886 ac_save_CPPFLAGS="$CPPFLAGS"
9887 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9890 $as_echo_n "checking for -lX11... " >&6; }
9891 if ${ac_cv_lib_soname_X11+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_check_soname_save_LIBS=$LIBS
9895 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9902 #ifdef __cplusplus
9903 extern "C"
9904 #endif
9905 char XCreateWindow ();
9907 main ()
9909 return XCreateWindow ();
9911 return 0;
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 case "$LIBEXT" in
9916 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9917 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'` ;;
9918 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9919 if ${ac_cv_lib_soname_X11:+false} :; then :
9920 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9921 fi ;;
9922 esac
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 LIBS=$ac_check_soname_save_LIBS
9928 if ${ac_cv_lib_soname_X11:+false} :; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9930 $as_echo "not found" >&6; }
9932 else
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9934 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9936 cat >>confdefs.h <<_ACEOF
9937 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9938 _ACEOF
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9943 $as_echo_n "checking for -lXext... " >&6; }
9944 if ${ac_cv_lib_soname_Xext+:} false; then :
9945 $as_echo_n "(cached) " >&6
9946 else
9947 ac_check_soname_save_LIBS=$LIBS
9948 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9952 /* Override any GCC internal prototype to avoid an error.
9953 Use char because int might match the return type of a GCC
9954 builtin and then its argument prototype would still apply. */
9955 #ifdef __cplusplus
9956 extern "C"
9957 #endif
9958 char XextCreateExtension ();
9960 main ()
9962 return XextCreateExtension ();
9964 return 0;
9966 _ACEOF
9967 if ac_fn_c_try_link "$LINENO"; then :
9968 case "$LIBEXT" in
9969 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9970 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'` ;;
9971 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9972 if ${ac_cv_lib_soname_Xext:+false} :; then :
9973 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9974 fi ;;
9975 esac
9977 rm -f core conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9979 LIBS=$ac_check_soname_save_LIBS
9981 if ${ac_cv_lib_soname_Xext:+false} :; then :
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9983 $as_echo "not found" >&6; }
9985 else
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9987 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9989 cat >>confdefs.h <<_ACEOF
9990 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9991 _ACEOF
9993 X_LIBS="$X_LIBS -lXext"
9995 X_LIBS="$X_LIBS -lX11"
9997 for ac_header in X11/Xlib.h \
9998 X11/XKBlib.h \
9999 X11/Xutil.h \
10000 X11/Xcursor/Xcursor.h \
10001 X11/extensions/shape.h \
10002 X11/extensions/XInput.h \
10003 X11/extensions/XInput2.h \
10004 X11/extensions/XShm.h \
10005 X11/extensions/Xcomposite.h \
10006 X11/extensions/Xfixes.h \
10007 X11/extensions/Xinerama.h \
10008 X11/extensions/Xrandr.h \
10009 X11/extensions/Xrender.h \
10010 X11/extensions/xf86vmode.h \
10011 X11/extensions/xf86vmproto.h
10012 do :
10013 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10014 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10015 # include <X11/Xlib.h>
10016 #endif
10017 #ifdef HAVE_X11_XUTIL_H
10018 # include <X11/Xutil.h>
10019 #endif
10021 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10022 cat >>confdefs.h <<_ACEOF
10023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10024 _ACEOF
10028 done
10031 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10032 then
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10034 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10035 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10036 $as_echo_n "(cached) " >&6
10037 else
10038 ac_check_lib_save_LIBS=$LIBS
10039 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10046 #ifdef __cplusplus
10047 extern "C"
10048 #endif
10049 char XkbQueryExtension ();
10051 main ()
10053 return XkbQueryExtension ();
10055 return 0;
10057 _ACEOF
10058 if ac_fn_c_try_link "$LINENO"; then :
10059 ac_cv_lib_X11_XkbQueryExtension=yes
10060 else
10061 ac_cv_lib_X11_XkbQueryExtension=no
10063 rm -f core conftest.err conftest.$ac_objext \
10064 conftest$ac_exeext conftest.$ac_ext
10065 LIBS=$ac_check_lib_save_LIBS
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10068 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10069 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10071 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10077 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10078 then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10080 $as_echo_n "checking for -lXcursor... " >&6; }
10081 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_check_soname_save_LIBS=$LIBS
10085 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10089 /* Override any GCC internal prototype to avoid an error.
10090 Use char because int might match the return type of a GCC
10091 builtin and then its argument prototype would still apply. */
10092 #ifdef __cplusplus
10093 extern "C"
10094 #endif
10095 char XcursorImageLoadCursor ();
10097 main ()
10099 return XcursorImageLoadCursor ();
10101 return 0;
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 case "$LIBEXT" in
10106 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10107 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'` ;;
10108 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10109 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10110 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10111 fi ;;
10112 esac
10114 rm -f core conftest.err conftest.$ac_objext \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_soname_save_LIBS
10118 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10120 $as_echo "not found" >&6; }
10122 else
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10124 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10126 cat >>confdefs.h <<_ACEOF
10127 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10128 _ACEOF
10133 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10134 case "x$with_xcursor" in
10135 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10136 xno) ;;
10137 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10138 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10139 esac
10143 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10144 then
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10146 $as_echo_n "checking for -lXi... " >&6; }
10147 if ${ac_cv_lib_soname_Xi+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_check_soname_save_LIBS=$LIBS
10151 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10158 #ifdef __cplusplus
10159 extern "C"
10160 #endif
10161 char XOpenDevice ();
10163 main ()
10165 return XOpenDevice ();
10167 return 0;
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 case "$LIBEXT" in
10172 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10173 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'` ;;
10174 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10175 if ${ac_cv_lib_soname_Xi:+false} :; then :
10176 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10177 fi ;;
10178 esac
10180 rm -f core conftest.err conftest.$ac_objext \
10181 conftest$ac_exeext conftest.$ac_ext
10182 LIBS=$ac_check_soname_save_LIBS
10184 if ${ac_cv_lib_soname_Xi:+false} :; then :
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10186 $as_echo "not found" >&6; }
10188 else
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10190 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10192 cat >>confdefs.h <<_ACEOF
10193 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10194 _ACEOF
10199 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10200 case "x$with_xinput" in
10201 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10202 xno) ;;
10203 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10204 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10205 esac
10209 if test "x$ac_cv_lib_soname_Xi" != x
10210 then
10211 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10212 case "x$with_xinput2" in
10213 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10214 xno) ;;
10215 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10216 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10217 esac
10222 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10223 then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10225 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10226 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10227 $as_echo_n "(cached) " >&6
10228 else
10229 ac_check_lib_save_LIBS=$LIBS
10230 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10237 #ifdef __cplusplus
10238 extern "C"
10239 #endif
10240 char XShmQueryExtension ();
10242 main ()
10244 return XShmQueryExtension ();
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_lib_Xext_XShmQueryExtension=yes
10251 else
10252 ac_cv_lib_Xext_XShmQueryExtension=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 LIBS=$ac_check_lib_save_LIBS
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10259 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10260 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10262 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10267 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10268 case "x$with_xshm" in
10269 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10270 xno) ;;
10271 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10272 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10273 esac
10277 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10278 then
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10280 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10281 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10282 $as_echo_n "(cached) " >&6
10283 else
10284 ac_check_lib_save_LIBS=$LIBS
10285 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10292 #ifdef __cplusplus
10293 extern "C"
10294 #endif
10295 char XShapeQueryExtension ();
10297 main ()
10299 return XShapeQueryExtension ();
10301 return 0;
10303 _ACEOF
10304 if ac_fn_c_try_link "$LINENO"; then :
10305 ac_cv_lib_Xext_XShapeQueryExtension=yes
10306 else
10307 ac_cv_lib_Xext_XShapeQueryExtension=no
10309 rm -f core conftest.err conftest.$ac_objext \
10310 conftest$ac_exeext conftest.$ac_ext
10311 LIBS=$ac_check_lib_save_LIBS
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10314 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10315 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10317 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10322 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10323 case "x$with_xshape" in
10324 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10325 xno) ;;
10326 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10327 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10328 esac
10332 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10333 then
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10335 $as_echo_n "checking for -lXxf86vm... " >&6; }
10336 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_check_soname_save_LIBS=$LIBS
10340 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10344 /* Override any GCC internal prototype to avoid an error.
10345 Use char because int might match the return type of a GCC
10346 builtin and then its argument prototype would still apply. */
10347 #ifdef __cplusplus
10348 extern "C"
10349 #endif
10350 char XF86VidModeQueryExtension ();
10352 main ()
10354 return XF86VidModeQueryExtension ();
10356 return 0;
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 case "$LIBEXT" in
10361 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10362 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'` ;;
10363 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10364 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10365 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10366 fi ;;
10367 esac
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 LIBS=$ac_check_soname_save_LIBS
10373 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10375 $as_echo "not found" >&6; }
10377 else
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10379 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10381 cat >>confdefs.h <<_ACEOF
10382 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10383 _ACEOF
10388 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10389 case "x$with_xxf86vm" in
10390 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10391 xno) ;;
10392 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10393 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10394 esac
10398 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10399 then
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10401 $as_echo_n "checking for -lXrender... " >&6; }
10402 if ${ac_cv_lib_soname_Xrender+:} false; then :
10403 $as_echo_n "(cached) " >&6
10404 else
10405 ac_check_soname_save_LIBS=$LIBS
10406 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10410 /* Override any GCC internal prototype to avoid an error.
10411 Use char because int might match the return type of a GCC
10412 builtin and then its argument prototype would still apply. */
10413 #ifdef __cplusplus
10414 extern "C"
10415 #endif
10416 char XRenderQueryExtension ();
10418 main ()
10420 return XRenderQueryExtension ();
10422 return 0;
10424 _ACEOF
10425 if ac_fn_c_try_link "$LINENO"; then :
10426 case "$LIBEXT" in
10427 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10428 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'` ;;
10429 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10430 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10431 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10432 fi ;;
10433 esac
10435 rm -f core conftest.err conftest.$ac_objext \
10436 conftest$ac_exeext conftest.$ac_ext
10437 LIBS=$ac_check_soname_save_LIBS
10439 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10441 $as_echo "not found" >&6; }
10443 else
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10445 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10447 cat >>confdefs.h <<_ACEOF
10448 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10449 _ACEOF
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10452 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10453 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10454 $as_echo_n "(cached) " >&6
10455 else
10456 ac_check_lib_save_LIBS=$LIBS
10457 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10461 /* Override any GCC internal prototype to avoid an error.
10462 Use char because int might match the return type of a GCC
10463 builtin and then its argument prototype would still apply. */
10464 #ifdef __cplusplus
10465 extern "C"
10466 #endif
10467 char XRenderSetPictureTransform ();
10469 main ()
10471 return XRenderSetPictureTransform ();
10473 return 0;
10475 _ACEOF
10476 if ac_fn_c_try_link "$LINENO"; then :
10477 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10478 else
10479 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10481 rm -f core conftest.err conftest.$ac_objext \
10482 conftest$ac_exeext conftest.$ac_ext
10483 LIBS=$ac_check_lib_save_LIBS
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10486 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10487 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10489 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10494 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10495 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10496 $as_echo_n "(cached) " >&6
10497 else
10498 ac_check_lib_save_LIBS=$LIBS
10499 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10503 /* Override any GCC internal prototype to avoid an error.
10504 Use char because int might match the return type of a GCC
10505 builtin and then its argument prototype would still apply. */
10506 #ifdef __cplusplus
10507 extern "C"
10508 #endif
10509 char XRenderCreateLinearGradient ();
10511 main ()
10513 return XRenderCreateLinearGradient ();
10515 return 0;
10517 _ACEOF
10518 if ac_fn_c_try_link "$LINENO"; then :
10519 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10520 else
10521 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10523 rm -f core conftest.err conftest.$ac_objext \
10524 conftest$ac_exeext conftest.$ac_ext
10525 LIBS=$ac_check_lib_save_LIBS
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10528 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10529 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10531 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10538 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10539 case "x$with_xrender" in
10540 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10541 xno) ;;
10542 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10543 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10544 esac
10548 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10549 then
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10552 #include <X11/Xlib.h>
10553 #include <X11/extensions/Xrandr.h>
10555 main ()
10557 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10559 return 0;
10561 _ACEOF
10562 if ac_fn_c_try_compile "$LINENO"; then :
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10564 $as_echo_n "checking for -lXrandr... " >&6; }
10565 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_check_soname_save_LIBS=$LIBS
10569 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10573 /* Override any GCC internal prototype to avoid an error.
10574 Use char because int might match the return type of a GCC
10575 builtin and then its argument prototype would still apply. */
10576 #ifdef __cplusplus
10577 extern "C"
10578 #endif
10579 char XRRQueryExtension ();
10581 main ()
10583 return XRRQueryExtension ();
10585 return 0;
10587 _ACEOF
10588 if ac_fn_c_try_link "$LINENO"; then :
10589 case "$LIBEXT" in
10590 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10591 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'` ;;
10592 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10593 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10594 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10595 fi ;;
10596 esac
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 LIBS=$ac_check_soname_save_LIBS
10602 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10604 $as_echo "not found" >&6; }
10606 else
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10608 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10610 cat >>confdefs.h <<_ACEOF
10611 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10612 _ACEOF
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10616 #include <X11/Xlib.h>
10617 #include <X11/extensions/Xrandr.h>
10619 main ()
10621 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10623 return 0;
10625 _ACEOF
10626 if ac_fn_c_try_compile "$LINENO"; then :
10628 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10636 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10637 case "x$with_xrandr" in
10638 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10639 xno) ;;
10640 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10641 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10642 esac
10646 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10647 then
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10650 #include <X11/Xlib.h>
10651 #include <X11/extensions/Xfixes.h>
10653 main ()
10655 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10657 return 0;
10659 _ACEOF
10660 if ac_fn_c_try_compile "$LINENO"; then :
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10662 $as_echo_n "checking for -lXfixes... " >&6; }
10663 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665 else
10666 ac_check_soname_save_LIBS=$LIBS
10667 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10674 #ifdef __cplusplus
10675 extern "C"
10676 #endif
10677 char XFixesQueryVersion ();
10679 main ()
10681 return XFixesQueryVersion ();
10683 return 0;
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"; then :
10687 case "$LIBEXT" in
10688 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10689 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'` ;;
10690 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10691 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10692 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10693 fi ;;
10694 esac
10696 rm -f core conftest.err conftest.$ac_objext \
10697 conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_soname_save_LIBS
10700 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10702 $as_echo "not found" >&6; }
10704 else
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10706 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10708 cat >>confdefs.h <<_ACEOF
10709 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10710 _ACEOF
10715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10717 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10718 case "x$with_xfixes" in
10719 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10720 xno) ;;
10721 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10722 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10723 esac
10727 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10728 then
10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10731 #include <X11/Xlib.h>
10732 #include <X11/extensions/Xinerama.h>
10734 main ()
10736 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10738 return 0;
10740 _ACEOF
10741 if ac_fn_c_try_compile "$LINENO"; then :
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10743 $as_echo_n "checking for -lXinerama... " >&6; }
10744 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_check_soname_save_LIBS=$LIBS
10748 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10755 #ifdef __cplusplus
10756 extern "C"
10757 #endif
10758 char XineramaQueryScreens ();
10760 main ()
10762 return XineramaQueryScreens ();
10764 return 0;
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 case "$LIBEXT" in
10769 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10770 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'` ;;
10771 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10772 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10773 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10774 fi ;;
10775 esac
10777 rm -f core conftest.err conftest.$ac_objext \
10778 conftest$ac_exeext conftest.$ac_ext
10779 LIBS=$ac_check_soname_save_LIBS
10781 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10783 $as_echo "not found" >&6; }
10785 else
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10787 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10789 cat >>confdefs.h <<_ACEOF
10790 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10791 _ACEOF
10796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10798 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10799 case "x$with_xinerama" in
10800 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10801 xno) ;;
10802 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10803 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10804 esac
10808 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10809 then
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10811 $as_echo_n "checking for -lXcomposite... " >&6; }
10812 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10813 $as_echo_n "(cached) " >&6
10814 else
10815 ac_check_soname_save_LIBS=$LIBS
10816 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10820 /* Override any GCC internal prototype to avoid an error.
10821 Use char because int might match the return type of a GCC
10822 builtin and then its argument prototype would still apply. */
10823 #ifdef __cplusplus
10824 extern "C"
10825 #endif
10826 char XCompositeRedirectWindow ();
10828 main ()
10830 return XCompositeRedirectWindow ();
10832 return 0;
10834 _ACEOF
10835 if ac_fn_c_try_link "$LINENO"; then :
10836 case "$LIBEXT" in
10837 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10838 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'` ;;
10839 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10840 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10841 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10842 fi ;;
10843 esac
10845 rm -f core conftest.err conftest.$ac_objext \
10846 conftest$ac_exeext conftest.$ac_ext
10847 LIBS=$ac_check_soname_save_LIBS
10849 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10851 $as_echo "not found" >&6; }
10853 else
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10855 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10857 cat >>confdefs.h <<_ACEOF
10858 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10859 _ACEOF
10864 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10865 case "x$with_xcomposite" in
10866 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10867 xno) ;;
10868 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10869 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10870 esac
10874 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10875 #include <X11/Xlib.h>
10876 #endif
10878 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10880 cat >>confdefs.h <<_ACEOF
10881 #define HAVE_XICCALLBACK_CALLBACK 1
10882 _ACEOF
10886 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10887 #include <X11/Xlib.h>
10888 #endif
10890 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10892 cat >>confdefs.h <<_ACEOF
10893 #define HAVE_XEVENT_XCOOKIE 1
10894 _ACEOF
10901 opengl_msg=""
10902 if test "x$with_opengl" != "xno"
10903 then
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10905 $as_echo_n "checking for -lGL... " >&6; }
10906 if ${ac_cv_lib_soname_GL+:} false; then :
10907 $as_echo_n "(cached) " >&6
10908 else
10909 ac_check_soname_save_LIBS=$LIBS
10910 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10914 /* Override any GCC internal prototype to avoid an error.
10915 Use char because int might match the return type of a GCC
10916 builtin and then its argument prototype would still apply. */
10917 #ifdef __cplusplus
10918 extern "C"
10919 #endif
10920 char glXCreateContext ();
10922 main ()
10924 return glXCreateContext ();
10926 return 0;
10928 _ACEOF
10929 if ac_fn_c_try_link "$LINENO"; then :
10930 case "$LIBEXT" in
10931 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10932 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'` ;;
10933 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10934 if ${ac_cv_lib_soname_GL:+false} :; then :
10935 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10936 fi ;;
10937 esac
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_soname_save_LIBS
10943 if ${ac_cv_lib_soname_GL:+false} :; then :
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10945 $as_echo "not found" >&6; }
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10947 $as_echo_n "checking for -lGL... " >&6; }
10948 if ${ac_cv_lib_soname_GL+:} false; then :
10949 $as_echo_n "(cached) " >&6
10950 else
10951 ac_check_soname_save_LIBS=$LIBS
10952 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"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10959 #ifdef __cplusplus
10960 extern "C"
10961 #endif
10962 char glXCreateContext ();
10964 main ()
10966 return glXCreateContext ();
10968 return 0;
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 case "$LIBEXT" in
10973 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10974 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'` ;;
10975 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10976 if ${ac_cv_lib_soname_GL:+false} :; then :
10977 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10978 fi ;;
10979 esac
10981 rm -f core conftest.err conftest.$ac_objext \
10982 conftest$ac_exeext conftest.$ac_ext
10983 LIBS=$ac_check_soname_save_LIBS
10985 if ${ac_cv_lib_soname_GL:+false} :; then :
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10987 $as_echo "not found" >&6; }
10988 if test -f /usr/X11R6/lib/libGL.a
10989 then
10990 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10991 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10992 else
10993 opengl_msg="No OpenGL library found on this system."
10995 else
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10997 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10999 cat >>confdefs.h <<_ACEOF
11000 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11001 _ACEOF
11003 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"
11005 else
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11007 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11009 cat >>confdefs.h <<_ACEOF
11010 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11011 _ACEOF
11013 OPENGL_LIBS="-lGL"
11015 if test "x$with_glu" != "xno"
11016 then
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11018 $as_echo_n "checking for -lGLU... " >&6; }
11019 if ${ac_cv_lib_soname_GLU+:} false; then :
11020 $as_echo_n "(cached) " >&6
11021 else
11022 ac_check_soname_save_LIBS=$LIBS
11023 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11030 #ifdef __cplusplus
11031 extern "C"
11032 #endif
11033 char gluLookAt ();
11035 main ()
11037 return gluLookAt ();
11039 return 0;
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"; then :
11043 case "$LIBEXT" in
11044 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11045 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'` ;;
11046 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11047 if ${ac_cv_lib_soname_GLU:+false} :; then :
11048 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11049 fi ;;
11050 esac
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_soname_save_LIBS
11056 if ${ac_cv_lib_soname_GLU:+false} :; then :
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11058 $as_echo "not found" >&6; }
11060 else
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11062 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11064 cat >>confdefs.h <<_ACEOF
11065 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11066 _ACEOF
11070 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11071 case "x$with_glu" in
11072 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11073 xno) ;;
11074 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11075 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11076 esac
11081 if test "x$with_osmesa" != "xno"
11082 then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11084 $as_echo_n "checking for -lOSMesa... " >&6; }
11085 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11086 $as_echo_n "(cached) " >&6
11087 else
11088 ac_check_soname_save_LIBS=$LIBS
11089 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11093 /* Override any GCC internal prototype to avoid an error.
11094 Use char because int might match the return type of a GCC
11095 builtin and then its argument prototype would still apply. */
11096 #ifdef __cplusplus
11097 extern "C"
11098 #endif
11099 char OSMesaGetProcAddress ();
11101 main ()
11103 return OSMesaGetProcAddress ();
11105 return 0;
11107 _ACEOF
11108 if ac_fn_c_try_link "$LINENO"; then :
11109 case "$LIBEXT" in
11110 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11111 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'` ;;
11112 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11113 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11114 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11115 fi ;;
11116 esac
11118 rm -f core conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_soname_save_LIBS
11122 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11124 $as_echo "not found" >&6; }
11126 else
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11128 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11130 cat >>confdefs.h <<_ACEOF
11131 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11132 _ACEOF
11136 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11137 case "x$with_osmesa" in
11138 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11139 xno) ;;
11140 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11141 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11142 esac
11147 if test -n "$opengl_msg"; then :
11148 case "x$with_opengl" in
11149 x) as_fn_append wine_warnings "|$opengl_msg
11150 OpenGL and Direct3D won't be supported." ;;
11151 xno) ;;
11152 *) as_fn_error $? "$opengl_msg
11153 OpenGL and Direct3D won't be supported.
11154 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11155 esac
11159 CPPFLAGS="$ac_save_CPPFLAGS"
11160 else
11161 X_CFLAGS=""
11162 X_LIBS=""
11165 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11166 then
11167 if test "x$X_LIBS" = "x"; then :
11168 case "x$with_x" in
11169 xno) ;;
11170 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11171 without X support, which probably isn't what you want. You will need
11172 to install ${notice_platform}development packages of Xlib at the very least.
11173 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11174 esac
11175 enable_winex11_drv=${enable_winex11_drv:-no}
11177 else
11178 if test "x$X_LIBS" = "x"; then :
11179 case "x$with_x" in
11180 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11181 xno) ;;
11182 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11183 This is an error since --with-x was requested." "$LINENO" 5 ;;
11184 esac
11185 enable_winex11_drv=${enable_winex11_drv:-no}
11189 if test "$ac_cv_header_CL_cl_h" = "yes"
11190 then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11192 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11193 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11194 $as_echo_n "(cached) " >&6
11195 else
11196 ac_check_lib_save_LIBS=$LIBS
11197 LIBS="-lOpenCL $LIBS"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11201 /* Override any GCC internal prototype to avoid an error.
11202 Use char because int might match the return type of a GCC
11203 builtin and then its argument prototype would still apply. */
11204 #ifdef __cplusplus
11205 extern "C"
11206 #endif
11207 char clGetPlatformInfo ();
11209 main ()
11211 return clGetPlatformInfo ();
11213 return 0;
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"; then :
11217 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11218 else
11219 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11221 rm -f core conftest.err conftest.$ac_objext \
11222 conftest$ac_exeext conftest.$ac_ext
11223 LIBS=$ac_check_lib_save_LIBS
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11226 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11227 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11228 OPENCL_LIBS="-lOpenCL"
11233 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11234 case "x$with_opencl" in
11235 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11236 xno) ;;
11237 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11238 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11239 esac
11240 enable_opencl=${enable_opencl:-no}
11243 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11244 then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11246 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11247 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lpcap $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char pcap_create ();
11263 main ()
11265 return pcap_create ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_pcap_pcap_create=yes
11272 else
11273 ac_cv_lib_pcap_pcap_create=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11280 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11281 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11282 PCAP_LIBS="-lpcap"
11287 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11288 case "x$with_pcap" in
11289 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11290 xno) ;;
11291 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11292 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11293 esac
11294 enable_wpcap=${enable_wpcap:-no}
11298 if test "x$with_xml" != "xno"
11299 then
11300 if ${XML2_CFLAGS:+false} :; then :
11301 if ${PKG_CONFIG+:} false; then :
11302 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11305 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11306 if ${XML2_LIBS:+false} :; then :
11307 if ${PKG_CONFIG+:} false; then :
11308 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11311 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11312 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11313 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11314 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11315 ac_save_CPPFLAGS=$CPPFLAGS
11316 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11317 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11318 do :
11319 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11320 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11322 cat >>confdefs.h <<_ACEOF
11323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11324 _ACEOF
11328 done
11330 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"
11331 then
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11333 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11334 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11335 $as_echo_n "(cached) " >&6
11336 else
11337 ac_check_lib_save_LIBS=$LIBS
11338 LIBS="-lxml2 $XML2_LIBS $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char xmlParseMemory ();
11350 main ()
11352 return xmlParseMemory ();
11354 return 0;
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 ac_cv_lib_xml2_xmlParseMemory=yes
11359 else
11360 ac_cv_lib_xml2_xmlParseMemory=no
11362 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11367 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11368 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11370 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11372 else
11373 XML2_LIBS=""
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11377 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11378 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_lib_save_LIBS=$LIBS
11382 LIBS="-lxml2 $XML2_LIBS $LIBS"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11386 /* Override any GCC internal prototype to avoid an error.
11387 Use char because int might match the return type of a GCC
11388 builtin and then its argument prototype would still apply. */
11389 #ifdef __cplusplus
11390 extern "C"
11391 #endif
11392 char xmlReadMemory ();
11394 main ()
11396 return xmlReadMemory ();
11398 return 0;
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"; then :
11402 ac_cv_lib_xml2_xmlReadMemory=yes
11403 else
11404 ac_cv_lib_xml2_xmlReadMemory=no
11406 rm -f core conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11408 LIBS=$ac_check_lib_save_LIBS
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11411 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11412 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11414 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11419 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11420 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11421 $as_echo_n "(cached) " >&6
11422 else
11423 ac_check_lib_save_LIBS=$LIBS
11424 LIBS="-lxml2 $XML2_LIBS $LIBS"
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11431 #ifdef __cplusplus
11432 extern "C"
11433 #endif
11434 char xmlNewDocPI ();
11436 main ()
11438 return xmlNewDocPI ();
11440 return 0;
11442 _ACEOF
11443 if ac_fn_c_try_link "$LINENO"; then :
11444 ac_cv_lib_xml2_xmlNewDocPI=yes
11445 else
11446 ac_cv_lib_xml2_xmlNewDocPI=no
11448 rm -f core conftest.err conftest.$ac_objext \
11449 conftest$ac_exeext conftest.$ac_ext
11450 LIBS=$ac_check_lib_save_LIBS
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11453 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11454 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11456 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11461 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11462 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11463 $as_echo_n "(cached) " >&6
11464 else
11465 ac_check_lib_save_LIBS=$LIBS
11466 LIBS="-lxml2 $XML2_LIBS $LIBS"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11473 #ifdef __cplusplus
11474 extern "C"
11475 #endif
11476 char xmlSchemaSetParserStructuredErrors ();
11478 main ()
11480 return xmlSchemaSetParserStructuredErrors ();
11482 return 0;
11484 _ACEOF
11485 if ac_fn_c_try_link "$LINENO"; then :
11486 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11487 else
11488 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11490 rm -f core conftest.err conftest.$ac_objext \
11491 conftest$ac_exeext conftest.$ac_ext
11492 LIBS=$ac_check_lib_save_LIBS
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11495 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11496 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11498 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11503 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11504 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11505 $as_echo_n "(cached) " >&6
11506 else
11507 ac_check_lib_save_LIBS=$LIBS
11508 LIBS="-lxml2 $XML2_LIBS $LIBS"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11512 /* Override any GCC internal prototype to avoid an error.
11513 Use char because int might match the return type of a GCC
11514 builtin and then its argument prototype would still apply. */
11515 #ifdef __cplusplus
11516 extern "C"
11517 #endif
11518 char xmlSchemaSetValidStructuredErrors ();
11520 main ()
11522 return xmlSchemaSetValidStructuredErrors ();
11524 return 0;
11526 _ACEOF
11527 if ac_fn_c_try_link "$LINENO"; then :
11528 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11529 else
11530 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11532 rm -f core conftest.err conftest.$ac_objext \
11533 conftest$ac_exeext conftest.$ac_ext
11534 LIBS=$ac_check_lib_save_LIBS
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11537 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11538 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11540 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11545 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11546 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11547 $as_echo_n "(cached) " >&6
11548 else
11549 ac_check_lib_save_LIBS=$LIBS
11550 LIBS="-lxml2 $XML2_LIBS $LIBS"
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11557 #ifdef __cplusplus
11558 extern "C"
11559 #endif
11560 char xmlFirstElementChild ();
11562 main ()
11564 return xmlFirstElementChild ();
11566 return 0;
11568 _ACEOF
11569 if ac_fn_c_try_link "$LINENO"; then :
11570 ac_cv_lib_xml2_xmlFirstElementChild=yes
11571 else
11572 ac_cv_lib_xml2_xmlFirstElementChild=no
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11579 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11580 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11582 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11586 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11588 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11590 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11594 else
11595 XML2_CFLAGS=""
11596 XML2_LIBS=""
11598 CPPFLAGS=$ac_save_CPPFLAGS
11599 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11600 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11603 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11604 case "x$with_xml" in
11605 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11606 xno) ;;
11607 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11608 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11609 esac
11613 if test "x$with_xslt" != "xno"
11614 then
11615 if ${XSLT_CFLAGS:+false} :; then :
11616 if ${PKG_CONFIG+:} false; then :
11617 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11620 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11621 if ${XSLT_LIBS:+false} :; then :
11622 if ${PKG_CONFIG+:} false; then :
11623 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11626 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11627 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11628 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11629 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11630 ac_save_CPPFLAGS=$CPPFLAGS
11631 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11632 for ac_header in libxslt/pattern.h libxslt/transform.h
11633 do :
11634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11635 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11636 # include <libxslt/pattern.h>
11637 #endif
11639 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11640 cat >>confdefs.h <<_ACEOF
11641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11642 _ACEOF
11646 done
11648 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11649 then
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11651 $as_echo_n "checking for -lxslt... " >&6; }
11652 if ${ac_cv_lib_soname_xslt+:} false; then :
11653 $as_echo_n "(cached) " >&6
11654 else
11655 ac_check_soname_save_LIBS=$LIBS
11656 LIBS="-lxslt $XSLT_LIBS $LIBS"
11657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11660 /* Override any GCC internal prototype to avoid an error.
11661 Use char because int might match the return type of a GCC
11662 builtin and then its argument prototype would still apply. */
11663 #ifdef __cplusplus
11664 extern "C"
11665 #endif
11666 char xsltCompilePattern ();
11668 main ()
11670 return xsltCompilePattern ();
11672 return 0;
11674 _ACEOF
11675 if ac_fn_c_try_link "$LINENO"; then :
11676 case "$LIBEXT" in
11677 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11678 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'` ;;
11679 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11680 if ${ac_cv_lib_soname_xslt:+false} :; then :
11681 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11682 fi ;;
11683 esac
11685 rm -f core conftest.err conftest.$ac_objext \
11686 conftest$ac_exeext conftest.$ac_ext
11687 LIBS=$ac_check_soname_save_LIBS
11689 if ${ac_cv_lib_soname_xslt:+false} :; then :
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11691 $as_echo "not found" >&6; }
11693 else
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11695 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11697 cat >>confdefs.h <<_ACEOF
11698 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11699 _ACEOF
11703 else
11704 XSLT_CFLAGS=""
11706 CPPFLAGS=$ac_save_CPPFLAGS
11707 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11708 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11711 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11712 case "x$with_xslt" in
11713 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11714 xno) ;;
11715 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11716 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11717 esac
11721 if test "x$with_dbus" != "xno"
11722 then
11723 if ${DBUS_CFLAGS:+false} :; then :
11724 if ${PKG_CONFIG+:} false; then :
11725 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11729 if ${DBUS_LIBS:+false} :; then :
11730 if ${PKG_CONFIG+:} false; then :
11731 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11736 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11737 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11738 ac_save_CPPFLAGS=$CPPFLAGS
11739 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11740 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11741 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11743 $as_echo_n "checking for -ldbus-1... " >&6; }
11744 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11745 $as_echo_n "(cached) " >&6
11746 else
11747 ac_check_soname_save_LIBS=$LIBS
11748 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11752 /* Override any GCC internal prototype to avoid an error.
11753 Use char because int might match the return type of a GCC
11754 builtin and then its argument prototype would still apply. */
11755 #ifdef __cplusplus
11756 extern "C"
11757 #endif
11758 char dbus_connection_close ();
11760 main ()
11762 return dbus_connection_close ();
11764 return 0;
11766 _ACEOF
11767 if ac_fn_c_try_link "$LINENO"; then :
11768 case "$LIBEXT" in
11769 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11770 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'` ;;
11771 *) 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'`
11772 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11773 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11774 fi ;;
11775 esac
11777 rm -f core conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11779 LIBS=$ac_check_soname_save_LIBS
11781 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11783 $as_echo "not found" >&6; }
11784 DBUS_CFLAGS=""
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11787 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11789 cat >>confdefs.h <<_ACEOF
11790 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11791 _ACEOF
11795 else
11796 DBUS_CFLAGS=""
11800 CPPFLAGS=$ac_save_CPPFLAGS
11801 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11802 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11805 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11806 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11807 case "x$with_dbus" in
11808 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11809 xno) ;;
11810 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11811 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11812 esac
11816 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11817 then
11818 if ${HAL_CFLAGS:+false} :; then :
11819 if ${PKG_CONFIG+:} false; then :
11820 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11824 if ${HAL_LIBS:+false} :; then :
11825 if ${PKG_CONFIG+:} false; then :
11826 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11830 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11831 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11832 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11833 ac_save_CPPFLAGS=$CPPFLAGS
11834 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11835 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11836 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11838 $as_echo_n "checking for -lhal... " >&6; }
11839 if ${ac_cv_lib_soname_hal+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 ac_check_soname_save_LIBS=$LIBS
11843 LIBS="-lhal $HAL_LIBS $LIBS"
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11850 #ifdef __cplusplus
11851 extern "C"
11852 #endif
11853 char libhal_ctx_new ();
11855 main ()
11857 return libhal_ctx_new ();
11859 return 0;
11861 _ACEOF
11862 if ac_fn_c_try_link "$LINENO"; then :
11863 case "$LIBEXT" in
11864 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11865 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'` ;;
11866 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11867 if ${ac_cv_lib_soname_hal:+false} :; then :
11868 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11869 fi ;;
11870 esac
11872 rm -f core conftest.err conftest.$ac_objext \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_soname_save_LIBS
11876 if ${ac_cv_lib_soname_hal:+false} :; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11878 $as_echo "not found" >&6; }
11879 HAL_CFLAGS=""
11880 else
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11882 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11884 cat >>confdefs.h <<_ACEOF
11885 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11886 _ACEOF
11890 else
11891 HAL_CFLAGS=""
11895 CPPFLAGS=$ac_save_CPPFLAGS
11896 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11897 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11899 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11900 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11901 case "x$with_hal" in
11902 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11903 xno) ;;
11904 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11905 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11906 esac
11911 if test "x$with_gnutls" != "xno"
11912 then
11913 if ${GNUTLS_CFLAGS:+false} :; then :
11914 if ${PKG_CONFIG+:} false; then :
11915 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11919 if ${GNUTLS_LIBS:+false} :; then :
11920 if ${PKG_CONFIG+:} false; then :
11921 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11926 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11927 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11928 ac_save_CPPFLAGS=$CPPFLAGS
11929 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11930 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11931 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11934 #include <gnutls/gnutls.h>
11935 #include <gnutls/crypto.h>
11937 main ()
11939 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11941 return 0;
11943 _ACEOF
11944 if ac_fn_c_try_compile "$LINENO"; then :
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11946 $as_echo_n "checking for -lgnutls... " >&6; }
11947 if ${ac_cv_lib_soname_gnutls+:} false; then :
11948 $as_echo_n "(cached) " >&6
11949 else
11950 ac_check_soname_save_LIBS=$LIBS
11951 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11955 /* Override any GCC internal prototype to avoid an error.
11956 Use char because int might match the return type of a GCC
11957 builtin and then its argument prototype would still apply. */
11958 #ifdef __cplusplus
11959 extern "C"
11960 #endif
11961 char gnutls_global_init ();
11963 main ()
11965 return gnutls_global_init ();
11967 return 0;
11969 _ACEOF
11970 if ac_fn_c_try_link "$LINENO"; then :
11971 case "$LIBEXT" in
11972 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11973 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'` ;;
11974 *) 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'`
11975 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11976 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'`
11977 fi ;;
11978 esac
11980 rm -f core conftest.err conftest.$ac_objext \
11981 conftest$ac_exeext conftest.$ac_ext
11982 LIBS=$ac_check_soname_save_LIBS
11984 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11986 $as_echo "not found" >&6; }
11987 GNUTLS_CFLAGS=""
11988 else
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11990 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11992 cat >>confdefs.h <<_ACEOF
11993 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11994 _ACEOF
11998 ac_wine_check_funcs_save_LIBS="$LIBS"
11999 LIBS="$LIBS $GNUTLS_LIBS"
12000 for ac_func in gnutls_cipher_init
12001 do :
12002 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12003 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12004 cat >>confdefs.h <<_ACEOF
12005 #define HAVE_GNUTLS_CIPHER_INIT 1
12006 _ACEOF
12008 else
12009 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12011 done
12013 LIBS="$ac_wine_check_funcs_save_LIBS"
12015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12016 else
12017 GNUTLS_CFLAGS=""
12021 CPPFLAGS=$ac_save_CPPFLAGS
12022 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12023 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12026 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12027 case "x$with_gnutls" in
12028 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12029 xno) ;;
12030 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12031 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12032 esac
12036 CURSES_LIBS=""
12037 if test "$ac_cv_header_ncurses_h" = "yes"
12038 then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12040 $as_echo_n "checking for -lncurses... " >&6; }
12041 if ${ac_cv_lib_soname_ncurses+:} false; then :
12042 $as_echo_n "(cached) " >&6
12043 else
12044 ac_check_soname_save_LIBS=$LIBS
12045 LIBS="-lncurses $LIBS"
12046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12049 /* Override any GCC internal prototype to avoid an error.
12050 Use char because int might match the return type of a GCC
12051 builtin and then its argument prototype would still apply. */
12052 #ifdef __cplusplus
12053 extern "C"
12054 #endif
12055 char waddch ();
12057 main ()
12059 return waddch ();
12061 return 0;
12063 _ACEOF
12064 if ac_fn_c_try_link "$LINENO"; then :
12065 case "$LIBEXT" in
12066 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12067 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'` ;;
12068 *) 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'`
12069 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12070 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12071 fi ;;
12072 esac
12074 rm -f core conftest.err conftest.$ac_objext \
12075 conftest$ac_exeext conftest.$ac_ext
12076 LIBS=$ac_check_soname_save_LIBS
12078 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12080 $as_echo "not found" >&6; }
12082 else
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12084 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12086 cat >>confdefs.h <<_ACEOF
12087 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12088 _ACEOF
12090 CURSES_LIBS="-lncurses"
12092 elif test "$ac_cv_header_curses_h" = "yes"
12093 then
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12095 $as_echo_n "checking for -lcurses... " >&6; }
12096 if ${ac_cv_lib_soname_curses+:} false; then :
12097 $as_echo_n "(cached) " >&6
12098 else
12099 ac_check_soname_save_LIBS=$LIBS
12100 LIBS="-lcurses $LIBS"
12101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12102 /* end confdefs.h. */
12104 /* Override any GCC internal prototype to avoid an error.
12105 Use char because int might match the return type of a GCC
12106 builtin and then its argument prototype would still apply. */
12107 #ifdef __cplusplus
12108 extern "C"
12109 #endif
12110 char waddch ();
12112 main ()
12114 return waddch ();
12116 return 0;
12118 _ACEOF
12119 if ac_fn_c_try_link "$LINENO"; then :
12120 case "$LIBEXT" in
12121 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12122 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'` ;;
12123 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12124 if ${ac_cv_lib_soname_curses:+false} :; then :
12125 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12126 fi ;;
12127 esac
12129 rm -f core conftest.err conftest.$ac_objext \
12130 conftest$ac_exeext conftest.$ac_ext
12131 LIBS=$ac_check_soname_save_LIBS
12133 if ${ac_cv_lib_soname_curses:+false} :; then :
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12135 $as_echo "not found" >&6; }
12137 else
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12139 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12141 cat >>confdefs.h <<_ACEOF
12142 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12143 _ACEOF
12145 CURSES_LIBS="-lcurses"
12148 ac_save_LIBS="$LIBS"
12149 LIBS="$LIBS $CURSES_LIBS"
12150 for ac_func in mousemask
12151 do :
12152 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12153 if test "x$ac_cv_func_mousemask" = xyes; then :
12154 cat >>confdefs.h <<_ACEOF
12155 #define HAVE_MOUSEMASK 1
12156 _ACEOF
12159 done
12161 LIBS="$ac_save_LIBS"
12162 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12163 case "x$with_curses" in
12164 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12165 xno) ;;
12166 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12167 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12168 esac
12172 if test "x$with_sane" != "xno"
12173 then
12174 if ${SANE_CFLAGS:+false} :; then :
12175 if ${PKG_CONFIG+:} false; then :
12176 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12179 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12180 if ${SANE_LIBS:+false} :; then :
12181 if ${PKG_CONFIG+:} false; then :
12182 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12185 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12187 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12188 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12189 ac_save_CPPFLAGS=$CPPFLAGS
12190 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12191 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12192 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12194 $as_echo_n "checking for -lsane... " >&6; }
12195 if ${ac_cv_lib_soname_sane+:} false; then :
12196 $as_echo_n "(cached) " >&6
12197 else
12198 ac_check_soname_save_LIBS=$LIBS
12199 LIBS="-lsane $SANE_LIBS $LIBS"
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12203 /* Override any GCC internal prototype to avoid an error.
12204 Use char because int might match the return type of a GCC
12205 builtin and then its argument prototype would still apply. */
12206 #ifdef __cplusplus
12207 extern "C"
12208 #endif
12209 char sane_init ();
12211 main ()
12213 return sane_init ();
12215 return 0;
12217 _ACEOF
12218 if ac_fn_c_try_link "$LINENO"; then :
12219 case "$LIBEXT" in
12220 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12221 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'` ;;
12222 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12223 if ${ac_cv_lib_soname_sane:+false} :; then :
12224 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12225 fi ;;
12226 esac
12228 rm -f core conftest.err conftest.$ac_objext \
12229 conftest$ac_exeext conftest.$ac_ext
12230 LIBS=$ac_check_soname_save_LIBS
12232 if ${ac_cv_lib_soname_sane:+false} :; then :
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12234 $as_echo "not found" >&6; }
12235 SANE_CFLAGS=""
12236 else
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12238 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12240 cat >>confdefs.h <<_ACEOF
12241 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12242 _ACEOF
12246 else
12247 SANE_CFLAGS=""
12251 CPPFLAGS=$ac_save_CPPFLAGS
12252 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12253 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12256 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12257 case "x$with_sane" in
12258 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12259 xno) ;;
12260 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12261 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12262 esac
12266 if test "x$with_v4l" != "xno"
12267 then
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12269 $as_echo_n "checking for -lv4l1... " >&6; }
12270 if ${ac_cv_lib_soname_v4l1+:} false; then :
12271 $as_echo_n "(cached) " >&6
12272 else
12273 ac_check_soname_save_LIBS=$LIBS
12274 LIBS="-lv4l1 $LIBS"
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12278 /* Override any GCC internal prototype to avoid an error.
12279 Use char because int might match the return type of a GCC
12280 builtin and then its argument prototype would still apply. */
12281 #ifdef __cplusplus
12282 extern "C"
12283 #endif
12284 char v4l1_open ();
12286 main ()
12288 return v4l1_open ();
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_link "$LINENO"; then :
12294 case "$LIBEXT" in
12295 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12296 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'` ;;
12297 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12298 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12299 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12300 fi ;;
12301 esac
12303 rm -f core conftest.err conftest.$ac_objext \
12304 conftest$ac_exeext conftest.$ac_ext
12305 LIBS=$ac_check_soname_save_LIBS
12307 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12309 $as_echo "not found" >&6; }
12311 else
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12313 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12315 cat >>confdefs.h <<_ACEOF
12316 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12317 _ACEOF
12322 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12323 case "x$with_v4l" in
12324 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12325 xno) ;;
12326 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12327 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12328 esac
12332 if test "x$with_gphoto" != "xno"
12333 then
12334 if ${GPHOTO2_CFLAGS:+false} :; then :
12335 if ${PKG_CONFIG+:} false; then :
12336 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12339 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12340 if ${GPHOTO2_LIBS:+false} :; then :
12341 if ${PKG_CONFIG+:} false; then :
12342 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12345 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12346 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12347 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12348 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12349 ac_save_CPPFLAGS=$CPPFLAGS
12350 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12351 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12352 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12354 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12355 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12356 $as_echo_n "(cached) " >&6
12357 else
12358 ac_check_lib_save_LIBS=$LIBS
12359 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12366 #ifdef __cplusplus
12367 extern "C"
12368 #endif
12369 char gp_camera_new ();
12371 main ()
12373 return gp_camera_new ();
12375 return 0;
12377 _ACEOF
12378 if ac_fn_c_try_link "$LINENO"; then :
12379 ac_cv_lib_gphoto2_gp_camera_new=yes
12380 else
12381 ac_cv_lib_gphoto2_gp_camera_new=no
12383 rm -f core conftest.err conftest.$ac_objext \
12384 conftest$ac_exeext conftest.$ac_ext
12385 LIBS=$ac_check_lib_save_LIBS
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12388 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12389 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12391 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12393 else
12394 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12397 else
12398 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12402 CPPFLAGS=$ac_save_CPPFLAGS
12403 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12404 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12406 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12407 if ${PKG_CONFIG+:} false; then :
12408 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12411 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12412 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12413 if ${PKG_CONFIG+:} false; then :
12414 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12417 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12418 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12419 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12420 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12421 ac_save_CPPFLAGS=$CPPFLAGS
12422 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12423 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12424 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12426 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12427 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12428 $as_echo_n "(cached) " >&6
12429 else
12430 ac_check_lib_save_LIBS=$LIBS
12431 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12435 /* Override any GCC internal prototype to avoid an error.
12436 Use char because int might match the return type of a GCC
12437 builtin and then its argument prototype would still apply. */
12438 #ifdef __cplusplus
12439 extern "C"
12440 #endif
12441 char gp_port_info_list_new ();
12443 main ()
12445 return gp_port_info_list_new ();
12447 return 0;
12449 _ACEOF
12450 if ac_fn_c_try_link "$LINENO"; then :
12451 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12452 else
12453 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12455 rm -f core conftest.err conftest.$ac_objext \
12456 conftest$ac_exeext conftest.$ac_ext
12457 LIBS=$ac_check_lib_save_LIBS
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12460 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12461 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12463 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12465 else
12466 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12469 else
12470 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12474 CPPFLAGS=$ac_save_CPPFLAGS
12475 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12476 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12479 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12480 case "x$with_gphoto" in
12481 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12482 xno) ;;
12483 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12484 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12485 esac
12488 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12489 case "x$with_gphoto" in
12490 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12491 xno) ;;
12492 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12493 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12494 esac
12499 if test "$ac_cv_header_resolv_h" = "yes"
12500 then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12502 $as_echo_n "checking for resolver library... " >&6; }
12503 if ${ac_cv_have_resolv+:} false; then :
12504 $as_echo_n "(cached) " >&6
12505 else
12506 ac_save_LIBS="$LIBS"
12507 for lib in '' -lresolv
12509 LIBS="$lib $ac_save_LIBS"
12510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12511 /* end confdefs.h. */
12512 #ifdef HAVE_NETINET_IN_H
12513 #include <netinet/in.h>
12514 #endif
12515 #include <resolv.h>
12517 main ()
12519 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12521 return 0;
12523 _ACEOF
12524 if ac_fn_c_try_link "$LINENO"; then :
12525 ac_cv_have_resolv=${lib:-"none required"}
12526 else
12527 ac_cv_have_resolv="not found"
12529 rm -f core conftest.err conftest.$ac_objext \
12530 conftest$ac_exeext conftest.$ac_ext
12531 test "x$ac_cv_have_resolv" = "xnot found" || break
12532 done
12533 LIBS="$ac_save_LIBS"
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12536 $as_echo "$ac_cv_have_resolv" >&6; }
12538 case "$ac_cv_have_resolv" in
12539 "not found") ;;
12540 "none required")
12542 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12545 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12547 RESOLV_LIBS=$ac_cv_have_resolv
12549 esac
12552 if test "x$with_cms" != "xno"
12553 then
12554 if ${LCMS2_CFLAGS:+false} :; then :
12555 if ${PKG_CONFIG+:} false; then :
12556 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12560 if ${LCMS2_LIBS:+false} :; then :
12561 if ${PKG_CONFIG+:} false; then :
12562 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12566 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12567 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12568 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12569 ac_save_CPPFLAGS=$CPPFLAGS
12570 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12571 for ac_header in lcms2.h
12572 do :
12573 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12574 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12575 cat >>confdefs.h <<_ACEOF
12576 #define HAVE_LCMS2_H 1
12577 _ACEOF
12581 done
12583 if test "$ac_cv_header_lcms2_h" = "yes"
12584 then
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12586 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12587 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12588 $as_echo_n "(cached) " >&6
12589 else
12590 ac_check_lib_save_LIBS=$LIBS
12591 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 /* Override any GCC internal prototype to avoid an error.
12596 Use char because int might match the return type of a GCC
12597 builtin and then its argument prototype would still apply. */
12598 #ifdef __cplusplus
12599 extern "C"
12600 #endif
12601 char cmsOpenProfileFromFile ();
12603 main ()
12605 return cmsOpenProfileFromFile ();
12607 return 0;
12609 _ACEOF
12610 if ac_fn_c_try_link "$LINENO"; then :
12611 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12612 else
12613 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12615 rm -f core conftest.err conftest.$ac_objext \
12616 conftest$ac_exeext conftest.$ac_ext
12617 LIBS=$ac_check_lib_save_LIBS
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12620 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12621 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12623 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12625 else
12626 LCMS2_LIBS=""
12629 else
12630 LCMS2_CFLAGS=""
12631 LCMS2_LIBS=""
12633 CPPFLAGS=$ac_save_CPPFLAGS
12634 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12635 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12638 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12639 case "x$with_cms" in
12640 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12641 xno) ;;
12642 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12643 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12644 esac
12648 if test "x$with_freetype" != "xno"
12649 then
12650 if ${FREETYPE_CFLAGS:+false} :; then :
12651 if ${PKG_CONFIG+:} false; then :
12652 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12655 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12656 if ${FREETYPE_LIBS:+false} :; then :
12657 if ${PKG_CONFIG+:} false; then :
12658 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12661 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12662 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12663 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12664 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12665 ac_save_CPPFLAGS=$CPPFLAGS
12666 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12667 for ac_header in ft2build.h
12668 do :
12669 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12670 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12671 cat >>confdefs.h <<_ACEOF
12672 #define HAVE_FT2BUILD_H 1
12673 _ACEOF
12677 done
12679 if test "$ac_cv_header_ft2build_h" = "yes"
12680 then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12682 $as_echo_n "checking for -lfreetype... " >&6; }
12683 if ${ac_cv_lib_soname_freetype+:} false; then :
12684 $as_echo_n "(cached) " >&6
12685 else
12686 ac_check_soname_save_LIBS=$LIBS
12687 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12691 /* Override any GCC internal prototype to avoid an error.
12692 Use char because int might match the return type of a GCC
12693 builtin and then its argument prototype would still apply. */
12694 #ifdef __cplusplus
12695 extern "C"
12696 #endif
12697 char FT_Init_FreeType ();
12699 main ()
12701 return FT_Init_FreeType ();
12703 return 0;
12705 _ACEOF
12706 if ac_fn_c_try_link "$LINENO"; then :
12707 case "$LIBEXT" in
12708 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12709 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'` ;;
12710 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12711 if ${ac_cv_lib_soname_freetype:+false} :; then :
12712 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12713 fi ;;
12714 esac
12716 rm -f core conftest.err conftest.$ac_objext \
12717 conftest$ac_exeext conftest.$ac_ext
12718 LIBS=$ac_check_soname_save_LIBS
12720 if ${ac_cv_lib_soname_freetype:+false} :; then :
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12722 $as_echo "not found" >&6; }
12723 FREETYPE_LIBS=""
12724 else
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12726 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12728 cat >>confdefs.h <<_ACEOF
12729 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12730 _ACEOF
12733 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12735 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12736 #include FT_MODULE_H
12738 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12740 cat >>confdefs.h <<_ACEOF
12741 #define HAVE_FT_TRUETYPEENGINETYPE 1
12742 _ACEOF
12748 else
12749 FREETYPE_CFLAGS=""
12750 FREETYPE_LIBS=""
12752 CPPFLAGS=$ac_save_CPPFLAGS
12753 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12754 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12757 if test "x$ac_cv_lib_soname_freetype" = x; then :
12758 case "x$with_freetype" in
12759 xno) ;;
12760 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12761 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12762 esac
12763 enable_fonts=${enable_fonts:-no}
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12767 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12768 if ${ac_cv_c_ppdev+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12773 #ifdef HAVE_SYS_IOCTL_H
12774 # include <sys/ioctl.h>
12775 #endif
12776 #include <linux/ppdev.h>
12778 main ()
12780 ioctl (1,PPCLAIM,0)
12782 return 0;
12784 _ACEOF
12785 if ac_fn_c_try_compile "$LINENO"; then :
12786 ac_cv_c_ppdev="yes"
12787 else
12788 ac_cv_c_ppdev="no"
12790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12793 $as_echo "$ac_cv_c_ppdev" >&6; }
12794 if test "$ac_cv_c_ppdev" = "yes"
12795 then
12797 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12801 ac_wine_check_funcs_save_LIBS="$LIBS"
12802 LIBS="$LIBS $PTHREAD_LIBS"
12803 for ac_func in \
12804 pthread_attr_get_np \
12805 pthread_getattr_np \
12806 pthread_getthreadid_np \
12807 pthread_get_stackaddr_np \
12808 pthread_get_stacksize_np
12809 do :
12810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12812 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12813 cat >>confdefs.h <<_ACEOF
12814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12815 _ACEOF
12818 done
12820 LIBS="$ac_wine_check_funcs_save_LIBS"
12822 if test "$ac_cv_header_zlib_h" = "yes"
12823 then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12825 $as_echo_n "checking for inflate in -lz... " >&6; }
12826 if ${ac_cv_lib_z_inflate+:} false; then :
12827 $as_echo_n "(cached) " >&6
12828 else
12829 ac_check_lib_save_LIBS=$LIBS
12830 LIBS="-lz $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12837 #ifdef __cplusplus
12838 extern "C"
12839 #endif
12840 char inflate ();
12842 main ()
12844 return inflate ();
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_link "$LINENO"; then :
12850 ac_cv_lib_z_inflate=yes
12851 else
12852 ac_cv_lib_z_inflate=no
12854 rm -f core conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12856 LIBS=$ac_check_lib_save_LIBS
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12859 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12860 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12862 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12864 Z_LIBS="-lz"
12869 if test "x$Z_LIBS" = "x"; then :
12870 case "x$with_zlib" in
12871 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12872 xno) ;;
12873 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12874 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12875 esac
12879 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12880 then
12881 if test "$ac_cv_header_gettext_po_h" = "yes"
12882 then
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12884 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12885 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12886 $as_echo_n "(cached) " >&6
12887 else
12888 ac_check_lib_save_LIBS=$LIBS
12889 LIBS="-lgettextpo $LIBS"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char po_message_msgctxt ();
12901 main ()
12903 return po_message_msgctxt ();
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_link "$LINENO"; then :
12909 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12910 else
12911 ac_cv_lib_gettextpo_po_message_msgctxt=no
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_lib_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12918 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12919 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12921 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12923 GETTEXTPO_LIBS="-lgettextpo"
12928 if test "x$GETTEXTPO_LIBS" = "x"; then :
12929 case "x$with_gettextpo" in
12930 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12931 xno) ;;
12932 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12933 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12934 esac
12937 if test "$srcdir" != .; then :
12938 case "x$with_gettextpo" in
12939 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12940 xno) ;;
12941 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12942 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12943 esac
12948 if test "x$with_pulse" != "xno";
12949 then
12950 if ${PULSE_CFLAGS:+false} :; then :
12951 if ${PKG_CONFIG+:} false; then :
12952 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12956 if ${PULSE_LIBS:+false} :; then :
12957 if ${PKG_CONFIG+:} false; then :
12958 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12963 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12964 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12965 ac_save_CPPFLAGS=$CPPFLAGS
12966 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12967 for ac_header in pulse/pulseaudio.h
12968 do :
12969 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12970 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12971 cat >>confdefs.h <<_ACEOF
12972 #define HAVE_PULSE_PULSEAUDIO_H 1
12973 _ACEOF
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12975 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12976 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-lpulse $PULSE_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char pa_stream_is_corked ();
12992 main ()
12994 return pa_stream_is_corked ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_lib_pulse_pa_stream_is_corked=yes
13001 else
13002 ac_cv_lib_pulse_pa_stream_is_corked=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 LIBS=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13009 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13010 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13012 else
13013 PULSE_LIBS=""
13016 else
13017 PULSE_LIBS=""
13020 done
13022 CPPFLAGS=$ac_save_CPPFLAGS
13023 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13024 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13027 if test -z "$PULSE_LIBS"; then :
13028 case "x$with_pulse" in
13029 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13030 xno) ;;
13031 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13032 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13033 esac
13034 enable_winepulse_drv=${enable_winepulse_drv:-no}
13037 if test "x$with_gstreamer" != "xno"
13038 then
13039 if ${GSTREAMER_CFLAGS:+false} :; then :
13040 if ${PKG_CONFIG+:} false; then :
13041 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13045 if ${GSTREAMER_LIBS:+false} :; then :
13046 if ${PKG_CONFIG+:} false; then :
13047 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13052 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13053 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13054 ac_save_CPPFLAGS=$CPPFLAGS
13055 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13056 ac_gst_incl=""
13057 for i in $GSTREAMER_CFLAGS
13059 case "$i" in
13060 -I*) ac_gst_incl="$ac_gst_incl $i";;
13061 esac
13062 done
13063 GSTREAMER_CFLAGS=$ac_gst_incl
13064 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13065 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13066 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13068 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13071 #include <gst/gst.h>
13073 main ()
13075 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_compile "$LINENO"; then :
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13082 $as_echo "yes" >&6; }
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13084 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13085 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13086 $as_echo_n "(cached) " >&6
13087 else
13088 ac_check_lib_save_LIBS=$LIBS
13089 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 /* Override any GCC internal prototype to avoid an error.
13094 Use char because int might match the return type of a GCC
13095 builtin and then its argument prototype would still apply. */
13096 #ifdef __cplusplus
13097 extern "C"
13098 #endif
13099 char gst_pad_new ();
13101 main ()
13103 return gst_pad_new ();
13105 return 0;
13107 _ACEOF
13108 if ac_fn_c_try_link "$LINENO"; then :
13109 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13110 else
13111 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13113 rm -f core conftest.err conftest.$ac_objext \
13114 conftest$ac_exeext conftest.$ac_ext
13115 LIBS=$ac_check_lib_save_LIBS
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13118 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13119 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13123 else
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13126 ac_glib2_broken=yes
13127 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13133 CPPFLAGS=$ac_save_CPPFLAGS
13134 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13135 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13138 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 :
13139 case "x$with_gstreamer" in
13140 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13141 xno) ;;
13142 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13143 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13144 esac
13147 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13149 ALSA_LIBS=""
13151 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13152 then
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13154 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13155 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13156 $as_echo_n "(cached) " >&6
13157 else
13158 ac_check_lib_save_LIBS=$LIBS
13159 LIBS="-lasound $LIBS"
13160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13163 /* Override any GCC internal prototype to avoid an error.
13164 Use char because int might match the return type of a GCC
13165 builtin and then its argument prototype would still apply. */
13166 #ifdef __cplusplus
13167 extern "C"
13168 #endif
13169 char snd_pcm_hw_params_get_access_mask ();
13171 main ()
13173 return snd_pcm_hw_params_get_access_mask ();
13175 return 0;
13177 _ACEOF
13178 if ac_fn_c_try_link "$LINENO"; then :
13179 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13180 else
13181 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13183 rm -f core conftest.err conftest.$ac_objext \
13184 conftest$ac_exeext conftest.$ac_ext
13185 LIBS=$ac_check_lib_save_LIBS
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13188 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13189 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13192 #ifdef HAVE_ALSA_ASOUNDLIB_H
13193 #include <alsa/asoundlib.h>
13194 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13195 #include <sys/asoundlib.h>
13196 #endif
13198 main ()
13200 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13202 return 0;
13204 _ACEOF
13205 if ac_fn_c_try_compile "$LINENO"; then :
13206 ALSA_LIBS="-lasound"
13208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13212 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13214 if test "x$with_oss" != xno
13215 then
13216 ac_save_CPPFLAGS="$CPPFLAGS"
13217 if test -f /etc/oss.conf
13218 then
13219 . /etc/oss.conf
13221 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13222 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13223 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13224 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13225 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13227 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13229 cat >>confdefs.h <<_ACEOF
13230 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13231 _ACEOF
13233 OSS4_CFLAGS="$ac_oss_incl"
13240 CPPFLAGS="$ac_save_CPPFLAGS"
13242 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13243 case "x$with_oss" in
13244 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13245 xno) ;;
13246 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13247 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13248 esac
13249 enable_wineoss_drv=${enable_wineoss_drv:-no}
13252 if test "x$with_udev" != "xno"
13253 then
13254 if ${UDEV_CFLAGS:+false} :; then :
13255 if ${PKG_CONFIG+:} false; then :
13256 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13260 if ${UDEV_LIBS:+false} :; then :
13261 if ${PKG_CONFIG+:} false; then :
13262 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13266 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13267 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13268 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13269 ac_save_CPPFLAGS=$CPPFLAGS
13270 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13271 for ac_header in libudev.h
13272 do :
13273 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13274 if test "x$ac_cv_header_libudev_h" = xyes; then :
13275 cat >>confdefs.h <<_ACEOF
13276 #define HAVE_LIBUDEV_H 1
13277 _ACEOF
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13279 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13280 if ${ac_cv_lib_udev_udev_new+:} false; then :
13281 $as_echo_n "(cached) " >&6
13282 else
13283 ac_check_lib_save_LIBS=$LIBS
13284 LIBS="-ludev $UDEV_LIBS $LIBS"
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13288 /* Override any GCC internal prototype to avoid an error.
13289 Use char because int might match the return type of a GCC
13290 builtin and then its argument prototype would still apply. */
13291 #ifdef __cplusplus
13292 extern "C"
13293 #endif
13294 char udev_new ();
13296 main ()
13298 return udev_new ();
13300 return 0;
13302 _ACEOF
13303 if ac_fn_c_try_link "$LINENO"; then :
13304 ac_cv_lib_udev_udev_new=yes
13305 else
13306 ac_cv_lib_udev_udev_new=no
13308 rm -f core conftest.err conftest.$ac_objext \
13309 conftest$ac_exeext conftest.$ac_ext
13310 LIBS=$ac_check_lib_save_LIBS
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13313 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13314 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13316 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13318 else
13319 UDEV_LIBS=""
13322 else
13323 UDEV_LIBS=""
13326 done
13328 CPPFLAGS=$ac_save_CPPFLAGS
13329 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13330 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13333 if test "x$UDEV_LIBS" = "x"; then :
13334 case "x$with_udev" in
13335 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13336 xno) ;;
13337 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13338 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13339 esac
13343 if test "x$with_capi" != "xno"
13344 then
13345 if ${CAPI20_CFLAGS:+false} :; then :
13346 if ${PKG_CONFIG+:} false; then :
13347 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13351 if ${CAPI20_LIBS:+false} :; then :
13352 if ${PKG_CONFIG+:} false; then :
13353 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13358 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13359 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13360 ac_save_CPPFLAGS=$CPPFLAGS
13361 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13362 for ac_header in capi20.h linux/capi.h
13363 do :
13364 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13365 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13367 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13368 cat >>confdefs.h <<_ACEOF
13369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13370 _ACEOF
13374 done
13376 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13377 then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13379 $as_echo_n "checking for -lcapi20... " >&6; }
13380 if ${ac_cv_lib_soname_capi20+:} false; then :
13381 $as_echo_n "(cached) " >&6
13382 else
13383 ac_check_soname_save_LIBS=$LIBS
13384 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13388 /* Override any GCC internal prototype to avoid an error.
13389 Use char because int might match the return type of a GCC
13390 builtin and then its argument prototype would still apply. */
13391 #ifdef __cplusplus
13392 extern "C"
13393 #endif
13394 char capi20_register ();
13396 main ()
13398 return capi20_register ();
13400 return 0;
13402 _ACEOF
13403 if ac_fn_c_try_link "$LINENO"; then :
13404 case "$LIBEXT" in
13405 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13406 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'` ;;
13407 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13408 if ${ac_cv_lib_soname_capi20:+false} :; then :
13409 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13410 fi ;;
13411 esac
13413 rm -f core conftest.err conftest.$ac_objext \
13414 conftest$ac_exeext conftest.$ac_ext
13415 LIBS=$ac_check_soname_save_LIBS
13417 if ${ac_cv_lib_soname_capi20:+false} :; then :
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13419 $as_echo "not found" >&6; }
13421 else
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13423 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13425 cat >>confdefs.h <<_ACEOF
13426 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13427 _ACEOF
13432 CPPFLAGS=$ac_save_CPPFLAGS
13433 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13434 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13437 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13438 case "x$with_capi" in
13439 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13440 xno) ;;
13441 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13442 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13443 esac
13447 CUPS_CFLAGS=""
13449 if test "x$with_cups" != "xno"
13450 then
13451 ac_save_CPPFLAGS="$CPPFLAGS"
13452 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13453 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13454 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13455 for ac_header in cups/cups.h
13456 do :
13457 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13458 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13459 cat >>confdefs.h <<_ACEOF
13460 #define HAVE_CUPS_CUPS_H 1
13461 _ACEOF
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13463 $as_echo_n "checking for -lcups... " >&6; }
13464 if ${ac_cv_lib_soname_cups+:} false; then :
13465 $as_echo_n "(cached) " >&6
13466 else
13467 ac_check_soname_save_LIBS=$LIBS
13468 LIBS="-lcups $ac_cups_libs $LIBS"
13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13472 /* Override any GCC internal prototype to avoid an error.
13473 Use char because int might match the return type of a GCC
13474 builtin and then its argument prototype would still apply. */
13475 #ifdef __cplusplus
13476 extern "C"
13477 #endif
13478 char cupsGetDefault ();
13480 main ()
13482 return cupsGetDefault ();
13484 return 0;
13486 _ACEOF
13487 if ac_fn_c_try_link "$LINENO"; then :
13488 case "$LIBEXT" in
13489 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13490 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'` ;;
13491 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13492 if ${ac_cv_lib_soname_cups:+false} :; then :
13493 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13494 fi ;;
13495 esac
13497 rm -f core conftest.err conftest.$ac_objext \
13498 conftest$ac_exeext conftest.$ac_ext
13499 LIBS=$ac_check_soname_save_LIBS
13501 if ${ac_cv_lib_soname_cups:+false} :; then :
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13503 $as_echo "not found" >&6; }
13505 else
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13507 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13509 cat >>confdefs.h <<_ACEOF
13510 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13511 _ACEOF
13513 CUPS_CFLAGS="$ac_cups_cflags"
13515 for ac_header in cups/ppd.h
13516 do :
13517 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13518 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13519 cat >>confdefs.h <<_ACEOF
13520 #define HAVE_CUPS_PPD_H 1
13521 _ACEOF
13525 done
13529 done
13531 CPPFLAGS="$ac_save_CPPFLAGS"
13533 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13534 case "x$with_cups" in
13535 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13536 xno) ;;
13537 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13538 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13539 esac
13543 if test "x$with_fontconfig" != "xno"
13544 then
13545 if ${FONTCONFIG_CFLAGS:+false} :; then :
13546 if ${PKG_CONFIG+:} false; then :
13547 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13550 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13551 if ${FONTCONFIG_LIBS:+false} :; then :
13552 if ${PKG_CONFIG+:} false; then :
13553 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13556 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13558 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13559 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13560 ac_save_CPPFLAGS=$CPPFLAGS
13561 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13562 for ac_header in fontconfig/fontconfig.h
13563 do :
13564 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13565 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13566 cat >>confdefs.h <<_ACEOF
13567 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13568 _ACEOF
13572 done
13574 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13575 then
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13577 $as_echo_n "checking for -lfontconfig... " >&6; }
13578 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13579 $as_echo_n "(cached) " >&6
13580 else
13581 ac_check_soname_save_LIBS=$LIBS
13582 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13586 /* Override any GCC internal prototype to avoid an error.
13587 Use char because int might match the return type of a GCC
13588 builtin and then its argument prototype would still apply. */
13589 #ifdef __cplusplus
13590 extern "C"
13591 #endif
13592 char FcInit ();
13594 main ()
13596 return FcInit ();
13598 return 0;
13600 _ACEOF
13601 if ac_fn_c_try_link "$LINENO"; then :
13602 case "$LIBEXT" in
13603 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13604 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'` ;;
13605 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13606 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13607 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13608 fi ;;
13609 esac
13611 rm -f core conftest.err conftest.$ac_objext \
13612 conftest$ac_exeext conftest.$ac_ext
13613 LIBS=$ac_check_soname_save_LIBS
13615 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13617 $as_echo "not found" >&6; }
13618 FONTCONFIG_CFLAGS=""
13619 else
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13621 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13623 cat >>confdefs.h <<_ACEOF
13624 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13625 _ACEOF
13629 else
13630 FONTCONFIG_CFLAGS=""
13632 CPPFLAGS=$ac_save_CPPFLAGS
13633 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13634 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13637 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13638 case "x$with_fontconfig" in
13639 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13640 xno) ;;
13641 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13642 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13643 esac
13647 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13648 then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13650 $as_echo_n "checking for -lgsm... " >&6; }
13651 if ${ac_cv_lib_soname_gsm+:} false; then :
13652 $as_echo_n "(cached) " >&6
13653 else
13654 ac_check_soname_save_LIBS=$LIBS
13655 LIBS="-lgsm $LIBS"
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13659 /* Override any GCC internal prototype to avoid an error.
13660 Use char because int might match the return type of a GCC
13661 builtin and then its argument prototype would still apply. */
13662 #ifdef __cplusplus
13663 extern "C"
13664 #endif
13665 char gsm_create ();
13667 main ()
13669 return gsm_create ();
13671 return 0;
13673 _ACEOF
13674 if ac_fn_c_try_link "$LINENO"; then :
13675 case "$LIBEXT" in
13676 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13677 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'` ;;
13678 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13679 if ${ac_cv_lib_soname_gsm:+false} :; then :
13680 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13681 fi ;;
13682 esac
13684 rm -f core conftest.err conftest.$ac_objext \
13685 conftest$ac_exeext conftest.$ac_ext
13686 LIBS=$ac_check_soname_save_LIBS
13688 if ${ac_cv_lib_soname_gsm:+false} :; then :
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13690 $as_echo "not found" >&6; }
13692 else
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13694 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13696 cat >>confdefs.h <<_ACEOF
13697 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13698 _ACEOF
13703 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13704 case "x$with_gsm" in
13705 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13706 xno) ;;
13707 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13708 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13709 esac
13713 if test "x$with_jpeg" != "xno"
13714 then
13715 if ${JPEG_CFLAGS:+false} :; then :
13716 if ${PKG_CONFIG+:} false; then :
13717 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13721 if ${JPEG_LIBS:+false} :; then :
13722 if ${PKG_CONFIG+:} false; then :
13723 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13728 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13729 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13730 ac_save_CPPFLAGS=$CPPFLAGS
13731 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13732 for ac_header in jpeglib.h
13733 do :
13734 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13735 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13736 cat >>confdefs.h <<_ACEOF
13737 #define HAVE_JPEGLIB_H 1
13738 _ACEOF
13742 done
13744 if test "$ac_cv_header_jpeglib_h" = "yes"
13745 then
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13747 $as_echo_n "checking for -ljpeg... " >&6; }
13748 if ${ac_cv_lib_soname_jpeg+:} false; then :
13749 $as_echo_n "(cached) " >&6
13750 else
13751 ac_check_soname_save_LIBS=$LIBS
13752 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13754 /* end confdefs.h. */
13756 /* Override any GCC internal prototype to avoid an error.
13757 Use char because int might match the return type of a GCC
13758 builtin and then its argument prototype would still apply. */
13759 #ifdef __cplusplus
13760 extern "C"
13761 #endif
13762 char jpeg_start_decompress ();
13764 main ()
13766 return jpeg_start_decompress ();
13768 return 0;
13770 _ACEOF
13771 if ac_fn_c_try_link "$LINENO"; then :
13772 case "$LIBEXT" in
13773 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13774 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'` ;;
13775 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13776 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13777 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13778 fi ;;
13779 esac
13781 rm -f core conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 LIBS=$ac_check_soname_save_LIBS
13785 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13787 $as_echo "not found" >&6; }
13788 JPEG_CFLAGS=""
13789 else
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13791 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13793 cat >>confdefs.h <<_ACEOF
13794 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13795 _ACEOF
13799 else
13800 JPEG_CFLAGS=""
13802 CPPFLAGS=$ac_save_CPPFLAGS
13803 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13804 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13807 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13808 case "x$with_jpeg" in
13809 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13810 xno) ;;
13811 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13812 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13813 esac
13817 if test "x$with_png" != "xno"
13818 then
13819 if ${PNG_CFLAGS:+false} :; then :
13820 if ${PKG_CONFIG+:} false; then :
13821 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13824 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13825 if ${PNG_LIBS:+false} :; then :
13826 if ${PKG_CONFIG+:} false; then :
13827 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13830 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13832 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13833 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13834 ac_save_CPPFLAGS=$CPPFLAGS
13835 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13836 for ac_header in png.h
13837 do :
13838 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13839 if test "x$ac_cv_header_png_h" = xyes; then :
13840 cat >>confdefs.h <<_ACEOF
13841 #define HAVE_PNG_H 1
13842 _ACEOF
13846 done
13848 if test "$ac_cv_header_png_h" = "yes"
13849 then
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13851 $as_echo_n "checking for -lpng... " >&6; }
13852 if ${ac_cv_lib_soname_png+:} false; then :
13853 $as_echo_n "(cached) " >&6
13854 else
13855 ac_check_soname_save_LIBS=$LIBS
13856 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13863 #ifdef __cplusplus
13864 extern "C"
13865 #endif
13866 char png_create_read_struct ();
13868 main ()
13870 return png_create_read_struct ();
13872 return 0;
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 case "$LIBEXT" in
13877 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13878 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'` ;;
13879 *) 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'`
13880 if ${ac_cv_lib_soname_png:+false} :; then :
13881 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13882 fi ;;
13883 esac
13885 rm -f core conftest.err conftest.$ac_objext \
13886 conftest$ac_exeext conftest.$ac_ext
13887 LIBS=$ac_check_soname_save_LIBS
13889 if ${ac_cv_lib_soname_png:+false} :; then :
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13891 $as_echo "not found" >&6; }
13892 PNG_CFLAGS=""
13893 else
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13895 $as_echo "$ac_cv_lib_soname_png" >&6; }
13897 cat >>confdefs.h <<_ACEOF
13898 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13899 _ACEOF
13903 else
13904 PNG_CFLAGS=""
13906 CPPFLAGS=$ac_save_CPPFLAGS
13907 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13908 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13911 if test "x$ac_cv_lib_soname_png" = "x"; then :
13912 case "x$with_png" in
13913 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13914 xno) ;;
13915 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13916 This is an error since --with-png was requested." "$LINENO" 5 ;;
13917 esac
13921 if test "x$with_tiff" != "xno"
13922 then
13923 if ${TIFF_CFLAGS:+false} :; then :
13924 if ${PKG_CONFIG+:} false; then :
13925 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13929 if ${TIFF_LIBS:+false} :; then :
13930 if ${PKG_CONFIG+:} false; then :
13931 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13936 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13937 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13938 ac_save_CPPFLAGS=$CPPFLAGS
13939 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13940 for ac_header in tiffio.h
13941 do :
13942 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13943 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13944 cat >>confdefs.h <<_ACEOF
13945 #define HAVE_TIFFIO_H 1
13946 _ACEOF
13950 done
13952 if test "$ac_cv_header_tiffio_h" = "yes"
13953 then
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13955 $as_echo_n "checking for -ltiff... " >&6; }
13956 if ${ac_cv_lib_soname_tiff+:} false; then :
13957 $as_echo_n "(cached) " >&6
13958 else
13959 ac_check_soname_save_LIBS=$LIBS
13960 LIBS="-ltiff $TIFF_LIBS $LIBS"
13961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13962 /* end confdefs.h. */
13964 /* Override any GCC internal prototype to avoid an error.
13965 Use char because int might match the return type of a GCC
13966 builtin and then its argument prototype would still apply. */
13967 #ifdef __cplusplus
13968 extern "C"
13969 #endif
13970 char TIFFClientOpen ();
13972 main ()
13974 return TIFFClientOpen ();
13976 return 0;
13978 _ACEOF
13979 if ac_fn_c_try_link "$LINENO"; then :
13980 case "$LIBEXT" in
13981 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13982 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'` ;;
13983 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13984 if ${ac_cv_lib_soname_tiff:+false} :; then :
13985 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13986 fi ;;
13987 esac
13989 rm -f core conftest.err conftest.$ac_objext \
13990 conftest$ac_exeext conftest.$ac_ext
13991 LIBS=$ac_check_soname_save_LIBS
13993 if ${ac_cv_lib_soname_tiff:+false} :; then :
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13995 $as_echo "not found" >&6; }
13997 else
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13999 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14001 cat >>confdefs.h <<_ACEOF
14002 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14003 _ACEOF
14008 CPPFLAGS=$ac_save_CPPFLAGS
14009 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14010 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14013 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14014 case "x$with_tiff" in
14015 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14016 xno) ;;
14017 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14018 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14019 esac
14023 if test "x$with_mpg123" != "xno"
14024 then
14025 if ${MPG123_CFLAGS:+false} :; then :
14026 if ${PKG_CONFIG+:} false; then :
14027 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14031 if ${MPG123_LIBS:+false} :; then :
14032 if ${PKG_CONFIG+:} false; then :
14033 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14037 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14038 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14039 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14040 ac_save_CPPFLAGS=$CPPFLAGS
14041 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14042 for ac_header in mpg123.h
14043 do :
14044 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14045 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14046 cat >>confdefs.h <<_ACEOF
14047 #define HAVE_MPG123_H 1
14048 _ACEOF
14052 done
14054 if test "$ac_cv_header_mpg123_h" = "yes"
14055 then
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14057 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14058 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 ac_check_lib_save_LIBS=$LIBS
14062 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14066 /* Override any GCC internal prototype to avoid an error.
14067 Use char because int might match the return type of a GCC
14068 builtin and then its argument prototype would still apply. */
14069 #ifdef __cplusplus
14070 extern "C"
14071 #endif
14072 char mpg123_feed ();
14074 main ()
14076 return mpg123_feed ();
14078 return 0;
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082 ac_cv_lib_mpg123_mpg123_feed=yes
14083 else
14084 ac_cv_lib_mpg123_mpg123_feed=no
14086 rm -f core conftest.err conftest.$ac_objext \
14087 conftest$ac_exeext conftest.$ac_ext
14088 LIBS=$ac_check_lib_save_LIBS
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14091 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14092 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14094 else
14095 MPG123_LIBS=""
14098 else
14099 MPG123_CFLAGS=""
14100 MPG123_LIBS=""
14102 CPPFLAGS=$ac_save_CPPFLAGS
14103 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14104 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14107 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14108 case "x$with_mpg123" in
14109 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14110 xno) ;;
14111 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14112 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14113 esac
14114 enable_winemp3_acm=${enable_winemp3_acm:-no}
14117 if test "$ac_cv_header_AL_al_h" = "yes"
14118 then
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14120 $as_echo_n "checking for -lopenal... " >&6; }
14121 if ${ac_cv_lib_soname_openal+:} false; then :
14122 $as_echo_n "(cached) " >&6
14123 else
14124 ac_check_soname_save_LIBS=$LIBS
14125 LIBS="-lopenal $LIBS"
14126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14129 /* Override any GCC internal prototype to avoid an error.
14130 Use char because int might match the return type of a GCC
14131 builtin and then its argument prototype would still apply. */
14132 #ifdef __cplusplus
14133 extern "C"
14134 #endif
14135 char alGetSource3i ();
14137 main ()
14139 return alGetSource3i ();
14141 return 0;
14143 _ACEOF
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 case "$LIBEXT" in
14146 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14147 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'` ;;
14148 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14149 if ${ac_cv_lib_soname_openal:+false} :; then :
14150 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14151 fi ;;
14152 esac
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 LIBS=$ac_check_soname_save_LIBS
14158 if ${ac_cv_lib_soname_openal:+false} :; then :
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14160 $as_echo "not found" >&6; }
14162 else
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14164 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14166 cat >>confdefs.h <<_ACEOF
14167 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14168 _ACEOF
14170 OPENAL_LIBS="-lopenal"
14172 ac_cv_lib_openal=yes
14174 cat >>confdefs.h <<_ACEOF
14175 #define HAVE_OPENAL 1
14176 _ACEOF
14180 if test "x$ac_cv_lib_openal" != xyes; then :
14181 case "x$with_openal" in
14182 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14183 xno) ;;
14184 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14185 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14186 esac
14187 enable_openal32=${enable_openal32:-no}
14190 if test "x$ac_cv_lib_openal" = xyes
14191 then
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14193 $as_echo_n "checking for openal-soft... " >&6; }
14194 if ${ac_cv_have_openalsoft+:} false; then :
14195 $as_echo_n "(cached) " >&6
14196 else
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 #include <AL/al.h>
14200 #include <AL/alc.h>
14201 #include <AL/alext.h>
14202 LPALCRENDERSAMPLESSOFT x;
14204 main ()
14208 return 0;
14210 _ACEOF
14211 if ac_fn_c_try_compile "$LINENO"; then :
14212 ac_cv_have_openalsoft=yes
14213 else
14214 ac_cv_have_openalsoft=no
14216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14219 $as_echo "$ac_cv_have_openalsoft" >&6; }
14221 if test "x$ac_cv_have_openalsoft" != xyes
14222 then
14223 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14224 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14225 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14226 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14227 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14228 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14229 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14230 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14231 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14232 enable_xapofx1_1=${enable_xapofx1_1:-no}
14233 enable_xapofx1_2=${enable_xapofx1_2:-no}
14234 enable_xapofx1_3=${enable_xapofx1_3:-no}
14235 enable_xapofx1_4=${enable_xapofx1_4:-no}
14236 enable_xapofx1_5=${enable_xapofx1_5:-no}
14237 enable_xaudio2_0=${enable_xaudio2_0:-no}
14238 enable_xaudio2_1=${enable_xaudio2_1:-no}
14239 enable_xaudio2_2=${enable_xaudio2_2:-no}
14240 enable_xaudio2_3=${enable_xaudio2_3:-no}
14241 enable_xaudio2_4=${enable_xaudio2_4:-no}
14242 enable_xaudio2_5=${enable_xaudio2_5:-no}
14243 enable_xaudio2_6=${enable_xaudio2_6:-no}
14244 enable_xaudio2_7=${enable_xaudio2_7:-no}
14245 enable_xaudio2_8=${enable_xaudio2_8:-no}
14246 enable_xaudio2_9=${enable_xaudio2_9:-no}
14249 if test "$ac_cv_header_kstat_h" = "yes"
14250 then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14252 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14253 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_check_lib_save_LIBS=$LIBS
14257 LIBS="-lkstat $LIBS"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char kstat_open ();
14269 main ()
14271 return kstat_open ();
14273 return 0;
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 ac_cv_lib_kstat_kstat_open=yes
14278 else
14279 ac_cv_lib_kstat_kstat_open=no
14281 rm -f core conftest.err conftest.$ac_objext \
14282 conftest$ac_exeext conftest.$ac_ext
14283 LIBS=$ac_check_lib_save_LIBS
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14286 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14287 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14289 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14291 KSTAT_LIBS="-lkstat"
14297 if test "$ac_cv_header_libprocstat_h" = "yes"
14298 then
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14300 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14301 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14302 $as_echo_n "(cached) " >&6
14303 else
14304 ac_check_lib_save_LIBS=$LIBS
14305 LIBS="-lprocstat $LIBS"
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14309 /* Override any GCC internal prototype to avoid an error.
14310 Use char because int might match the return type of a GCC
14311 builtin and then its argument prototype would still apply. */
14312 #ifdef __cplusplus
14313 extern "C"
14314 #endif
14315 char procstat_open_sysctl ();
14317 main ()
14319 return procstat_open_sysctl ();
14321 return 0;
14323 _ACEOF
14324 if ac_fn_c_try_link "$LINENO"; then :
14325 ac_cv_lib_procstat_procstat_open_sysctl=yes
14326 else
14327 ac_cv_lib_procstat_procstat_open_sysctl=no
14329 rm -f core conftest.err conftest.$ac_objext \
14330 conftest$ac_exeext conftest.$ac_ext
14331 LIBS=$ac_check_lib_save_LIBS
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14334 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14335 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14337 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14339 PROCSTAT_LIBS="-lprocstat"
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14346 $as_echo_n "checking for -lodbc... " >&6; }
14347 if ${ac_cv_lib_soname_odbc+:} false; then :
14348 $as_echo_n "(cached) " >&6
14349 else
14350 ac_check_soname_save_LIBS=$LIBS
14351 LIBS="-lodbc $LIBS"
14352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14355 /* Override any GCC internal prototype to avoid an error.
14356 Use char because int might match the return type of a GCC
14357 builtin and then its argument prototype would still apply. */
14358 #ifdef __cplusplus
14359 extern "C"
14360 #endif
14361 char SQLConnect ();
14363 main ()
14365 return SQLConnect ();
14367 return 0;
14369 _ACEOF
14370 if ac_fn_c_try_link "$LINENO"; then :
14371 case "$LIBEXT" in
14372 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14373 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'` ;;
14374 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14375 if ${ac_cv_lib_soname_odbc:+false} :; then :
14376 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14377 fi ;;
14378 esac
14380 rm -f core conftest.err conftest.$ac_objext \
14381 conftest$ac_exeext conftest.$ac_ext
14382 LIBS=$ac_check_soname_save_LIBS
14384 if ${ac_cv_lib_soname_odbc:+false} :; then :
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14386 $as_echo "not found" >&6; }
14387 cat >>confdefs.h <<_ACEOF
14388 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14389 _ACEOF
14391 else
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14393 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14395 cat >>confdefs.h <<_ACEOF
14396 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14397 _ACEOF
14402 if test "x$with_netapi" != "xno"
14403 then
14404 if ${NETAPI_CFLAGS:+false} :; then :
14405 if ${PKG_CONFIG+:} false; then :
14406 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14410 if ${NETAPI_LIBS:+false} :; then :
14411 if ${PKG_CONFIG+:} false; then :
14412 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14417 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14418 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14419 ac_save_CPPFLAGS=$CPPFLAGS
14420 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14422 $as_echo_n "checking for -lnetapi... " >&6; }
14423 if ${ac_cv_lib_soname_netapi+:} false; then :
14424 $as_echo_n "(cached) " >&6
14425 else
14426 ac_check_soname_save_LIBS=$LIBS
14427 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14431 /* Override any GCC internal prototype to avoid an error.
14432 Use char because int might match the return type of a GCC
14433 builtin and then its argument prototype would still apply. */
14434 #ifdef __cplusplus
14435 extern "C"
14436 #endif
14437 char libnetapi_init ();
14439 main ()
14441 return libnetapi_init ();
14443 return 0;
14445 _ACEOF
14446 if ac_fn_c_try_link "$LINENO"; then :
14447 case "$LIBEXT" in
14448 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14449 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'` ;;
14450 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14451 if ${ac_cv_lib_soname_netapi:+false} :; then :
14452 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14453 fi ;;
14454 esac
14456 rm -f core conftest.err conftest.$ac_objext \
14457 conftest$ac_exeext conftest.$ac_ext
14458 LIBS=$ac_check_soname_save_LIBS
14460 if ${ac_cv_lib_soname_netapi:+false} :; then :
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14462 $as_echo "not found" >&6; }
14463 cat >>confdefs.h <<_ACEOF
14464 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14465 _ACEOF
14467 else
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14469 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14471 cat >>confdefs.h <<_ACEOF
14472 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14473 _ACEOF
14477 CPPFLAGS=$ac_save_CPPFLAGS
14478 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14479 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14483 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14484 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14485 then
14486 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14490 EXTRACFLAGS=""
14492 if test "x${GCC}" = "xyes"
14493 then
14494 EXTRACFLAGS="-Wall -pipe"
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14497 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14498 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14499 $as_echo_n "(cached) " >&6
14500 else
14501 if test "$cross_compiling" = yes; then :
14502 ac_cv_c_gcc_strength_bug="no"
14503 else
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14506 int L[4] = {0,1,2,3};
14508 main ()
14510 static int Array[3];
14511 unsigned int B = 3;
14512 int i;
14513 for(i=0; i<B; i++) Array[i] = i - 3;
14514 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14515 L[i] = 4;
14516 return (Array[1] != -2 || L[2] != 3)
14518 return 0;
14520 _ACEOF
14521 if ac_fn_c_try_run "$LINENO"; then :
14522 ac_cv_c_gcc_strength_bug="no"
14523 else
14524 ac_cv_c_gcc_strength_bug="yes"
14526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14527 conftest.$ac_objext conftest.beam conftest.$ac_ext
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14532 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14533 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14534 then
14535 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14539 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14540 if ${ac_cv_cflags__fno_builtin+:} false; then :
14541 $as_echo_n "(cached) " >&6
14542 else
14543 ac_wine_try_cflags_saved=$CFLAGS
14544 CFLAGS="$CFLAGS -fno-builtin"
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14547 int main(int argc, char **argv) { return 0; }
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"; then :
14550 ac_cv_cflags__fno_builtin=yes
14551 else
14552 ac_cv_cflags__fno_builtin=no
14554 rm -f core conftest.err conftest.$ac_objext \
14555 conftest$ac_exeext conftest.$ac_ext
14556 CFLAGS=$ac_wine_try_cflags_saved
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14559 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14560 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14561 BUILTINFLAG="-fno-builtin"
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14565 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14566 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 ac_wine_try_cflags_saved=$CFLAGS
14570 CFLAGS="$CFLAGS -fno-strict-aliasing"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14573 int main(int argc, char **argv) { return 0; }
14574 _ACEOF
14575 if ac_fn_c_try_link "$LINENO"; then :
14576 ac_cv_cflags__fno_strict_aliasing=yes
14577 else
14578 ac_cv_cflags__fno_strict_aliasing=no
14580 rm -f core conftest.err conftest.$ac_objext \
14581 conftest$ac_exeext conftest.$ac_ext
14582 CFLAGS=$ac_wine_try_cflags_saved
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14585 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14586 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14587 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14590 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14591 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593 else
14594 ac_wine_try_cflags_saved=$CFLAGS
14595 CFLAGS="$CFLAGS -fexcess-precision=standard"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 int main(int argc, char **argv) { return 0; }
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"; then :
14601 ac_cv_cflags__fexcess_precision_standard=yes
14602 else
14603 ac_cv_cflags__fexcess_precision_standard=no
14605 rm -f core conftest.err conftest.$ac_objext \
14606 conftest$ac_exeext conftest.$ac_ext
14607 CFLAGS=$ac_wine_try_cflags_saved
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14610 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14611 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14612 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14615 saved_CFLAGS=$CFLAGS
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14617 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14618 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14619 $as_echo_n "(cached) " >&6
14620 else
14621 ac_wine_try_cflags_saved=$CFLAGS
14622 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14625 int main(int argc, char **argv) { return 0; }
14626 _ACEOF
14627 if ac_fn_c_try_link "$LINENO"; then :
14628 ac_cv_cflags__Werror_unknown_warning_option=yes
14629 else
14630 ac_cv_cflags__Werror_unknown_warning_option=no
14632 rm -f core conftest.err conftest.$ac_objext \
14633 conftest$ac_exeext conftest.$ac_ext
14634 CFLAGS=$ac_wine_try_cflags_saved
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14637 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14638 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14639 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14642 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14643 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14644 $as_echo_n "(cached) " >&6
14645 else
14646 ac_wine_try_cflags_saved=$CFLAGS
14647 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14650 int main(int argc, char **argv) { return 0; }
14651 _ACEOF
14652 if ac_fn_c_try_link "$LINENO"; then :
14653 ac_cv_cflags__Wdeclaration_after_statement=yes
14654 else
14655 ac_cv_cflags__Wdeclaration_after_statement=no
14657 rm -f core conftest.err conftest.$ac_objext \
14658 conftest$ac_exeext conftest.$ac_ext
14659 CFLAGS=$ac_wine_try_cflags_saved
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14662 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14663 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14664 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14667 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14668 if ${ac_cv_cflags__Wempty_body+:} false; then :
14669 $as_echo_n "(cached) " >&6
14670 else
14671 ac_wine_try_cflags_saved=$CFLAGS
14672 CFLAGS="$CFLAGS -Wempty-body"
14673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14675 int main(int argc, char **argv) { return 0; }
14676 _ACEOF
14677 if ac_fn_c_try_link "$LINENO"; then :
14678 ac_cv_cflags__Wempty_body=yes
14679 else
14680 ac_cv_cflags__Wempty_body=no
14682 rm -f core conftest.err conftest.$ac_objext \
14683 conftest$ac_exeext conftest.$ac_ext
14684 CFLAGS=$ac_wine_try_cflags_saved
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14687 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14688 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14689 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14692 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14693 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14694 $as_echo_n "(cached) " >&6
14695 else
14696 ac_wine_try_cflags_saved=$CFLAGS
14697 CFLAGS="$CFLAGS -Wignored-qualifiers"
14698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14700 int main(int argc, char **argv) { return 0; }
14701 _ACEOF
14702 if ac_fn_c_try_link "$LINENO"; then :
14703 ac_cv_cflags__Wignored_qualifiers=yes
14704 else
14705 ac_cv_cflags__Wignored_qualifiers=no
14707 rm -f core conftest.err conftest.$ac_objext \
14708 conftest$ac_exeext conftest.$ac_ext
14709 CFLAGS=$ac_wine_try_cflags_saved
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14712 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14713 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14714 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14717 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14718 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14719 $as_echo_n "(cached) " >&6
14720 else
14721 ac_wine_try_cflags_saved=$CFLAGS
14722 CFLAGS="$CFLAGS -Wshift-overflow=2"
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14725 int main(int argc, char **argv) { return 0; }
14726 _ACEOF
14727 if ac_fn_c_try_link "$LINENO"; then :
14728 ac_cv_cflags__Wshift_overflow_2=yes
14729 else
14730 ac_cv_cflags__Wshift_overflow_2=no
14732 rm -f core conftest.err conftest.$ac_objext \
14733 conftest$ac_exeext conftest.$ac_ext
14734 CFLAGS=$ac_wine_try_cflags_saved
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14737 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14738 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14739 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14742 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14743 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14744 $as_echo_n "(cached) " >&6
14745 else
14746 ac_wine_try_cflags_saved=$CFLAGS
14747 CFLAGS="$CFLAGS -Wstrict-prototypes"
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14750 int main(int argc, char **argv) { return 0; }
14751 _ACEOF
14752 if ac_fn_c_try_link "$LINENO"; then :
14753 ac_cv_cflags__Wstrict_prototypes=yes
14754 else
14755 ac_cv_cflags__Wstrict_prototypes=no
14757 rm -f core conftest.err conftest.$ac_objext \
14758 conftest$ac_exeext conftest.$ac_ext
14759 CFLAGS=$ac_wine_try_cflags_saved
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14762 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14763 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14764 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14767 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14768 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14769 $as_echo_n "(cached) " >&6
14770 else
14771 ac_wine_try_cflags_saved=$CFLAGS
14772 CFLAGS="$CFLAGS -Wtype-limits"
14773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14775 int main(int argc, char **argv) { return 0; }
14776 _ACEOF
14777 if ac_fn_c_try_link "$LINENO"; then :
14778 ac_cv_cflags__Wtype_limits=yes
14779 else
14780 ac_cv_cflags__Wtype_limits=no
14782 rm -f core conftest.err conftest.$ac_objext \
14783 conftest$ac_exeext conftest.$ac_ext
14784 CFLAGS=$ac_wine_try_cflags_saved
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14787 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14788 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14789 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14792 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14793 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_wine_try_cflags_saved=$CFLAGS
14797 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14800 int main(int argc, char **argv) { return 0; }
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"; then :
14803 ac_cv_cflags__Wunused_but_set_parameter=yes
14804 else
14805 ac_cv_cflags__Wunused_but_set_parameter=no
14807 rm -f core conftest.err conftest.$ac_objext \
14808 conftest$ac_exeext conftest.$ac_ext
14809 CFLAGS=$ac_wine_try_cflags_saved
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14812 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14813 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14814 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14817 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14818 if ${ac_cv_cflags__Wvla+:} false; then :
14819 $as_echo_n "(cached) " >&6
14820 else
14821 ac_wine_try_cflags_saved=$CFLAGS
14822 CFLAGS="$CFLAGS -Wvla"
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14825 int main(int argc, char **argv) { return 0; }
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_cflags__Wvla=yes
14829 else
14830 ac_cv_cflags__Wvla=no
14832 rm -f core conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834 CFLAGS=$ac_wine_try_cflags_saved
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14837 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14838 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14839 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14842 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14843 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14844 $as_echo_n "(cached) " >&6
14845 else
14846 ac_wine_try_cflags_saved=$CFLAGS
14847 CFLAGS="$CFLAGS -Wwrite-strings"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14850 int main(int argc, char **argv) { return 0; }
14851 _ACEOF
14852 if ac_fn_c_try_link "$LINENO"; then :
14853 ac_cv_cflags__Wwrite_strings=yes
14854 else
14855 ac_cv_cflags__Wwrite_strings=no
14857 rm -f core conftest.err conftest.$ac_objext \
14858 conftest$ac_exeext conftest.$ac_ext
14859 CFLAGS=$ac_wine_try_cflags_saved
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14862 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14863 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14864 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14868 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14869 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 ac_wine_try_cflags_saved=$CFLAGS
14873 CFLAGS="$CFLAGS -Wpointer-arith"
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14876 int main(int argc, char **argv) { return 0; }
14877 _ACEOF
14878 if ac_fn_c_try_link "$LINENO"; then :
14879 ac_cv_cflags__Wpointer_arith=yes
14880 else
14881 ac_cv_cflags__Wpointer_arith=no
14883 rm -f core conftest.err conftest.$ac_objext \
14884 conftest$ac_exeext conftest.$ac_ext
14885 CFLAGS=$ac_wine_try_cflags_saved
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14888 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14889 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14890 saved_string_h_CFLAGS=$CFLAGS
14891 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14893 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14894 if ${ac_cv_c_string_h_warnings+:} false; then :
14895 $as_echo_n "(cached) " >&6
14896 else
14897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14899 #include <string.h>
14901 main ()
14905 return 0;
14907 _ACEOF
14908 if ac_fn_c_try_compile "$LINENO"; then :
14909 ac_cv_c_string_h_warnings=no
14910 else
14911 ac_cv_c_string_h_warnings=yes
14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14916 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14917 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14918 CFLAGS=$saved_string_h_CFLAGS
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14922 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14923 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14924 $as_echo_n "(cached) " >&6
14925 else
14926 ac_wine_try_cflags_saved=$CFLAGS
14927 CFLAGS="$CFLAGS -Wlogical-op"
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14930 int main(int argc, char **argv) { return 0; }
14931 _ACEOF
14932 if ac_fn_c_try_link "$LINENO"; then :
14933 ac_cv_cflags__Wlogical_op=yes
14934 else
14935 ac_cv_cflags__Wlogical_op=no
14937 rm -f core conftest.err conftest.$ac_objext \
14938 conftest$ac_exeext conftest.$ac_ext
14939 CFLAGS=$ac_wine_try_cflags_saved
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14942 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14943 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14944 saved_string_h_CFLAGS=$CFLAGS
14945 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14947 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14948 if ${ac_cv_c_logicalop_noisy+:} false; then :
14949 $as_echo_n "(cached) " >&6
14950 else
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14953 #include <string.h>
14954 char*f(const char *h,char n) {return strchr(h,n);}
14956 main ()
14960 return 0;
14962 _ACEOF
14963 if ac_fn_c_try_compile "$LINENO"; then :
14964 ac_cv_c_logicalop_noisy=no
14965 else
14966 ac_cv_c_logicalop_noisy=yes
14968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14971 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14972 CFLAGS=$saved_string_h_CFLAGS
14973 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14976 CFLAGS=$saved_CFLAGS
14978 for ac_flag in $CFLAGS; do
14979 case $ac_flag in
14980 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14981 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14982 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14983 $as_echo_n "(cached) " >&6
14984 else
14985 ac_wine_try_cflags_saved=$CFLAGS
14986 CFLAGS="$CFLAGS -gdwarf-2"
14987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14988 /* end confdefs.h. */
14989 int main(int argc, char **argv) { return 0; }
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"; then :
14992 ac_cv_cflags__gdwarf_2=yes
14993 else
14994 ac_cv_cflags__gdwarf_2=no
14996 rm -f core conftest.err conftest.$ac_objext \
14997 conftest$ac_exeext conftest.$ac_ext
14998 CFLAGS=$ac_wine_try_cflags_saved
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15001 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15002 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15003 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15006 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15007 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15008 $as_echo_n "(cached) " >&6
15009 else
15010 ac_wine_try_cflags_saved=$CFLAGS
15011 CFLAGS="$CFLAGS -gstrict-dwarf"
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15014 int main(int argc, char **argv) { return 0; }
15015 _ACEOF
15016 if ac_fn_c_try_link "$LINENO"; then :
15017 ac_cv_cflags__gstrict_dwarf=yes
15018 else
15019 ac_cv_cflags__gstrict_dwarf=no
15021 rm -f core conftest.err conftest.$ac_objext \
15022 conftest$ac_exeext conftest.$ac_ext
15023 CFLAGS=$ac_wine_try_cflags_saved
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15026 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15027 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15028 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15029 fi ;;
15030 esac
15031 done
15033 case $host_cpu in
15034 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15035 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15036 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 ac_wine_try_cflags_saved=$CFLAGS
15040 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h. */
15043 int main(int argc, char **argv) { return 0; }
15044 _ACEOF
15045 if ac_fn_c_try_link "$LINENO"; then :
15046 ac_cv_cflags__fno_omit_frame_pointer=yes
15047 else
15048 ac_cv_cflags__fno_omit_frame_pointer=no
15050 rm -f core conftest.err conftest.$ac_objext \
15051 conftest$ac_exeext conftest.$ac_ext
15052 CFLAGS=$ac_wine_try_cflags_saved
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15055 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15056 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15057 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15058 fi ;;
15059 esac
15061 case $host in
15062 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15063 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15064 if ${ac_cv_cflags__Wno_format+:} false; then :
15065 $as_echo_n "(cached) " >&6
15066 else
15067 ac_wine_try_cflags_saved=$CFLAGS
15068 CFLAGS="$CFLAGS -Wno-format"
15069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15071 int main(int argc, char **argv) { return 0; }
15072 _ACEOF
15073 if ac_fn_c_try_link "$LINENO"; then :
15074 ac_cv_cflags__Wno_format=yes
15075 else
15076 ac_cv_cflags__Wno_format=no
15078 rm -f core conftest.err conftest.$ac_objext \
15079 conftest$ac_exeext conftest.$ac_ext
15080 CFLAGS=$ac_wine_try_cflags_saved
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15083 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15084 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15085 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15086 fi ;;
15087 esac
15089 if test "x$enable_maintainer_mode" = "xyes"
15090 then
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15092 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15093 if ${ac_cv_cflags__Werror+:} false; then :
15094 $as_echo_n "(cached) " >&6
15095 else
15096 ac_wine_try_cflags_saved=$CFLAGS
15097 CFLAGS="$CFLAGS -Werror"
15098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15100 int main(int argc, char **argv) { return 0; }
15101 _ACEOF
15102 if ac_fn_c_try_link "$LINENO"; then :
15103 ac_cv_cflags__Werror=yes
15104 else
15105 ac_cv_cflags__Werror=no
15107 rm -f core conftest.err conftest.$ac_objext \
15108 conftest$ac_exeext conftest.$ac_ext
15109 CFLAGS=$ac_wine_try_cflags_saved
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15112 $as_echo "$ac_cv_cflags__Werror" >&6; }
15113 if test "x$ac_cv_cflags__Werror" = xyes; then :
15114 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15118 saved_CFLAGS="$CFLAGS"
15119 CFLAGS="$CFLAGS -Werror"
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15121 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15122 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15127 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15129 main ()
15133 return 0;
15135 _ACEOF
15136 if ac_fn_c_try_compile "$LINENO"; then :
15137 ac_cv_have_ms_hook_prologue="yes"
15138 else
15139 ac_cv_have_ms_hook_prologue="no"
15141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15144 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15145 CFLAGS="$saved_CFLAGS"
15146 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15147 then
15149 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15151 else
15152 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15159 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15160 if ${ac_cv_c_fortify_enabled+:} false; then :
15161 $as_echo_n "(cached) " >&6
15162 else
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15165 #include <string.h>
15167 main ()
15169 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15170 #error Fortify enabled
15171 #endif
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_compile "$LINENO"; then :
15177 ac_cv_c_fortify_enabled=no
15178 else
15179 ac_cv_c_fortify_enabled=yes
15181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15184 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15185 if test "$ac_cv_c_fortify_enabled" = yes
15186 then
15187 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15192 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15193 if ${ac_cv_c_extern_prefix+:} false; then :
15194 $as_echo_n "(cached) " >&6
15195 else
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15198 extern int ac_test;
15200 main ()
15202 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15204 return 0;
15206 _ACEOF
15207 if ac_fn_c_try_link "$LINENO"; then :
15208 ac_cv_c_extern_prefix="yes"
15209 else
15210 ac_cv_c_extern_prefix="no"
15212 rm -f core conftest.err conftest.$ac_objext \
15213 conftest$ac_exeext conftest.$ac_ext
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15216 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15218 case $host_cpu in
15219 *i[3456789]86*)
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15221 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15222 if ${ac_cv_c_stdcall_suffix+:} false; then :
15223 $as_echo_n "(cached) " >&6
15224 else
15225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15226 /* end confdefs.h. */
15227 #ifndef _MSC_VER
15228 #define __stdcall __attribute__((__stdcall__))
15229 #endif
15230 int __stdcall ac_test(int i) { return i; }
15232 main ()
15234 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15236 return 0;
15238 _ACEOF
15239 if ac_fn_c_try_link "$LINENO"; then :
15240 ac_cv_c_stdcall_suffix="yes"
15241 else
15242 ac_cv_c_stdcall_suffix="no"
15244 rm -f core conftest.err conftest.$ac_objext \
15245 conftest$ac_exeext conftest.$ac_ext
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15248 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15249 *) ac_cv_c_stdcall_suffix="no" ;;
15250 esac
15253 if test "$ac_cv_c_extern_prefix" = "yes"
15254 then
15255 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15257 asm_name_prefix="_"
15258 else
15259 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15261 asm_name_prefix=""
15265 if test "$ac_cv_c_stdcall_suffix" = "yes"
15266 then
15267 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15269 else
15270 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15276 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15277 if ${ac_cv_asm_func_def+:} false; then :
15278 $as_echo_n "(cached) " >&6
15279 else
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15284 main ()
15286 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15288 return 0;
15290 _ACEOF
15291 if ac_fn_c_try_link "$LINENO"; then :
15292 ac_cv_asm_func_def=".def"
15293 else
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15298 main ()
15300 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15302 return 0;
15304 _ACEOF
15305 if ac_fn_c_try_link "$LINENO"; then :
15306 ac_cv_asm_func_def=".type @function"
15307 else
15308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15312 main ()
15314 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"; then :
15320 ac_cv_asm_func_def=".type 2"
15321 else
15322 ac_cv_asm_func_def="unknown"
15324 rm -f core conftest.err conftest.$ac_objext \
15325 conftest$ac_exeext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15334 $as_echo "$ac_cv_asm_func_def" >&6; }
15337 case "$ac_cv_asm_func_def" in
15338 ".def")
15339 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15341 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15342 ".type @function")
15343 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15345 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15346 ".type 2")
15347 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15349 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15351 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15353 asm_func_header="" ;;
15354 esac
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15357 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15358 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15359 $as_echo_n "(cached) " >&6
15360 else
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362 /* end confdefs.h. */
15363 asm(".text\n\t.long 0");
15365 main ()
15369 return 0;
15371 _ACEOF
15372 if ac_fn_c_try_compile "$LINENO"; then :
15373 ac_cv_c_asm_outside_funcs="yes"
15374 else
15375 ac_cv_c_asm_outside_funcs="no"
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15380 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15383 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15384 if ${ac_cv_c_dot_previous+:} false; then :
15385 $as_echo_n "(cached) " >&6
15386 else
15387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15391 main ()
15393 asm(".text\nac_test:\t.long 0\n\t.previous");
15395 return 0;
15397 _ACEOF
15398 if ac_fn_c_try_link "$LINENO"; then :
15399 ac_cv_c_dot_previous="yes"
15400 else
15401 ac_cv_c_dot_previous="no"
15403 rm -f core conftest.err conftest.$ac_objext \
15404 conftest$ac_exeext conftest.$ac_ext
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15407 $as_echo "$ac_cv_c_dot_previous" >&6; }
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15410 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15411 if ${ac_cv_c_cfi_support+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15416 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15418 main ()
15422 return 0;
15424 _ACEOF
15425 if ac_fn_c_try_compile "$LINENO"; then :
15426 ac_cv_c_cfi_support="yes"
15427 else
15428 ac_cv_c_cfi_support="no"
15430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15433 $as_echo "$ac_cv_c_cfi_support" >&6; }
15435 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15436 asm_func_trailer=""
15437 if test "$ac_cv_c_dot_previous" = "yes"
15438 then
15439 asm_func_trailer="\\n\\t.previous"
15441 if test "$ac_cv_c_cfi_support" = "yes"
15442 then
15443 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15444 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15446 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15448 UNWINDFLAGS=-fasynchronous-unwind-tables
15450 else
15451 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15453 if test "x$enable_win64" = "xyes"
15454 then
15455 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15459 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15462 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15463 then
15464 cat >>confdefs.h <<_ACEOF
15465 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15466 _ACEOF
15468 else
15469 cat >>confdefs.h <<_ACEOF
15470 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15471 _ACEOF
15475 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15478 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15482 case $build_os in
15483 cygwin*|mingw32*) TOOLSEXT=".exe"
15485 esac
15487 case $host_os in
15488 linux*)
15489 case $host_cpu in
15490 *i[3456789]86*|x86_64*)
15491 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15492 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15494 esac
15496 esac
15499 ac_save_CFLAGS="$CFLAGS"
15500 CFLAGS="$CFLAGS $BUILTINFLAG"
15501 for ac_func in \
15502 __res_get_state \
15503 __res_getservers \
15504 _finite \
15505 _isnan \
15506 _pclose \
15507 _popen \
15508 _snprintf \
15509 _spawnvp \
15510 _strdup \
15511 _stricmp \
15512 _strnicmp \
15513 _strtoi64 \
15514 _strtoui64 \
15515 _vsnprintf \
15516 asctime_r \
15517 chsize \
15518 dlopen \
15519 epoll_create \
15520 ffs \
15521 finitef \
15522 fnmatch \
15523 fork \
15524 fpclass \
15525 fstatfs \
15526 fstatvfs \
15527 ftruncate \
15528 futimens \
15529 futimes \
15530 futimesat \
15531 getattrlist \
15532 getauxval \
15533 getifaddrs \
15534 getopt_long_only \
15535 getpwuid \
15536 gettimeofday \
15537 getuid \
15538 isnanf \
15539 kqueue \
15540 lstat \
15541 memmove \
15542 mmap \
15543 pclose \
15544 pipe2 \
15545 poll \
15546 popen \
15547 port_create \
15548 prctl \
15549 pread \
15550 proc_pidinfo \
15551 pwrite \
15552 readdir \
15553 readlink \
15554 sched_yield \
15555 select \
15556 setproctitle \
15557 setprogname \
15558 setrlimit \
15559 settimeofday \
15560 sigaltstack \
15561 sigprocmask \
15562 snprintf \
15563 statfs \
15564 statvfs \
15565 strcasecmp \
15566 strdup \
15567 strerror \
15568 strncasecmp \
15569 strtold \
15570 strtoll \
15571 strtoull \
15572 symlink \
15573 sysinfo \
15574 tcdrain \
15575 thr_kill2 \
15576 timegm \
15577 usleep \
15578 vsnprintf
15580 do :
15581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15584 cat >>confdefs.h <<_ACEOF
15585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15586 _ACEOF
15589 done
15591 CFLAGS="$ac_save_CFLAGS"
15593 if test "$ac_cv_func_dlopen" = no
15594 then
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15596 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15597 if ${ac_cv_lib_dl_dlopen+:} false; then :
15598 $as_echo_n "(cached) " >&6
15599 else
15600 ac_check_lib_save_LIBS=$LIBS
15601 LIBS="-ldl $LIBS"
15602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15603 /* end confdefs.h. */
15605 /* Override any GCC internal prototype to avoid an error.
15606 Use char because int might match the return type of a GCC
15607 builtin and then its argument prototype would still apply. */
15608 #ifdef __cplusplus
15609 extern "C"
15610 #endif
15611 char dlopen ();
15613 main ()
15615 return dlopen ();
15617 return 0;
15619 _ACEOF
15620 if ac_fn_c_try_link "$LINENO"; then :
15621 ac_cv_lib_dl_dlopen=yes
15622 else
15623 ac_cv_lib_dl_dlopen=no
15625 rm -f core conftest.err conftest.$ac_objext \
15626 conftest$ac_exeext conftest.$ac_ext
15627 LIBS=$ac_check_lib_save_LIBS
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15630 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15631 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15632 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15633 DL_LIBS="-ldl"
15638 ac_wine_check_funcs_save_LIBS="$LIBS"
15639 LIBS="$LIBS $DL_LIBS"
15640 for ac_func in dladdr
15641 do :
15642 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15643 if test "x$ac_cv_func_dladdr" = xyes; then :
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_DLADDR 1
15646 _ACEOF
15649 done
15651 LIBS="$ac_wine_check_funcs_save_LIBS"
15653 if test "$ac_cv_func_poll" = no
15654 then
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15656 $as_echo_n "checking for poll in -lpoll... " >&6; }
15657 if ${ac_cv_lib_poll_poll+:} false; then :
15658 $as_echo_n "(cached) " >&6
15659 else
15660 ac_check_lib_save_LIBS=$LIBS
15661 LIBS="-lpoll $LIBS"
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15665 /* Override any GCC internal prototype to avoid an error.
15666 Use char because int might match the return type of a GCC
15667 builtin and then its argument prototype would still apply. */
15668 #ifdef __cplusplus
15669 extern "C"
15670 #endif
15671 char poll ();
15673 main ()
15675 return poll ();
15677 return 0;
15679 _ACEOF
15680 if ac_fn_c_try_link "$LINENO"; then :
15681 ac_cv_lib_poll_poll=yes
15682 else
15683 ac_cv_lib_poll_poll=no
15685 rm -f core conftest.err conftest.$ac_objext \
15686 conftest$ac_exeext conftest.$ac_ext
15687 LIBS=$ac_check_lib_save_LIBS
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15690 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15691 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15692 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15693 POLL_LIBS="-lpoll"
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15700 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15701 if ${ac_cv_search_gethostbyname+:} false; then :
15702 $as_echo_n "(cached) " >&6
15703 else
15704 ac_func_search_save_LIBS=$LIBS
15705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15706 /* end confdefs.h. */
15708 /* Override any GCC internal prototype to avoid an error.
15709 Use char because int might match the return type of a GCC
15710 builtin and then its argument prototype would still apply. */
15711 #ifdef __cplusplus
15712 extern "C"
15713 #endif
15714 char gethostbyname ();
15716 main ()
15718 return gethostbyname ();
15720 return 0;
15722 _ACEOF
15723 for ac_lib in '' nsl; do
15724 if test -z "$ac_lib"; then
15725 ac_res="none required"
15726 else
15727 ac_res=-l$ac_lib
15728 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15730 if ac_fn_c_try_link "$LINENO"; then :
15731 ac_cv_search_gethostbyname=$ac_res
15733 rm -f core conftest.err conftest.$ac_objext \
15734 conftest$ac_exeext
15735 if ${ac_cv_search_gethostbyname+:} false; then :
15736 break
15738 done
15739 if ${ac_cv_search_gethostbyname+:} false; then :
15741 else
15742 ac_cv_search_gethostbyname=no
15744 rm conftest.$ac_ext
15745 LIBS=$ac_func_search_save_LIBS
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15748 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15749 ac_res=$ac_cv_search_gethostbyname
15750 if test "$ac_res" != no; then :
15751 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15757 $as_echo_n "checking for library containing connect... " >&6; }
15758 if ${ac_cv_search_connect+:} false; then :
15759 $as_echo_n "(cached) " >&6
15760 else
15761 ac_func_search_save_LIBS=$LIBS
15762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15763 /* end confdefs.h. */
15765 /* Override any GCC internal prototype to avoid an error.
15766 Use char because int might match the return type of a GCC
15767 builtin and then its argument prototype would still apply. */
15768 #ifdef __cplusplus
15769 extern "C"
15770 #endif
15771 char connect ();
15773 main ()
15775 return connect ();
15777 return 0;
15779 _ACEOF
15780 for ac_lib in '' socket; do
15781 if test -z "$ac_lib"; then
15782 ac_res="none required"
15783 else
15784 ac_res=-l$ac_lib
15785 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15787 if ac_fn_c_try_link "$LINENO"; then :
15788 ac_cv_search_connect=$ac_res
15790 rm -f core conftest.err conftest.$ac_objext \
15791 conftest$ac_exeext
15792 if ${ac_cv_search_connect+:} false; then :
15793 break
15795 done
15796 if ${ac_cv_search_connect+:} false; then :
15798 else
15799 ac_cv_search_connect=no
15801 rm conftest.$ac_ext
15802 LIBS=$ac_func_search_save_LIBS
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15805 $as_echo "$ac_cv_search_connect" >&6; }
15806 ac_res=$ac_cv_search_connect
15807 if test "$ac_res" != no; then :
15808 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15814 $as_echo_n "checking for library containing inet_aton... " >&6; }
15815 if ${ac_cv_search_inet_aton+:} false; then :
15816 $as_echo_n "(cached) " >&6
15817 else
15818 ac_func_search_save_LIBS=$LIBS
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15822 /* Override any GCC internal prototype to avoid an error.
15823 Use char because int might match the return type of a GCC
15824 builtin and then its argument prototype would still apply. */
15825 #ifdef __cplusplus
15826 extern "C"
15827 #endif
15828 char inet_aton ();
15830 main ()
15832 return inet_aton ();
15834 return 0;
15836 _ACEOF
15837 for ac_lib in '' resolv; do
15838 if test -z "$ac_lib"; then
15839 ac_res="none required"
15840 else
15841 ac_res=-l$ac_lib
15842 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15844 if ac_fn_c_try_link "$LINENO"; then :
15845 ac_cv_search_inet_aton=$ac_res
15847 rm -f core conftest.err conftest.$ac_objext \
15848 conftest$ac_exeext
15849 if ${ac_cv_search_inet_aton+:} false; then :
15850 break
15852 done
15853 if ${ac_cv_search_inet_aton+:} false; then :
15855 else
15856 ac_cv_search_inet_aton=no
15858 rm conftest.$ac_ext
15859 LIBS=$ac_func_search_save_LIBS
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15862 $as_echo "$ac_cv_search_inet_aton" >&6; }
15863 ac_res=$ac_cv_search_inet_aton
15864 if test "$ac_res" != no; then :
15865 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15870 for ac_func in \
15871 getaddrinfo \
15872 getnameinfo \
15873 getnetbyname \
15874 getprotobyname \
15875 getprotobynumber \
15876 getservbyport \
15877 inet_addr \
15878 inet_network \
15879 inet_ntop \
15880 inet_pton \
15881 sendmsg \
15882 socketpair \
15884 do :
15885 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15886 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15887 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15890 _ACEOF
15893 done
15896 ac_save_LIBS=$LIBS
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15898 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15899 if ${ac_cv_search_clock_gettime+:} false; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 ac_func_search_save_LIBS=$LIBS
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15906 /* Override any GCC internal prototype to avoid an error.
15907 Use char because int might match the return type of a GCC
15908 builtin and then its argument prototype would still apply. */
15909 #ifdef __cplusplus
15910 extern "C"
15911 #endif
15912 char clock_gettime ();
15914 main ()
15916 return clock_gettime ();
15918 return 0;
15920 _ACEOF
15921 for ac_lib in '' rt; do
15922 if test -z "$ac_lib"; then
15923 ac_res="none required"
15924 else
15925 ac_res=-l$ac_lib
15926 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15928 if ac_fn_c_try_link "$LINENO"; then :
15929 ac_cv_search_clock_gettime=$ac_res
15931 rm -f core conftest.err conftest.$ac_objext \
15932 conftest$ac_exeext
15933 if ${ac_cv_search_clock_gettime+:} false; then :
15934 break
15936 done
15937 if ${ac_cv_search_clock_gettime+:} false; then :
15939 else
15940 ac_cv_search_clock_gettime=no
15942 rm conftest.$ac_ext
15943 LIBS=$ac_func_search_save_LIBS
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15946 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15947 ac_res=$ac_cv_search_clock_gettime
15948 if test "$ac_res" != no; then :
15949 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15951 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15953 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15957 LIBS=$ac_save_LIBS
15959 if test "x$with_ldap" != "xno"
15960 then
15961 if ${LDAP_CFLAGS:+false} :; then :
15962 if ${PKG_CONFIG+:} false; then :
15963 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15967 if ${LDAP_LIBS:+false} :; then :
15968 if ${PKG_CONFIG+:} false; then :
15969 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15973 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15974 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15975 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15976 ac_save_CPPFLAGS=$CPPFLAGS
15977 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15978 for ac_header in ldap.h lber.h
15979 do :
15980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15981 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15982 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15983 cat >>confdefs.h <<_ACEOF
15984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15985 _ACEOF
15989 done
15991 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15992 then
15993 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15995 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15997 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15998 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15999 $as_echo_n "(cached) " >&6
16000 else
16001 ac_check_lib_save_LIBS=$LIBS
16002 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16004 /* end confdefs.h. */
16006 /* Override any GCC internal prototype to avoid an error.
16007 Use char because int might match the return type of a GCC
16008 builtin and then its argument prototype would still apply. */
16009 #ifdef __cplusplus
16010 extern "C"
16011 #endif
16012 char ldap_initialize ();
16014 main ()
16016 return ldap_initialize ();
16018 return 0;
16020 _ACEOF
16021 if ac_fn_c_try_link "$LINENO"; then :
16022 ac_cv_lib_ldap_r_ldap_initialize=yes
16023 else
16024 ac_cv_lib_ldap_r_ldap_initialize=no
16026 rm -f core conftest.err conftest.$ac_objext \
16027 conftest$ac_exeext conftest.$ac_ext
16028 LIBS=$ac_check_lib_save_LIBS
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16031 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16032 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16034 $as_echo_n "checking for ber_init in -llber... " >&6; }
16035 if ${ac_cv_lib_lber_ber_init+:} false; then :
16036 $as_echo_n "(cached) " >&6
16037 else
16038 ac_check_lib_save_LIBS=$LIBS
16039 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16041 /* end confdefs.h. */
16043 /* Override any GCC internal prototype to avoid an error.
16044 Use char because int might match the return type of a GCC
16045 builtin and then its argument prototype would still apply. */
16046 #ifdef __cplusplus
16047 extern "C"
16048 #endif
16049 char ber_init ();
16051 main ()
16053 return ber_init ();
16055 return 0;
16057 _ACEOF
16058 if ac_fn_c_try_link "$LINENO"; then :
16059 ac_cv_lib_lber_ber_init=yes
16060 else
16061 ac_cv_lib_lber_ber_init=no
16063 rm -f core conftest.err conftest.$ac_objext \
16064 conftest$ac_exeext conftest.$ac_ext
16065 LIBS=$ac_check_lib_save_LIBS
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16068 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16069 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16071 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16073 else
16074 LDAP_LIBS=""
16077 else
16078 LDAP_LIBS=""
16081 else
16082 LDAP_LIBS=""
16085 ac_wine_check_funcs_save_LIBS="$LIBS"
16086 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16087 for ac_func in \
16088 ldap_count_references \
16089 ldap_first_reference \
16090 ldap_next_reference \
16091 ldap_parse_reference \
16092 ldap_parse_sort_control \
16093 ldap_parse_sortresponse_control \
16094 ldap_parse_vlv_control \
16095 ldap_parse_vlvresponse_control
16096 do :
16097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16102 _ACEOF
16105 done
16107 LIBS="$ac_wine_check_funcs_save_LIBS"
16108 else
16109 LDAP_LIBS=""
16111 CPPFLAGS=$ac_save_CPPFLAGS
16112 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16113 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16116 if test "x$LDAP_LIBS" = "x"; then :
16117 case "x$with_ldap" in
16118 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16119 xno) ;;
16120 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16121 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16122 esac
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16127 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16128 if ${wine_cv_one_arg_mkdir+:} false; then :
16129 $as_echo_n "(cached) " >&6
16130 else
16131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16133 #include <sys/stat.h>
16135 main ()
16137 mkdir("foo");
16139 return 0;
16141 _ACEOF
16142 if ac_fn_c_try_compile "$LINENO"; then :
16143 wine_cv_one_arg_mkdir=yes
16144 else
16145 wine_cv_one_arg_mkdir=no
16147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16150 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16151 if test "$wine_cv_one_arg_mkdir" = "yes"
16152 then
16154 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16159 $as_echo_n "checking for sched_setaffinity... " >&6; }
16160 if ${wine_cv_have_sched_setaffinity+:} false; then :
16161 $as_echo_n "(cached) " >&6
16162 else
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h. */
16165 #define _GNU_SOURCE
16166 #include <sched.h>
16168 main ()
16170 sched_setaffinity(0, 0, 0);
16172 return 0;
16174 _ACEOF
16175 if ac_fn_c_try_link "$LINENO"; then :
16176 wine_cv_have_sched_setaffinity=yes
16177 else
16178 wine_cv_have_sched_setaffinity=no
16180 rm -f core conftest.err conftest.$ac_objext \
16181 conftest$ac_exeext conftest.$ac_ext
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16184 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16185 if test "$wine_cv_have_sched_setaffinity" = "yes"
16186 then
16188 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16193 $as_echo_n "checking for fallocate... " >&6; }
16194 if ${wine_cv_have_fallocate+:} false; then :
16195 $as_echo_n "(cached) " >&6
16196 else
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16199 #define _GNU_SOURCE
16200 #include <fcntl.h>
16202 main ()
16204 fallocate(-1, 0, 0, 0);
16206 return 0;
16208 _ACEOF
16209 if ac_fn_c_try_link "$LINENO"; then :
16210 wine_cv_have_fallocate=yes
16211 else
16212 wine_cv_have_fallocate=no
16214 rm -f core conftest.err conftest.$ac_objext \
16215 conftest$ac_exeext conftest.$ac_ext
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16218 $as_echo "$wine_cv_have_fallocate" >&6; }
16219 if test "$wine_cv_have_fallocate" = "yes"
16220 then
16222 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16228 $as_echo_n "checking for inline... " >&6; }
16229 if ${ac_cv_c_inline+:} false; then :
16230 $as_echo_n "(cached) " >&6
16231 else
16232 ac_cv_c_inline=no
16233 for ac_kw in inline __inline__ __inline; do
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16236 #ifndef __cplusplus
16237 typedef int foo_t;
16238 static $ac_kw foo_t static_foo () {return 0; }
16239 $ac_kw foo_t foo () {return 0; }
16240 #endif
16242 _ACEOF
16243 if ac_fn_c_try_compile "$LINENO"; then :
16244 ac_cv_c_inline=$ac_kw
16246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16247 test "$ac_cv_c_inline" != no && break
16248 done
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16252 $as_echo "$ac_cv_c_inline" >&6; }
16254 case $ac_cv_c_inline in
16255 inline | yes) ;;
16257 case $ac_cv_c_inline in
16258 no) ac_val=;;
16259 *) ac_val=$ac_cv_c_inline;;
16260 esac
16261 cat >>confdefs.h <<_ACEOF
16262 #ifndef __cplusplus
16263 #define inline $ac_val
16264 #endif
16265 _ACEOF
16267 esac
16269 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16270 if test "x$ac_cv_type_mode_t" = xyes; then :
16272 cat >>confdefs.h <<_ACEOF
16273 #define HAVE_MODE_T 1
16274 _ACEOF
16278 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16279 if test "x$ac_cv_type_off_t" = xyes; then :
16281 cat >>confdefs.h <<_ACEOF
16282 #define HAVE_OFF_T 1
16283 _ACEOF
16287 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16288 if test "x$ac_cv_type_pid_t" = xyes; then :
16290 cat >>confdefs.h <<_ACEOF
16291 #define HAVE_PID_T 1
16292 _ACEOF
16296 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16297 if test "x$ac_cv_type_size_t" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_SIZE_T 1
16301 _ACEOF
16305 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16306 if test "x$ac_cv_type_ssize_t" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_SSIZE_T 1
16310 _ACEOF
16314 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16315 if test "x$ac_cv_type_long_long" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_LONG_LONG 1
16319 _ACEOF
16323 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16324 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_FSBLKCNT_T 1
16328 _ACEOF
16332 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16333 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16335 cat >>confdefs.h <<_ACEOF
16336 #define HAVE_FSFILCNT_T 1
16337 _ACEOF
16342 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16343 #include <signal.h>
16345 if test "x$ac_cv_type_sigset_t" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_SIGSET_T 1
16349 _ACEOF
16354 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16356 if test "x$ac_cv_type_request_sense" = xyes; then :
16358 cat >>confdefs.h <<_ACEOF
16359 #define HAVE_REQUEST_SENSE 1
16360 _ACEOF
16366 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16367 #ifdef HAVE_SYS_SOCKET_H
16368 #include <sys/socket.h>
16369 #endif
16370 #ifdef HAVE_SYS_SOCKETVAR_H
16371 #include <sys/socketvar.h>
16372 #endif
16373 #ifdef HAVE_NET_ROUTE_H
16374 #include <net/route.h>
16375 #endif
16376 #ifdef HAVE_NETINET_IN_H
16377 #include <netinet/in.h>
16378 #endif
16379 #ifdef HAVE_NETINET_IN_SYSTM_H
16380 #include <netinet/in_systm.h>
16381 #endif
16382 #ifdef HAVE_NETINET_IP_H
16383 #include <netinet/ip.h>
16384 #endif
16385 #ifdef HAVE_NETINET_IN_PCB_H
16386 #include <netinet/in_pcb.h>
16387 #endif
16389 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_XINPGEN 1
16393 _ACEOF
16399 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16400 #include <link.h>
16401 #endif
16402 #ifdef HAVE_SYS_LINK_H
16403 #include <sys/link.h>
16404 #endif
16406 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16408 cat >>confdefs.h <<_ACEOF
16409 #define HAVE_STRUCT_R_DEBUG 1
16410 _ACEOF
16414 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16415 #include <link.h>
16416 #endif
16417 #ifdef HAVE_SYS_LINK_H
16418 #include <sys/link.h>
16419 #endif
16421 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_STRUCT_LINK_MAP 1
16425 _ACEOF
16431 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16432 #include <linux/input.h>
16433 #endif
16435 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16437 cat >>confdefs.h <<_ACEOF
16438 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16439 _ACEOF
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16446 $as_echo_n "checking for if_nameindex... " >&6; }
16447 if ${wine_cv_have_if_nameindex+:} false; then :
16448 $as_echo_n "(cached) " >&6
16449 else
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #ifdef HAVE_SYS_TYPES_H
16453 #include <sys/types.h>
16454 #endif
16455 #ifdef HAVE_SYS_SOCKET_H
16456 #include <sys/socket.h>
16457 #endif
16458 #ifdef HAVE_NET_IF_H
16459 # include <net/if.h>
16460 #endif
16462 main ()
16464 struct if_nameindex *p = if_nameindex(); return p->if_index;
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"; then :
16470 wine_cv_have_if_nameindex=yes
16471 else
16472 wine_cv_have_if_nameindex=no
16474 rm -f core conftest.err conftest.$ac_objext \
16475 conftest$ac_exeext conftest.$ac_ext
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16478 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16479 if test "$wine_cv_have_if_nameindex" = "yes"
16480 then
16482 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16487 $as_echo_n "checking for sigaddset... " >&6; }
16488 if ${wine_cv_have_sigaddset+:} false; then :
16489 $as_echo_n "(cached) " >&6
16490 else
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16493 #include <signal.h>
16495 main ()
16497 sigset_t set; sigaddset(&set,SIGTERM);
16499 return 0;
16501 _ACEOF
16502 if ac_fn_c_try_link "$LINENO"; then :
16503 wine_cv_have_sigaddset=yes
16504 else
16505 wine_cv_have_sigaddset=no
16507 rm -f core conftest.err conftest.$ac_objext \
16508 conftest$ac_exeext conftest.$ac_ext
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16511 $as_echo "$wine_cv_have_sigaddset" >&6; }
16512 if test "$wine_cv_have_sigaddset" = "yes"
16513 then
16515 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16521 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16522 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16523 $as_echo_n "(cached) " >&6
16524 else
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16527 #include <netdb.h>
16529 main ()
16532 char *name=0;
16533 struct hostent he;
16534 struct hostent *result;
16535 char *buf=0;
16536 int bufsize=0;
16537 int errnr;
16538 char *addr=0;
16539 int addrlen=0;
16540 int addrtype=0;
16541 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16542 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16545 return 0;
16547 _ACEOF
16548 if ac_fn_c_try_link "$LINENO"; then :
16549 wine_cv_linux_gethostbyname_r_6=yes
16550 else
16551 wine_cv_linux_gethostbyname_r_6=no
16554 rm -f core conftest.err conftest.$ac_objext \
16555 conftest$ac_exeext conftest.$ac_ext
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16559 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16560 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16561 then
16563 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16567 if test "$ac_cv_header_linux_joystick_h" = "yes"
16568 then
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16570 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16571 if ${wine_cv_linux_joystick_22_api+:} false; then :
16572 $as_echo_n "(cached) " >&6
16573 else
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16577 #include <sys/ioctl.h>
16578 #include <sys/types.h>
16579 #include <linux/joystick.h>
16581 struct js_event blub;
16582 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16583 #error "no 2.2 header"
16584 #endif
16587 main ()
16589 /*empty*/
16591 return 0;
16593 _ACEOF
16594 if ac_fn_c_try_compile "$LINENO"; then :
16595 wine_cv_linux_joystick_22_api=yes
16596 else
16597 wine_cv_linux_joystick_22_api=no
16599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16603 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16604 if test "$wine_cv_linux_joystick_22_api" = "yes"
16605 then
16607 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16613 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16614 #ifdef HAVE_SYS_PARAM_H
16615 # include <sys/param.h>
16616 #endif
16617 #ifdef HAVE_SYS_MOUNT_H
16618 # include <sys/mount.h>
16619 #endif
16620 #ifdef HAVE_SYS_VFS_H
16621 # include <sys/vfs.h>
16622 #endif
16623 #ifdef HAVE_SYS_STATFS_H
16624 # include <sys/statfs.h>
16625 #endif
16627 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_STRUCT_STATFS_F_BFREE 1
16631 _ACEOF
16635 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16636 #ifdef HAVE_SYS_PARAM_H
16637 # include <sys/param.h>
16638 #endif
16639 #ifdef HAVE_SYS_MOUNT_H
16640 # include <sys/mount.h>
16641 #endif
16642 #ifdef HAVE_SYS_VFS_H
16643 # include <sys/vfs.h>
16644 #endif
16645 #ifdef HAVE_SYS_STATFS_H
16646 # include <sys/statfs.h>
16647 #endif
16649 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16653 _ACEOF
16657 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16658 #ifdef HAVE_SYS_PARAM_H
16659 # include <sys/param.h>
16660 #endif
16661 #ifdef HAVE_SYS_MOUNT_H
16662 # include <sys/mount.h>
16663 #endif
16664 #ifdef HAVE_SYS_VFS_H
16665 # include <sys/vfs.h>
16666 #endif
16667 #ifdef HAVE_SYS_STATFS_H
16668 # include <sys/statfs.h>
16669 #endif
16671 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16673 cat >>confdefs.h <<_ACEOF
16674 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16675 _ACEOF
16679 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16680 #ifdef HAVE_SYS_PARAM_H
16681 # include <sys/param.h>
16682 #endif
16683 #ifdef HAVE_SYS_MOUNT_H
16684 # include <sys/mount.h>
16685 #endif
16686 #ifdef HAVE_SYS_VFS_H
16687 # include <sys/vfs.h>
16688 #endif
16689 #ifdef HAVE_SYS_STATFS_H
16690 # include <sys/statfs.h>
16691 #endif
16693 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_STRUCT_STATFS_F_FFREE 1
16697 _ACEOF
16701 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16702 #ifdef HAVE_SYS_PARAM_H
16703 # include <sys/param.h>
16704 #endif
16705 #ifdef HAVE_SYS_MOUNT_H
16706 # include <sys/mount.h>
16707 #endif
16708 #ifdef HAVE_SYS_VFS_H
16709 # include <sys/vfs.h>
16710 #endif
16711 #ifdef HAVE_SYS_STATFS_H
16712 # include <sys/statfs.h>
16713 #endif
16715 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16719 _ACEOF
16723 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16724 #ifdef HAVE_SYS_PARAM_H
16725 # include <sys/param.h>
16726 #endif
16727 #ifdef HAVE_SYS_MOUNT_H
16728 # include <sys/mount.h>
16729 #endif
16730 #ifdef HAVE_SYS_VFS_H
16731 # include <sys/vfs.h>
16732 #endif
16733 #ifdef HAVE_SYS_STATFS_H
16734 # include <sys/statfs.h>
16735 #endif
16737 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16741 _ACEOF
16747 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16748 #include <sys/statvfs.h>
16749 #endif
16751 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16753 cat >>confdefs.h <<_ACEOF
16754 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16755 _ACEOF
16761 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16762 #include <dirent.h>
16763 #endif
16765 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16767 cat >>confdefs.h <<_ACEOF
16768 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16769 _ACEOF
16775 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16776 #ifdef HAVE_SYS_SOCKET_H
16777 # include <sys/socket.h>
16778 #endif
16779 #ifdef HAVE_SYS_UN_H
16780 # include <sys/un.h>
16781 #endif
16783 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16785 cat >>confdefs.h <<_ACEOF
16786 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16787 _ACEOF
16791 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16792 #ifdef HAVE_SYS_SOCKET_H
16793 # include <sys/socket.h>
16794 #endif
16795 #ifdef HAVE_SYS_UN_H
16796 # include <sys/un.h>
16797 #endif
16799 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16801 cat >>confdefs.h <<_ACEOF
16802 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16803 _ACEOF
16807 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16808 #ifdef HAVE_SYS_SOCKET_H
16809 # include <sys/socket.h>
16810 #endif
16811 #ifdef HAVE_SYS_UN_H
16812 # include <sys/un.h>
16813 #endif
16815 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16817 cat >>confdefs.h <<_ACEOF
16818 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16819 _ACEOF
16825 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16826 #ifdef HAVE_SCSI_SG_H
16827 #include <scsi/sg.h>
16828 #endif
16830 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16832 cat >>confdefs.h <<_ACEOF
16833 #define HAVE_SCSIREQ_T_CMD 1
16834 _ACEOF
16838 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>
16839 #ifdef HAVE_SCSI_SG_H
16840 #include <scsi/sg.h>
16841 #endif
16843 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16845 cat >>confdefs.h <<_ACEOF
16846 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16847 _ACEOF
16853 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16855 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16857 cat >>confdefs.h <<_ACEOF
16858 #define HAVE_SIGINFO_T_SI_FD 1
16859 _ACEOF
16865 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16866 #ifdef HAVE_SYS_MTIO_H
16867 #include <sys/mtio.h>
16868 #endif
16870 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16872 cat >>confdefs.h <<_ACEOF
16873 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16874 _ACEOF
16878 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16879 #ifdef HAVE_SYS_MTIO_H
16880 #include <sys/mtio.h>
16881 #endif
16883 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16885 cat >>confdefs.h <<_ACEOF
16886 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16887 _ACEOF
16891 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16892 #ifdef HAVE_SYS_MTIO_H
16893 #include <sys/mtio.h>
16894 #endif
16896 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16898 cat >>confdefs.h <<_ACEOF
16899 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16900 _ACEOF
16906 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16907 #include <getopt.h>
16908 #endif
16910 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16912 cat >>confdefs.h <<_ACEOF
16913 #define HAVE_STRUCT_OPTION_NAME 1
16914 _ACEOF
16920 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16921 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16923 cat >>confdefs.h <<_ACEOF
16924 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16925 _ACEOF
16929 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16930 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16932 cat >>confdefs.h <<_ACEOF
16933 #define HAVE_STRUCT_STAT_ST_MTIM 1
16934 _ACEOF
16938 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16939 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16941 cat >>confdefs.h <<_ACEOF
16942 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16943 _ACEOF
16947 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16948 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_STRUCT_STAT_ST_CTIM 1
16952 _ACEOF
16956 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16957 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16959 cat >>confdefs.h <<_ACEOF
16960 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16961 _ACEOF
16965 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16966 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16968 cat >>confdefs.h <<_ACEOF
16969 #define HAVE_STRUCT_STAT_ST_ATIM 1
16970 _ACEOF
16974 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16975 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16977 cat >>confdefs.h <<_ACEOF
16978 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16979 _ACEOF
16983 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16984 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16986 cat >>confdefs.h <<_ACEOF
16987 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16988 _ACEOF
16992 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16993 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16995 cat >>confdefs.h <<_ACEOF
16996 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16997 _ACEOF
17001 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17002 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17004 cat >>confdefs.h <<_ACEOF
17005 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17006 _ACEOF
17010 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17011 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17013 cat >>confdefs.h <<_ACEOF
17014 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17015 _ACEOF
17019 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17020 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17022 cat >>confdefs.h <<_ACEOF
17023 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17024 _ACEOF
17030 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
17031 #include <sys/types.h>
17032 #endif
17033 #ifdef HAVE_NETINET_IN_H
17034 #include <netinet/in.h>
17035 #endif
17037 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17039 cat >>confdefs.h <<_ACEOF
17040 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17041 _ACEOF
17047 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17048 #include <sys/types.h>
17049 #endif
17050 #ifdef HAVE_NETINET_IN_H
17051 #include <netinet/in.h>
17052 #endif
17053 #ifdef HAVE_RESOLV_H
17054 #include <resolv.h>
17055 #endif
17057 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17059 cat >>confdefs.h <<_ACEOF
17060 #define HAVE_STRUCT___RES_STATE 1
17061 _ACEOF
17067 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
17068 #include <resolv.h>
17069 #endif
17071 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17073 cat >>confdefs.h <<_ACEOF
17074 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17075 _ACEOF
17081 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17082 #include <sys/types.h>
17083 #endif
17084 #ifdef HAVE_NETINET_IN_H
17085 # include <netinet/in.h>
17086 #endif
17087 #ifdef HAVE_ARPA_NAMESER_H
17088 # include <arpa/nameser.h>
17089 #endif
17091 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17093 cat >>confdefs.h <<_ACEOF
17094 #define HAVE_NS_MSG__MSG_PTR 1
17095 _ACEOF
17101 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17102 #include <sys/types.h>
17103 #endif
17104 #ifdef HAVE_NETINET_IN_H
17105 #include <netinet/in.h>
17106 #endif
17107 #ifdef HAVE_NETINET_IP_H
17108 #include <netinet/ip.h>
17109 #endif
17110 #ifdef HAVE_NETINET_IP_ICMP_H
17111 #include <netinet/ip_icmp.h>
17112 #endif
17113 #ifdef HAVE_NETINET_ICMP_VAR_H
17114 #include <netinet/icmp_var.h>
17115 #endif
17117 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17119 cat >>confdefs.h <<_ACEOF
17120 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17121 _ACEOF
17127 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17128 #include <sys/types.h>
17129 #endif
17130 #ifdef HAVE_ALIAS_H
17131 #include <alias.h>
17132 #endif
17133 #ifdef HAVE_SYS_SOCKET_H
17134 #include <sys/socket.h>
17135 #endif
17136 #ifdef HAVE_SYS_SOCKETVAR_H
17137 #include <sys/socketvar.h>
17138 #endif
17139 #ifdef HAVE_SYS_TIMEOUT_H
17140 #include <sys/timeout.h>
17141 #endif
17142 #ifdef HAVE_NETINET_IN_H
17143 #include <netinet/in.h>
17144 #endif
17145 #ifdef HAVE_NETINET_IN_SYSTM_H
17146 #include <netinet/in_systm.h>
17147 #endif
17148 #ifdef HAVE_NETINET_IP_H
17149 #include <netinet/ip.h>
17150 #endif
17151 #ifdef HAVE_NETINET_IP_VAR_H
17152 #include <netinet/ip_var.h>
17153 #endif
17154 #ifdef HAVE_NETINET_IP_ICMP_H
17155 #include <netinet/ip_icmp.h>
17156 #endif
17157 #ifdef HAVE_NETINET_ICMP_VAR_H
17158 #include <netinet/icmp_var.h>
17159 #endif
17161 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17163 cat >>confdefs.h <<_ACEOF
17164 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17165 _ACEOF
17171 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17172 #include <sys/types.h>
17173 #endif
17174 #ifdef HAVE_SYS_SOCKETVAR_H
17175 #include <sys/socketvar.h>
17176 #endif
17177 #ifdef HAVE_NETINET_IN_H
17178 #include <netinet/in.h>
17179 #endif
17180 #ifdef HAVE_NETINET_IP_VAR_H
17181 #include <netinet/ip_var.h>
17182 #endif
17184 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17186 cat >>confdefs.h <<_ACEOF
17187 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17188 _ACEOF
17194 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
17195 #include <netinet/ip_var.h>
17196 #endif
17198 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17200 cat >>confdefs.h <<_ACEOF
17201 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17202 _ACEOF
17208 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17209 #include <sys/types.h>
17210 #endif
17211 #ifdef HAVE_SYS_SOCKETVAR_H
17212 #include <sys/socketvar.h>
17213 #endif
17214 #ifdef HAVE_NETINET_IN_H
17215 #include <netinet/in.h>
17216 #endif
17217 #ifdef HAVE_NETINET_TCP_H
17218 #include <netinet/tcp.h>
17219 #endif
17220 #ifdef HAVE_NETINET_TCP_VAR_H
17221 #include <netinet/tcp_var.h>
17222 #endif
17224 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17226 cat >>confdefs.h <<_ACEOF
17227 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17228 _ACEOF
17234 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
17235 #include <netinet/tcp_var.h>
17236 #endif
17238 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17240 cat >>confdefs.h <<_ACEOF
17241 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17242 _ACEOF
17248 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17249 #include <sys/types.h>
17250 #endif
17251 #ifdef HAVE_NETINET_IN_H
17252 #include <netinet/in.h>
17253 #endif
17254 #ifdef HAVE_NETINET_IP_VAR_H
17255 #include <netinet/ip_var.h>
17256 #endif
17257 #ifdef HAVE_NETINET_UDP_H
17258 #include <netinet/udp.h>
17259 #endif
17260 #ifdef HAVE_NETINET_UDP_VAR_H
17261 #include <netinet/udp_var.h>
17262 #endif
17264 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17266 cat >>confdefs.h <<_ACEOF
17267 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17268 _ACEOF
17274 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17275 #include <sys/types.h>
17276 #endif
17277 #ifdef HAVE_NET_IF_H
17278 # include <net/if.h>
17279 #endif
17281 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17283 cat >>confdefs.h <<_ACEOF
17284 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17285 _ACEOF
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17292 $as_echo_n "checking for timezone variable... " >&6; }
17293 if ${ac_cv_have_timezone+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 #include <time.h>
17300 main ()
17302 timezone = 1
17304 return 0;
17306 _ACEOF
17307 if ac_fn_c_try_link "$LINENO"; then :
17308 ac_cv_have_timezone="yes"
17309 else
17310 ac_cv_have_timezone="no"
17312 rm -f core conftest.err conftest.$ac_objext \
17313 conftest$ac_exeext conftest.$ac_ext
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17316 $as_echo "$ac_cv_have_timezone" >&6; }
17317 if test "$ac_cv_have_timezone" = "yes"
17318 then
17320 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17324 $as_echo_n "checking for daylight variable... " >&6; }
17325 if ${ac_cv_have_daylight+:} false; then :
17326 $as_echo_n "(cached) " >&6
17327 else
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 #include <time.h>
17332 main ()
17334 daylight = 1
17336 return 0;
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 ac_cv_have_daylight="yes"
17341 else
17342 ac_cv_have_daylight="no"
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17348 $as_echo "$ac_cv_have_daylight" >&6; }
17349 if test "$ac_cv_have_daylight" = "yes"
17350 then
17352 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17356 ac_save_LIBS="$LIBS"
17357 LIBS="$LIBS -lm"
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17359 $as_echo_n "checking for isfinite... " >&6; }
17360 if ${ac_cv_have_isfinite+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365 #define _GNU_SOURCE
17366 #include <math.h>
17368 main ()
17370 float f = 0.0; return isfinite(f)
17372 return 0;
17374 _ACEOF
17375 if ac_fn_c_try_link "$LINENO"; then :
17376 ac_cv_have_isfinite="yes"
17377 else
17378 ac_cv_have_isfinite="no"
17380 rm -f core conftest.err conftest.$ac_objext \
17381 conftest$ac_exeext conftest.$ac_ext
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17384 $as_echo "$ac_cv_have_isfinite" >&6; }
17385 if test "$ac_cv_have_isfinite" = "yes"
17386 then
17388 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17393 $as_echo_n "checking for isinf... " >&6; }
17394 if ${ac_cv_have_isinf+:} false; then :
17395 $as_echo_n "(cached) " >&6
17396 else
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17399 #include <math.h>
17401 main ()
17403 float f = 0.0; return isinf(f)
17405 return 0;
17407 _ACEOF
17408 if ac_fn_c_try_link "$LINENO"; then :
17409 ac_cv_have_isinf="yes"
17410 else
17411 ac_cv_have_isinf="no"
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17417 $as_echo "$ac_cv_have_isinf" >&6; }
17418 if test "$ac_cv_have_isinf" = "yes"
17419 then
17421 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17426 $as_echo_n "checking for isnan... " >&6; }
17427 if ${ac_cv_have_isnan+:} false; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <math.h>
17434 main ()
17436 float f = 0.0; return isnan(f)
17438 return 0;
17440 _ACEOF
17441 if ac_fn_c_try_link "$LINENO"; then :
17442 ac_cv_have_isnan="yes"
17443 else
17444 ac_cv_have_isnan="no"
17446 rm -f core conftest.err conftest.$ac_objext \
17447 conftest$ac_exeext conftest.$ac_ext
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17450 $as_echo "$ac_cv_have_isnan" >&6; }
17451 if test "$ac_cv_have_isnan" = "yes"
17452 then
17454 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17458 for ac_func in \
17459 acosh \
17460 acoshf \
17461 asinh \
17462 asinhf \
17463 atanh \
17464 atanhf \
17465 cbrt \
17466 cbrtf \
17467 erf \
17468 erfc \
17469 erfcf \
17470 erff \
17471 exp2 \
17472 exp2f \
17473 expm1 \
17474 expm1f \
17475 lgamma \
17476 lgammaf \
17477 llrint \
17478 llrintf \
17479 llround \
17480 llroundf \
17481 log1p \
17482 log1pf \
17483 log2 \
17484 log2f \
17485 lrint \
17486 lrintf \
17487 lround \
17488 lroundf \
17489 nearbyint \
17490 nearbyintf \
17491 powl \
17492 remainder \
17493 remainderf \
17494 rint \
17495 rintf \
17496 round \
17497 roundf \
17498 trunc \
17499 truncf
17501 do :
17502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17504 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17505 cat >>confdefs.h <<_ACEOF
17506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17507 _ACEOF
17510 done
17512 LIBS="$ac_save_LIBS"
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17515 $as_echo_n "checking for __builtin_clz... " >&6; }
17516 if ${ac_cv_have___builtin_clz+:} false; then :
17517 $as_echo_n "(cached) " >&6
17518 else
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17523 main ()
17525 return __builtin_clz(1)
17527 return 0;
17529 _ACEOF
17530 if ac_fn_c_try_link "$LINENO"; then :
17531 ac_cv_have___builtin_clz="yes"
17532 else
17533 ac_cv_have___builtin_clz="no"
17535 rm -f core conftest.err conftest.$ac_objext \
17536 conftest$ac_exeext conftest.$ac_ext
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17539 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17540 if test "$ac_cv_have___builtin_clz" = "yes"
17541 then
17543 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17548 $as_echo_n "checking for __builtin_popcount... " >&6; }
17549 if ${ac_cv_have___builtin_popcount+:} false; then :
17550 $as_echo_n "(cached) " >&6
17551 else
17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17556 main ()
17558 return __builtin_popcount(1)
17560 return 0;
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"; then :
17564 ac_cv_have___builtin_popcount="yes"
17565 else
17566 ac_cv_have___builtin_popcount="no"
17568 rm -f core conftest.err conftest.$ac_objext \
17569 conftest$ac_exeext conftest.$ac_ext
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17572 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17573 if test "$ac_cv_have___builtin_popcount" = "yes"
17574 then
17576 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17581 case $host_cpu in
17582 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17583 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17584 if ${ac_cv_cpp_def___i386__+:} false; then :
17585 $as_echo_n "(cached) " >&6
17586 else
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #ifndef __i386__
17591 #endif
17592 _ACEOF
17593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17594 $EGREP "yes" >/dev/null 2>&1; then :
17595 ac_cv_cpp_def___i386__=yes
17596 else
17597 ac_cv_cpp_def___i386__=no
17599 rm -f conftest*
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17603 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17604 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17605 CFLAGS="$CFLAGS -D__i386__"
17606 LINTFLAGS="$LINTFLAGS -D__i386__"
17607 fi ;;
17608 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17609 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17610 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17611 $as_echo_n "(cached) " >&6
17612 else
17613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17614 /* end confdefs.h. */
17615 #ifndef __x86_64__
17617 #endif
17618 _ACEOF
17619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17620 $EGREP "yes" >/dev/null 2>&1; then :
17621 ac_cv_cpp_def___x86_64__=yes
17622 else
17623 ac_cv_cpp_def___x86_64__=no
17625 rm -f conftest*
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17629 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17630 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17631 CFLAGS="$CFLAGS -D__x86_64__"
17632 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17633 fi ;;
17634 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17635 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17636 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17637 $as_echo_n "(cached) " >&6
17638 else
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #ifndef __sparc64__
17643 #endif
17644 _ACEOF
17645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17646 $EGREP "yes" >/dev/null 2>&1; then :
17647 ac_cv_cpp_def___sparc64__=yes
17648 else
17649 ac_cv_cpp_def___sparc64__=no
17651 rm -f conftest*
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17655 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17656 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17657 CFLAGS="$CFLAGS -D__sparc64__"
17658 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17659 fi ;;
17660 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17661 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17662 if ${ac_cv_cpp_def___sparc__+:} false; then :
17663 $as_echo_n "(cached) " >&6
17664 else
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #ifndef __sparc__
17669 #endif
17670 _ACEOF
17671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17672 $EGREP "yes" >/dev/null 2>&1; then :
17673 ac_cv_cpp_def___sparc__=yes
17674 else
17675 ac_cv_cpp_def___sparc__=no
17677 rm -f conftest*
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17681 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17682 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17683 CFLAGS="$CFLAGS -D__sparc__"
17684 LINTFLAGS="$LINTFLAGS -D__sparc__"
17685 fi ;;
17686 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17687 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17688 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17689 $as_echo_n "(cached) " >&6
17690 else
17691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17692 /* end confdefs.h. */
17693 #ifndef __powerpc64__
17695 #endif
17696 _ACEOF
17697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17698 $EGREP "yes" >/dev/null 2>&1; then :
17699 ac_cv_cpp_def___powerpc64__=yes
17700 else
17701 ac_cv_cpp_def___powerpc64__=no
17703 rm -f conftest*
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17707 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17708 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17709 CFLAGS="$CFLAGS -D__powerpc64__"
17710 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17711 fi ;;
17712 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17713 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17714 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17715 $as_echo_n "(cached) " >&6
17716 else
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17719 #ifndef __powerpc__
17721 #endif
17722 _ACEOF
17723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17724 $EGREP "yes" >/dev/null 2>&1; then :
17725 ac_cv_cpp_def___powerpc__=yes
17726 else
17727 ac_cv_cpp_def___powerpc__=no
17729 rm -f conftest*
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17733 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17734 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17735 CFLAGS="$CFLAGS -D__powerpc__"
17736 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17737 fi ;;
17738 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17739 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17740 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17741 $as_echo_n "(cached) " >&6
17742 else
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17745 #ifndef __aarch64__
17747 #endif
17748 _ACEOF
17749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17750 $EGREP "yes" >/dev/null 2>&1; then :
17751 ac_cv_cpp_def___aarch64__=yes
17752 else
17753 ac_cv_cpp_def___aarch64__=no
17755 rm -f conftest*
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17759 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17760 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17761 CFLAGS="$CFLAGS -D__aarch64__"
17762 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17763 fi ;;
17764 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17765 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17766 if ${ac_cv_cpp_def___arm__+:} false; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17771 #ifndef __arm__
17773 #endif
17774 _ACEOF
17775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17776 $EGREP "yes" >/dev/null 2>&1; then :
17777 ac_cv_cpp_def___arm__=yes
17778 else
17779 ac_cv_cpp_def___arm__=no
17781 rm -f conftest*
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17785 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17786 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17787 CFLAGS="$CFLAGS -D__arm__"
17788 LINTFLAGS="$LINTFLAGS -D__arm__"
17789 fi ;;
17790 esac
17792 case $host_vendor in
17793 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17794 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17795 if ${ac_cv_cpp_def___sun__+:} false; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h. */
17800 #ifndef __sun__
17802 #endif
17803 _ACEOF
17804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17805 $EGREP "yes" >/dev/null 2>&1; then :
17806 ac_cv_cpp_def___sun__=yes
17807 else
17808 ac_cv_cpp_def___sun__=no
17810 rm -f conftest*
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17814 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17815 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17816 CFLAGS="$CFLAGS -D__sun__"
17817 LINTFLAGS="$LINTFLAGS -D__sun__"
17818 fi ;;
17819 esac
17825 ac_config_commands="$ac_config_commands include/stamp-h"
17827 $as_echo_n "creating Makefile rules..." >&6
17829 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17830 SOCKET_LIBS = $SOCKET_LIBS
17831 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17832 IOKIT_LIBS = $IOKIT_LIBS
17833 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17834 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17835 CORESERVICES_LIBS = $CORESERVICES_LIBS
17836 APPKIT_LIBS = $APPKIT_LIBS
17837 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17838 SECURITY_LIBS = $SECURITY_LIBS
17839 COREAUDIO_LIBS = $COREAUDIO_LIBS
17840 OPENAL_LIBS = $OPENAL_LIBS
17841 OPENCL_LIBS = $OPENCL_LIBS
17842 QUICKTIME_LIBS = $QUICKTIME_LIBS
17843 CARBON_LIBS = $CARBON_LIBS
17844 PTHREAD_LIBS = $PTHREAD_LIBS
17845 X_CFLAGS = $X_CFLAGS
17846 X_PRE_LIBS = $X_PRE_LIBS
17847 X_LIBS = $X_LIBS
17848 X_EXTRA_LIBS = $X_EXTRA_LIBS
17849 PCAP_LIBS = $PCAP_LIBS
17850 XML2_CFLAGS = $XML2_CFLAGS
17851 XML2_LIBS = $XML2_LIBS
17852 XSLT_CFLAGS = $XSLT_CFLAGS
17853 XSLT_LIBS = $XSLT_LIBS
17854 DBUS_CFLAGS = $DBUS_CFLAGS
17855 DBUS_LIBS = $DBUS_LIBS
17856 HAL_CFLAGS = $HAL_CFLAGS
17857 HAL_LIBS = $HAL_LIBS
17858 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17859 GNUTLS_LIBS = $GNUTLS_LIBS
17860 SANE_CFLAGS = $SANE_CFLAGS
17861 SANE_LIBS = $SANE_LIBS
17862 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17863 GPHOTO2_LIBS = $GPHOTO2_LIBS
17864 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17865 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17866 RESOLV_LIBS = $RESOLV_LIBS
17867 LCMS2_CFLAGS = $LCMS2_CFLAGS
17868 LCMS2_LIBS = $LCMS2_LIBS
17869 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17870 FREETYPE_LIBS = $FREETYPE_LIBS
17871 Z_LIBS = $Z_LIBS
17872 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17873 PULSE_CFLAGS = $PULSE_CFLAGS
17874 PULSE_LIBS = $PULSE_LIBS
17875 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17876 GSTREAMER_LIBS = $GSTREAMER_LIBS
17877 ALSA_LIBS = $ALSA_LIBS
17878 OSS4_CFLAGS = $OSS4_CFLAGS
17879 UDEV_CFLAGS = $UDEV_CFLAGS
17880 UDEV_LIBS = $UDEV_LIBS
17881 CAPI20_CFLAGS = $CAPI20_CFLAGS
17882 CAPI20_LIBS = $CAPI20_LIBS
17883 CUPS_CFLAGS = $CUPS_CFLAGS
17884 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17885 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17886 JPEG_CFLAGS = $JPEG_CFLAGS
17887 JPEG_LIBS = $JPEG_LIBS
17888 PNG_CFLAGS = $PNG_CFLAGS
17889 PNG_LIBS = $PNG_LIBS
17890 TIFF_CFLAGS = $TIFF_CFLAGS
17891 TIFF_LIBS = $TIFF_LIBS
17892 MPG123_CFLAGS = $MPG123_CFLAGS
17893 MPG123_LIBS = $MPG123_LIBS
17894 KSTAT_LIBS = $KSTAT_LIBS
17895 PROCSTAT_LIBS = $PROCSTAT_LIBS
17896 NETAPI_CFLAGS = $NETAPI_CFLAGS
17897 NETAPI_LIBS = $NETAPI_LIBS
17898 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17899 DL_LIBS = $DL_LIBS
17900 POLL_LIBS = $POLL_LIBS
17901 RT_LIBS = $RT_LIBS
17902 LDAP_CFLAGS = $LDAP_CFLAGS
17903 LDAP_LIBS = $LDAP_LIBS
17908 wine_fn_append_rule "
17909 # Rules automatically generated by configure
17911 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17913 .INIT: Makefile
17914 .MAKEFILEDEPS:
17915 all: Makefile
17916 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17917 @./config.status Make.tmp Makefile
17918 depend: \$(MAKEDEP) dummy
17919 \$(MAKEDEP)"
17921 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17922 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17924 if test "x$enable_fonts" != xno; then
17925 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17926 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17927 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17928 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17929 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17930 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17932 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17933 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17934 ac_config_links="$ac_config_links wine:tools/winewrapper"
17935 wine_fn_config_symlink wine
17936 if test "x$enable_win64" != xno; then
17937 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17938 wine_fn_config_symlink wine64
17941 wine_fn_config_dll acledit enable_acledit
17942 wine_fn_config_dll aclui enable_aclui implib
17943 wine_fn_config_dll activeds enable_activeds implib
17944 wine_fn_config_dll actxprxy enable_actxprxy clean
17945 wine_fn_config_lib adsiid
17946 wine_fn_config_dll adsldpc enable_adsldpc
17947 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17948 wine_fn_config_test dlls/advapi32/tests advapi32_test
17949 wine_fn_config_dll advpack enable_advpack implib
17950 wine_fn_config_test dlls/advpack/tests advpack_test
17951 wine_fn_config_dll amstream enable_amstream clean
17952 wine_fn_config_test dlls/amstream/tests amstream_test
17953 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17954 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17955 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17956 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17957 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17962 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17965 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17966 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17967 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17969 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17970 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17971 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17973 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17975 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17976 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
17977 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17979 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17981 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17982 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17983 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17984 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
17985 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17988 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_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-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18010 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18013 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18014 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18015 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18017 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18018 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18021 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18022 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18024 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18025 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18026 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18027 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18036 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18038 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18039 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18042 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18045 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18048 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18049 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18050 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18052 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18053 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18055 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18063 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18064 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18068 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18069 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18070 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18071 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18072 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18073 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18074 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18075 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18076 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18077 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18082 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18083 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18084 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18085 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18086 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18087 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18088 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18089 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18090 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18091 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18092 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18093 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18094 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18095 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18096 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18097 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18098 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18099 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18100 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18101 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18102 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18103 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18104 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18105 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18106 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18107 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18108 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18109 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18110 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18111 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18112 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18113 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18114 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18115 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18116 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18117 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18118 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18119 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18120 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18121 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18122 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18123 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18124 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18125 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18126 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18127 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18128 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18129 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18130 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18131 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18132 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18133 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18134 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18135 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18136 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18137 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18138 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18139 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18140 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18141 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18142 wine_fn_config_dll apphelp enable_apphelp
18143 wine_fn_config_test dlls/apphelp/tests apphelp_test
18144 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18145 wine_fn_config_dll atl enable_atl clean,implib
18146 wine_fn_config_test dlls/atl/tests atl_test
18147 wine_fn_config_dll atl100 enable_atl100 clean,implib
18148 wine_fn_config_test dlls/atl100/tests atl100_test
18149 wine_fn_config_dll atl110 enable_atl110 clean
18150 wine_fn_config_dll atl80 enable_atl80 clean,implib
18151 wine_fn_config_test dlls/atl80/tests atl80_test
18152 wine_fn_config_dll atl90 enable_atl90 clean
18153 wine_fn_config_dll authz enable_authz
18154 wine_fn_config_dll avicap32 enable_avicap32 implib
18155 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18156 wine_fn_config_test dlls/avifil32/tests avifil32_test
18157 wine_fn_config_dll avifile.dll16 enable_win16
18158 wine_fn_config_dll avrt enable_avrt implib
18159 wine_fn_config_dll bcrypt enable_bcrypt implib
18160 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18161 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18162 wine_fn_config_dll browseui enable_browseui clean
18163 wine_fn_config_test dlls/browseui/tests browseui_test
18164 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18165 wine_fn_config_dll cabinet enable_cabinet implib
18166 wine_fn_config_test dlls/cabinet/tests cabinet_test
18167 wine_fn_config_dll capi2032 enable_capi2032 implib
18168 wine_fn_config_dll cards enable_cards implib
18169 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18170 wine_fn_config_dll clusapi enable_clusapi implib
18171 wine_fn_config_dll combase enable_combase
18172 wine_fn_config_test dlls/combase/tests combase_test
18173 wine_fn_config_dll comcat enable_comcat
18174 wine_fn_config_test dlls/comcat/tests comcat_test
18175 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18176 wine_fn_config_test dlls/comctl32/tests comctl32_test
18177 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18178 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18179 wine_fn_config_dll comm.drv16 enable_win16
18180 wine_fn_config_dll commdlg.dll16 enable_win16
18181 wine_fn_config_dll compobj.dll16 enable_win16
18182 wine_fn_config_dll compstui enable_compstui implib
18183 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18184 wine_fn_config_dll concrt140 enable_concrt140
18185 wine_fn_config_dll connect enable_connect
18186 wine_fn_config_dll credui enable_credui clean,implib
18187 wine_fn_config_test dlls/credui/tests credui_test
18188 wine_fn_config_dll crtdll enable_crtdll
18189 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18190 wine_fn_config_test dlls/crypt32/tests crypt32_test
18191 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18192 wine_fn_config_dll cryptdll enable_cryptdll implib
18193 wine_fn_config_dll cryptext enable_cryptext
18194 wine_fn_config_dll cryptnet enable_cryptnet implib
18195 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18196 wine_fn_config_dll cryptui enable_cryptui clean,implib
18197 wine_fn_config_test dlls/cryptui/tests cryptui_test
18198 wine_fn_config_dll ctapi32 enable_ctapi32
18199 wine_fn_config_dll ctl3d.dll16 enable_win16
18200 wine_fn_config_dll ctl3d32 enable_ctl3d32
18201 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18202 wine_fn_config_dll d2d1 enable_d2d1 implib
18203 wine_fn_config_test dlls/d2d1/tests d2d1_test
18204 wine_fn_config_dll d3d10 enable_d3d10 implib
18205 wine_fn_config_test dlls/d3d10/tests d3d10_test
18206 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18207 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18208 wine_fn_config_dll d3d10core enable_d3d10core implib
18209 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18210 wine_fn_config_dll d3d11 enable_d3d11 implib
18211 wine_fn_config_test dlls/d3d11/tests d3d11_test
18212 wine_fn_config_dll d3d8 enable_d3d8 implib
18213 wine_fn_config_test dlls/d3d8/tests d3d8_test
18214 wine_fn_config_dll d3d9 enable_d3d9 implib
18215 wine_fn_config_test dlls/d3d9/tests d3d9_test
18216 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18217 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18218 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18219 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18220 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18221 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18222 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18223 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18224 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18225 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18226 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18227 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18228 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18229 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18230 wine_fn_config_dll d3dim enable_d3dim
18231 wine_fn_config_dll d3drm enable_d3drm implib
18232 wine_fn_config_test dlls/d3drm/tests d3drm_test
18233 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18234 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18235 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18236 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18237 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18238 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18239 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18240 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18241 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18242 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18243 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18244 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18245 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18246 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18247 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18248 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18249 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18250 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18251 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18252 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18253 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18254 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18255 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18256 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18257 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18258 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18259 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18260 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18261 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18262 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18263 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18264 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18265 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18266 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18267 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18268 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18269 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18270 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18271 wine_fn_config_dll davclnt enable_davclnt
18272 wine_fn_config_dll dbgeng enable_dbgeng implib
18273 wine_fn_config_dll dbghelp enable_dbghelp implib
18274 wine_fn_config_dll dciman32 enable_dciman32 implib
18275 wine_fn_config_dll ddeml.dll16 enable_win16
18276 wine_fn_config_dll ddraw enable_ddraw clean,implib
18277 wine_fn_config_test dlls/ddraw/tests ddraw_test
18278 wine_fn_config_dll ddrawex enable_ddrawex clean
18279 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18280 wine_fn_config_dll devenum enable_devenum clean
18281 wine_fn_config_test dlls/devenum/tests devenum_test
18282 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18283 wine_fn_config_dll difxapi enable_difxapi
18284 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18285 wine_fn_config_test dlls/dinput/tests dinput_test
18286 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18287 wine_fn_config_test dlls/dinput8/tests dinput8_test
18288 wine_fn_config_dll dispdib.dll16 enable_win16
18289 wine_fn_config_dll dispex enable_dispex clean
18290 wine_fn_config_test dlls/dispex/tests dispex_test
18291 wine_fn_config_dll display.drv16 enable_win16
18292 wine_fn_config_dll dmband enable_dmband clean
18293 wine_fn_config_test dlls/dmband/tests dmband_test
18294 wine_fn_config_dll dmcompos enable_dmcompos clean
18295 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18296 wine_fn_config_dll dmime enable_dmime clean
18297 wine_fn_config_test dlls/dmime/tests dmime_test
18298 wine_fn_config_dll dmloader enable_dmloader clean
18299 wine_fn_config_test dlls/dmloader/tests dmloader_test
18300 wine_fn_config_dll dmscript enable_dmscript clean
18301 wine_fn_config_test dlls/dmscript/tests dmscript_test
18302 wine_fn_config_dll dmstyle enable_dmstyle clean
18303 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18304 wine_fn_config_dll dmsynth enable_dmsynth clean
18305 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18306 wine_fn_config_dll dmusic enable_dmusic clean
18307 wine_fn_config_test dlls/dmusic/tests dmusic_test
18308 wine_fn_config_dll dmusic32 enable_dmusic32
18309 wine_fn_config_dll dnsapi enable_dnsapi implib
18310 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18311 wine_fn_config_dll dplay enable_dplay
18312 wine_fn_config_dll dplayx enable_dplayx clean,implib
18313 wine_fn_config_test dlls/dplayx/tests dplayx_test
18314 wine_fn_config_dll dpnaddr enable_dpnaddr
18315 wine_fn_config_dll dpnet enable_dpnet clean,implib
18316 wine_fn_config_test dlls/dpnet/tests dpnet_test
18317 wine_fn_config_dll dpnhpast enable_dpnhpast
18318 wine_fn_config_dll dpnlobby enable_dpnlobby
18319 wine_fn_config_dll dpvoice enable_dpvoice clean
18320 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18321 wine_fn_config_dll dpwsockx enable_dpwsockx
18322 wine_fn_config_dll drmclien enable_drmclien
18323 wine_fn_config_dll dsound enable_dsound clean,implib
18324 wine_fn_config_test dlls/dsound/tests dsound_test
18325 wine_fn_config_dll dsquery enable_dsquery clean
18326 wine_fn_config_dll dssenh enable_dssenh
18327 wine_fn_config_test dlls/dssenh/tests dssenh_test
18328 wine_fn_config_dll dswave enable_dswave clean
18329 wine_fn_config_test dlls/dswave/tests dswave_test
18330 wine_fn_config_dll dwmapi enable_dwmapi implib
18331 wine_fn_config_dll dwrite enable_dwrite implib
18332 wine_fn_config_test dlls/dwrite/tests dwrite_test
18333 wine_fn_config_dll dx8vb enable_dx8vb
18334 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18335 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18336 wine_fn_config_lib dxerr8
18337 wine_fn_config_lib dxerr9
18338 wine_fn_config_dll dxgi enable_dxgi implib
18339 wine_fn_config_test dlls/dxgi/tests dxgi_test
18340 wine_fn_config_lib dxguid
18341 wine_fn_config_dll dxva2 enable_dxva2
18342 wine_fn_config_dll esent enable_esent
18343 wine_fn_config_dll evr enable_evr clean
18344 wine_fn_config_test dlls/evr/tests evr_test
18345 wine_fn_config_dll explorerframe enable_explorerframe clean
18346 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18347 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18348 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18349 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18350 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18351 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18352 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18353 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18354 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18355 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18356 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18357 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18358 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18359 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18360 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18361 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18362 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18363 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18364 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18365 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
18366 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18367 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18368 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18369 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18370 wine_fn_config_dll faultrep enable_faultrep implib
18371 wine_fn_config_test dlls/faultrep/tests faultrep_test
18372 wine_fn_config_dll fltlib enable_fltlib
18373 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18374 wine_fn_config_dll fntcache enable_fntcache
18375 wine_fn_config_dll fontsub enable_fontsub
18376 wine_fn_config_dll fusion enable_fusion
18377 wine_fn_config_test dlls/fusion/tests fusion_test
18378 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18379 wine_fn_config_dll gameux enable_gameux clean
18380 wine_fn_config_test dlls/gameux/tests gameux_test
18381 wine_fn_config_dll gdi.exe16 enable_win16
18382 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18383 wine_fn_config_test dlls/gdi32/tests gdi32_test
18384 wine_fn_config_dll gdiplus enable_gdiplus implib
18385 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18386 wine_fn_config_dll glu32 enable_glu32 implib
18387 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18388 wine_fn_config_dll gpkcsp enable_gpkcsp
18389 wine_fn_config_dll hal enable_hal
18390 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18391 wine_fn_config_dll hid enable_hid implib
18392 wine_fn_config_test dlls/hid/tests hid_test
18393 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18394 wine_fn_config_dll hlink enable_hlink clean,implib
18395 wine_fn_config_test dlls/hlink/tests hlink_test
18396 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18397 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18398 wine_fn_config_dll httpapi enable_httpapi
18399 wine_fn_config_dll iccvid enable_iccvid clean
18400 wine_fn_config_dll icmp enable_icmp
18401 wine_fn_config_dll ieframe enable_ieframe clean,implib
18402 wine_fn_config_test dlls/ieframe/tests ieframe_test
18403 wine_fn_config_dll ieproxy enable_ieproxy clean
18404 wine_fn_config_dll ifsmgr.vxd enable_win16
18405 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18406 wine_fn_config_dll imagehlp enable_imagehlp implib
18407 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18408 wine_fn_config_dll imm.dll16 enable_win16
18409 wine_fn_config_dll imm32 enable_imm32 implib
18410 wine_fn_config_test dlls/imm32/tests imm32_test
18411 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18412 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18413 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18414 wine_fn_config_dll inetmib1 enable_inetmib1
18415 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18416 wine_fn_config_dll infosoft enable_infosoft clean
18417 wine_fn_config_test dlls/infosoft/tests infosoft_test
18418 wine_fn_config_dll initpki enable_initpki
18419 wine_fn_config_dll inkobj enable_inkobj
18420 wine_fn_config_dll inseng enable_inseng clean
18421 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18422 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18423 wine_fn_config_dll iprop enable_iprop
18424 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18425 wine_fn_config_dll itircl enable_itircl
18426 wine_fn_config_dll itss enable_itss clean
18427 wine_fn_config_test dlls/itss/tests itss_test
18428 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18429 wine_fn_config_dll jscript enable_jscript clean
18430 wine_fn_config_test dlls/jscript/tests jscript_test
18431 wine_fn_config_dll jsproxy enable_jsproxy implib
18432 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18433 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18434 wine_fn_config_test dlls/kernel32/tests kernel32_test
18435 wine_fn_config_dll kernelbase enable_kernelbase
18436 wine_fn_config_dll keyboard.drv16 enable_win16
18437 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18438 wine_fn_config_dll ksuser enable_ksuser
18439 wine_fn_config_dll ktmw32 enable_ktmw32
18440 wine_fn_config_dll loadperf enable_loadperf implib
18441 wine_fn_config_dll localspl enable_localspl clean
18442 wine_fn_config_test dlls/localspl/tests localspl_test
18443 wine_fn_config_dll localui enable_localui clean
18444 wine_fn_config_test dlls/localui/tests localui_test
18445 wine_fn_config_dll lz32 enable_lz32 implib
18446 wine_fn_config_test dlls/lz32/tests lz32_test
18447 wine_fn_config_dll lzexpand.dll16 enable_win16
18448 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18449 wine_fn_config_test dlls/mapi32/tests mapi32_test
18450 wine_fn_config_dll mapistub enable_mapistub
18451 wine_fn_config_dll mciavi32 enable_mciavi32
18452 wine_fn_config_dll mcicda enable_mcicda
18453 wine_fn_config_dll mciqtz32 enable_mciqtz32
18454 wine_fn_config_dll mciseq enable_mciseq
18455 wine_fn_config_dll mciwave enable_mciwave
18456 wine_fn_config_dll mf enable_mf implib
18457 wine_fn_config_test dlls/mf/tests mf_test
18458 wine_fn_config_dll mf3216 enable_mf3216
18459 wine_fn_config_dll mfplat enable_mfplat implib
18460 wine_fn_config_test dlls/mfplat/tests mfplat_test
18461 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18462 wine_fn_config_lib mfuuid
18463 wine_fn_config_dll mgmtapi enable_mgmtapi
18464 wine_fn_config_dll midimap enable_midimap
18465 wine_fn_config_dll mlang enable_mlang clean,implib
18466 wine_fn_config_test dlls/mlang/tests mlang_test
18467 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18468 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18469 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18470 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18471 wine_fn_config_dll mmdevldr.vxd enable_win16
18472 wine_fn_config_dll mmsystem.dll16 enable_win16
18473 wine_fn_config_dll monodebg.vxd enable_win16
18474 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18475 wine_fn_config_dll mouse.drv16 enable_win16
18476 wine_fn_config_dll mpr enable_mpr clean,implib
18477 wine_fn_config_test dlls/mpr/tests mpr_test
18478 wine_fn_config_dll mprapi enable_mprapi implib
18479 wine_fn_config_dll msacm.dll16 enable_win16
18480 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18481 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18482 wine_fn_config_test dlls/msacm32/tests msacm32_test
18483 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18484 wine_fn_config_dll msasn1 enable_msasn1 implib
18485 wine_fn_config_dll mscat32 enable_mscat32
18486 wine_fn_config_dll mscms enable_mscms implib
18487 wine_fn_config_test dlls/mscms/tests mscms_test
18488 wine_fn_config_dll mscoree enable_mscoree clean
18489 wine_fn_config_test dlls/mscoree/tests mscoree_test
18490 wine_fn_config_dll msctf enable_msctf clean
18491 wine_fn_config_test dlls/msctf/tests msctf_test
18492 wine_fn_config_dll msctfp enable_msctfp clean
18493 wine_fn_config_dll msdaps enable_msdaps clean
18494 wine_fn_config_dll msdelta enable_msdelta
18495 wine_fn_config_dll msdmo enable_msdmo implib
18496 wine_fn_config_test dlls/msdmo/tests msdmo_test
18497 wine_fn_config_dll msdrm enable_msdrm
18498 wine_fn_config_dll msftedit enable_msftedit
18499 wine_fn_config_dll msg711.acm enable_msg711_acm
18500 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18501 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18502 wine_fn_config_dll mshtml enable_mshtml clean,implib
18503 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18504 wine_fn_config_dll msi enable_msi clean,implib
18505 wine_fn_config_test dlls/msi/tests msi_test
18506 wine_fn_config_dll msident enable_msident clean
18507 wine_fn_config_dll msimg32 enable_msimg32 implib
18508 wine_fn_config_dll msimsg enable_msimsg
18509 wine_fn_config_dll msimtf enable_msimtf clean
18510 wine_fn_config_dll msisip enable_msisip
18511 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18512 wine_fn_config_dll msls31 enable_msls31
18513 wine_fn_config_dll msnet32 enable_msnet32
18514 wine_fn_config_dll mspatcha enable_mspatcha implib
18515 wine_fn_config_dll msports enable_msports
18516 wine_fn_config_dll msrle32 enable_msrle32 clean
18517 wine_fn_config_test dlls/msrle32/tests msrle32_test
18518 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18519 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18520 wine_fn_config_dll mssign32 enable_mssign32
18521 wine_fn_config_dll mssip32 enable_mssip32
18522 wine_fn_config_dll mstask enable_mstask clean
18523 wine_fn_config_test dlls/mstask/tests mstask_test
18524 wine_fn_config_dll msvcirt enable_msvcirt
18525 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18526 wine_fn_config_dll msvcm80 enable_msvcm80
18527 wine_fn_config_dll msvcm90 enable_msvcm90
18528 wine_fn_config_dll msvcp100 enable_msvcp100
18529 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18530 wine_fn_config_dll msvcp110 enable_msvcp110
18531 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18532 wine_fn_config_dll msvcp120 enable_msvcp120
18533 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18534 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18535 wine_fn_config_dll msvcp140 enable_msvcp140
18536 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18537 wine_fn_config_dll msvcp60 enable_msvcp60
18538 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18539 wine_fn_config_dll msvcp70 enable_msvcp70
18540 wine_fn_config_dll msvcp71 enable_msvcp71
18541 wine_fn_config_dll msvcp80 enable_msvcp80
18542 wine_fn_config_dll msvcp90 enable_msvcp90
18543 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18544 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18545 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18546 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18547 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18548 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18549 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18550 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18551 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18552 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18553 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18554 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18555 wine_fn_config_dll msvcrt enable_msvcrt implib
18556 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18557 wine_fn_config_dll msvcrt20 enable_msvcrt20
18558 wine_fn_config_dll msvcrt40 enable_msvcrt40
18559 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18560 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18561 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18562 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18563 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18564 wine_fn_config_dll msvideo.dll16 enable_win16
18565 wine_fn_config_dll mswsock enable_mswsock implib
18566 wine_fn_config_dll msxml enable_msxml clean
18567 wine_fn_config_dll msxml2 enable_msxml2 clean
18568 wine_fn_config_dll msxml3 enable_msxml3 clean
18569 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18570 wine_fn_config_dll msxml4 enable_msxml4 clean
18571 wine_fn_config_dll msxml6 enable_msxml6 clean
18572 wine_fn_config_dll mtxdm enable_mtxdm
18573 wine_fn_config_dll ncrypt enable_ncrypt
18574 wine_fn_config_dll nddeapi enable_nddeapi implib
18575 wine_fn_config_dll ndis.sys enable_ndis_sys
18576 wine_fn_config_dll netapi32 enable_netapi32 implib
18577 wine_fn_config_test dlls/netapi32/tests netapi32_test
18578 wine_fn_config_dll netcfgx enable_netcfgx clean
18579 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18580 wine_fn_config_dll netprofm enable_netprofm clean
18581 wine_fn_config_test dlls/netprofm/tests netprofm_test
18582 wine_fn_config_dll newdev enable_newdev implib
18583 wine_fn_config_dll normaliz enable_normaliz implib
18584 wine_fn_config_dll npmshtml enable_npmshtml
18585 wine_fn_config_dll npptools enable_npptools
18586 wine_fn_config_dll ntdll enable_ntdll implib
18587 wine_fn_config_test dlls/ntdll/tests ntdll_test
18588 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18589 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18590 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18591 wine_fn_config_dll ntprint enable_ntprint
18592 wine_fn_config_test dlls/ntprint/tests ntprint_test
18593 wine_fn_config_dll objsel enable_objsel clean
18594 wine_fn_config_dll odbc32 enable_odbc32 implib
18595 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18596 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18597 wine_fn_config_dll odbccu32 enable_odbccu32
18598 wine_fn_config_dll ole2.dll16 enable_win16
18599 wine_fn_config_dll ole2conv.dll16 enable_win16
18600 wine_fn_config_dll ole2disp.dll16 enable_win16
18601 wine_fn_config_dll ole2nls.dll16 enable_win16
18602 wine_fn_config_dll ole2prox.dll16 enable_win16
18603 wine_fn_config_dll ole2thk.dll16 enable_win16
18604 wine_fn_config_dll ole32 enable_ole32 clean,implib
18605 wine_fn_config_test dlls/ole32/tests ole32_test
18606 wine_fn_config_dll oleacc enable_oleacc clean,implib
18607 wine_fn_config_test dlls/oleacc/tests oleacc_test
18608 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18609 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18610 wine_fn_config_dll olecli.dll16 enable_win16
18611 wine_fn_config_dll olecli32 enable_olecli32 implib
18612 wine_fn_config_dll oledb32 enable_oledb32 clean
18613 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18614 wine_fn_config_dll oledlg enable_oledlg clean,implib
18615 wine_fn_config_test dlls/oledlg/tests oledlg_test
18616 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18617 wine_fn_config_dll olesvr.dll16 enable_win16
18618 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18619 wine_fn_config_dll olethk32 enable_olethk32
18620 wine_fn_config_dll openal32 enable_openal32
18621 wine_fn_config_dll opencl enable_opencl
18622 wine_fn_config_dll opengl32 enable_opengl32 implib
18623 wine_fn_config_test dlls/opengl32/tests opengl32_test
18624 wine_fn_config_dll packager enable_packager clean
18625 wine_fn_config_test dlls/packager/tests packager_test
18626 wine_fn_config_dll pdh enable_pdh implib
18627 wine_fn_config_test dlls/pdh/tests pdh_test
18628 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18629 wine_fn_config_dll pidgen enable_pidgen
18630 wine_fn_config_dll powrprof enable_powrprof implib
18631 wine_fn_config_dll printui enable_printui
18632 wine_fn_config_dll prntvpt enable_prntvpt
18633 wine_fn_config_dll propsys enable_propsys clean,implib
18634 wine_fn_config_test dlls/propsys/tests propsys_test
18635 wine_fn_config_dll psapi enable_psapi implib
18636 wine_fn_config_test dlls/psapi/tests psapi_test
18637 wine_fn_config_dll pstorec enable_pstorec clean
18638 wine_fn_config_test dlls/pstorec/tests pstorec_test
18639 wine_fn_config_dll qcap enable_qcap
18640 wine_fn_config_test dlls/qcap/tests qcap_test
18641 wine_fn_config_dll qedit enable_qedit clean
18642 wine_fn_config_test dlls/qedit/tests qedit_test
18643 wine_fn_config_dll qmgr enable_qmgr clean
18644 wine_fn_config_test dlls/qmgr/tests qmgr_test
18645 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18646 wine_fn_config_dll quartz enable_quartz clean,implib
18647 wine_fn_config_test dlls/quartz/tests quartz_test clean
18648 wine_fn_config_dll query enable_query
18649 wine_fn_config_dll rasapi16.dll16 enable_win16
18650 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18651 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18652 wine_fn_config_dll rasdlg enable_rasdlg implib
18653 wine_fn_config_dll regapi enable_regapi
18654 wine_fn_config_dll resutils enable_resutils implib
18655 wine_fn_config_dll riched20 enable_riched20 clean,implib
18656 wine_fn_config_test dlls/riched20/tests riched20_test
18657 wine_fn_config_dll riched32 enable_riched32
18658 wine_fn_config_test dlls/riched32/tests riched32_test
18659 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18660 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18661 wine_fn_config_dll rsabase enable_rsabase
18662 wine_fn_config_dll rsaenh enable_rsaenh implib
18663 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18664 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18665 wine_fn_config_dll rtutils enable_rtutils implib
18666 wine_fn_config_dll samlib enable_samlib
18667 wine_fn_config_dll sane.ds enable_sane_ds clean
18668 wine_fn_config_dll scarddlg enable_scarddlg
18669 wine_fn_config_dll sccbase enable_sccbase
18670 wine_fn_config_dll schannel enable_schannel
18671 wine_fn_config_test dlls/schannel/tests schannel_test
18672 wine_fn_config_dll schedsvc enable_schedsvc clean
18673 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18674 wine_fn_config_dll scrobj enable_scrobj clean
18675 wine_fn_config_dll scrrun enable_scrrun clean
18676 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18677 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18678 wine_fn_config_dll secur32 enable_secur32 implib
18679 wine_fn_config_test dlls/secur32/tests secur32_test
18680 wine_fn_config_dll security enable_security
18681 wine_fn_config_dll sensapi enable_sensapi implib
18682 wine_fn_config_dll serialui enable_serialui clean
18683 wine_fn_config_test dlls/serialui/tests serialui_test
18684 wine_fn_config_dll setupapi enable_setupapi clean,implib
18685 wine_fn_config_test dlls/setupapi/tests setupapi_test
18686 wine_fn_config_dll setupx.dll16 enable_win16
18687 wine_fn_config_dll sfc enable_sfc implib
18688 wine_fn_config_dll sfc_os enable_sfc_os implib
18689 wine_fn_config_dll shdoclc enable_shdoclc clean
18690 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18691 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18692 wine_fn_config_dll shell.dll16 enable_win16
18693 wine_fn_config_dll shell32 enable_shell32 clean,implib
18694 wine_fn_config_test dlls/shell32/tests shell32_test
18695 wine_fn_config_dll shfolder enable_shfolder implib
18696 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18697 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18698 wine_fn_config_dll slbcsp enable_slbcsp
18699 wine_fn_config_dll slc enable_slc implib
18700 wine_fn_config_test dlls/slc/tests slc_test
18701 wine_fn_config_dll snmpapi enable_snmpapi implib
18702 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18703 wine_fn_config_dll softpub enable_softpub
18704 wine_fn_config_dll sound.drv16 enable_win16
18705 wine_fn_config_dll spoolss enable_spoolss implib
18706 wine_fn_config_test dlls/spoolss/tests spoolss_test
18707 wine_fn_config_dll sspicli enable_sspicli
18708 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18709 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18710 wine_fn_config_dll sti enable_sti clean,implib
18711 wine_fn_config_test dlls/sti/tests sti_test
18712 wine_fn_config_dll storage.dll16 enable_win16
18713 wine_fn_config_dll stress.dll16 enable_win16
18714 wine_fn_config_lib strmbase
18715 wine_fn_config_lib strmiids
18716 wine_fn_config_dll svrapi enable_svrapi
18717 wine_fn_config_dll sxs enable_sxs implib
18718 wine_fn_config_test dlls/sxs/tests sxs_test
18719 wine_fn_config_dll system.drv16 enable_win16
18720 wine_fn_config_dll t2embed enable_t2embed implib
18721 wine_fn_config_test dlls/t2embed/tests t2embed_test
18722 wine_fn_config_dll tapi32 enable_tapi32 implib
18723 wine_fn_config_dll taskschd enable_taskschd clean
18724 wine_fn_config_test dlls/taskschd/tests taskschd_test
18725 wine_fn_config_dll tdh enable_tdh
18726 wine_fn_config_dll tdi.sys enable_tdi_sys
18727 wine_fn_config_dll toolhelp.dll16 enable_win16
18728 wine_fn_config_dll traffic enable_traffic
18729 wine_fn_config_dll twain.dll16 enable_win16
18730 wine_fn_config_dll twain_32 enable_twain_32
18731 wine_fn_config_test dlls/twain_32/tests twain_32_test
18732 wine_fn_config_dll typelib.dll16 enable_win16
18733 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18734 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18735 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18736 wine_fn_config_dll uiribbon enable_uiribbon clean
18737 wine_fn_config_dll unicows enable_unicows implib
18738 wine_fn_config_dll updspapi enable_updspapi
18739 wine_fn_config_dll url enable_url implib
18740 wine_fn_config_dll urlmon enable_urlmon clean,implib
18741 wine_fn_config_test dlls/urlmon/tests urlmon_test
18742 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18743 wine_fn_config_dll user.exe16 enable_win16
18744 wine_fn_config_dll user32 enable_user32 clean,implib
18745 wine_fn_config_test dlls/user32/tests user32_test
18746 wine_fn_config_dll userenv enable_userenv implib
18747 wine_fn_config_test dlls/userenv/tests userenv_test
18748 wine_fn_config_dll usp10 enable_usp10 implib
18749 wine_fn_config_test dlls/usp10/tests usp10_test
18750 wine_fn_config_lib uuid
18751 wine_fn_config_dll uxtheme enable_uxtheme implib
18752 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18753 wine_fn_config_dll vbscript enable_vbscript clean
18754 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18755 wine_fn_config_dll vcomp enable_vcomp
18756 wine_fn_config_test dlls/vcomp/tests vcomp_test
18757 wine_fn_config_dll vcomp100 enable_vcomp100
18758 wine_fn_config_dll vcomp110 enable_vcomp110
18759 wine_fn_config_dll vcomp120 enable_vcomp120
18760 wine_fn_config_dll vcomp140 enable_vcomp140
18761 wine_fn_config_dll vcomp90 enable_vcomp90
18762 wine_fn_config_dll vcruntime140 enable_vcruntime140
18763 wine_fn_config_dll vdhcp.vxd enable_win16
18764 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18765 wine_fn_config_dll ver.dll16 enable_win16
18766 wine_fn_config_dll version enable_version implib
18767 wine_fn_config_test dlls/version/tests version_test
18768 wine_fn_config_dll virtdisk enable_virtdisk
18769 wine_fn_config_dll vmm.vxd enable_win16
18770 wine_fn_config_dll vnbt.vxd enable_win16
18771 wine_fn_config_dll vnetbios.vxd enable_win16
18772 wine_fn_config_dll vssapi enable_vssapi
18773 wine_fn_config_dll vtdapi.vxd enable_win16
18774 wine_fn_config_dll vwin32.vxd enable_win16
18775 wine_fn_config_dll w32skrnl enable_win16
18776 wine_fn_config_dll w32sys.dll16 enable_win16
18777 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18778 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18779 wine_fn_config_dll wbemprox enable_wbemprox clean
18780 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18781 wine_fn_config_dll webservices enable_webservices implib
18782 wine_fn_config_test dlls/webservices/tests webservices_test
18783 wine_fn_config_dll wer enable_wer implib
18784 wine_fn_config_test dlls/wer/tests wer_test
18785 wine_fn_config_dll wevtapi enable_wevtapi
18786 wine_fn_config_dll wiaservc enable_wiaservc clean
18787 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18788 wine_fn_config_dll wimgapi enable_wimgapi
18789 wine_fn_config_dll win32s16.dll16 enable_win16
18790 wine_fn_config_dll win87em.dll16 enable_win16
18791 wine_fn_config_dll winaspi.dll16 enable_win16
18792 wine_fn_config_dll windebug.dll16 enable_win16
18793 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18794 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18795 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18796 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18797 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18798 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18799 wine_fn_config_dll winebus.sys enable_winebus_sys
18800 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18801 wine_fn_config_lib winecrt0
18802 wine_fn_config_dll wined3d enable_wined3d implib
18803 wine_fn_config_dll winegstreamer enable_winegstreamer
18804 wine_fn_config_dll winehid.sys enable_winehid_sys
18805 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18806 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18807 wine_fn_config_dll winemapi enable_winemapi
18808 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18809 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18810 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18811 wine_fn_config_dll wineps16.drv16 enable_win16
18812 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18813 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18814 wine_fn_config_dll winex11.drv enable_winex11_drv
18815 wine_fn_config_dll wing.dll16 enable_win16
18816 wine_fn_config_dll wing32 enable_wing32
18817 wine_fn_config_dll winhttp enable_winhttp clean,implib
18818 wine_fn_config_test dlls/winhttp/tests winhttp_test
18819 wine_fn_config_dll wininet enable_wininet clean,implib
18820 wine_fn_config_test dlls/wininet/tests wininet_test
18821 wine_fn_config_dll winmm enable_winmm clean,implib
18822 wine_fn_config_test dlls/winmm/tests winmm_test
18823 wine_fn_config_dll winnls.dll16 enable_win16
18824 wine_fn_config_dll winnls32 enable_winnls32 implib
18825 wine_fn_config_dll winscard enable_winscard implib
18826 wine_fn_config_dll winsock.dll16 enable_win16
18827 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18828 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18829 wine_fn_config_dll winsta enable_winsta
18830 wine_fn_config_dll wintab.dll16 enable_win16
18831 wine_fn_config_dll wintab32 enable_wintab32 implib
18832 wine_fn_config_test dlls/wintab32/tests wintab32_test
18833 wine_fn_config_dll wintrust enable_wintrust implib
18834 wine_fn_config_test dlls/wintrust/tests wintrust_test
18835 wine_fn_config_dll winusb enable_winusb
18836 wine_fn_config_dll wlanapi enable_wlanapi implib
18837 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18838 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18839 wine_fn_config_test dlls/wldap32/tests wldap32_test
18840 wine_fn_config_dll wmasf enable_wmasf
18841 wine_fn_config_dll wmi enable_wmi
18842 wine_fn_config_dll wmiutils enable_wmiutils clean
18843 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18844 wine_fn_config_dll wmp enable_wmp clean
18845 wine_fn_config_test dlls/wmp/tests wmp_test
18846 wine_fn_config_dll wmphoto enable_wmphoto clean
18847 wine_fn_config_dll wmvcore enable_wmvcore implib
18848 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18849 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18850 wine_fn_config_dll wow32 enable_win16 implib
18851 wine_fn_config_dll wpc enable_wpc clean
18852 wine_fn_config_test dlls/wpc/tests wpc_test
18853 wine_fn_config_dll wpcap enable_wpcap
18854 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18855 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18856 wine_fn_config_dll wsdapi enable_wsdapi implib
18857 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18858 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18859 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18860 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18861 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18862 wine_fn_config_dll wsock32 enable_wsock32 implib
18863 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18864 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18865 wine_fn_config_dll wuapi enable_wuapi clean
18866 wine_fn_config_dll wuaueng enable_wuaueng
18867 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18868 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18869 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18870 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18871 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18872 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18873 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18874 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18875 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18876 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18877 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18878 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18879 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18880 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18881 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18882 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18883 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18884 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18885 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18886 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18887 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18888 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18889 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18890 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18891 wine_fn_config_dll xinput1_1 enable_xinput1_1
18892 wine_fn_config_dll xinput1_2 enable_xinput1_2
18893 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18894 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18895 wine_fn_config_dll xinput1_4 enable_xinput1_4
18896 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18897 wine_fn_config_dll xmllite enable_xmllite implib
18898 wine_fn_config_test dlls/xmllite/tests xmllite_test
18899 wine_fn_config_dll xolehlp enable_xolehlp
18900 wine_fn_config_dll xpsprint enable_xpsprint
18901 wine_fn_config_dll xpssvcs enable_xpssvcs
18902 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18903 wine_fn_config_makefile include enable_include clean,install-dev
18904 wine_fn_config_makefile libs/port enable_libs_port
18905 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18906 wine_fn_config_makefile libs/wpp enable_libs_wpp
18907 wine_fn_config_makefile loader enable_loader clean,install-lib
18908 wine_fn_config_makefile po enable_po clean
18909 wine_fn_config_program arp enable_arp install
18910 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18911 wine_fn_config_program attrib enable_attrib clean,install
18912 wine_fn_config_program cabarc enable_cabarc install
18913 wine_fn_config_program cacls enable_cacls install
18914 wine_fn_config_program clock enable_clock clean,install
18915 wine_fn_config_program cmd enable_cmd clean,install
18916 wine_fn_config_test programs/cmd/tests cmd.exe_test
18917 wine_fn_config_program conhost enable_conhost install
18918 wine_fn_config_program control enable_control install
18919 wine_fn_config_program cscript enable_cscript clean,install
18920 wine_fn_config_program dpnsvr enable_dpnsvr install
18921 wine_fn_config_program dxdiag enable_dxdiag clean,install
18922 wine_fn_config_program eject enable_eject install
18923 wine_fn_config_program expand enable_expand install
18924 wine_fn_config_program explorer enable_explorer clean,install
18925 wine_fn_config_program extrac32 enable_extrac32 install
18926 wine_fn_config_program findstr enable_findstr install
18927 wine_fn_config_program fsutil enable_fsutil install
18928 wine_fn_config_program hh enable_hh install
18929 wine_fn_config_program hostname enable_hostname clean,install
18930 wine_fn_config_program icacls enable_icacls install
18931 wine_fn_config_program icinfo enable_icinfo install
18932 wine_fn_config_program iexplore enable_iexplore install
18933 wine_fn_config_program ipconfig enable_ipconfig clean,install
18934 wine_fn_config_program lodctr enable_lodctr install
18935 wine_fn_config_program mofcomp enable_mofcomp install
18936 wine_fn_config_program mshta enable_mshta install
18937 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18938 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18939 wine_fn_config_program net enable_net clean,install
18940 wine_fn_config_program netsh enable_netsh install
18941 wine_fn_config_program netstat enable_netstat clean,install
18942 wine_fn_config_program ngen enable_ngen install
18943 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18944 wine_fn_config_program oleview enable_oleview clean,install
18945 wine_fn_config_program ping enable_ping install
18946 wine_fn_config_program plugplay enable_plugplay install
18947 wine_fn_config_program powershell enable_powershell install
18948 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18949 wine_fn_config_program progman enable_progman clean,install
18950 wine_fn_config_program reg enable_reg clean,install
18951 wine_fn_config_test programs/reg/tests reg.exe_test
18952 wine_fn_config_program regasm enable_regasm install
18953 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18954 wine_fn_config_test programs/regedit/tests regedit.exe_test
18955 wine_fn_config_program regsvcs enable_regsvcs install
18956 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18957 wine_fn_config_program rpcss enable_rpcss clean,install
18958 wine_fn_config_program rundll.exe16 enable_win16 install
18959 wine_fn_config_program rundll32 enable_rundll32 install
18960 wine_fn_config_program sc enable_sc install
18961 wine_fn_config_program schtasks enable_schtasks install
18962 wine_fn_config_program sdbinst enable_sdbinst install
18963 wine_fn_config_program secedit enable_secedit install
18964 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18965 wine_fn_config_program services enable_services clean,install
18966 wine_fn_config_test programs/services/tests services.exe_test
18967 wine_fn_config_program shutdown enable_shutdown install
18968 wine_fn_config_program spoolsv enable_spoolsv install
18969 wine_fn_config_program start enable_start clean,install
18970 wine_fn_config_program subst enable_subst install
18971 wine_fn_config_program svchost enable_svchost install
18972 wine_fn_config_program systeminfo enable_systeminfo install
18973 wine_fn_config_program taskkill enable_taskkill clean,install
18974 wine_fn_config_program tasklist enable_tasklist install
18975 wine_fn_config_program taskmgr enable_taskmgr clean,install
18976 wine_fn_config_program termsv enable_termsv install
18977 wine_fn_config_program uninstaller enable_uninstaller clean,install
18978 wine_fn_config_program unlodctr enable_unlodctr install
18979 wine_fn_config_program view enable_view clean,install
18980 wine_fn_config_program wevtutil enable_wevtutil install
18981 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18982 wine_fn_config_program winebrowser enable_winebrowser install
18983 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18984 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18985 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18986 wine_fn_config_program winedevice enable_winedevice install
18987 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18988 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18989 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18990 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18991 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18992 wine_fn_config_program winetest enable_winetest clean
18993 wine_fn_config_program winevdm enable_win16 install
18994 wine_fn_config_program winhelp.exe16 enable_win16 install
18995 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18996 wine_fn_config_program winoldap.mod16 enable_win16 install
18997 wine_fn_config_program winver enable_winver install
18998 wine_fn_config_program wmic enable_wmic clean,install
18999 wine_fn_config_program wmplayer enable_wmplayer install
19000 wine_fn_config_program wordpad enable_wordpad clean,install
19001 wine_fn_config_program write enable_write clean,install
19002 wine_fn_config_program wscript enable_wscript clean,install
19003 wine_fn_config_test programs/wscript/tests wscript.exe_test
19004 wine_fn_config_program wusa enable_wusa install
19005 wine_fn_config_program xcopy enable_xcopy clean,install
19006 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19007 wine_fn_config_makefile server enable_server clean,install-lib
19008 wine_fn_config_tool tools clean
19009 wine_fn_config_tool tools/sfnt2fon clean
19010 wine_fn_config_tool tools/widl clean,install-dev
19011 wine_fn_config_tool tools/winebuild clean,install-dev
19012 wine_fn_config_tool tools/winedump clean,install-dev
19013 wine_fn_config_tool tools/winegcc clean,install-dev
19014 wine_fn_config_tool tools/winemaker clean,install-dev
19015 wine_fn_config_tool tools/wmc clean,install-dev
19016 wine_fn_config_tool tools/wrc clean,install-dev
19019 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19020 wine_fn_append_file CONFIGURE_TARGETS "tags"
19021 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19022 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19023 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19024 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19025 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19026 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19028 if test "x$enable_tools" != xno
19029 then
19030 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19031 ac_config_commands="$ac_config_commands tools/makedep"
19035 ac_config_commands="$ac_config_commands Makefile"
19038 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19042 if test "x$enable_maintainer_mode" = xyes
19043 then
19044 wine_fn_append_rule "configure: configure.ac aclocal.m4
19045 autoconf --warnings=all
19046 include/config.h.in: include/stamp-h.in
19047 include/stamp-h.in: configure.ac aclocal.m4
19048 autoheader --warnings=all
19049 @echo timestamp > \$@"
19052 if test "x$enable_tools" != xno
19053 then
19054 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19055 @./config.status tools/makedep
19056 Makefile: tools/makedep$ac_exeext"
19057 else
19058 wine_fn_append_rule "\$(MAKEDEP):
19059 @echo \"You need to run make in $TOOLSDIR first\" && false"
19062 if test -n "$with_wine64"
19063 then
19064 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19065 fonts server:
19066 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19067 $with_wine64/loader/wine:
19068 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19069 $with_wine64/loader/wine-preloader:
19070 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19071 clean::
19072 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19073 else
19074 WINELOADER_INSTALL="wine.inf"
19076 wine_fn_append_rule "install install-lib::
19077 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19078 uninstall::
19079 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19080 case $host_os in
19081 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19082 *) wine_fn_append_rule "install install-lib::
19083 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19084 uninstall::
19085 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19086 esac
19089 $as_echo " done" >&6
19090 cat >confcache <<\_ACEOF
19091 # This file is a shell script that caches the results of configure
19092 # tests run on this system so they can be shared between configure
19093 # scripts and configure runs, see configure's option --config-cache.
19094 # It is not useful on other systems. If it contains results you don't
19095 # want to keep, you may remove or edit it.
19097 # config.status only pays attention to the cache file if you give it
19098 # the --recheck option to rerun configure.
19100 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19101 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19102 # following values.
19104 _ACEOF
19106 # The following way of writing the cache mishandles newlines in values,
19107 # but we know of no workaround that is simple, portable, and efficient.
19108 # So, we kill variables containing newlines.
19109 # Ultrix sh set writes to stderr and can't be redirected directly,
19110 # and sets the high bit in the cache file unless we assign to the vars.
19112 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19113 eval ac_val=\$$ac_var
19114 case $ac_val in #(
19115 *${as_nl}*)
19116 case $ac_var in #(
19117 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19118 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19119 esac
19120 case $ac_var in #(
19121 _ | IFS | as_nl) ;; #(
19122 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19123 *) { eval $ac_var=; unset $ac_var;} ;;
19124 esac ;;
19125 esac
19126 done
19128 (set) 2>&1 |
19129 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19130 *${as_nl}ac_space=\ *)
19131 # `set' does not quote correctly, so add quotes: double-quote
19132 # substitution turns \\\\ into \\, and sed turns \\ into \.
19133 sed -n \
19134 "s/'/'\\\\''/g;
19135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19136 ;; #(
19138 # `set' quotes correctly as required by POSIX, so do not add quotes.
19139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19141 esac |
19142 sort
19144 sed '
19145 /^ac_cv_env_/b end
19146 t clear
19147 :clear
19148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19149 t end
19150 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19151 :end' >>confcache
19152 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19153 if test -w "$cache_file"; then
19154 if test "x$cache_file" != "x/dev/null"; then
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19156 $as_echo "$as_me: updating cache $cache_file" >&6;}
19157 if test ! -f "$cache_file" || test -h "$cache_file"; then
19158 cat confcache >"$cache_file"
19159 else
19160 case $cache_file in #(
19161 */* | ?:*)
19162 mv -f confcache "$cache_file"$$ &&
19163 mv -f "$cache_file"$$ "$cache_file" ;; #(
19165 mv -f confcache "$cache_file" ;;
19166 esac
19169 else
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19171 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19174 rm -f confcache
19176 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19177 # Let make expand exec_prefix.
19178 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19180 DEFS=-DHAVE_CONFIG_H
19182 ac_libobjs=
19183 ac_ltlibobjs=
19185 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19186 # 1. Remove the extension, and $U if already installed.
19187 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19188 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19189 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19190 # will be set to the directory where LIBOBJS objects are built.
19191 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19192 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19193 done
19194 LIBOBJS=$ac_libobjs
19196 LTLIBOBJS=$ac_ltlibobjs
19200 : "${CONFIG_STATUS=./config.status}"
19201 ac_write_fail=0
19202 ac_clean_files_save=$ac_clean_files
19203 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19205 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19206 as_write_fail=0
19207 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19208 #! $SHELL
19209 # Generated by $as_me.
19210 # Run this file to recreate the current configuration.
19211 # Compiler output produced by configure, useful for debugging
19212 # configure, is in config.log if it exists.
19214 debug=false
19215 ac_cs_recheck=false
19216 ac_cs_silent=false
19218 SHELL=\${CONFIG_SHELL-$SHELL}
19219 export SHELL
19220 _ASEOF
19221 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19222 ## -------------------- ##
19223 ## M4sh Initialization. ##
19224 ## -------------------- ##
19226 # Be more Bourne compatible
19227 DUALCASE=1; export DUALCASE # for MKS sh
19228 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19229 emulate sh
19230 NULLCMD=:
19231 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19232 # is contrary to our usage. Disable this feature.
19233 alias -g '${1+"$@"}'='"$@"'
19234 setopt NO_GLOB_SUBST
19235 else
19236 case `(set -o) 2>/dev/null` in #(
19237 *posix*) :
19238 set -o posix ;; #(
19239 *) :
19241 esac
19245 as_nl='
19247 export as_nl
19248 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19249 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19250 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19251 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19252 # Prefer a ksh shell builtin over an external printf program on Solaris,
19253 # but without wasting forks for bash or zsh.
19254 if test -z "$BASH_VERSION$ZSH_VERSION" \
19255 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19256 as_echo='print -r --'
19257 as_echo_n='print -rn --'
19258 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19259 as_echo='printf %s\n'
19260 as_echo_n='printf %s'
19261 else
19262 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19263 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19264 as_echo_n='/usr/ucb/echo -n'
19265 else
19266 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19267 as_echo_n_body='eval
19268 arg=$1;
19269 case $arg in #(
19270 *"$as_nl"*)
19271 expr "X$arg" : "X\\(.*\\)$as_nl";
19272 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19273 esac;
19274 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19276 export as_echo_n_body
19277 as_echo_n='sh -c $as_echo_n_body as_echo'
19279 export as_echo_body
19280 as_echo='sh -c $as_echo_body as_echo'
19283 # The user is always right.
19284 if test "${PATH_SEPARATOR+set}" != set; then
19285 PATH_SEPARATOR=:
19286 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19287 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19288 PATH_SEPARATOR=';'
19293 # IFS
19294 # We need space, tab and new line, in precisely that order. Quoting is
19295 # there to prevent editors from complaining about space-tab.
19296 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19297 # splitting by setting IFS to empty value.)
19298 IFS=" "" $as_nl"
19300 # Find who we are. Look in the path if we contain no directory separator.
19301 as_myself=
19302 case $0 in #((
19303 *[\\/]* ) as_myself=$0 ;;
19304 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19305 for as_dir in $PATH
19307 IFS=$as_save_IFS
19308 test -z "$as_dir" && as_dir=.
19309 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19310 done
19311 IFS=$as_save_IFS
19314 esac
19315 # We did not find ourselves, most probably we were run as `sh COMMAND'
19316 # in which case we are not to be found in the path.
19317 if test "x$as_myself" = x; then
19318 as_myself=$0
19320 if test ! -f "$as_myself"; then
19321 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19322 exit 1
19325 # Unset variables that we do not need and which cause bugs (e.g. in
19326 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19327 # suppresses any "Segmentation fault" message there. '((' could
19328 # trigger a bug in pdksh 5.2.14.
19329 for as_var in BASH_ENV ENV MAIL MAILPATH
19330 do eval test x\${$as_var+set} = xset \
19331 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19332 done
19333 PS1='$ '
19334 PS2='> '
19335 PS4='+ '
19337 # NLS nuisances.
19338 LC_ALL=C
19339 export LC_ALL
19340 LANGUAGE=C
19341 export LANGUAGE
19343 # CDPATH.
19344 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19347 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19348 # ----------------------------------------
19349 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19350 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19351 # script with STATUS, using 1 if that was 0.
19352 as_fn_error ()
19354 as_status=$1; test $as_status -eq 0 && as_status=1
19355 if test "$4"; then
19356 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19357 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19359 $as_echo "$as_me: error: $2" >&2
19360 as_fn_exit $as_status
19361 } # as_fn_error
19364 # as_fn_set_status STATUS
19365 # -----------------------
19366 # Set $? to STATUS, without forking.
19367 as_fn_set_status ()
19369 return $1
19370 } # as_fn_set_status
19372 # as_fn_exit STATUS
19373 # -----------------
19374 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19375 as_fn_exit ()
19377 set +e
19378 as_fn_set_status $1
19379 exit $1
19380 } # as_fn_exit
19382 # as_fn_unset VAR
19383 # ---------------
19384 # Portably unset VAR.
19385 as_fn_unset ()
19387 { eval $1=; unset $1;}
19389 as_unset=as_fn_unset
19390 # as_fn_append VAR VALUE
19391 # ----------------------
19392 # Append the text in VALUE to the end of the definition contained in VAR. Take
19393 # advantage of any shell optimizations that allow amortized linear growth over
19394 # repeated appends, instead of the typical quadratic growth present in naive
19395 # implementations.
19396 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19397 eval 'as_fn_append ()
19399 eval $1+=\$2
19401 else
19402 as_fn_append ()
19404 eval $1=\$$1\$2
19406 fi # as_fn_append
19408 # as_fn_arith ARG...
19409 # ------------------
19410 # Perform arithmetic evaluation on the ARGs, and store the result in the
19411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19412 # must be portable across $(()) and expr.
19413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19414 eval 'as_fn_arith ()
19416 as_val=$(( $* ))
19418 else
19419 as_fn_arith ()
19421 as_val=`expr "$@" || test $? -eq 1`
19423 fi # as_fn_arith
19426 if expr a : '\(a\)' >/dev/null 2>&1 &&
19427 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19428 as_expr=expr
19429 else
19430 as_expr=false
19433 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19434 as_basename=basename
19435 else
19436 as_basename=false
19439 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19440 as_dirname=dirname
19441 else
19442 as_dirname=false
19445 as_me=`$as_basename -- "$0" ||
19446 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19447 X"$0" : 'X\(//\)$' \| \
19448 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19449 $as_echo X/"$0" |
19450 sed '/^.*\/\([^/][^/]*\)\/*$/{
19451 s//\1/
19454 /^X\/\(\/\/\)$/{
19455 s//\1/
19458 /^X\/\(\/\).*/{
19459 s//\1/
19462 s/.*/./; q'`
19464 # Avoid depending upon Character Ranges.
19465 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19466 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19467 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19468 as_cr_digits='0123456789'
19469 as_cr_alnum=$as_cr_Letters$as_cr_digits
19471 ECHO_C= ECHO_N= ECHO_T=
19472 case `echo -n x` in #(((((
19473 -n*)
19474 case `echo 'xy\c'` in
19475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19476 xy) ECHO_C='\c';;
19477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19478 ECHO_T=' ';;
19479 esac;;
19481 ECHO_N='-n';;
19482 esac
19484 rm -f conf$$ conf$$.exe conf$$.file
19485 if test -d conf$$.dir; then
19486 rm -f conf$$.dir/conf$$.file
19487 else
19488 rm -f conf$$.dir
19489 mkdir conf$$.dir 2>/dev/null
19491 if (echo >conf$$.file) 2>/dev/null; then
19492 if ln -s conf$$.file conf$$ 2>/dev/null; then
19493 as_ln_s='ln -s'
19494 # ... but there are two gotchas:
19495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19497 # In both cases, we have to default to `cp -pR'.
19498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19499 as_ln_s='cp -pR'
19500 elif ln conf$$.file conf$$ 2>/dev/null; then
19501 as_ln_s=ln
19502 else
19503 as_ln_s='cp -pR'
19505 else
19506 as_ln_s='cp -pR'
19508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19509 rmdir conf$$.dir 2>/dev/null
19512 # as_fn_mkdir_p
19513 # -------------
19514 # Create "$as_dir" as a directory, including parents if necessary.
19515 as_fn_mkdir_p ()
19518 case $as_dir in #(
19519 -*) as_dir=./$as_dir;;
19520 esac
19521 test -d "$as_dir" || eval $as_mkdir_p || {
19522 as_dirs=
19523 while :; do
19524 case $as_dir in #(
19525 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19526 *) as_qdir=$as_dir;;
19527 esac
19528 as_dirs="'$as_qdir' $as_dirs"
19529 as_dir=`$as_dirname -- "$as_dir" ||
19530 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19531 X"$as_dir" : 'X\(//\)[^/]' \| \
19532 X"$as_dir" : 'X\(//\)$' \| \
19533 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19534 $as_echo X"$as_dir" |
19535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19536 s//\1/
19539 /^X\(\/\/\)[^/].*/{
19540 s//\1/
19543 /^X\(\/\/\)$/{
19544 s//\1/
19547 /^X\(\/\).*/{
19548 s//\1/
19551 s/.*/./; q'`
19552 test -d "$as_dir" && break
19553 done
19554 test -z "$as_dirs" || eval "mkdir $as_dirs"
19555 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19558 } # as_fn_mkdir_p
19559 if mkdir -p . 2>/dev/null; then
19560 as_mkdir_p='mkdir -p "$as_dir"'
19561 else
19562 test -d ./-p && rmdir ./-p
19563 as_mkdir_p=false
19567 # as_fn_executable_p FILE
19568 # -----------------------
19569 # Test if FILE is an executable regular file.
19570 as_fn_executable_p ()
19572 test -f "$1" && test -x "$1"
19573 } # as_fn_executable_p
19574 as_test_x='test -x'
19575 as_executable_p=as_fn_executable_p
19577 # Sed expression to map a string onto a valid CPP name.
19578 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19580 # Sed expression to map a string onto a valid variable name.
19581 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19584 exec 6>&1
19585 ## ----------------------------------- ##
19586 ## Main body of $CONFIG_STATUS script. ##
19587 ## ----------------------------------- ##
19588 _ASEOF
19589 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19592 # Save the log message, to keep $0 and so on meaningful, and to
19593 # report actual input values of CONFIG_FILES etc. instead of their
19594 # values after options handling.
19595 ac_log="
19596 This file was extended by Wine $as_me 2.17, which was
19597 generated by GNU Autoconf 2.69. Invocation command line was
19599 CONFIG_FILES = $CONFIG_FILES
19600 CONFIG_HEADERS = $CONFIG_HEADERS
19601 CONFIG_LINKS = $CONFIG_LINKS
19602 CONFIG_COMMANDS = $CONFIG_COMMANDS
19603 $ $0 $@
19605 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19608 _ACEOF
19610 case $ac_config_files in *"
19611 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19612 esac
19614 case $ac_config_headers in *"
19615 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19616 esac
19619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19620 # Files that config.status was made for.
19621 config_files="$ac_config_files"
19622 config_headers="$ac_config_headers"
19623 config_links="$ac_config_links"
19624 config_commands="$ac_config_commands"
19626 _ACEOF
19628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19629 ac_cs_usage="\
19630 \`$as_me' instantiates files and other configuration actions
19631 from templates according to the current configuration. Unless the files
19632 and actions are specified as TAGs, all are instantiated by default.
19634 Usage: $0 [OPTION]... [TAG]...
19636 -h, --help print this help, then exit
19637 -V, --version print version number and configuration settings, then exit
19638 --config print configuration, then exit
19639 -q, --quiet, --silent
19640 do not print progress messages
19641 -d, --debug don't remove temporary files
19642 --recheck update $as_me by reconfiguring in the same conditions
19643 --file=FILE[:TEMPLATE]
19644 instantiate the configuration file FILE
19645 --header=FILE[:TEMPLATE]
19646 instantiate the configuration header FILE
19648 Configuration files:
19649 $config_files
19651 Configuration headers:
19652 $config_headers
19654 Configuration links:
19655 $config_links
19657 Configuration commands:
19658 $config_commands
19660 Report bugs to <wine-devel@winehq.org>.
19661 Wine home page: <http://www.winehq.org>."
19663 _ACEOF
19664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19665 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19666 ac_cs_version="\\
19667 Wine config.status 2.17
19668 configured by $0, generated by GNU Autoconf 2.69,
19669 with options \\"\$ac_cs_config\\"
19671 Copyright (C) 2012 Free Software Foundation, Inc.
19672 This config.status script is free software; the Free Software Foundation
19673 gives unlimited permission to copy, distribute and modify it."
19675 ac_pwd='$ac_pwd'
19676 srcdir='$srcdir'
19677 test -n "\$AWK" || AWK=awk
19678 _ACEOF
19680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19681 # The default lists apply if the user does not specify any file.
19682 ac_need_defaults=:
19683 while test $# != 0
19685 case $1 in
19686 --*=?*)
19687 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19688 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19689 ac_shift=:
19691 --*=)
19692 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19693 ac_optarg=
19694 ac_shift=:
19697 ac_option=$1
19698 ac_optarg=$2
19699 ac_shift=shift
19701 esac
19703 case $ac_option in
19704 # Handling of the options.
19705 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19706 ac_cs_recheck=: ;;
19707 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19708 $as_echo "$ac_cs_version"; exit ;;
19709 --config | --confi | --conf | --con | --co | --c )
19710 $as_echo "$ac_cs_config"; exit ;;
19711 --debug | --debu | --deb | --de | --d | -d )
19712 debug=: ;;
19713 --file | --fil | --fi | --f )
19714 $ac_shift
19715 case $ac_optarg in
19716 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19717 '') as_fn_error $? "missing file argument" ;;
19718 esac
19719 as_fn_append CONFIG_FILES " '$ac_optarg'"
19720 ac_need_defaults=false;;
19721 --header | --heade | --head | --hea )
19722 $ac_shift
19723 case $ac_optarg in
19724 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19725 esac
19726 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19727 ac_need_defaults=false;;
19728 --he | --h)
19729 # Conflict between --help and --header
19730 as_fn_error $? "ambiguous option: \`$1'
19731 Try \`$0 --help' for more information.";;
19732 --help | --hel | -h )
19733 $as_echo "$ac_cs_usage"; exit ;;
19734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19735 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19736 ac_cs_silent=: ;;
19738 # This is an error.
19739 -*) as_fn_error $? "unrecognized option: \`$1'
19740 Try \`$0 --help' for more information." ;;
19742 *) as_fn_append ac_config_targets " $1"
19743 ac_need_defaults=false ;;
19745 esac
19746 shift
19747 done
19749 ac_configure_extra_args=
19751 if $ac_cs_silent; then
19752 exec 6>/dev/null
19753 ac_configure_extra_args="$ac_configure_extra_args --silent"
19756 _ACEOF
19757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19758 if \$ac_cs_recheck; then
19759 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19760 shift
19761 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19762 CONFIG_SHELL='$SHELL'
19763 export CONFIG_SHELL
19764 exec "\$@"
19767 _ACEOF
19768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19769 exec 5>>config.log
19771 echo
19772 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19773 ## Running $as_me. ##
19774 _ASBOX
19775 $as_echo "$ac_log"
19776 } >&5
19778 _ACEOF
19779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19781 # INIT-COMMANDS
19783 wine_fn_output_makedep ()
19785 as_dir=tools; as_fn_mkdir_p
19786 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19788 wine_fn_output_makefile ()
19790 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19791 `cat $wine_rules_file`
19792 _WINE_EOF
19793 as_fn_error $? "could not create Makefile" "$LINENO" 5
19796 _ACEOF
19798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19800 # Handling of arguments.
19801 for ac_config_target in $ac_config_targets
19803 case $ac_config_target in
19804 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19805 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19806 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19807 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19808 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19809 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19810 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19811 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19812 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19813 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19814 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19815 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19816 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19818 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19819 esac
19820 done
19823 # If the user did not use the arguments to specify the items to instantiate,
19824 # then the envvar interface is used. Set only those that are not.
19825 # We use the long form for the default assignment because of an extremely
19826 # bizarre bug on SunOS 4.1.3.
19827 if $ac_need_defaults; then
19828 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19829 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19830 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19831 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19834 # Have a temporary directory for convenience. Make it in the build tree
19835 # simply because there is no reason against having it here, and in addition,
19836 # creating and moving files from /tmp can sometimes cause problems.
19837 # Hook for its removal unless debugging.
19838 # Note that there is a small window in which the directory will not be cleaned:
19839 # after its creation but before its name has been assigned to `$tmp'.
19840 $debug ||
19842 tmp= ac_tmp=
19843 trap 'exit_status=$?
19844 : "${ac_tmp:=$tmp}"
19845 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19847 trap 'as_fn_exit 1' 1 2 13 15
19849 # Create a (secure) tmp directory for tmp files.
19852 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19853 test -d "$tmp"
19854 } ||
19856 tmp=./conf$$-$RANDOM
19857 (umask 077 && mkdir "$tmp")
19858 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19859 ac_tmp=$tmp
19861 # Set up the scripts for CONFIG_FILES section.
19862 # No need to generate them if there are no CONFIG_FILES.
19863 # This happens for instance with `./config.status config.h'.
19864 if test -n "$CONFIG_FILES"; then
19867 ac_cr=`echo X | tr X '\015'`
19868 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19869 # But we know of no other shell where ac_cr would be empty at this
19870 # point, so we can use a bashism as a fallback.
19871 if test "x$ac_cr" = x; then
19872 eval ac_cr=\$\'\\r\'
19874 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19875 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19876 ac_cs_awk_cr='\\r'
19877 else
19878 ac_cs_awk_cr=$ac_cr
19881 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19882 _ACEOF
19886 echo "cat >conf$$subs.awk <<_ACEOF" &&
19887 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19888 echo "_ACEOF"
19889 } >conf$$subs.sh ||
19890 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19891 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19892 ac_delim='%!_!# '
19893 for ac_last_try in false false false false false :; do
19894 . ./conf$$subs.sh ||
19895 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19897 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19898 if test $ac_delim_n = $ac_delim_num; then
19899 break
19900 elif $ac_last_try; then
19901 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19902 else
19903 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19905 done
19906 rm -f conf$$subs.sh
19908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19909 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19910 _ACEOF
19911 sed -n '
19913 s/^/S["/; s/!.*/"]=/
19916 s/^[^!]*!//
19917 :repl
19918 t repl
19919 s/'"$ac_delim"'$//
19920 t delim
19923 s/\(.\{148\}\)..*/\1/
19924 t more1
19925 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19928 b repl
19929 :more1
19930 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19933 s/.\{148\}//
19934 t nl
19935 :delim
19937 s/\(.\{148\}\)..*/\1/
19938 t more2
19939 s/["\\]/\\&/g; s/^/"/; s/$/"/
19942 :more2
19943 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19946 s/.\{148\}//
19947 t delim
19948 ' <conf$$subs.awk | sed '
19949 /^[^""]/{
19951 s/\n//
19953 ' >>$CONFIG_STATUS || ac_write_fail=1
19954 rm -f conf$$subs.awk
19955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19956 _ACAWK
19957 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19958 for (key in S) S_is_set[key] = 1
19959 FS = "\a"
19963 line = $ 0
19964 nfields = split(line, field, "@")
19965 substed = 0
19966 len = length(field[1])
19967 for (i = 2; i < nfields; i++) {
19968 key = field[i]
19969 keylen = length(key)
19970 if (S_is_set[key]) {
19971 value = S[key]
19972 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19973 len += length(value) + length(field[++i])
19974 substed = 1
19975 } else
19976 len += 1 + keylen
19979 print line
19982 _ACAWK
19983 _ACEOF
19984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19985 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19986 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19987 else
19989 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19990 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19991 _ACEOF
19993 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19994 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19995 # trailing colons and then remove the whole line if VPATH becomes empty
19996 # (actually we leave an empty line to preserve line numbers).
19997 if test "x$srcdir" = x.; then
19998 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20000 s///
20001 s/^/:/
20002 s/[ ]*$/:/
20003 s/:\$(srcdir):/:/g
20004 s/:\${srcdir}:/:/g
20005 s/:@srcdir@:/:/g
20006 s/^:*//
20007 s/:*$//
20009 s/\(=[ ]*\).*/\1/
20011 s/\n//
20012 s/^[^=]*=[ ]*$//
20016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20017 fi # test -n "$CONFIG_FILES"
20019 # Set up the scripts for CONFIG_HEADERS section.
20020 # No need to generate them if there are no CONFIG_HEADERS.
20021 # This happens for instance with `./config.status Makefile'.
20022 if test -n "$CONFIG_HEADERS"; then
20023 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20024 BEGIN {
20025 _ACEOF
20027 # Transform confdefs.h into an awk script `defines.awk', embedded as
20028 # here-document in config.status, that substitutes the proper values into
20029 # config.h.in to produce config.h.
20031 # Create a delimiter string that does not exist in confdefs.h, to ease
20032 # handling of long lines.
20033 ac_delim='%!_!# '
20034 for ac_last_try in false false :; do
20035 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20036 if test -z "$ac_tt"; then
20037 break
20038 elif $ac_last_try; then
20039 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20040 else
20041 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20043 done
20045 # For the awk script, D is an array of macro values keyed by name,
20046 # likewise P contains macro parameters if any. Preserve backslash
20047 # newline sequences.
20049 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20050 sed -n '
20051 s/.\{148\}/&'"$ac_delim"'/g
20052 t rset
20053 :rset
20054 s/^[ ]*#[ ]*define[ ][ ]*/ /
20055 t def
20057 :def
20058 s/\\$//
20059 t bsnl
20060 s/["\\]/\\&/g
20061 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20062 D["\1"]=" \3"/p
20063 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20065 :bsnl
20066 s/["\\]/\\&/g
20067 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20068 D["\1"]=" \3\\\\\\n"\\/p
20069 t cont
20070 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20071 t cont
20073 :cont
20075 s/.\{148\}/&'"$ac_delim"'/g
20076 t clear
20077 :clear
20078 s/\\$//
20079 t bsnlc
20080 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20082 :bsnlc
20083 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20084 b cont
20085 ' <confdefs.h | sed '
20086 s/'"$ac_delim"'/"\\\
20087 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20090 for (key in D) D_is_set[key] = 1
20091 FS = "\a"
20093 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20094 line = \$ 0
20095 split(line, arg, " ")
20096 if (arg[1] == "#") {
20097 defundef = arg[2]
20098 mac1 = arg[3]
20099 } else {
20100 defundef = substr(arg[1], 2)
20101 mac1 = arg[2]
20103 split(mac1, mac2, "(") #)
20104 macro = mac2[1]
20105 prefix = substr(line, 1, index(line, defundef) - 1)
20106 if (D_is_set[macro]) {
20107 # Preserve the white space surrounding the "#".
20108 print prefix "define", macro P[macro] D[macro]
20109 next
20110 } else {
20111 # Replace #undef with comments. This is necessary, for example,
20112 # in the case of _POSIX_SOURCE, which is predefined and required
20113 # on some systems where configure will not decide to define it.
20114 if (defundef == "undef") {
20115 print "/*", prefix defundef, macro, "*/"
20116 next
20120 { print }
20121 _ACAWK
20122 _ACEOF
20123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20124 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20125 fi # test -n "$CONFIG_HEADERS"
20128 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20129 shift
20130 for ac_tag
20132 case $ac_tag in
20133 :[FHLC]) ac_mode=$ac_tag; continue;;
20134 esac
20135 case $ac_mode$ac_tag in
20136 :[FHL]*:*);;
20137 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20138 :[FH]-) ac_tag=-:-;;
20139 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20140 esac
20141 ac_save_IFS=$IFS
20142 IFS=:
20143 set x $ac_tag
20144 IFS=$ac_save_IFS
20145 shift
20146 ac_file=$1
20147 shift
20149 case $ac_mode in
20150 :L) ac_source=$1;;
20151 :[FH])
20152 ac_file_inputs=
20153 for ac_f
20155 case $ac_f in
20156 -) ac_f="$ac_tmp/stdin";;
20157 *) # Look for the file first in the build tree, then in the source tree
20158 # (if the path is not absolute). The absolute path cannot be DOS-style,
20159 # because $ac_f cannot contain `:'.
20160 test -f "$ac_f" ||
20161 case $ac_f in
20162 [\\/$]*) false;;
20163 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20164 esac ||
20165 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20166 esac
20167 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20168 as_fn_append ac_file_inputs " '$ac_f'"
20169 done
20171 # Let's still pretend it is `configure' which instantiates (i.e., don't
20172 # use $as_me), people would be surprised to read:
20173 # /* config.h. Generated by config.status. */
20174 configure_input='Generated from '`
20175 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20176 `' by configure.'
20177 if test x"$ac_file" != x-; then
20178 configure_input="$ac_file. $configure_input"
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20180 $as_echo "$as_me: creating $ac_file" >&6;}
20182 # Neutralize special characters interpreted by sed in replacement strings.
20183 case $configure_input in #(
20184 *\&* | *\|* | *\\* )
20185 ac_sed_conf_input=`$as_echo "$configure_input" |
20186 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20187 *) ac_sed_conf_input=$configure_input;;
20188 esac
20190 case $ac_tag in
20191 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20192 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20193 esac
20195 esac
20197 ac_dir=`$as_dirname -- "$ac_file" ||
20198 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20199 X"$ac_file" : 'X\(//\)[^/]' \| \
20200 X"$ac_file" : 'X\(//\)$' \| \
20201 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20202 $as_echo X"$ac_file" |
20203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20204 s//\1/
20207 /^X\(\/\/\)[^/].*/{
20208 s//\1/
20211 /^X\(\/\/\)$/{
20212 s//\1/
20215 /^X\(\/\).*/{
20216 s//\1/
20219 s/.*/./; q'`
20220 as_dir="$ac_dir"; as_fn_mkdir_p
20221 ac_builddir=.
20223 case "$ac_dir" in
20224 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20226 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20227 # A ".." for each directory in $ac_dir_suffix.
20228 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20229 case $ac_top_builddir_sub in
20230 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20231 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20232 esac ;;
20233 esac
20234 ac_abs_top_builddir=$ac_pwd
20235 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20236 # for backward compatibility:
20237 ac_top_builddir=$ac_top_build_prefix
20239 case $srcdir in
20240 .) # We are building in place.
20241 ac_srcdir=.
20242 ac_top_srcdir=$ac_top_builddir_sub
20243 ac_abs_top_srcdir=$ac_pwd ;;
20244 [\\/]* | ?:[\\/]* ) # Absolute name.
20245 ac_srcdir=$srcdir$ac_dir_suffix;
20246 ac_top_srcdir=$srcdir
20247 ac_abs_top_srcdir=$srcdir ;;
20248 *) # Relative name.
20249 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20250 ac_top_srcdir=$ac_top_build_prefix$srcdir
20251 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20252 esac
20253 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20256 case $ac_mode in
20259 # CONFIG_FILE
20262 _ACEOF
20264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20265 # If the template does not know about datarootdir, expand it.
20266 # FIXME: This hack should be removed a few years after 2.60.
20267 ac_datarootdir_hack=; ac_datarootdir_seen=
20268 ac_sed_dataroot='
20269 /datarootdir/ {
20273 /@datadir@/p
20274 /@docdir@/p
20275 /@infodir@/p
20276 /@localedir@/p
20277 /@mandir@/p'
20278 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20279 *datarootdir*) ac_datarootdir_seen=yes;;
20280 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20282 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20283 _ACEOF
20284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20285 ac_datarootdir_hack='
20286 s&@datadir@&$datadir&g
20287 s&@docdir@&$docdir&g
20288 s&@infodir@&$infodir&g
20289 s&@localedir@&$localedir&g
20290 s&@mandir@&$mandir&g
20291 s&\\\${datarootdir}&$datarootdir&g' ;;
20292 esac
20293 _ACEOF
20295 # Neutralize VPATH when `$srcdir' = `.'.
20296 # Shell code in configure.ac might set extrasub.
20297 # FIXME: do we really want to maintain this feature?
20298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20299 ac_sed_extra="$ac_vpsub
20300 $extrasub
20301 _ACEOF
20302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20304 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20305 s|@configure_input@|$ac_sed_conf_input|;t t
20306 s&@top_builddir@&$ac_top_builddir_sub&;t t
20307 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20308 s&@srcdir@&$ac_srcdir&;t t
20309 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20310 s&@top_srcdir@&$ac_top_srcdir&;t t
20311 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20312 s&@builddir@&$ac_builddir&;t t
20313 s&@abs_builddir@&$ac_abs_builddir&;t t
20314 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20315 $ac_datarootdir_hack
20317 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20318 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20320 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20321 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20322 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20323 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20325 which seems to be undefined. Please make sure it is defined" >&5
20326 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20327 which seems to be undefined. Please make sure it is defined" >&2;}
20329 rm -f "$ac_tmp/stdin"
20330 case $ac_file in
20331 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20332 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20333 esac \
20334 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20338 # CONFIG_HEADER
20340 if test x"$ac_file" != x-; then
20342 $as_echo "/* $configure_input */" \
20343 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20344 } >"$ac_tmp/config.h" \
20345 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20346 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20348 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20349 else
20350 rm -f "$ac_file"
20351 mv "$ac_tmp/config.h" "$ac_file" \
20352 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20354 else
20355 $as_echo "/* $configure_input */" \
20356 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20357 || as_fn_error $? "could not create -" "$LINENO" 5
20362 # CONFIG_LINK
20365 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20367 else
20368 # Prefer the file from the source tree if names are identical.
20369 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20370 ac_source=$srcdir/$ac_source
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20374 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20376 if test ! -r "$ac_source"; then
20377 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20379 rm -f "$ac_file"
20381 # Try a relative symlink, then a hard link, then a copy.
20382 case $ac_source in
20383 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20384 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20385 esac
20386 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20387 ln "$ac_source" "$ac_file" 2>/dev/null ||
20388 cp -p "$ac_source" "$ac_file" ||
20389 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20392 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20393 $as_echo "$as_me: executing $ac_file commands" >&6;}
20395 esac
20398 case $ac_file$ac_mode in
20399 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20400 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20401 "Makefile":C) wine_fn_output_makefile Makefile ;;
20403 esac
20404 done # for ac_tag
20407 as_fn_exit 0
20408 _ACEOF
20409 ac_clean_files=$ac_clean_files_save
20411 test $ac_write_fail = 0 ||
20412 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20415 # configure is writing to config.log, and then calls config.status.
20416 # config.status does its own redirection, appending to config.log.
20417 # Unfortunately, on DOS this fails, as config.log is still kept open
20418 # by configure, so config.status won't be able to write to it; its
20419 # output is simply discarded. So we exec the FD to /dev/null,
20420 # effectively closing config.log, so it can be properly (re)opened and
20421 # appended to by config.status. When coming back to configure, we
20422 # need to make the FD available again.
20423 if test "$no_create" != yes; then
20424 ac_cs_success=:
20425 ac_config_status_args=
20426 test "$silent" = yes &&
20427 ac_config_status_args="$ac_config_status_args --quiet"
20428 exec 5>/dev/null
20429 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20430 exec 5>>config.log
20431 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20432 # would make configure fail if this is the last instruction.
20433 $ac_cs_success || as_fn_exit 1
20435 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20437 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20441 if test "$no_create" = "yes"
20442 then
20443 exit 0
20446 ac_save_IFS="$IFS"
20447 if test "x$wine_notices" != x; then
20448 echo >&6
20449 IFS="|"
20450 for msg in $wine_notices; do
20451 IFS="$ac_save_IFS"
20452 if ${msg:+false} :; then :
20454 else
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20456 $as_echo "$as_me: $msg" >&6;}
20458 done
20460 IFS="|"
20461 for msg in $wine_warnings; do
20462 IFS="$ac_save_IFS"
20463 if ${msg:+false} :; then :
20465 else
20466 echo >&2
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20468 $as_echo "$as_me: WARNING: $msg" >&2;}
20470 done
20471 IFS="$ac_save_IFS"
20473 $as_echo "
20474 $as_me: Finished. Do '${ac_make}' to compile Wine.
20475 " >&6