dmloader/tests: Add more SetSearchDirectory() tests.
[wine.git] / configure
blob5340523a80a37c3c348c5f3f937ff213235ea9b7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.13.
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.13'
584 PACKAGE_STRING='Wine 2.13'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_CFLAGS
659 ALSA_LIBS
660 GSTREAMER_LIBS
661 GSTREAMER_CFLAGS
662 PULSE_LIBS
663 PULSE_CFLAGS
664 GETTEXTPO_LIBS
665 Z_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 LCMS2_LIBS
669 LCMS2_CFLAGS
670 RESOLV_LIBS
671 GPHOTO2_PORT_LIBS
672 GPHOTO2_PORT_CFLAGS
673 GPHOTO2_LIBS
674 GPHOTO2_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 XSLT_LIBS
684 XSLT_CFLAGS
685 XML2_LIBS
686 XML2_CFLAGS
687 PCAP_LIBS
688 X_EXTRA_LIBS
689 X_LIBS
690 X_PRE_LIBS
691 X_CFLAGS
692 XMKMF
693 PTHREAD_LIBS
694 CROSSCFLAGS
695 CROSSCC
696 CROSSTARGET
697 PRELINK
698 WINELOADER_DEPENDS
699 CARBON_LIBS
700 QUICKTIME_LIBS
701 OPENCL_LIBS
702 OPENAL_LIBS
703 COREAUDIO_LIBS
704 SECURITY_LIBS
705 DISKARBITRATION_LIBS
706 APPKIT_LIBS
707 CORESERVICES_LIBS
708 APPLICATIONSERVICES_LIBS
709 FORCEFEEDBACK_LIBS
710 IOKIT_LIBS
711 COREFOUNDATION_LIBS
712 LIBWINE_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_INSTALL_DEV
715 LIBWINE_INSTALL_LIB
716 LIBWINE_IMPORTLIB
717 LIBWINE_SHAREDLIB
718 SOCKET_LIBS
719 DLLTOOL
720 WINELOADER_PROGRAMS
721 ALL_TEST_RESOURCES
722 CONFIGURE_TARGETS
723 DISABLED_SUBDIRS
724 SUBDIRS
725 READELF
726 OTOOL
728 WINELOADER_LDFLAGS
729 LDEXECFLAGS
730 LDRPATH_LOCAL
731 LDRPATH_INSTALL
732 DLLFLAGS
733 dlldir
735 OPENGL_LIBS
736 ICOTOOL
737 CONVERT
738 RSVG
739 FONTFORGE
740 PKG_CONFIG
741 MSGFMT
742 LDCONFIG
743 EGREP
744 GREP
745 LN_S
746 RANLIB
747 ARFLAGS
748 STRIP
749 ac_ct_AR
751 BISON
752 FLEX
753 TOOLSDIR
754 TARGETFLAGS
756 CPPBIN
757 ac_ct_CXX
758 CXXFLAGS
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
767 SET_MAKE
768 host_os
769 host_vendor
770 host_cpu
771 host
772 build_os
773 build_vendor
774 build_cpu
775 build
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 runstatedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_win16
819 enable_win64
820 enable_tests
821 enable_maintainer_mode
822 with_alsa
823 with_capi
824 with_cms
825 with_coreaudio
826 with_cups
827 with_curses
828 with_dbus
829 with_fontconfig
830 with_freetype
831 with_gettext
832 with_gettextpo
833 with_gphoto
834 with_glu
835 with_gnutls
836 with_gsm
837 with_gstreamer
838 with_hal
839 with_jpeg
840 with_ldap
841 with_mpg123
842 with_netapi
843 with_openal
844 with_opencl
845 with_opengl
846 with_osmesa
847 with_oss
848 with_pcap
849 with_png
850 with_pthread
851 with_pulse
852 with_sane
853 with_tiff
854 with_udev
855 with_v4l
856 with_xcomposite
857 with_xcursor
858 with_xfixes
859 with_xinerama
860 with_xinput
861 with_xinput2
862 with_xml
863 with_xrandr
864 with_xrender
865 with_xshape
866 with_xshm
867 with_xslt
868 with_xxf86vm
869 with_zlib
870 with_wine_tools
871 with_wine64
872 enable_largefile
873 with_x
874 enable_acledit
875 enable_aclui
876 enable_activeds
877 enable_actxprxy
878 enable_adsldpc
879 enable_advapi32
880 enable_advpack
881 enable_amstream
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_fibers_l1_1_0
906 enable_api_ms_win_core_fibers_l1_1_1
907 enable_api_ms_win_core_file_l1_1_0
908 enable_api_ms_win_core_file_l1_2_0
909 enable_api_ms_win_core_file_l1_2_1
910 enable_api_ms_win_core_file_l2_1_0
911 enable_api_ms_win_core_file_l2_1_1
912 enable_api_ms_win_core_handle_l1_1_0
913 enable_api_ms_win_core_heap_l1_1_0
914 enable_api_ms_win_core_heap_l1_2_0
915 enable_api_ms_win_core_heap_obsolete_l1_1_0
916 enable_api_ms_win_core_interlocked_l1_1_0
917 enable_api_ms_win_core_interlocked_l1_2_0
918 enable_api_ms_win_core_io_l1_1_0
919 enable_api_ms_win_core_io_l1_1_1
920 enable_api_ms_win_core_job_l1_1_0
921 enable_api_ms_win_core_job_l2_1_0
922 enable_api_ms_win_core_kernel32_legacy_l1_1_0
923 enable_api_ms_win_core_kernel32_legacy_l1_1_1
924 enable_api_ms_win_core_kernel32_private_l1_1_1
925 enable_api_ms_win_core_libraryloader_l1_1_0
926 enable_api_ms_win_core_libraryloader_l1_1_1
927 enable_api_ms_win_core_libraryloader_l1_2_0
928 enable_api_ms_win_core_libraryloader_l1_2_2
929 enable_api_ms_win_core_localization_l1_1_0
930 enable_api_ms_win_core_localization_l1_2_0
931 enable_api_ms_win_core_localization_l1_2_1
932 enable_api_ms_win_core_localization_l2_1_0
933 enable_api_ms_win_core_localization_obsolete_l1_1_0
934 enable_api_ms_win_core_localization_obsolete_l1_2_0
935 enable_api_ms_win_core_localization_private_l1_1_0
936 enable_api_ms_win_core_localregistry_l1_1_0
937 enable_api_ms_win_core_memory_l1_1_0
938 enable_api_ms_win_core_memory_l1_1_1
939 enable_api_ms_win_core_memory_l1_1_2
940 enable_api_ms_win_core_misc_l1_1_0
941 enable_api_ms_win_core_namedpipe_l1_1_0
942 enable_api_ms_win_core_namedpipe_l1_2_0
943 enable_api_ms_win_core_namespace_l1_1_0
944 enable_api_ms_win_core_normalization_l1_1_0
945 enable_api_ms_win_core_path_l1_1_0
946 enable_api_ms_win_core_privateprofile_l1_1_1
947 enable_api_ms_win_core_processenvironment_l1_1_0
948 enable_api_ms_win_core_processenvironment_l1_2_0
949 enable_api_ms_win_core_processthreads_l1_1_0
950 enable_api_ms_win_core_processthreads_l1_1_1
951 enable_api_ms_win_core_processthreads_l1_1_2
952 enable_api_ms_win_core_profile_l1_1_0
953 enable_api_ms_win_core_psapi_ansi_l1_1_0
954 enable_api_ms_win_core_psapi_l1_1_0
955 enable_api_ms_win_core_psapi_obsolete_l1_1_0
956 enable_api_ms_win_core_quirks_l1_1_0
957 enable_api_ms_win_core_realtime_l1_1_0
958 enable_api_ms_win_core_registry_l1_1_0
959 enable_api_ms_win_core_registry_l2_1_0
960 enable_api_ms_win_core_registryuserspecific_l1_1_0
961 enable_api_ms_win_core_rtlsupport_l1_1_0
962 enable_api_ms_win_core_rtlsupport_l1_2_0
963 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
964 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
965 enable_api_ms_win_core_sidebyside_l1_1_0
966 enable_api_ms_win_core_string_l1_1_0
967 enable_api_ms_win_core_string_l2_1_0
968 enable_api_ms_win_core_string_obsolete_l1_1_0
969 enable_api_ms_win_core_stringansi_l1_1_0
970 enable_api_ms_win_core_synch_l1_1_0
971 enable_api_ms_win_core_synch_l1_2_0
972 enable_api_ms_win_core_sysinfo_l1_1_0
973 enable_api_ms_win_core_sysinfo_l1_2_0
974 enable_api_ms_win_core_sysinfo_l1_2_1
975 enable_api_ms_win_core_threadpool_l1_1_0
976 enable_api_ms_win_core_threadpool_l1_2_0
977 enable_api_ms_win_core_threadpool_legacy_l1_1_0
978 enable_api_ms_win_core_threadpool_private_l1_1_0
979 enable_api_ms_win_core_timezone_l1_1_0
980 enable_api_ms_win_core_toolhelp_l1_1_0
981 enable_api_ms_win_core_url_l1_1_0
982 enable_api_ms_win_core_util_l1_1_0
983 enable_api_ms_win_core_version_l1_1_0
984 enable_api_ms_win_core_version_private_l1_1_0
985 enable_api_ms_win_core_versionansi_l1_1_0
986 enable_api_ms_win_core_windowserrorreporting_l1_1_0
987 enable_api_ms_win_core_winrt_error_l1_1_0
988 enable_api_ms_win_core_winrt_error_l1_1_1
989 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
990 enable_api_ms_win_core_winrt_l1_1_0
991 enable_api_ms_win_core_winrt_registration_l1_1_0
992 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
993 enable_api_ms_win_core_winrt_string_l1_1_0
994 enable_api_ms_win_core_wow64_l1_1_0
995 enable_api_ms_win_core_xstate_l1_1_0
996 enable_api_ms_win_core_xstate_l2_1_0
997 enable_api_ms_win_crt_conio_l1_1_0
998 enable_api_ms_win_crt_convert_l1_1_0
999 enable_api_ms_win_crt_environment_l1_1_0
1000 enable_api_ms_win_crt_filesystem_l1_1_0
1001 enable_api_ms_win_crt_heap_l1_1_0
1002 enable_api_ms_win_crt_locale_l1_1_0
1003 enable_api_ms_win_crt_math_l1_1_0
1004 enable_api_ms_win_crt_multibyte_l1_1_0
1005 enable_api_ms_win_crt_private_l1_1_0
1006 enable_api_ms_win_crt_process_l1_1_0
1007 enable_api_ms_win_crt_runtime_l1_1_0
1008 enable_api_ms_win_crt_stdio_l1_1_0
1009 enable_api_ms_win_crt_string_l1_1_0
1010 enable_api_ms_win_crt_time_l1_1_0
1011 enable_api_ms_win_crt_utility_l1_1_0
1012 enable_api_ms_win_devices_config_l1_1_1
1013 enable_api_ms_win_devices_query_l1_1_1
1014 enable_api_ms_win_downlevel_advapi32_l1_1_0
1015 enable_api_ms_win_downlevel_advapi32_l2_1_0
1016 enable_api_ms_win_downlevel_normaliz_l1_1_0
1017 enable_api_ms_win_downlevel_ole32_l1_1_0
1018 enable_api_ms_win_downlevel_shell32_l1_1_0
1019 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1020 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1021 enable_api_ms_win_downlevel_user32_l1_1_0
1022 enable_api_ms_win_downlevel_version_l1_1_0
1023 enable_api_ms_win_dx_d3dkmt_l1_1_0
1024 enable_api_ms_win_eventing_classicprovider_l1_1_0
1025 enable_api_ms_win_eventing_consumer_l1_1_0
1026 enable_api_ms_win_eventing_controller_l1_1_0
1027 enable_api_ms_win_eventing_provider_l1_1_0
1028 enable_api_ms_win_eventlog_legacy_l1_1_0
1029 enable_api_ms_win_mm_misc_l1_1_1
1030 enable_api_ms_win_mm_mme_l1_1_0
1031 enable_api_ms_win_mm_time_l1_1_0
1032 enable_api_ms_win_ntuser_dc_access_l1_1_0
1033 enable_api_ms_win_power_base_l1_1_0
1034 enable_api_ms_win_power_setting_l1_1_0
1035 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1036 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1037 enable_api_ms_win_security_audit_l1_1_1
1038 enable_api_ms_win_security_base_l1_1_0
1039 enable_api_ms_win_security_base_l1_2_0
1040 enable_api_ms_win_security_base_private_l1_1_1
1041 enable_api_ms_win_security_credentials_l1_1_0
1042 enable_api_ms_win_security_grouppolicy_l1_1_0
1043 enable_api_ms_win_security_lsalookup_l1_1_0
1044 enable_api_ms_win_security_lsalookup_l1_1_1
1045 enable_api_ms_win_security_lsalookup_l2_1_1
1046 enable_api_ms_win_security_lsapolicy_l1_1_0
1047 enable_api_ms_win_security_provider_l1_1_0
1048 enable_api_ms_win_security_sddl_l1_1_0
1049 enable_api_ms_win_security_systemfunctions_l1_1_0
1050 enable_api_ms_win_service_core_l1_1_0
1051 enable_api_ms_win_service_core_l1_1_1
1052 enable_api_ms_win_service_management_l1_1_0
1053 enable_api_ms_win_service_management_l2_1_0
1054 enable_api_ms_win_service_private_l1_1_1
1055 enable_api_ms_win_service_winsvc_l1_1_0
1056 enable_api_ms_win_service_winsvc_l1_2_0
1057 enable_api_ms_win_shell_shellcom_l1_1_0
1058 enable_api_ms_win_shell_shellfolders_l1_1_0
1059 enable_apphelp
1060 enable_appwiz_cpl
1061 enable_atl
1062 enable_atl100
1063 enable_atl110
1064 enable_atl80
1065 enable_atl90
1066 enable_authz
1067 enable_avicap32
1068 enable_avifil32
1069 enable_avrt
1070 enable_bcrypt
1071 enable_bluetoothapis
1072 enable_browseui
1073 enable_bthprops_cpl
1074 enable_cabinet
1075 enable_capi2032
1076 enable_cards
1077 enable_cfgmgr32
1078 enable_clusapi
1079 enable_combase
1080 enable_comcat
1081 enable_comctl32
1082 enable_comdlg32
1083 enable_compstui
1084 enable_comsvcs
1085 enable_concrt140
1086 enable_connect
1087 enable_credui
1088 enable_crtdll
1089 enable_crypt32
1090 enable_cryptdlg
1091 enable_cryptdll
1092 enable_cryptext
1093 enable_cryptnet
1094 enable_cryptui
1095 enable_ctapi32
1096 enable_ctl3d32
1097 enable_d2d1
1098 enable_d3d10
1099 enable_d3d10_1
1100 enable_d3d10core
1101 enable_d3d11
1102 enable_d3d8
1103 enable_d3d9
1104 enable_d3dcompiler_33
1105 enable_d3dcompiler_34
1106 enable_d3dcompiler_35
1107 enable_d3dcompiler_36
1108 enable_d3dcompiler_37
1109 enable_d3dcompiler_38
1110 enable_d3dcompiler_39
1111 enable_d3dcompiler_40
1112 enable_d3dcompiler_41
1113 enable_d3dcompiler_42
1114 enable_d3dcompiler_43
1115 enable_d3dcompiler_46
1116 enable_d3dcompiler_47
1117 enable_d3dim
1118 enable_d3drm
1119 enable_d3dx10_33
1120 enable_d3dx10_34
1121 enable_d3dx10_35
1122 enable_d3dx10_36
1123 enable_d3dx10_37
1124 enable_d3dx10_38
1125 enable_d3dx10_39
1126 enable_d3dx10_40
1127 enable_d3dx10_41
1128 enable_d3dx10_42
1129 enable_d3dx10_43
1130 enable_d3dx11_42
1131 enable_d3dx11_43
1132 enable_d3dx9_24
1133 enable_d3dx9_25
1134 enable_d3dx9_26
1135 enable_d3dx9_27
1136 enable_d3dx9_28
1137 enable_d3dx9_29
1138 enable_d3dx9_30
1139 enable_d3dx9_31
1140 enable_d3dx9_32
1141 enable_d3dx9_33
1142 enable_d3dx9_34
1143 enable_d3dx9_35
1144 enable_d3dx9_36
1145 enable_d3dx9_37
1146 enable_d3dx9_38
1147 enable_d3dx9_39
1148 enable_d3dx9_40
1149 enable_d3dx9_41
1150 enable_d3dx9_42
1151 enable_d3dx9_43
1152 enable_d3dxof
1153 enable_davclnt
1154 enable_dbgeng
1155 enable_dbghelp
1156 enable_dciman32
1157 enable_ddraw
1158 enable_ddrawex
1159 enable_devenum
1160 enable_dhcpcsvc
1161 enable_difxapi
1162 enable_dinput
1163 enable_dinput8
1164 enable_dispex
1165 enable_dmband
1166 enable_dmcompos
1167 enable_dmime
1168 enable_dmloader
1169 enable_dmscript
1170 enable_dmstyle
1171 enable_dmsynth
1172 enable_dmusic
1173 enable_dmusic32
1174 enable_dnsapi
1175 enable_dplay
1176 enable_dplayx
1177 enable_dpnaddr
1178 enable_dpnet
1179 enable_dpnhpast
1180 enable_dpnlobby
1181 enable_dpvoice
1182 enable_dpwsockx
1183 enable_drmclien
1184 enable_dsound
1185 enable_dssenh
1186 enable_dswave
1187 enable_dwmapi
1188 enable_dwrite
1189 enable_dxdiagn
1190 enable_dxgi
1191 enable_dxva2
1192 enable_esent
1193 enable_evr
1194 enable_explorerframe
1195 enable_ext_ms_win_authz_context_l1_1_0
1196 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1197 enable_ext_ms_win_gdi_dc_create_l1_1_1
1198 enable_ext_ms_win_gdi_dc_l1_2_0
1199 enable_ext_ms_win_gdi_devcaps_l1_1_0
1200 enable_ext_ms_win_gdi_draw_l1_1_1
1201 enable_ext_ms_win_gdi_render_l1_1_0
1202 enable_ext_ms_win_kernel32_package_current_l1_1_0
1203 enable_ext_ms_win_kernel32_package_l1_1_1
1204 enable_ext_ms_win_ntuser_message_l1_1_1
1205 enable_ext_ms_win_ntuser_private_l1_1_1
1206 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1207 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1208 enable_ext_ms_win_ntuser_window_l1_1_1
1209 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1210 enable_ext_ms_win_ras_rasapi32_l1_1_0
1211 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1212 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1213 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1214 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1215 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1216 enable_ext_ms_win_security_credui_l1_1_0
1217 enable_ext_ms_win_security_cryptui_l1_1_0
1218 enable_faultrep
1219 enable_fltlib
1220 enable_fltmgr_sys
1221 enable_fntcache
1222 enable_fontsub
1223 enable_fusion
1224 enable_fwpuclnt
1225 enable_gameux
1226 enable_gdi32
1227 enable_gdiplus
1228 enable_glu32
1229 enable_gphoto2_ds
1230 enable_gpkcsp
1231 enable_hal
1232 enable_hhctrl_ocx
1233 enable_hid
1234 enable_hidclass_sys
1235 enable_hlink
1236 enable_hnetcfg
1237 enable_httpapi
1238 enable_iccvid
1239 enable_icmp
1240 enable_ieframe
1241 enable_imaadp32_acm
1242 enable_imagehlp
1243 enable_imm32
1244 enable_inetcomm
1245 enable_inetcpl_cpl
1246 enable_inetmib1
1247 enable_infosoft
1248 enable_initpki
1249 enable_inkobj
1250 enable_inseng
1251 enable_iphlpapi
1252 enable_iprop
1253 enable_irprops_cpl
1254 enable_itircl
1255 enable_itss
1256 enable_joy_cpl
1257 enable_jscript
1258 enable_jsproxy
1259 enable_kernel32
1260 enable_kernelbase
1261 enable_ksuser
1262 enable_ktmw32
1263 enable_loadperf
1264 enable_localspl
1265 enable_localui
1266 enable_lz32
1267 enable_mapi32
1268 enable_mapistub
1269 enable_mciavi32
1270 enable_mcicda
1271 enable_mciqtz32
1272 enable_mciseq
1273 enable_mciwave
1274 enable_mf
1275 enable_mf3216
1276 enable_mfplat
1277 enable_mfreadwrite
1278 enable_mgmtapi
1279 enable_midimap
1280 enable_mlang
1281 enable_mmcndmgr
1282 enable_mmdevapi
1283 enable_mountmgr_sys
1284 enable_mpr
1285 enable_mprapi
1286 enable_msacm32_drv
1287 enable_msacm32
1288 enable_msadp32_acm
1289 enable_msasn1
1290 enable_mscat32
1291 enable_mscms
1292 enable_mscoree
1293 enable_msctf
1294 enable_msctfp
1295 enable_msdaps
1296 enable_msdelta
1297 enable_msdmo
1298 enable_msdrm
1299 enable_msftedit
1300 enable_msg711_acm
1301 enable_msgsm32_acm
1302 enable_mshtml_tlb
1303 enable_mshtml
1304 enable_msi
1305 enable_msident
1306 enable_msimg32
1307 enable_msimsg
1308 enable_msimtf
1309 enable_msisip
1310 enable_msisys_ocx
1311 enable_msls31
1312 enable_msnet32
1313 enable_mspatcha
1314 enable_msports
1315 enable_msrle32
1316 enable_msscript_ocx
1317 enable_mssign32
1318 enable_mssip32
1319 enable_mstask
1320 enable_msvcirt
1321 enable_msvcm80
1322 enable_msvcm90
1323 enable_msvcp100
1324 enable_msvcp110
1325 enable_msvcp120
1326 enable_msvcp120_app
1327 enable_msvcp140
1328 enable_msvcp60
1329 enable_msvcp70
1330 enable_msvcp71
1331 enable_msvcp80
1332 enable_msvcp90
1333 enable_msvcr100
1334 enable_msvcr110
1335 enable_msvcr120
1336 enable_msvcr120_app
1337 enable_msvcr70
1338 enable_msvcr71
1339 enable_msvcr80
1340 enable_msvcr90
1341 enable_msvcrt
1342 enable_msvcrt20
1343 enable_msvcrt40
1344 enable_msvcrtd
1345 enable_msvfw32
1346 enable_msvidc32
1347 enable_mswsock
1348 enable_msxml
1349 enable_msxml2
1350 enable_msxml3
1351 enable_msxml4
1352 enable_msxml6
1353 enable_mtxdm
1354 enable_ncrypt
1355 enable_nddeapi
1356 enable_ndis_sys
1357 enable_netapi32
1358 enable_netcfgx
1359 enable_netprofm
1360 enable_newdev
1361 enable_normaliz
1362 enable_npmshtml
1363 enable_npptools
1364 enable_ntdll
1365 enable_ntdsapi
1366 enable_ntoskrnl_exe
1367 enable_ntprint
1368 enable_objsel
1369 enable_odbc32
1370 enable_odbccp32
1371 enable_odbccu32
1372 enable_ole32
1373 enable_oleacc
1374 enable_oleaut32
1375 enable_olecli32
1376 enable_oledb32
1377 enable_oledlg
1378 enable_olepro32
1379 enable_olesvr32
1380 enable_olethk32
1381 enable_openal32
1382 enable_opencl
1383 enable_opengl32
1384 enable_packager
1385 enable_pdh
1386 enable_photometadatahandler
1387 enable_pidgen
1388 enable_powrprof
1389 enable_printui
1390 enable_prntvpt
1391 enable_propsys
1392 enable_psapi
1393 enable_pstorec
1394 enable_qcap
1395 enable_qedit
1396 enable_qmgr
1397 enable_qmgrprxy
1398 enable_quartz
1399 enable_query
1400 enable_rasapi32
1401 enable_rasdlg
1402 enable_regapi
1403 enable_resutils
1404 enable_riched20
1405 enable_riched32
1406 enable_rpcrt4
1407 enable_rsabase
1408 enable_rsaenh
1409 enable_rstrtmgr
1410 enable_rtutils
1411 enable_samlib
1412 enable_sane_ds
1413 enable_scarddlg
1414 enable_sccbase
1415 enable_schannel
1416 enable_schedsvc
1417 enable_scrobj
1418 enable_scrrun
1419 enable_scsiport_sys
1420 enable_secur32
1421 enable_security
1422 enable_sensapi
1423 enable_serialui
1424 enable_setupapi
1425 enable_sfc
1426 enable_sfc_os
1427 enable_shdoclc
1428 enable_shdocvw
1429 enable_shell32
1430 enable_shfolder
1431 enable_shlwapi
1432 enable_slbcsp
1433 enable_slc
1434 enable_snmpapi
1435 enable_softpub
1436 enable_spoolss
1437 enable_sspicli
1438 enable_stdole2_tlb
1439 enable_stdole32_tlb
1440 enable_sti
1441 enable_svrapi
1442 enable_sxs
1443 enable_t2embed
1444 enable_tapi32
1445 enable_taskschd
1446 enable_tdh
1447 enable_tdi_sys
1448 enable_traffic
1449 enable_twain_32
1450 enable_ucrtbase
1451 enable_uiautomationcore
1452 enable_unicows
1453 enable_updspapi
1454 enable_url
1455 enable_urlmon
1456 enable_usbd_sys
1457 enable_user32
1458 enable_userenv
1459 enable_usp10
1460 enable_uxtheme
1461 enable_vbscript
1462 enable_vcomp
1463 enable_vcomp100
1464 enable_vcomp110
1465 enable_vcomp120
1466 enable_vcomp140
1467 enable_vcomp90
1468 enable_vcruntime140
1469 enable_vdmdbg
1470 enable_version
1471 enable_virtdisk
1472 enable_vssapi
1473 enable_wbemdisp
1474 enable_wbemprox
1475 enable_webservices
1476 enable_wer
1477 enable_wevtapi
1478 enable_wiaservc
1479 enable_wimgapi
1480 enable_windowscodecs
1481 enable_windowscodecsext
1482 enable_winealsa_drv
1483 enable_wineandroid_drv
1484 enable_winebus_sys
1485 enable_winecoreaudio_drv
1486 enable_wined3d
1487 enable_winegstreamer
1488 enable_winehid_sys
1489 enable_winejoystick_drv
1490 enable_winemac_drv
1491 enable_winemapi
1492 enable_winemp3_acm
1493 enable_wineoss_drv
1494 enable_wineps_drv
1495 enable_winepulse_drv
1496 enable_wineqtdecoder
1497 enable_winex11_drv
1498 enable_wing32
1499 enable_winhttp
1500 enable_wininet
1501 enable_winmm
1502 enable_winnls32
1503 enable_winscard
1504 enable_winspool_drv
1505 enable_winsta
1506 enable_wintab32
1507 enable_wintrust
1508 enable_winusb
1509 enable_wlanapi
1510 enable_wldap32
1511 enable_wmasf
1512 enable_wmi
1513 enable_wmiutils
1514 enable_wmp
1515 enable_wmvcore
1516 enable_wnaspi32
1517 enable_wpc
1518 enable_wpcap
1519 enable_ws2_32
1520 enable_wsdapi
1521 enable_wshom_ocx
1522 enable_wsnmp32
1523 enable_wsock32
1524 enable_wtsapi32
1525 enable_wuapi
1526 enable_wuaueng
1527 enable_x3daudio1_0
1528 enable_x3daudio1_1
1529 enable_x3daudio1_2
1530 enable_x3daudio1_3
1531 enable_x3daudio1_4
1532 enable_x3daudio1_5
1533 enable_x3daudio1_6
1534 enable_x3daudio1_7
1535 enable_xapofx1_1
1536 enable_xapofx1_2
1537 enable_xapofx1_3
1538 enable_xapofx1_4
1539 enable_xapofx1_5
1540 enable_xaudio2_0
1541 enable_xaudio2_1
1542 enable_xaudio2_2
1543 enable_xaudio2_3
1544 enable_xaudio2_4
1545 enable_xaudio2_5
1546 enable_xaudio2_6
1547 enable_xaudio2_7
1548 enable_xaudio2_8
1549 enable_xaudio2_9
1550 enable_xinput1_1
1551 enable_xinput1_2
1552 enable_xinput1_3
1553 enable_xinput1_4
1554 enable_xinput9_1_0
1555 enable_xmllite
1556 enable_xolehlp
1557 enable_xpsprint
1558 enable_xpssvcs
1559 enable_fonts
1560 enable_include
1561 enable_libs_port
1562 enable_libs_wine
1563 enable_libs_wpp
1564 enable_loader
1565 enable_po
1566 enable_arp
1567 enable_aspnet_regiis
1568 enable_attrib
1569 enable_cabarc
1570 enable_cacls
1571 enable_clock
1572 enable_cmd
1573 enable_conhost
1574 enable_control
1575 enable_cscript
1576 enable_dpnsvr
1577 enable_dxdiag
1578 enable_eject
1579 enable_expand
1580 enable_explorer
1581 enable_extrac32
1582 enable_findstr
1583 enable_fsutil
1584 enable_hh
1585 enable_hostname
1586 enable_icacls
1587 enable_icinfo
1588 enable_iexplore
1589 enable_ipconfig
1590 enable_lodctr
1591 enable_mofcomp
1592 enable_mshta
1593 enable_msiexec
1594 enable_msinfo32
1595 enable_net
1596 enable_netsh
1597 enable_netstat
1598 enable_ngen
1599 enable_notepad
1600 enable_oleview
1601 enable_ping
1602 enable_plugplay
1603 enable_powershell
1604 enable_presentationfontcache
1605 enable_progman
1606 enable_reg
1607 enable_regasm
1608 enable_regedit
1609 enable_regsvcs
1610 enable_regsvr32
1611 enable_rpcss
1612 enable_rundll32
1613 enable_sc
1614 enable_schtasks
1615 enable_sdbinst
1616 enable_secedit
1617 enable_servicemodelreg
1618 enable_services
1619 enable_shutdown
1620 enable_spoolsv
1621 enable_start
1622 enable_subst
1623 enable_svchost
1624 enable_systeminfo
1625 enable_taskkill
1626 enable_tasklist
1627 enable_taskmgr
1628 enable_termsv
1629 enable_uninstaller
1630 enable_unlodctr
1631 enable_view
1632 enable_wevtutil
1633 enable_wineboot
1634 enable_winebrowser
1635 enable_winecfg
1636 enable_wineconsole
1637 enable_winedbg
1638 enable_winedevice
1639 enable_winefile
1640 enable_winemenubuilder
1641 enable_winemine
1642 enable_winemsibuilder
1643 enable_winepath
1644 enable_winetest
1645 enable_winhlp32
1646 enable_winver
1647 enable_wmic
1648 enable_wmplayer
1649 enable_wordpad
1650 enable_write
1651 enable_wscript
1652 enable_wusa
1653 enable_xcopy
1654 enable_server
1655 enable_tools
1657 ac_precious_vars='build_alias
1658 host_alias
1659 target_alias
1661 CFLAGS
1662 LDFLAGS
1663 LIBS
1664 CPPFLAGS
1666 CXXFLAGS
1669 XMKMF
1670 XML2_CFLAGS
1671 XML2_LIBS
1672 XSLT_CFLAGS
1673 XSLT_LIBS
1674 DBUS_CFLAGS
1675 DBUS_LIBS
1676 HAL_CFLAGS
1677 HAL_LIBS
1678 GNUTLS_CFLAGS
1679 GNUTLS_LIBS
1680 SANE_CFLAGS
1681 SANE_LIBS
1682 GPHOTO2_CFLAGS
1683 GPHOTO2_LIBS
1684 GPHOTO2_PORT_CFLAGS
1685 GPHOTO2_PORT_LIBS
1686 LCMS2_CFLAGS
1687 LCMS2_LIBS
1688 FREETYPE_CFLAGS
1689 FREETYPE_LIBS
1690 PULSE_CFLAGS
1691 PULSE_LIBS
1692 GSTREAMER_CFLAGS
1693 GSTREAMER_LIBS
1694 UDEV_CFLAGS
1695 UDEV_LIBS
1696 CAPI20_CFLAGS
1697 CAPI20_LIBS
1698 FONTCONFIG_CFLAGS
1699 FONTCONFIG_LIBS
1700 JPEG_CFLAGS
1701 JPEG_LIBS
1702 PNG_CFLAGS
1703 PNG_LIBS
1704 TIFF_CFLAGS
1705 TIFF_LIBS
1706 MPG123_CFLAGS
1707 MPG123_LIBS
1708 NETAPI_CFLAGS
1709 NETAPI_LIBS
1710 LDAP_CFLAGS
1711 LDAP_LIBS'
1714 # Initialize some variables set by options.
1715 ac_init_help=
1716 ac_init_version=false
1717 ac_unrecognized_opts=
1718 ac_unrecognized_sep=
1719 # The variables have the same names as the options, with
1720 # dashes changed to underlines.
1721 cache_file=/dev/null
1722 exec_prefix=NONE
1723 no_create=
1724 no_recursion=
1725 prefix=NONE
1726 program_prefix=NONE
1727 program_suffix=NONE
1728 program_transform_name=s,x,x,
1729 silent=
1730 site=
1731 srcdir=
1732 verbose=
1733 x_includes=NONE
1734 x_libraries=NONE
1736 # Installation directory options.
1737 # These are left unexpanded so users can "make install exec_prefix=/foo"
1738 # and all the variables that are supposed to be based on exec_prefix
1739 # by default will actually change.
1740 # Use braces instead of parens because sh, perl, etc. also accept them.
1741 # (The list follows the same order as the GNU Coding Standards.)
1742 bindir='${exec_prefix}/bin'
1743 sbindir='${exec_prefix}/sbin'
1744 libexecdir='${exec_prefix}/libexec'
1745 datarootdir='${prefix}/share'
1746 datadir='${datarootdir}'
1747 sysconfdir='${prefix}/etc'
1748 sharedstatedir='${prefix}/com'
1749 localstatedir='${prefix}/var'
1750 runstatedir='${localstatedir}/run'
1751 includedir='${prefix}/include'
1752 oldincludedir='/usr/include'
1753 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1754 infodir='${datarootdir}/info'
1755 htmldir='${docdir}'
1756 dvidir='${docdir}'
1757 pdfdir='${docdir}'
1758 psdir='${docdir}'
1759 libdir='${exec_prefix}/lib'
1760 localedir='${datarootdir}/locale'
1761 mandir='${datarootdir}/man'
1763 ac_prev=
1764 ac_dashdash=
1765 for ac_option
1767 # If the previous option needs an argument, assign it.
1768 if test -n "$ac_prev"; then
1769 eval $ac_prev=\$ac_option
1770 ac_prev=
1771 continue
1774 case $ac_option in
1775 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1776 *=) ac_optarg= ;;
1777 *) ac_optarg=yes ;;
1778 esac
1780 # Accept the important Cygnus configure options, so we can diagnose typos.
1782 case $ac_dashdash$ac_option in
1784 ac_dashdash=yes ;;
1786 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1787 ac_prev=bindir ;;
1788 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1789 bindir=$ac_optarg ;;
1791 -build | --build | --buil | --bui | --bu)
1792 ac_prev=build_alias ;;
1793 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1794 build_alias=$ac_optarg ;;
1796 -cache-file | --cache-file | --cache-fil | --cache-fi \
1797 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1798 ac_prev=cache_file ;;
1799 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1800 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1801 cache_file=$ac_optarg ;;
1803 --config-cache | -C)
1804 cache_file=config.cache ;;
1806 -datadir | --datadir | --datadi | --datad)
1807 ac_prev=datadir ;;
1808 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1809 datadir=$ac_optarg ;;
1811 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1812 | --dataroo | --dataro | --datar)
1813 ac_prev=datarootdir ;;
1814 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1815 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1816 datarootdir=$ac_optarg ;;
1818 -disable-* | --disable-*)
1819 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1820 # Reject names that are not valid shell variable names.
1821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1822 as_fn_error $? "invalid feature name: $ac_useropt"
1823 ac_useropt_orig=$ac_useropt
1824 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1825 case $ac_user_opts in
1827 "enable_$ac_useropt"
1828 "*) ;;
1829 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1830 ac_unrecognized_sep=', ';;
1831 esac
1832 eval enable_$ac_useropt=no ;;
1834 -docdir | --docdir | --docdi | --doc | --do)
1835 ac_prev=docdir ;;
1836 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1837 docdir=$ac_optarg ;;
1839 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1840 ac_prev=dvidir ;;
1841 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1842 dvidir=$ac_optarg ;;
1844 -enable-* | --enable-*)
1845 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1846 # Reject names that are not valid shell variable names.
1847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1848 as_fn_error $? "invalid feature name: $ac_useropt"
1849 ac_useropt_orig=$ac_useropt
1850 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1851 case $ac_user_opts in
1853 "enable_$ac_useropt"
1854 "*) ;;
1855 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1856 ac_unrecognized_sep=', ';;
1857 esac
1858 eval enable_$ac_useropt=\$ac_optarg ;;
1860 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1861 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1862 | --exec | --exe | --ex)
1863 ac_prev=exec_prefix ;;
1864 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1865 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1866 | --exec=* | --exe=* | --ex=*)
1867 exec_prefix=$ac_optarg ;;
1869 -gas | --gas | --ga | --g)
1870 # Obsolete; use --with-gas.
1871 with_gas=yes ;;
1873 -help | --help | --hel | --he | -h)
1874 ac_init_help=long ;;
1875 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1876 ac_init_help=recursive ;;
1877 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1878 ac_init_help=short ;;
1880 -host | --host | --hos | --ho)
1881 ac_prev=host_alias ;;
1882 -host=* | --host=* | --hos=* | --ho=*)
1883 host_alias=$ac_optarg ;;
1885 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1886 ac_prev=htmldir ;;
1887 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1888 | --ht=*)
1889 htmldir=$ac_optarg ;;
1891 -includedir | --includedir | --includedi | --included | --include \
1892 | --includ | --inclu | --incl | --inc)
1893 ac_prev=includedir ;;
1894 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1895 | --includ=* | --inclu=* | --incl=* | --inc=*)
1896 includedir=$ac_optarg ;;
1898 -infodir | --infodir | --infodi | --infod | --info | --inf)
1899 ac_prev=infodir ;;
1900 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1901 infodir=$ac_optarg ;;
1903 -libdir | --libdir | --libdi | --libd)
1904 ac_prev=libdir ;;
1905 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1906 libdir=$ac_optarg ;;
1908 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1909 | --libexe | --libex | --libe)
1910 ac_prev=libexecdir ;;
1911 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1912 | --libexe=* | --libex=* | --libe=*)
1913 libexecdir=$ac_optarg ;;
1915 -localedir | --localedir | --localedi | --localed | --locale)
1916 ac_prev=localedir ;;
1917 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1918 localedir=$ac_optarg ;;
1920 -localstatedir | --localstatedir | --localstatedi | --localstated \
1921 | --localstate | --localstat | --localsta | --localst | --locals)
1922 ac_prev=localstatedir ;;
1923 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1924 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1925 localstatedir=$ac_optarg ;;
1927 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1928 ac_prev=mandir ;;
1929 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1930 mandir=$ac_optarg ;;
1932 -nfp | --nfp | --nf)
1933 # Obsolete; use --without-fp.
1934 with_fp=no ;;
1936 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1937 | --no-cr | --no-c | -n)
1938 no_create=yes ;;
1940 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1941 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1942 no_recursion=yes ;;
1944 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1945 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1946 | --oldin | --oldi | --old | --ol | --o)
1947 ac_prev=oldincludedir ;;
1948 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1949 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1950 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1951 oldincludedir=$ac_optarg ;;
1953 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1954 ac_prev=prefix ;;
1955 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1956 prefix=$ac_optarg ;;
1958 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1959 | --program-pre | --program-pr | --program-p)
1960 ac_prev=program_prefix ;;
1961 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1962 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1963 program_prefix=$ac_optarg ;;
1965 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1966 | --program-suf | --program-su | --program-s)
1967 ac_prev=program_suffix ;;
1968 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1969 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1970 program_suffix=$ac_optarg ;;
1972 -program-transform-name | --program-transform-name \
1973 | --program-transform-nam | --program-transform-na \
1974 | --program-transform-n | --program-transform- \
1975 | --program-transform | --program-transfor \
1976 | --program-transfo | --program-transf \
1977 | --program-trans | --program-tran \
1978 | --progr-tra | --program-tr | --program-t)
1979 ac_prev=program_transform_name ;;
1980 -program-transform-name=* | --program-transform-name=* \
1981 | --program-transform-nam=* | --program-transform-na=* \
1982 | --program-transform-n=* | --program-transform-=* \
1983 | --program-transform=* | --program-transfor=* \
1984 | --program-transfo=* | --program-transf=* \
1985 | --program-trans=* | --program-tran=* \
1986 | --progr-tra=* | --program-tr=* | --program-t=*)
1987 program_transform_name=$ac_optarg ;;
1989 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1990 ac_prev=pdfdir ;;
1991 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1992 pdfdir=$ac_optarg ;;
1994 -psdir | --psdir | --psdi | --psd | --ps)
1995 ac_prev=psdir ;;
1996 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1997 psdir=$ac_optarg ;;
1999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2000 | -silent | --silent | --silen | --sile | --sil)
2001 silent=yes ;;
2003 -runstatedir | --runstatedir | --runstatedi | --runstated \
2004 | --runstate | --runstat | --runsta | --runst | --runs \
2005 | --run | --ru | --r)
2006 ac_prev=runstatedir ;;
2007 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2008 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2009 | --run=* | --ru=* | --r=*)
2010 runstatedir=$ac_optarg ;;
2012 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2013 ac_prev=sbindir ;;
2014 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2015 | --sbi=* | --sb=*)
2016 sbindir=$ac_optarg ;;
2018 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2019 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2020 | --sharedst | --shareds | --shared | --share | --shar \
2021 | --sha | --sh)
2022 ac_prev=sharedstatedir ;;
2023 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2024 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2025 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2026 | --sha=* | --sh=*)
2027 sharedstatedir=$ac_optarg ;;
2029 -site | --site | --sit)
2030 ac_prev=site ;;
2031 -site=* | --site=* | --sit=*)
2032 site=$ac_optarg ;;
2034 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2035 ac_prev=srcdir ;;
2036 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2037 srcdir=$ac_optarg ;;
2039 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2040 | --syscon | --sysco | --sysc | --sys | --sy)
2041 ac_prev=sysconfdir ;;
2042 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2043 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2044 sysconfdir=$ac_optarg ;;
2046 -target | --target | --targe | --targ | --tar | --ta | --t)
2047 ac_prev=target_alias ;;
2048 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2049 target_alias=$ac_optarg ;;
2051 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2052 verbose=yes ;;
2054 -version | --version | --versio | --versi | --vers | -V)
2055 ac_init_version=: ;;
2057 -with-* | --with-*)
2058 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2059 # Reject names that are not valid shell variable names.
2060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2061 as_fn_error $? "invalid package name: $ac_useropt"
2062 ac_useropt_orig=$ac_useropt
2063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2064 case $ac_user_opts in
2066 "with_$ac_useropt"
2067 "*) ;;
2068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2069 ac_unrecognized_sep=', ';;
2070 esac
2071 eval with_$ac_useropt=\$ac_optarg ;;
2073 -without-* | --without-*)
2074 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2075 # Reject names that are not valid shell variable names.
2076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2077 as_fn_error $? "invalid package name: $ac_useropt"
2078 ac_useropt_orig=$ac_useropt
2079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2080 case $ac_user_opts in
2082 "with_$ac_useropt"
2083 "*) ;;
2084 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2085 ac_unrecognized_sep=', ';;
2086 esac
2087 eval with_$ac_useropt=no ;;
2089 --x)
2090 # Obsolete; use --with-x.
2091 with_x=yes ;;
2093 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2094 | --x-incl | --x-inc | --x-in | --x-i)
2095 ac_prev=x_includes ;;
2096 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2097 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2098 x_includes=$ac_optarg ;;
2100 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2101 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2102 ac_prev=x_libraries ;;
2103 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2104 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2105 x_libraries=$ac_optarg ;;
2107 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2108 Try \`$0 --help' for more information"
2111 *=*)
2112 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2113 # Reject names that are not valid shell variable names.
2114 case $ac_envvar in #(
2115 '' | [0-9]* | *[!_$as_cr_alnum]* )
2116 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2117 esac
2118 eval $ac_envvar=\$ac_optarg
2119 export $ac_envvar ;;
2122 # FIXME: should be removed in autoconf 3.0.
2123 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2125 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2126 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2129 esac
2130 done
2132 if test -n "$ac_prev"; then
2133 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2134 as_fn_error $? "missing argument to $ac_option"
2137 if test -n "$ac_unrecognized_opts"; then
2138 case $enable_option_checking in
2139 no) ;;
2140 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2141 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2142 esac
2145 # Check all directory arguments for consistency.
2146 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2147 datadir sysconfdir sharedstatedir localstatedir includedir \
2148 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2149 libdir localedir mandir runstatedir
2151 eval ac_val=\$$ac_var
2152 # Remove trailing slashes.
2153 case $ac_val in
2154 */ )
2155 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2156 eval $ac_var=\$ac_val;;
2157 esac
2158 # Be sure to have absolute directory names.
2159 case $ac_val in
2160 [\\/$]* | ?:[\\/]* ) continue;;
2161 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2162 esac
2163 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2164 done
2166 # There might be people who depend on the old broken behavior: `$host'
2167 # used to hold the argument of --host etc.
2168 # FIXME: To remove some day.
2169 build=$build_alias
2170 host=$host_alias
2171 target=$target_alias
2173 # FIXME: To remove some day.
2174 if test "x$host_alias" != x; then
2175 if test "x$build_alias" = x; then
2176 cross_compiling=maybe
2177 elif test "x$build_alias" != "x$host_alias"; then
2178 cross_compiling=yes
2182 ac_tool_prefix=
2183 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2185 test "$silent" = yes && exec 6>/dev/null
2188 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2189 ac_ls_di=`ls -di .` &&
2190 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2191 as_fn_error $? "working directory cannot be determined"
2192 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2193 as_fn_error $? "pwd does not report name of working directory"
2196 # Find the source files, if location was not specified.
2197 if test -z "$srcdir"; then
2198 ac_srcdir_defaulted=yes
2199 # Try the directory containing this script, then the parent directory.
2200 ac_confdir=`$as_dirname -- "$as_myself" ||
2201 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2202 X"$as_myself" : 'X\(//\)[^/]' \| \
2203 X"$as_myself" : 'X\(//\)$' \| \
2204 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2205 $as_echo X"$as_myself" |
2206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2207 s//\1/
2210 /^X\(\/\/\)[^/].*/{
2211 s//\1/
2214 /^X\(\/\/\)$/{
2215 s//\1/
2218 /^X\(\/\).*/{
2219 s//\1/
2222 s/.*/./; q'`
2223 srcdir=$ac_confdir
2224 if test ! -r "$srcdir/$ac_unique_file"; then
2225 srcdir=..
2227 else
2228 ac_srcdir_defaulted=no
2230 if test ! -r "$srcdir/$ac_unique_file"; then
2231 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2232 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2234 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2235 ac_abs_confdir=`(
2236 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2237 pwd)`
2238 # When building in place, set srcdir=.
2239 if test "$ac_abs_confdir" = "$ac_pwd"; then
2240 srcdir=.
2242 # Remove unnecessary trailing slashes from srcdir.
2243 # Double slashes in file names in object file debugging info
2244 # mess up M-x gdb in Emacs.
2245 case $srcdir in
2246 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2247 esac
2248 for ac_var in $ac_precious_vars; do
2249 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2250 eval ac_env_${ac_var}_value=\$${ac_var}
2251 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2252 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2253 done
2256 # Report the --help message.
2258 if test "$ac_init_help" = "long"; then
2259 # Omit some internal or obsolete options to make the list less imposing.
2260 # This message is too long to be a string in the A/UX 3.1 sh.
2261 cat <<_ACEOF
2262 \`configure' configures Wine 2.13 to adapt to many kinds of systems.
2264 Usage: $0 [OPTION]... [VAR=VALUE]...
2266 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2267 VAR=VALUE. See below for descriptions of some of the useful variables.
2269 Defaults for the options are specified in brackets.
2271 Configuration:
2272 -h, --help display this help and exit
2273 --help=short display options specific to this package
2274 --help=recursive display the short help of all the included packages
2275 -V, --version display version information and exit
2276 -q, --quiet, --silent do not print \`checking ...' messages
2277 --cache-file=FILE cache test results in FILE [disabled]
2278 -C, --config-cache alias for \`--cache-file=config.cache'
2279 -n, --no-create do not create output files
2280 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2282 Installation directories:
2283 --prefix=PREFIX install architecture-independent files in PREFIX
2284 [$ac_default_prefix]
2285 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2286 [PREFIX]
2288 By default, \`make install' will install all the files in
2289 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2290 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2291 for instance \`--prefix=\$HOME'.
2293 For better control, use the options below.
2295 Fine tuning of the installation directories:
2296 --bindir=DIR user executables [EPREFIX/bin]
2297 --sbindir=DIR system admin executables [EPREFIX/sbin]
2298 --libexecdir=DIR program executables [EPREFIX/libexec]
2299 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2300 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2301 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2302 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2303 --libdir=DIR object code libraries [EPREFIX/lib]
2304 --includedir=DIR C header files [PREFIX/include]
2305 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2306 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2307 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2308 --infodir=DIR info documentation [DATAROOTDIR/info]
2309 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2310 --mandir=DIR man documentation [DATAROOTDIR/man]
2311 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2312 --htmldir=DIR html documentation [DOCDIR]
2313 --dvidir=DIR dvi documentation [DOCDIR]
2314 --pdfdir=DIR pdf documentation [DOCDIR]
2315 --psdir=DIR ps documentation [DOCDIR]
2316 _ACEOF
2318 cat <<\_ACEOF
2320 X features:
2321 --x-includes=DIR X include files are in DIR
2322 --x-libraries=DIR X library files are in DIR
2324 System types:
2325 --build=BUILD configure for building on BUILD [guessed]
2326 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2327 _ACEOF
2330 if test -n "$ac_init_help"; then
2331 case $ac_init_help in
2332 short | recursive ) echo "Configuration of Wine 2.13:";;
2333 esac
2334 cat <<\_ACEOF
2336 Optional Features:
2337 --disable-option-checking ignore unrecognized --enable/--with options
2338 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2339 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2340 --disable-win16 do not include Win16 support
2341 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2342 binaries)
2343 --disable-tests do not build the regression tests
2344 --enable-maintainer-mode
2345 enable maintainer-specific build rules
2346 --disable-largefile omit support for large files
2348 Optional Packages:
2349 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2350 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2351 --without-alsa do not use the Alsa sound support
2352 --without-capi do not use CAPI (ISDN support)
2353 --without-cms do not use CMS (color management support)
2354 --without-coreaudio do not use the CoreAudio sound support
2355 --without-cups do not use CUPS
2356 --without-curses do not use (n)curses
2357 --without-dbus do not use DBus (dynamic device support)
2358 --without-fontconfig do not use fontconfig
2359 --without-freetype do not use the FreeType library
2360 --without-gettext do not use gettext
2361 --with-gettextpo use the GetTextPO library to rebuild po files
2362 --without-gphoto do not use gphoto (Digital Camera support)
2363 --without-glu do not use the GLU library
2364 --without-gnutls do not use GnuTLS (schannel support)
2365 --without-gsm do not use libgsm (GSM 06.10 codec support)
2366 --without-gstreamer do not use GStreamer (codecs support)
2367 --without-hal do not use HAL (dynamic device support)
2368 --without-jpeg do not use JPEG
2369 --without-ldap do not use LDAP
2370 --without-mpg123 do not use the mpg123 library
2371 --without-netapi do not use the Samba NetAPI library
2372 --without-openal do not use OpenAL
2373 --without-opencl do not use OpenCL
2374 --without-opengl do not use OpenGL
2375 --without-osmesa do not use the OSMesa library
2376 --without-oss do not use the OSS sound support
2377 --without-pcap do not use the Packet Capture library
2378 --without-png do not use PNG
2379 --without-pthread do not use the pthread library
2380 --without-pulse do not use PulseAudio sound support
2381 --without-sane do not use SANE (scanner support)
2382 --without-tiff do not use TIFF
2383 --without-udev do not use udev (plug and play support)
2384 --without-v4l do not use v4l1 (v4l support)
2385 --without-xcomposite do not use the Xcomposite extension
2386 --without-xcursor do not use the Xcursor extension
2387 --without-xfixes do not use Xfixes for clipboard change notifications
2388 --without-xinerama do not use Xinerama (multi-monitor support)
2389 --without-xinput do not use the Xinput extension
2390 --without-xinput2 do not use the Xinput 2 extension
2391 --without-xml do not use XML
2392 --without-xrandr do not use Xrandr (resolution changes)
2393 --without-xrender do not use the Xrender extension
2394 --without-xshape do not use the Xshape extension
2395 --without-xshm do not use XShm (shared memory extension)
2396 --without-xslt do not use XSLT
2397 --without-xxf86vm do not use XFree video mode extension
2398 --without-zlib do not use Zlib (data compression)
2399 --with-wine-tools=DIR use Wine tools from directory DIR
2400 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2401 --with-x use the X Window System
2403 Some influential environment variables:
2404 CC C compiler command
2405 CFLAGS C compiler flags
2406 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2407 nonstandard directory <lib dir>
2408 LIBS libraries to pass to the linker, e.g. -l<library>
2409 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2410 you have headers in a nonstandard directory <include dir>
2411 CXX C++ compiler command
2412 CXXFLAGS C++ compiler flags
2413 CPP C preprocessor
2414 XMKMF Path to xmkmf, Makefile generator for X Window System
2415 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2416 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2417 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2418 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2419 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2420 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2421 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2422 HAL_LIBS Linker flags for hal, overriding pkg-config
2423 GNUTLS_CFLAGS
2424 C compiler flags for gnutls, overriding pkg-config
2425 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2426 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2427 SANE_LIBS Linker flags for libsane, overriding pkg-config
2428 GPHOTO2_CFLAGS
2429 C compiler flags for libgphoto2, overriding pkg-config
2430 GPHOTO2_LIBS
2431 Linker flags for libgphoto2, overriding pkg-config
2432 GPHOTO2_PORT_CFLAGS
2433 C compiler flags for libgphoto2_port, overriding pkg-config
2434 GPHOTO2_PORT_LIBS
2435 Linker flags for libgphoto2_port, overriding pkg-config
2436 LCMS2_CFLAGS
2437 C compiler flags for lcms2, overriding pkg-config
2438 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2439 FREETYPE_CFLAGS
2440 C compiler flags for freetype2, overriding pkg-config
2441 FREETYPE_LIBS
2442 Linker flags for freetype2, overriding pkg-config
2443 PULSE_CFLAGS
2444 C compiler flags for libpulse, overriding pkg-config
2445 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2446 GSTREAMER_CFLAGS
2447 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2448 gstreamer-audio-1.0, overriding pkg-config
2449 GSTREAMER_LIBS
2450 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2451 gstreamer-audio-1.0, overriding pkg-config
2452 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2453 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2454 CAPI20_CFLAGS
2455 C compiler flags for capi20, overriding pkg-config
2456 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2457 FONTCONFIG_CFLAGS
2458 C compiler flags for fontconfig, overriding pkg-config
2459 FONTCONFIG_LIBS
2460 Linker flags for fontconfig, overriding pkg-config
2461 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2462 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2463 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2464 PNG_LIBS Linker flags for libpng, overriding pkg-config
2465 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2466 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2467 MPG123_CFLAGS
2468 C compiler flags for libmpg123, overriding pkg-config
2469 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2470 NETAPI_CFLAGS
2471 C compiler flags for netapi, overriding pkg-config
2472 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2473 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2474 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2476 Use these variables to override the choices made by `configure' or to help
2477 it to find libraries and programs with nonstandard names/locations.
2479 Report bugs to <wine-devel@winehq.org>.
2480 Wine home page: <http://www.winehq.org>.
2481 _ACEOF
2482 ac_status=$?
2485 if test "$ac_init_help" = "recursive"; then
2486 # If there are subdirs, report their specific --help.
2487 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2488 test -d "$ac_dir" ||
2489 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2490 continue
2491 ac_builddir=.
2493 case "$ac_dir" in
2494 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2496 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2497 # A ".." for each directory in $ac_dir_suffix.
2498 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2499 case $ac_top_builddir_sub in
2500 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2501 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2502 esac ;;
2503 esac
2504 ac_abs_top_builddir=$ac_pwd
2505 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2506 # for backward compatibility:
2507 ac_top_builddir=$ac_top_build_prefix
2509 case $srcdir in
2510 .) # We are building in place.
2511 ac_srcdir=.
2512 ac_top_srcdir=$ac_top_builddir_sub
2513 ac_abs_top_srcdir=$ac_pwd ;;
2514 [\\/]* | ?:[\\/]* ) # Absolute name.
2515 ac_srcdir=$srcdir$ac_dir_suffix;
2516 ac_top_srcdir=$srcdir
2517 ac_abs_top_srcdir=$srcdir ;;
2518 *) # Relative name.
2519 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2520 ac_top_srcdir=$ac_top_build_prefix$srcdir
2521 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2522 esac
2523 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2525 cd "$ac_dir" || { ac_status=$?; continue; }
2526 # Check for guested configure.
2527 if test -f "$ac_srcdir/configure.gnu"; then
2528 echo &&
2529 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2530 elif test -f "$ac_srcdir/configure"; then
2531 echo &&
2532 $SHELL "$ac_srcdir/configure" --help=recursive
2533 else
2534 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2535 fi || ac_status=$?
2536 cd "$ac_pwd" || { ac_status=$?; break; }
2537 done
2540 test -n "$ac_init_help" && exit $ac_status
2541 if $ac_init_version; then
2542 cat <<\_ACEOF
2543 Wine configure 2.13
2544 generated by GNU Autoconf 2.69
2546 Copyright (C) 2012 Free Software Foundation, Inc.
2547 This configure script is free software; the Free Software Foundation
2548 gives unlimited permission to copy, distribute and modify it.
2549 _ACEOF
2550 exit
2553 ## ------------------------ ##
2554 ## Autoconf initialization. ##
2555 ## ------------------------ ##
2557 # ac_fn_c_try_compile LINENO
2558 # --------------------------
2559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2560 ac_fn_c_try_compile ()
2562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563 rm -f conftest.$ac_objext
2564 if { { ac_try="$ac_compile"
2565 case "(($ac_try" in
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2568 esac
2569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571 (eval "$ac_compile") 2>conftest.err
2572 ac_status=$?
2573 if test -s conftest.err; then
2574 grep -v '^ *+' conftest.err >conftest.er1
2575 cat conftest.er1 >&5
2576 mv -f conftest.er1 conftest.err
2578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2579 test $ac_status = 0; } && {
2580 test -z "$ac_c_werror_flag" ||
2581 test ! -s conftest.err
2582 } && test -s conftest.$ac_objext; then :
2583 ac_retval=0
2584 else
2585 $as_echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2588 ac_retval=1
2590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2591 as_fn_set_status $ac_retval
2593 } # ac_fn_c_try_compile
2595 # ac_fn_cxx_try_compile LINENO
2596 # ----------------------------
2597 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2598 ac_fn_cxx_try_compile ()
2600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2601 rm -f conftest.$ac_objext
2602 if { { ac_try="$ac_compile"
2603 case "(($ac_try" in
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2606 esac
2607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_compile") 2>conftest.err
2610 ac_status=$?
2611 if test -s conftest.err; then
2612 grep -v '^ *+' conftest.err >conftest.er1
2613 cat conftest.er1 >&5
2614 mv -f conftest.er1 conftest.err
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2617 test $ac_status = 0; } && {
2618 test -z "$ac_cxx_werror_flag" ||
2619 test ! -s conftest.err
2620 } && test -s conftest.$ac_objext; then :
2621 ac_retval=0
2622 else
2623 $as_echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.$ac_ext >&5
2626 ac_retval=1
2628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2629 as_fn_set_status $ac_retval
2631 } # ac_fn_cxx_try_compile
2633 # ac_fn_c_try_link LINENO
2634 # -----------------------
2635 # Try to link conftest.$ac_ext, and return whether this succeeded.
2636 ac_fn_c_try_link ()
2638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2639 rm -f conftest.$ac_objext conftest$ac_exeext
2640 if { { ac_try="$ac_link"
2641 case "(($ac_try" in
2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2644 esac
2645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2646 $as_echo "$ac_try_echo"; } >&5
2647 (eval "$ac_link") 2>conftest.err
2648 ac_status=$?
2649 if test -s conftest.err; then
2650 grep -v '^ *+' conftest.err >conftest.er1
2651 cat conftest.er1 >&5
2652 mv -f conftest.er1 conftest.err
2654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2655 test $ac_status = 0; } && {
2656 test -z "$ac_c_werror_flag" ||
2657 test ! -s conftest.err
2658 } && test -s conftest$ac_exeext && {
2659 test "$cross_compiling" = yes ||
2660 test -x conftest$ac_exeext
2661 }; then :
2662 ac_retval=0
2663 else
2664 $as_echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2667 ac_retval=1
2669 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2670 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2671 # interfere with the next link command; also delete a directory that is
2672 # left behind by Apple's compiler. We do this before executing the actions.
2673 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 as_fn_set_status $ac_retval
2677 } # ac_fn_c_try_link
2679 # ac_fn_c_try_cpp LINENO
2680 # ----------------------
2681 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2682 ac_fn_c_try_cpp ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 if { { ac_try="$ac_cpp conftest.$ac_ext"
2686 case "(($ac_try" in
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2689 esac
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2693 ac_status=$?
2694 if test -s conftest.err; then
2695 grep -v '^ *+' conftest.err >conftest.er1
2696 cat conftest.er1 >&5
2697 mv -f conftest.er1 conftest.err
2699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; } > conftest.i && {
2701 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2702 test ! -s conftest.err
2703 }; then :
2704 ac_retval=0
2705 else
2706 $as_echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 ac_retval=1
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 as_fn_set_status $ac_retval
2714 } # ac_fn_c_try_cpp
2716 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2717 # -------------------------------------------------------
2718 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2719 # the include files in INCLUDES and setting the cache variable VAR
2720 # accordingly.
2721 ac_fn_c_check_header_mongrel ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 if eval \${$3+:} false; then :
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2726 $as_echo_n "checking for $2... " >&6; }
2727 if eval \${$3+:} false; then :
2728 $as_echo_n "(cached) " >&6
2730 eval ac_res=\$$3
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2732 $as_echo "$ac_res" >&6; }
2733 else
2734 # Is the header compilable?
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2736 $as_echo_n "checking $2 usability... " >&6; }
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738 /* end confdefs.h. */
2740 #include <$2>
2741 _ACEOF
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743 ac_header_compiler=yes
2744 else
2745 ac_header_compiler=no
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2749 $as_echo "$ac_header_compiler" >&6; }
2751 # Is the header present?
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2753 $as_echo_n "checking $2 presence... " >&6; }
2754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2756 #include <$2>
2757 _ACEOF
2758 if ac_fn_c_try_cpp "$LINENO"; then :
2759 ac_header_preproc=yes
2760 else
2761 ac_header_preproc=no
2763 rm -f conftest.err conftest.i conftest.$ac_ext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2765 $as_echo "$ac_header_preproc" >&6; }
2767 # So? What about this header?
2768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2769 yes:no: )
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2771 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2773 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2775 no:yes:* )
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2777 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2779 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2781 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2783 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2785 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2786 ( $as_echo "## ------------------------------------ ##
2787 ## Report this to wine-devel@winehq.org ##
2788 ## ------------------------------------ ##"
2789 ) | sed "s/^/$as_me: WARNING: /" >&2
2791 esac
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2793 $as_echo_n "checking for $2... " >&6; }
2794 if eval \${$3+:} false; then :
2795 $as_echo_n "(cached) " >&6
2796 else
2797 eval "$3=\$ac_header_compiler"
2799 eval ac_res=\$$3
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2805 } # ac_fn_c_check_header_mongrel
2807 # ac_fn_c_try_run LINENO
2808 # ----------------------
2809 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2810 # that executables *can* be run.
2811 ac_fn_c_try_run ()
2813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2814 if { { ac_try="$ac_link"
2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2820 $as_echo "$ac_try_echo"; } >&5
2821 (eval "$ac_link") 2>&5
2822 ac_status=$?
2823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2824 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2825 { { case "(($ac_try" in
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2828 esac
2829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2830 $as_echo "$ac_try_echo"; } >&5
2831 (eval "$ac_try") 2>&5
2832 ac_status=$?
2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; }; }; then :
2835 ac_retval=0
2836 else
2837 $as_echo "$as_me: program exited with status $ac_status" >&5
2838 $as_echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2841 ac_retval=$ac_status
2843 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2845 as_fn_set_status $ac_retval
2847 } # ac_fn_c_try_run
2849 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2850 # -------------------------------------------------------
2851 # Tests whether HEADER exists and can be compiled using the include files in
2852 # INCLUDES, setting the cache variable VAR accordingly.
2853 ac_fn_c_check_header_compile ()
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2857 $as_echo_n "checking for $2... " >&6; }
2858 if eval \${$3+:} false; then :
2859 $as_echo_n "(cached) " >&6
2860 else
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2864 #include <$2>
2865 _ACEOF
2866 if ac_fn_c_try_compile "$LINENO"; then :
2867 eval "$3=yes"
2868 else
2869 eval "$3=no"
2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873 eval ac_res=\$$3
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2875 $as_echo "$ac_res" >&6; }
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2878 } # ac_fn_c_check_header_compile
2880 # ac_fn_c_check_func LINENO FUNC VAR
2881 # ----------------------------------
2882 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2883 ac_fn_c_check_func ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2887 $as_echo_n "checking for $2... " >&6; }
2888 if eval \${$3+:} false; then :
2889 $as_echo_n "(cached) " >&6
2890 else
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2893 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2895 #define $2 innocuous_$2
2897 /* System header to define __stub macros and hopefully few prototypes,
2898 which can conflict with char $2 (); below.
2899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2900 <limits.h> exists even on freestanding compilers. */
2902 #ifdef __STDC__
2903 # include <limits.h>
2904 #else
2905 # include <assert.h>
2906 #endif
2908 #undef $2
2910 /* Override any GCC internal prototype to avoid an error.
2911 Use char because int might match the return type of a GCC
2912 builtin and then its argument prototype would still apply. */
2913 #ifdef __cplusplus
2914 extern "C"
2915 #endif
2916 char $2 ();
2917 /* The GNU C library defines this for functions which it implements
2918 to always fail with ENOSYS. Some functions are actually named
2919 something starting with __ and the normal name is an alias. */
2920 #if defined __stub_$2 || defined __stub___$2
2921 choke me
2922 #endif
2925 main ()
2927 return $2 ();
2929 return 0;
2931 _ACEOF
2932 if ac_fn_c_try_link "$LINENO"; then :
2933 eval "$3=yes"
2934 else
2935 eval "$3=no"
2937 rm -f core conftest.err conftest.$ac_objext \
2938 conftest$ac_exeext conftest.$ac_ext
2940 eval ac_res=\$$3
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2942 $as_echo "$ac_res" >&6; }
2943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2945 } # ac_fn_c_check_func
2947 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2948 # ----------------------------------------------------
2949 # Tries to find if the field MEMBER exists in type AGGR, after including
2950 # INCLUDES, setting cache variable VAR accordingly.
2951 ac_fn_c_check_member ()
2953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2955 $as_echo_n "checking for $2.$3... " >&6; }
2956 if eval \${$4+:} false; then :
2957 $as_echo_n "(cached) " >&6
2958 else
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2963 main ()
2965 static $2 ac_aggr;
2966 if (ac_aggr.$3)
2967 return 0;
2969 return 0;
2971 _ACEOF
2972 if ac_fn_c_try_compile "$LINENO"; then :
2973 eval "$4=yes"
2974 else
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2979 main ()
2981 static $2 ac_aggr;
2982 if (sizeof ac_aggr.$3)
2983 return 0;
2985 return 0;
2987 _ACEOF
2988 if ac_fn_c_try_compile "$LINENO"; then :
2989 eval "$4=yes"
2990 else
2991 eval "$4=no"
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 eval ac_res=\$$4
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2999 $as_echo "$ac_res" >&6; }
3000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3002 } # ac_fn_c_check_member
3004 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3005 # -------------------------------------------
3006 # Tests whether TYPE exists after having included INCLUDES, setting cache
3007 # variable VAR accordingly.
3008 ac_fn_c_check_type ()
3010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3012 $as_echo_n "checking for $2... " >&6; }
3013 if eval \${$3+:} false; then :
3014 $as_echo_n "(cached) " >&6
3015 else
3016 eval "$3=no"
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3021 main ()
3023 if (sizeof ($2))
3024 return 0;
3026 return 0;
3028 _ACEOF
3029 if ac_fn_c_try_compile "$LINENO"; then :
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3034 main ()
3036 if (sizeof (($2)))
3037 return 0;
3039 return 0;
3041 _ACEOF
3042 if ac_fn_c_try_compile "$LINENO"; then :
3044 else
3045 eval "$3=yes"
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 eval ac_res=\$$3
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3053 $as_echo "$ac_res" >&6; }
3054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3056 } # ac_fn_c_check_type
3057 cat >config.log <<_ACEOF
3058 This file contains any messages produced by compilers while
3059 running configure, to aid debugging if configure makes a mistake.
3061 It was created by Wine $as_me 2.13, which was
3062 generated by GNU Autoconf 2.69. Invocation command line was
3064 $ $0 $@
3066 _ACEOF
3067 exec 5>>config.log
3069 cat <<_ASUNAME
3070 ## --------- ##
3071 ## Platform. ##
3072 ## --------- ##
3074 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3075 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3076 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3077 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3078 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3080 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3081 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3083 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3084 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3085 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3086 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3087 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3088 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3089 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3091 _ASUNAME
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 for as_dir in $PATH
3096 IFS=$as_save_IFS
3097 test -z "$as_dir" && as_dir=.
3098 $as_echo "PATH: $as_dir"
3099 done
3100 IFS=$as_save_IFS
3102 } >&5
3104 cat >&5 <<_ACEOF
3107 ## ----------- ##
3108 ## Core tests. ##
3109 ## ----------- ##
3111 _ACEOF
3114 # Keep a trace of the command line.
3115 # Strip out --no-create and --no-recursion so they do not pile up.
3116 # Strip out --silent because we don't want to record it for future runs.
3117 # Also quote any args containing shell meta-characters.
3118 # Make two passes to allow for proper duplicate-argument suppression.
3119 ac_configure_args=
3120 ac_configure_args0=
3121 ac_configure_args1=
3122 ac_must_keep_next=false
3123 for ac_pass in 1 2
3125 for ac_arg
3127 case $ac_arg in
3128 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3129 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3130 | -silent | --silent | --silen | --sile | --sil)
3131 continue ;;
3132 *\'*)
3133 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3134 esac
3135 case $ac_pass in
3136 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3138 as_fn_append ac_configure_args1 " '$ac_arg'"
3139 if test $ac_must_keep_next = true; then
3140 ac_must_keep_next=false # Got value, back to normal.
3141 else
3142 case $ac_arg in
3143 *=* | --config-cache | -C | -disable-* | --disable-* \
3144 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3145 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3146 | -with-* | --with-* | -without-* | --without-* | --x)
3147 case "$ac_configure_args0 " in
3148 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3149 esac
3151 -* ) ac_must_keep_next=true ;;
3152 esac
3154 as_fn_append ac_configure_args " '$ac_arg'"
3156 esac
3157 done
3158 done
3159 { ac_configure_args0=; unset ac_configure_args0;}
3160 { ac_configure_args1=; unset ac_configure_args1;}
3162 # When interrupted or exit'd, cleanup temporary files, and complete
3163 # config.log. We remove comments because anyway the quotes in there
3164 # would cause problems or look ugly.
3165 # WARNING: Use '\'' to represent an apostrophe within the trap.
3166 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3167 trap 'exit_status=$?
3168 # Save into config.log some information that might help in debugging.
3170 echo
3172 $as_echo "## ---------------- ##
3173 ## Cache variables. ##
3174 ## ---------------- ##"
3175 echo
3176 # The following way of writing the cache mishandles newlines in values,
3178 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3179 eval ac_val=\$$ac_var
3180 case $ac_val in #(
3181 *${as_nl}*)
3182 case $ac_var in #(
3183 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3184 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3185 esac
3186 case $ac_var in #(
3187 _ | IFS | as_nl) ;; #(
3188 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3189 *) { eval $ac_var=; unset $ac_var;} ;;
3190 esac ;;
3191 esac
3192 done
3193 (set) 2>&1 |
3194 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3195 *${as_nl}ac_space=\ *)
3196 sed -n \
3197 "s/'\''/'\''\\\\'\'''\''/g;
3198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3199 ;; #(
3201 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3203 esac |
3204 sort
3206 echo
3208 $as_echo "## ----------------- ##
3209 ## Output variables. ##
3210 ## ----------------- ##"
3211 echo
3212 for ac_var in $ac_subst_vars
3214 eval ac_val=\$$ac_var
3215 case $ac_val in
3216 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3217 esac
3218 $as_echo "$ac_var='\''$ac_val'\''"
3219 done | sort
3220 echo
3222 if test -n "$ac_subst_files"; then
3223 $as_echo "## ------------------- ##
3224 ## File substitutions. ##
3225 ## ------------------- ##"
3226 echo
3227 for ac_var in $ac_subst_files
3229 eval ac_val=\$$ac_var
3230 case $ac_val in
3231 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3232 esac
3233 $as_echo "$ac_var='\''$ac_val'\''"
3234 done | sort
3235 echo
3238 if test -s confdefs.h; then
3239 $as_echo "## ----------- ##
3240 ## confdefs.h. ##
3241 ## ----------- ##"
3242 echo
3243 cat confdefs.h
3244 echo
3246 test "$ac_signal" != 0 &&
3247 $as_echo "$as_me: caught signal $ac_signal"
3248 $as_echo "$as_me: exit $exit_status"
3249 } >&5
3250 rm -f core *.core core.conftest.* &&
3251 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3252 exit $exit_status
3254 for ac_signal in 1 2 13 15; do
3255 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3256 done
3257 ac_signal=0
3259 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3260 rm -f -r conftest* confdefs.h
3262 $as_echo "/* confdefs.h */" > confdefs.h
3264 # Predefined preprocessor variables.
3266 cat >>confdefs.h <<_ACEOF
3267 #define PACKAGE_NAME "$PACKAGE_NAME"
3268 _ACEOF
3270 cat >>confdefs.h <<_ACEOF
3271 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3272 _ACEOF
3274 cat >>confdefs.h <<_ACEOF
3275 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3276 _ACEOF
3278 cat >>confdefs.h <<_ACEOF
3279 #define PACKAGE_STRING "$PACKAGE_STRING"
3280 _ACEOF
3282 cat >>confdefs.h <<_ACEOF
3283 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3284 _ACEOF
3286 cat >>confdefs.h <<_ACEOF
3287 #define PACKAGE_URL "$PACKAGE_URL"
3288 _ACEOF
3291 # Let the site file select an alternate cache file if it wants to.
3292 # Prefer an explicitly selected file to automatically selected ones.
3293 ac_site_file1=NONE
3294 ac_site_file2=NONE
3295 if test -n "$CONFIG_SITE"; then
3296 # We do not want a PATH search for config.site.
3297 case $CONFIG_SITE in #((
3298 -*) ac_site_file1=./$CONFIG_SITE;;
3299 */*) ac_site_file1=$CONFIG_SITE;;
3300 *) ac_site_file1=./$CONFIG_SITE;;
3301 esac
3302 elif test "x$prefix" != xNONE; then
3303 ac_site_file1=$prefix/share/config.site
3304 ac_site_file2=$prefix/etc/config.site
3305 else
3306 ac_site_file1=$ac_default_prefix/share/config.site
3307 ac_site_file2=$ac_default_prefix/etc/config.site
3309 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3311 test "x$ac_site_file" = xNONE && continue
3312 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3314 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3315 sed 's/^/| /' "$ac_site_file" >&5
3316 . "$ac_site_file" \
3317 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3319 as_fn_error $? "failed to load site script $ac_site_file
3320 See \`config.log' for more details" "$LINENO" 5; }
3322 done
3324 if test -r "$cache_file"; then
3325 # Some versions of bash will fail to source /dev/null (special files
3326 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3327 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3329 $as_echo "$as_me: loading cache $cache_file" >&6;}
3330 case $cache_file in
3331 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3332 *) . "./$cache_file";;
3333 esac
3335 else
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3337 $as_echo "$as_me: creating cache $cache_file" >&6;}
3338 >$cache_file
3341 # Check that the precious variables saved in the cache have kept the same
3342 # value.
3343 ac_cache_corrupted=false
3344 for ac_var in $ac_precious_vars; do
3345 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3346 eval ac_new_set=\$ac_env_${ac_var}_set
3347 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3348 eval ac_new_val=\$ac_env_${ac_var}_value
3349 case $ac_old_set,$ac_new_set in
3350 set,)
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3352 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3353 ac_cache_corrupted=: ;;
3354 ,set)
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3356 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3357 ac_cache_corrupted=: ;;
3358 ,);;
3360 if test "x$ac_old_val" != "x$ac_new_val"; then
3361 # differences in whitespace do not lead to failure.
3362 ac_old_val_w=`echo x $ac_old_val`
3363 ac_new_val_w=`echo x $ac_new_val`
3364 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3366 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3367 ac_cache_corrupted=:
3368 else
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3370 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3371 eval $ac_var=\$ac_old_val
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3374 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3376 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3377 fi;;
3378 esac
3379 # Pass precious variables to config.status.
3380 if test "$ac_new_set" = set; then
3381 case $ac_new_val in
3382 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3383 *) ac_arg=$ac_var=$ac_new_val ;;
3384 esac
3385 case " $ac_configure_args " in
3386 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3387 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3388 esac
3390 done
3391 if $ac_cache_corrupted; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3395 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3396 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3398 ## -------------------- ##
3399 ## Main body of script. ##
3400 ## -------------------- ##
3402 ac_ext=c
3403 ac_cpp='$CPP $CPPFLAGS'
3404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3410 ac_config_headers="$ac_config_headers include/config.h"
3412 ac_aux_dir=
3413 for ac_dir in tools "$srcdir"/tools; do
3414 if test -f "$ac_dir/install-sh"; then
3415 ac_aux_dir=$ac_dir
3416 ac_install_sh="$ac_aux_dir/install-sh -c"
3417 break
3418 elif test -f "$ac_dir/install.sh"; then
3419 ac_aux_dir=$ac_dir
3420 ac_install_sh="$ac_aux_dir/install.sh -c"
3421 break
3422 elif test -f "$ac_dir/shtool"; then
3423 ac_aux_dir=$ac_dir
3424 ac_install_sh="$ac_aux_dir/shtool install -c"
3425 break
3427 done
3428 if test -z "$ac_aux_dir"; then
3429 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3432 # These three variables are undocumented and unsupported,
3433 # and are intended to be withdrawn in a future Autoconf release.
3434 # They can cause serious problems if a builder's source tree is in a directory
3435 # whose full name contains unusual characters.
3436 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3437 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3438 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3442 libwine_version="1.0"
3446 # Check whether --enable-win16 was given.
3447 if test "${enable_win16+set}" = set; then :
3448 enableval=$enable_win16;
3451 # Check whether --enable-win64 was given.
3452 if test "${enable_win64+set}" = set; then :
3453 enableval=$enable_win64;
3456 # Check whether --enable-tests was given.
3457 if test "${enable_tests+set}" = set; then :
3458 enableval=$enable_tests;
3461 # Check whether --enable-maintainer-mode was given.
3462 if test "${enable_maintainer_mode+set}" = set; then :
3463 enableval=$enable_maintainer_mode;
3468 # Check whether --with-alsa was given.
3469 if test "${with_alsa+set}" = set; then :
3470 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3474 # Check whether --with-capi was given.
3475 if test "${with_capi+set}" = set; then :
3476 withval=$with_capi;
3480 # Check whether --with-cms was given.
3481 if test "${with_cms+set}" = set; then :
3482 withval=$with_cms;
3486 # Check whether --with-coreaudio was given.
3487 if test "${with_coreaudio+set}" = set; then :
3488 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3492 # Check whether --with-cups was given.
3493 if test "${with_cups+set}" = set; then :
3494 withval=$with_cups;
3498 # Check whether --with-curses was given.
3499 if test "${with_curses+set}" = set; then :
3500 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3504 # Check whether --with-dbus was given.
3505 if test "${with_dbus+set}" = set; then :
3506 withval=$with_dbus;
3510 # Check whether --with-fontconfig was given.
3511 if test "${with_fontconfig+set}" = set; then :
3512 withval=$with_fontconfig;
3516 # Check whether --with-freetype was given.
3517 if test "${with_freetype+set}" = set; then :
3518 withval=$with_freetype;
3522 # Check whether --with-gettext was given.
3523 if test "${with_gettext+set}" = set; then :
3524 withval=$with_gettext;
3528 # Check whether --with-gettextpo was given.
3529 if test "${with_gettextpo+set}" = set; then :
3530 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3534 # Check whether --with-gphoto was given.
3535 if test "${with_gphoto+set}" = set; then :
3536 withval=$with_gphoto;
3540 # Check whether --with-glu was given.
3541 if test "${with_glu+set}" = set; then :
3542 withval=$with_glu;
3546 # Check whether --with-gnutls was given.
3547 if test "${with_gnutls+set}" = set; then :
3548 withval=$with_gnutls;
3552 # Check whether --with-gsm was given.
3553 if test "${with_gsm+set}" = set; then :
3554 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3558 # Check whether --with-gstreamer was given.
3559 if test "${with_gstreamer+set}" = set; then :
3560 withval=$with_gstreamer;
3564 # Check whether --with-hal was given.
3565 if test "${with_hal+set}" = set; then :
3566 withval=$with_hal;
3570 # Check whether --with-jpeg was given.
3571 if test "${with_jpeg+set}" = set; then :
3572 withval=$with_jpeg;
3576 # Check whether --with-ldap was given.
3577 if test "${with_ldap+set}" = set; then :
3578 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3582 # Check whether --with-mpg123 was given.
3583 if test "${with_mpg123+set}" = set; then :
3584 withval=$with_mpg123;
3588 # Check whether --with-netapi was given.
3589 if test "${with_netapi+set}" = set; then :
3590 withval=$with_netapi;
3594 # Check whether --with-openal was given.
3595 if test "${with_openal+set}" = set; then :
3596 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3600 # Check whether --with-opencl was given.
3601 if test "${with_opencl+set}" = set; then :
3602 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3606 # Check whether --with-opengl was given.
3607 if test "${with_opengl+set}" = set; then :
3608 withval=$with_opengl;
3612 # Check whether --with-osmesa was given.
3613 if test "${with_osmesa+set}" = set; then :
3614 withval=$with_osmesa;
3618 # Check whether --with-oss was given.
3619 if test "${with_oss+set}" = set; then :
3620 withval=$with_oss;
3624 # Check whether --with-pcap was given.
3625 if test "${with_pcap+set}" = set; then :
3626 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3630 # Check whether --with-png was given.
3631 if test "${with_png+set}" = set; then :
3632 withval=$with_png;
3636 # Check whether --with-pthread was given.
3637 if test "${with_pthread+set}" = set; then :
3638 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3642 # Check whether --with-pulse was given.
3643 if test "${with_pulse+set}" = set; then :
3644 withval=$with_pulse;
3648 # Check whether --with-sane was given.
3649 if test "${with_sane+set}" = set; then :
3650 withval=$with_sane;
3654 # Check whether --with-tiff was given.
3655 if test "${with_tiff+set}" = set; then :
3656 withval=$with_tiff;
3660 # Check whether --with-udev was given.
3661 if test "${with_udev+set}" = set; then :
3662 withval=$with_udev;
3666 # Check whether --with-v4l was given.
3667 if test "${with_v4l+set}" = set; then :
3668 withval=$with_v4l;
3672 # Check whether --with-xcomposite was given.
3673 if test "${with_xcomposite+set}" = set; then :
3674 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3678 # Check whether --with-xcursor was given.
3679 if test "${with_xcursor+set}" = set; then :
3680 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3684 # Check whether --with-xfixes was given.
3685 if test "${with_xfixes+set}" = set; then :
3686 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3690 # Check whether --with-xinerama was given.
3691 if test "${with_xinerama+set}" = set; then :
3692 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3696 # Check whether --with-xinput was given.
3697 if test "${with_xinput+set}" = set; then :
3698 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3702 # Check whether --with-xinput2 was given.
3703 if test "${with_xinput2+set}" = set; then :
3704 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3708 # Check whether --with-xml was given.
3709 if test "${with_xml+set}" = set; then :
3710 withval=$with_xml;
3714 # Check whether --with-xrandr was given.
3715 if test "${with_xrandr+set}" = set; then :
3716 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3720 # Check whether --with-xrender was given.
3721 if test "${with_xrender+set}" = set; then :
3722 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3726 # Check whether --with-xshape was given.
3727 if test "${with_xshape+set}" = set; then :
3728 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3732 # Check whether --with-xshm was given.
3733 if test "${with_xshm+set}" = set; then :
3734 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3738 # Check whether --with-xslt was given.
3739 if test "${with_xslt+set}" = set; then :
3740 withval=$with_xslt;
3744 # Check whether --with-xxf86vm was given.
3745 if test "${with_xxf86vm+set}" = set; then :
3746 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
3750 # Check whether --with-zlib was given.
3751 if test "${with_zlib+set}" = set; then :
3752 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3757 # Check whether --with-wine-tools was given.
3758 if test "${with_wine_tools+set}" = set; then :
3759 withval=$with_wine_tools;
3763 # Check whether --with-wine64 was given.
3764 if test "${with_wine64+set}" = set; then :
3765 withval=$with_wine64;
3769 # Make sure we can run config.sub.
3770 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3771 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3774 $as_echo_n "checking build system type... " >&6; }
3775 if ${ac_cv_build+:} false; then :
3776 $as_echo_n "(cached) " >&6
3777 else
3778 ac_build_alias=$build_alias
3779 test "x$ac_build_alias" = x &&
3780 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3781 test "x$ac_build_alias" = x &&
3782 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3783 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3784 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3788 $as_echo "$ac_cv_build" >&6; }
3789 case $ac_cv_build in
3790 *-*-*) ;;
3791 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3792 esac
3793 build=$ac_cv_build
3794 ac_save_IFS=$IFS; IFS='-'
3795 set x $ac_cv_build
3796 shift
3797 build_cpu=$1
3798 build_vendor=$2
3799 shift; shift
3800 # Remember, the first character of IFS is used to create $*,
3801 # except with old shells:
3802 build_os=$*
3803 IFS=$ac_save_IFS
3804 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3808 $as_echo_n "checking host system type... " >&6; }
3809 if ${ac_cv_host+:} false; then :
3810 $as_echo_n "(cached) " >&6
3811 else
3812 if test "x$host_alias" = x; then
3813 ac_cv_host=$ac_cv_build
3814 else
3815 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3816 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3821 $as_echo "$ac_cv_host" >&6; }
3822 case $ac_cv_host in
3823 *-*-*) ;;
3824 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3825 esac
3826 host=$ac_cv_host
3827 ac_save_IFS=$IFS; IFS='-'
3828 set x $ac_cv_host
3829 shift
3830 host_cpu=$1
3831 host_vendor=$2
3832 shift; shift
3833 # Remember, the first character of IFS is used to create $*,
3834 # except with old shells:
3835 host_os=$*
3836 IFS=$ac_save_IFS
3837 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3841 case "$srcdir" in
3842 .) ;;
3843 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3844 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3845 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3846 fi ;;
3847 esac
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3851 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3852 set x ${MAKE-make}
3853 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3854 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3855 $as_echo_n "(cached) " >&6
3856 else
3857 cat >conftest.make <<\_ACEOF
3858 SHELL = /bin/sh
3859 all:
3860 @echo '@@@%%%=$(MAKE)=@@@%%%'
3861 _ACEOF
3862 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3863 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3864 *@@@%%%=?*=@@@%%%*)
3865 eval ac_cv_prog_make_${ac_make}_set=yes;;
3867 eval ac_cv_prog_make_${ac_make}_set=no;;
3868 esac
3869 rm -f conftest.make
3871 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3873 $as_echo "yes" >&6; }
3874 SET_MAKE=
3875 else
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3878 SET_MAKE="MAKE=${MAKE-make}"
3881 ac_ext=c
3882 ac_cpp='$CPP $CPPFLAGS'
3883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3886 if test -n "$ac_tool_prefix"; then
3887 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3888 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890 $as_echo_n "checking for $ac_word... " >&6; }
3891 if ${ac_cv_prog_CC+:} false; then :
3892 $as_echo_n "(cached) " >&6
3893 else
3894 if test -n "$CC"; then
3895 ac_cv_prog_CC="$CC" # Let the user override the test.
3896 else
3897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3898 for as_dir in $PATH
3900 IFS=$as_save_IFS
3901 test -z "$as_dir" && as_dir=.
3902 for ac_exec_ext in '' $ac_executable_extensions; do
3903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3904 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 break 2
3908 done
3909 done
3910 IFS=$as_save_IFS
3914 CC=$ac_cv_prog_CC
3915 if test -n "$CC"; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917 $as_echo "$CC" >&6; }
3918 else
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3925 if test -z "$ac_cv_prog_CC"; then
3926 ac_ct_CC=$CC
3927 # Extract the first word of "gcc", so it can be a program name with args.
3928 set dummy gcc; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3932 $as_echo_n "(cached) " >&6
3933 else
3934 if test -n "$ac_ct_CC"; then
3935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3936 else
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 for as_dir in $PATH
3940 IFS=$as_save_IFS
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944 ac_cv_prog_ac_ct_CC="gcc"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 break 2
3948 done
3949 done
3950 IFS=$as_save_IFS
3954 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3955 if test -n "$ac_ct_CC"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3957 $as_echo "$ac_ct_CC" >&6; }
3958 else
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3963 if test "x$ac_ct_CC" = x; then
3964 CC=""
3965 else
3966 case $cross_compiling:$ac_tool_warned in
3967 yes:)
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3970 ac_tool_warned=yes ;;
3971 esac
3972 CC=$ac_ct_CC
3974 else
3975 CC="$ac_cv_prog_CC"
3978 if test -z "$CC"; then
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}cc; ac_word=$2
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if ${ac_cv_prog_CC+:} false; then :
3985 $as_echo_n "(cached) " >&6
3986 else
3987 if test -n "$CC"; then
3988 ac_cv_prog_CC="$CC" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_CC="${ac_tool_prefix}cc"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4003 IFS=$as_save_IFS
4007 CC=$ac_cv_prog_CC
4008 if test -n "$CC"; then
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4010 $as_echo "$CC" >&6; }
4011 else
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4019 if test -z "$CC"; then
4020 # Extract the first word of "cc", so it can be a program name with args.
4021 set dummy cc; ac_word=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if ${ac_cv_prog_CC+:} false; then :
4025 $as_echo_n "(cached) " >&6
4026 else
4027 if test -n "$CC"; then
4028 ac_cv_prog_CC="$CC" # Let the user override the test.
4029 else
4030 ac_prog_rejected=no
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4034 IFS=$as_save_IFS
4035 test -z "$as_dir" && as_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4039 ac_prog_rejected=yes
4040 continue
4042 ac_cv_prog_CC="cc"
4043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4044 break 2
4046 done
4047 done
4048 IFS=$as_save_IFS
4050 if test $ac_prog_rejected = yes; then
4051 # We found a bogon in the path, so make sure we never use it.
4052 set dummy $ac_cv_prog_CC
4053 shift
4054 if test $# != 0; then
4055 # We chose a different compiler from the bogus one.
4056 # However, it has the same basename, so the bogon will be chosen
4057 # first if we set CC to just the basename; use the full file name.
4058 shift
4059 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4064 CC=$ac_cv_prog_CC
4065 if test -n "$CC"; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4067 $as_echo "$CC" >&6; }
4068 else
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4075 if test -z "$CC"; then
4076 if test -n "$ac_tool_prefix"; then
4077 for ac_prog in cl.exe
4079 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4080 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4082 $as_echo_n "checking for $ac_word... " >&6; }
4083 if ${ac_cv_prog_CC+:} false; then :
4084 $as_echo_n "(cached) " >&6
4085 else
4086 if test -n "$CC"; then
4087 ac_cv_prog_CC="$CC" # Let the user override the test.
4088 else
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 for as_dir in $PATH
4092 IFS=$as_save_IFS
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 break 2
4100 done
4101 done
4102 IFS=$as_save_IFS
4106 CC=$ac_cv_prog_CC
4107 if test -n "$CC"; then
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4109 $as_echo "$CC" >&6; }
4110 else
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 $as_echo "no" >&6; }
4116 test -n "$CC" && break
4117 done
4119 if test -z "$CC"; then
4120 ac_ct_CC=$CC
4121 for ac_prog in cl.exe
4123 # Extract the first word of "$ac_prog", so it can be a program name with args.
4124 set dummy $ac_prog; ac_word=$2
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4126 $as_echo_n "checking for $ac_word... " >&6; }
4127 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 if test -n "$ac_ct_CC"; then
4131 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4132 else
4133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134 for as_dir in $PATH
4136 IFS=$as_save_IFS
4137 test -z "$as_dir" && as_dir=.
4138 for ac_exec_ext in '' $ac_executable_extensions; do
4139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4140 ac_cv_prog_ac_ct_CC="$ac_prog"
4141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 break 2
4144 done
4145 done
4146 IFS=$as_save_IFS
4150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4151 if test -n "$ac_ct_CC"; then
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4153 $as_echo "$ac_ct_CC" >&6; }
4154 else
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4156 $as_echo "no" >&6; }
4160 test -n "$ac_ct_CC" && break
4161 done
4163 if test "x$ac_ct_CC" = x; then
4164 CC=""
4165 else
4166 case $cross_compiling:$ac_tool_warned in
4167 yes:)
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4170 ac_tool_warned=yes ;;
4171 esac
4172 CC=$ac_ct_CC
4179 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4181 as_fn_error $? "no acceptable C compiler found in \$PATH
4182 See \`config.log' for more details" "$LINENO" 5; }
4184 # Provide some information about the compiler.
4185 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4186 set X $ac_compile
4187 ac_compiler=$2
4188 for ac_option in --version -v -V -qversion; do
4189 { { ac_try="$ac_compiler $ac_option >&5"
4190 case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4193 esac
4194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4195 $as_echo "$ac_try_echo"; } >&5
4196 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4197 ac_status=$?
4198 if test -s conftest.err; then
4199 sed '10a\
4200 ... rest of stderr output deleted ...
4201 10q' conftest.err >conftest.er1
4202 cat conftest.er1 >&5
4204 rm -f conftest.er1 conftest.err
4205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4206 test $ac_status = 0; }
4207 done
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4213 main ()
4217 return 0;
4219 _ACEOF
4220 ac_clean_files_save=$ac_clean_files
4221 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4222 # Try to create an executable without -o first, disregard a.out.
4223 # It will help us diagnose broken compilers, and finding out an intuition
4224 # of exeext.
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4226 $as_echo_n "checking whether the C compiler works... " >&6; }
4227 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4229 # The possible output files:
4230 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4232 ac_rmfiles=
4233 for ac_file in $ac_files
4235 case $ac_file in
4236 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4237 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4238 esac
4239 done
4240 rm -f $ac_rmfiles
4242 if { { ac_try="$ac_link_default"
4243 case "(($ac_try" in
4244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4245 *) ac_try_echo=$ac_try;;
4246 esac
4247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4248 $as_echo "$ac_try_echo"; } >&5
4249 (eval "$ac_link_default") 2>&5
4250 ac_status=$?
4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4252 test $ac_status = 0; }; then :
4253 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4254 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4255 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4256 # so that the user can short-circuit this test for compilers unknown to
4257 # Autoconf.
4258 for ac_file in $ac_files ''
4260 test -f "$ac_file" || continue
4261 case $ac_file in
4262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4264 [ab].out )
4265 # We found the default executable, but exeext='' is most
4266 # certainly right.
4267 break;;
4268 *.* )
4269 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4270 then :; else
4271 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4273 # We set ac_cv_exeext here because the later test for it is not
4274 # safe: cross compilers may not add the suffix if given an `-o'
4275 # argument, so we may need to know it at that point already.
4276 # Even if this section looks crufty: it has the advantage of
4277 # actually working.
4278 break;;
4280 break;;
4281 esac
4282 done
4283 test "$ac_cv_exeext" = no && ac_cv_exeext=
4285 else
4286 ac_file=''
4288 if test -z "$ac_file"; then :
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290 $as_echo "no" >&6; }
4291 $as_echo "$as_me: failed program was:" >&5
4292 sed 's/^/| /' conftest.$ac_ext >&5
4294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296 as_fn_error 77 "C compiler cannot create executables
4297 See \`config.log' for more details" "$LINENO" 5; }
4298 else
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4300 $as_echo "yes" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4303 $as_echo_n "checking for C compiler default output file name... " >&6; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4305 $as_echo "$ac_file" >&6; }
4306 ac_exeext=$ac_cv_exeext
4308 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4309 ac_clean_files=$ac_clean_files_save
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4311 $as_echo_n "checking for suffix of executables... " >&6; }
4312 if { { ac_try="$ac_link"
4313 case "(($ac_try" in
4314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4316 esac
4317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4318 $as_echo "$ac_try_echo"; } >&5
4319 (eval "$ac_link") 2>&5
4320 ac_status=$?
4321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4322 test $ac_status = 0; }; then :
4323 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4324 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4325 # work properly (i.e., refer to `conftest.exe'), while it won't with
4326 # `rm'.
4327 for ac_file in conftest.exe conftest conftest.*; do
4328 test -f "$ac_file" || continue
4329 case $ac_file in
4330 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4331 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4332 break;;
4333 * ) break;;
4334 esac
4335 done
4336 else
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4340 See \`config.log' for more details" "$LINENO" 5; }
4342 rm -f conftest conftest$ac_cv_exeext
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4344 $as_echo "$ac_cv_exeext" >&6; }
4346 rm -f conftest.$ac_ext
4347 EXEEXT=$ac_cv_exeext
4348 ac_exeext=$EXEEXT
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4351 #include <stdio.h>
4353 main ()
4355 FILE *f = fopen ("conftest.out", "w");
4356 return ferror (f) || fclose (f) != 0;
4359 return 0;
4361 _ACEOF
4362 ac_clean_files="$ac_clean_files conftest.out"
4363 # Check that the compiler produces executables we can run. If not, either
4364 # the compiler is broken, or we cross compile.
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4366 $as_echo_n "checking whether we are cross compiling... " >&6; }
4367 if test "$cross_compiling" != yes; then
4368 { { ac_try="$ac_link"
4369 case "(($ac_try" in
4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4372 esac
4373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4374 $as_echo "$ac_try_echo"; } >&5
4375 (eval "$ac_link") 2>&5
4376 ac_status=$?
4377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4378 test $ac_status = 0; }
4379 if { ac_try='./conftest$ac_cv_exeext'
4380 { { case "(($ac_try" in
4381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4382 *) ac_try_echo=$ac_try;;
4383 esac
4384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4385 $as_echo "$ac_try_echo"; } >&5
4386 (eval "$ac_try") 2>&5
4387 ac_status=$?
4388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4389 test $ac_status = 0; }; }; then
4390 cross_compiling=no
4391 else
4392 if test "$cross_compiling" = maybe; then
4393 cross_compiling=yes
4394 else
4395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4397 as_fn_error $? "cannot run C compiled programs.
4398 If you meant to cross compile, use \`--host'.
4399 See \`config.log' for more details" "$LINENO" 5; }
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4404 $as_echo "$cross_compiling" >&6; }
4406 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4407 ac_clean_files=$ac_clean_files_save
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4409 $as_echo_n "checking for suffix of object files... " >&6; }
4410 if ${ac_cv_objext+:} false; then :
4411 $as_echo_n "(cached) " >&6
4412 else
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4417 main ()
4421 return 0;
4423 _ACEOF
4424 rm -f conftest.o conftest.obj
4425 if { { ac_try="$ac_compile"
4426 case "(($ac_try" in
4427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4428 *) ac_try_echo=$ac_try;;
4429 esac
4430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4431 $as_echo "$ac_try_echo"; } >&5
4432 (eval "$ac_compile") 2>&5
4433 ac_status=$?
4434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4435 test $ac_status = 0; }; then :
4436 for ac_file in conftest.o conftest.obj conftest.*; do
4437 test -f "$ac_file" || continue;
4438 case $ac_file in
4439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4440 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4441 break;;
4442 esac
4443 done
4444 else
4445 $as_echo "$as_me: failed program was:" >&5
4446 sed 's/^/| /' conftest.$ac_ext >&5
4448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4450 as_fn_error $? "cannot compute suffix of object files: cannot compile
4451 See \`config.log' for more details" "$LINENO" 5; }
4453 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4456 $as_echo "$ac_cv_objext" >&6; }
4457 OBJEXT=$ac_cv_objext
4458 ac_objext=$OBJEXT
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4460 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4461 if ${ac_cv_c_compiler_gnu+:} false; then :
4462 $as_echo_n "(cached) " >&6
4463 else
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4468 main ()
4470 #ifndef __GNUC__
4471 choke me
4472 #endif
4475 return 0;
4477 _ACEOF
4478 if ac_fn_c_try_compile "$LINENO"; then :
4479 ac_compiler_gnu=yes
4480 else
4481 ac_compiler_gnu=no
4483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4484 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4488 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4489 if test $ac_compiler_gnu = yes; then
4490 GCC=yes
4491 else
4492 GCC=
4494 ac_test_CFLAGS=${CFLAGS+set}
4495 ac_save_CFLAGS=$CFLAGS
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4497 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4498 if ${ac_cv_prog_cc_g+:} false; then :
4499 $as_echo_n "(cached) " >&6
4500 else
4501 ac_save_c_werror_flag=$ac_c_werror_flag
4502 ac_c_werror_flag=yes
4503 ac_cv_prog_cc_g=no
4504 CFLAGS="-g"
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4509 main ()
4513 return 0;
4515 _ACEOF
4516 if ac_fn_c_try_compile "$LINENO"; then :
4517 ac_cv_prog_cc_g=yes
4518 else
4519 CFLAGS=""
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 if ac_fn_c_try_compile "$LINENO"; then :
4533 else
4534 ac_c_werror_flag=$ac_save_c_werror_flag
4535 CFLAGS="-g"
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4540 main ()
4544 return 0;
4546 _ACEOF
4547 if ac_fn_c_try_compile "$LINENO"; then :
4548 ac_cv_prog_cc_g=yes
4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 ac_c_werror_flag=$ac_save_c_werror_flag
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4558 $as_echo "$ac_cv_prog_cc_g" >&6; }
4559 if test "$ac_test_CFLAGS" = set; then
4560 CFLAGS=$ac_save_CFLAGS
4561 elif test $ac_cv_prog_cc_g = yes; then
4562 if test "$GCC" = yes; then
4563 CFLAGS="-g -O2"
4564 else
4565 CFLAGS="-g"
4567 else
4568 if test "$GCC" = yes; then
4569 CFLAGS="-O2"
4570 else
4571 CFLAGS=
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4575 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4576 if ${ac_cv_prog_cc_c89+:} false; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4579 ac_cv_prog_cc_c89=no
4580 ac_save_CC=$CC
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4583 #include <stdarg.h>
4584 #include <stdio.h>
4585 struct stat;
4586 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4587 struct buf { int x; };
4588 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4589 static char *e (p, i)
4590 char **p;
4591 int i;
4593 return p[i];
4595 static char *f (char * (*g) (char **, int), char **p, ...)
4597 char *s;
4598 va_list v;
4599 va_start (v,p);
4600 s = g (p, va_arg (v,int));
4601 va_end (v);
4602 return s;
4605 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4606 function prototypes and stuff, but not '\xHH' hex character constants.
4607 These don't provoke an error unfortunately, instead are silently treated
4608 as 'x'. The following induces an error, until -std is added to get
4609 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4610 array size at least. It's necessary to write '\x00'==0 to get something
4611 that's true only with -std. */
4612 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4614 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4615 inside strings and character constants. */
4616 #define FOO(x) 'x'
4617 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4619 int test (int i, double x);
4620 struct s1 {int (*f) (int a);};
4621 struct s2 {int (*f) (double a);};
4622 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4623 int argc;
4624 char **argv;
4626 main ()
4628 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4630 return 0;
4632 _ACEOF
4633 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4634 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4636 CC="$ac_save_CC $ac_arg"
4637 if ac_fn_c_try_compile "$LINENO"; then :
4638 ac_cv_prog_cc_c89=$ac_arg
4640 rm -f core conftest.err conftest.$ac_objext
4641 test "x$ac_cv_prog_cc_c89" != "xno" && break
4642 done
4643 rm -f conftest.$ac_ext
4644 CC=$ac_save_CC
4647 # AC_CACHE_VAL
4648 case "x$ac_cv_prog_cc_c89" in
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4651 $as_echo "none needed" >&6; } ;;
4652 xno)
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4654 $as_echo "unsupported" >&6; } ;;
4656 CC="$CC $ac_cv_prog_cc_c89"
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4658 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4659 esac
4660 if test "x$ac_cv_prog_cc_c89" != xno; then :
4664 ac_ext=c
4665 ac_cpp='$CPP $CPPFLAGS'
4666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4670 ac_ext=cpp
4671 ac_cpp='$CXXCPP $CPPFLAGS'
4672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4675 if test -z "$CXX"; then
4676 if test -n "$CCC"; then
4677 CXX=$CCC
4678 else
4679 if test -n "$ac_tool_prefix"; then
4680 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if ${ac_cv_prog_CXX+:} false; then :
4687 $as_echo_n "(cached) " >&6
4688 else
4689 if test -n "$CXX"; then
4690 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4691 else
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH
4695 IFS=$as_save_IFS
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4699 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 break 2
4703 done
4704 done
4705 IFS=$as_save_IFS
4709 CXX=$ac_cv_prog_CXX
4710 if test -n "$CXX"; then
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4712 $as_echo "$CXX" >&6; }
4713 else
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4719 test -n "$CXX" && break
4720 done
4722 if test -z "$CXX"; then
4723 ac_ct_CXX=$CXX
4724 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4726 # Extract the first word of "$ac_prog", so it can be a program name with args.
4727 set dummy $ac_prog; ac_word=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4731 $as_echo_n "(cached) " >&6
4732 else
4733 if test -n "$ac_ct_CXX"; then
4734 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4735 else
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH
4739 IFS=$as_save_IFS
4740 test -z "$as_dir" && as_dir=.
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_prog_ac_ct_CXX="$ac_prog"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 break 2
4747 done
4748 done
4749 IFS=$as_save_IFS
4753 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4754 if test -n "$ac_ct_CXX"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4756 $as_echo "$ac_ct_CXX" >&6; }
4757 else
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4763 test -n "$ac_ct_CXX" && break
4764 done
4766 if test "x$ac_ct_CXX" = x; then
4767 CXX="g++"
4768 else
4769 case $cross_compiling:$ac_tool_warned in
4770 yes:)
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4773 ac_tool_warned=yes ;;
4774 esac
4775 CXX=$ac_ct_CXX
4781 # Provide some information about the compiler.
4782 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4783 set X $ac_compile
4784 ac_compiler=$2
4785 for ac_option in --version -v -V -qversion; do
4786 { { ac_try="$ac_compiler $ac_option >&5"
4787 case "(($ac_try" in
4788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4789 *) ac_try_echo=$ac_try;;
4790 esac
4791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4792 $as_echo "$ac_try_echo"; } >&5
4793 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4794 ac_status=$?
4795 if test -s conftest.err; then
4796 sed '10a\
4797 ... rest of stderr output deleted ...
4798 10q' conftest.err >conftest.er1
4799 cat conftest.er1 >&5
4801 rm -f conftest.er1 conftest.err
4802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4803 test $ac_status = 0; }
4804 done
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4807 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4808 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4809 $as_echo_n "(cached) " >&6
4810 else
4811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4815 main ()
4817 #ifndef __GNUC__
4818 choke me
4819 #endif
4822 return 0;
4824 _ACEOF
4825 if ac_fn_cxx_try_compile "$LINENO"; then :
4826 ac_compiler_gnu=yes
4827 else
4828 ac_compiler_gnu=no
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4835 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4836 if test $ac_compiler_gnu = yes; then
4837 GXX=yes
4838 else
4839 GXX=
4841 ac_test_CXXFLAGS=${CXXFLAGS+set}
4842 ac_save_CXXFLAGS=$CXXFLAGS
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4844 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4845 if ${ac_cv_prog_cxx_g+:} false; then :
4846 $as_echo_n "(cached) " >&6
4847 else
4848 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4849 ac_cxx_werror_flag=yes
4850 ac_cv_prog_cxx_g=no
4851 CXXFLAGS="-g"
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4856 main ()
4860 return 0;
4862 _ACEOF
4863 if ac_fn_cxx_try_compile "$LINENO"; then :
4864 ac_cv_prog_cxx_g=yes
4865 else
4866 CXXFLAGS=""
4867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4871 main ()
4875 return 0;
4877 _ACEOF
4878 if ac_fn_cxx_try_compile "$LINENO"; then :
4880 else
4881 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4882 CXXFLAGS="-g"
4883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4887 main ()
4891 return 0;
4893 _ACEOF
4894 if ac_fn_cxx_try_compile "$LINENO"; then :
4895 ac_cv_prog_cxx_g=yes
4897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4905 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4906 if test "$ac_test_CXXFLAGS" = set; then
4907 CXXFLAGS=$ac_save_CXXFLAGS
4908 elif test $ac_cv_prog_cxx_g = yes; then
4909 if test "$GXX" = yes; then
4910 CXXFLAGS="-g -O2"
4911 else
4912 CXXFLAGS="-g"
4914 else
4915 if test "$GXX" = yes; then
4916 CXXFLAGS="-O2"
4917 else
4918 CXXFLAGS=
4921 ac_ext=c
4922 ac_cpp='$CPP $CPPFLAGS'
4923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4929 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if ${ac_cv_prog_CPPBIN+:} false; then :
4933 $as_echo_n "(cached) " >&6
4934 else
4935 if test -n "$CPPBIN"; then
4936 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4937 else
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 for as_dir in $PATH
4941 IFS=$as_save_IFS
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 break 2
4949 done
4950 done
4951 IFS=$as_save_IFS
4955 CPPBIN=$ac_cv_prog_CPPBIN
4956 if test -n "$CPPBIN"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4958 $as_echo "$CPPBIN" >&6; }
4959 else
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4966 if test -z "$ac_cv_prog_CPPBIN"; then
4967 ac_ct_CPPBIN=$CPPBIN
4968 # Extract the first word of "cpp", so it can be a program name with args.
4969 set dummy cpp; ac_word=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4973 $as_echo_n "(cached) " >&6
4974 else
4975 if test -n "$ac_ct_CPPBIN"; then
4976 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4977 else
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in $PATH
4981 IFS=$as_save_IFS
4982 test -z "$as_dir" && as_dir=.
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4985 ac_cv_prog_ac_ct_CPPBIN="cpp"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 break 2
4989 done
4990 done
4991 IFS=$as_save_IFS
4995 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4996 if test -n "$ac_ct_CPPBIN"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4998 $as_echo "$ac_ct_CPPBIN" >&6; }
4999 else
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5004 if test "x$ac_ct_CPPBIN" = x; then
5005 CPPBIN="cpp"
5006 else
5007 case $cross_compiling:$ac_tool_warned in
5008 yes:)
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5011 ac_tool_warned=yes ;;
5012 esac
5013 CPPBIN=$ac_ct_CPPBIN
5015 else
5016 CPPBIN="$ac_cv_prog_CPPBIN"
5020 cat >>confdefs.h <<_ACEOF
5021 #define EXEEXT "$ac_exeext"
5022 _ACEOF
5024 if test -n "$ac_tool_prefix"; then
5025 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5026 set dummy ${ac_tool_prefix}ld; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if ${ac_cv_prog_LD+:} false; then :
5030 $as_echo_n "(cached) " >&6
5031 else
5032 if test -n "$LD"; then
5033 ac_cv_prog_LD="$LD" # Let the user override the test.
5034 else
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 for as_dir in $PATH
5038 IFS=$as_save_IFS
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5042 ac_cv_prog_LD="${ac_tool_prefix}ld"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 break 2
5046 done
5047 done
5048 IFS=$as_save_IFS
5052 LD=$ac_cv_prog_LD
5053 if test -n "$LD"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5055 $as_echo "$LD" >&6; }
5056 else
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5063 if test -z "$ac_cv_prog_LD"; then
5064 ac_ct_LD=$LD
5065 # Extract the first word of "ld", so it can be a program name with args.
5066 set dummy ld; ac_word=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 if test -n "$ac_ct_LD"; then
5073 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5074 else
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_ac_ct_LD="ld"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 break 2
5086 done
5087 done
5088 IFS=$as_save_IFS
5092 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5093 if test -n "$ac_ct_LD"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5095 $as_echo "$ac_ct_LD" >&6; }
5096 else
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5101 if test "x$ac_ct_LD" = x; then
5102 LD=""
5103 else
5104 case $cross_compiling:$ac_tool_warned in
5105 yes:)
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108 ac_tool_warned=yes ;;
5109 esac
5110 LD=$ac_ct_LD
5112 else
5113 LD="$ac_cv_prog_LD"
5117 case $host in
5118 *-darwin*)
5119 with_fontconfig=${with_fontconfig:-no}
5121 *-mingw32*|*-cygwin*)
5122 enable_win16=${enable_win16:-no}
5123 CFLAGS="$CFLAGS -D_WIN32"
5125 esac
5127 case $host in
5128 x86_64*|amd64*)
5129 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5130 then
5131 CC="$CC -m32"
5132 CXX="$CXX -m32"
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5134 $as_echo_n "checking whether $CC works... " >&6; }
5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5140 main ()
5144 return 0;
5146 _ACEOF
5147 if ac_fn_c_try_link "$LINENO"; then :
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5149 $as_echo "yes" >&6; }
5150 else
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5153 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5155 rm -f core conftest.err conftest.$ac_objext \
5156 conftest$ac_exeext conftest.$ac_ext
5157 host_cpu="i386"
5158 notice_platform="32-bit "
5159 TARGETFLAGS="-m32"
5161 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5162 export PKG_CONFIG_PATH
5163 enable_win16=${enable_win16:-yes}
5164 else
5165 if test "x${GCC}" = "xyes"
5166 then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5168 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5170 /* end confdefs.h. */
5171 #include <stdarg.h>
5173 main ()
5175 void func(__builtin_ms_va_list *args);
5177 return 0;
5179 _ACEOF
5180 if ac_fn_c_try_compile "$LINENO"; then :
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5182 $as_echo "yes" >&6; }
5183 else
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5186 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5190 CC="$CC -m64"
5191 CXX="$CXX -m64"
5192 host_cpu="x86_64"
5193 notice_platform="64-bit "
5194 TARGETFLAGS="-m64"
5198 arm*)
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5200 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5203 int ac_test(int i) { return i; }
5205 main ()
5207 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5209 return 0;
5211 _ACEOF
5212 if ac_fn_c_try_link "$LINENO"; then :
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5214 $as_echo "yes" >&6; }
5215 else
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5218 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5220 rm -f core conftest.err conftest.$ac_objext \
5221 conftest$ac_exeext conftest.$ac_ext
5222 CFLAGS="$CFLAGS -marm"
5223 TARGETFLAGS="-marm"
5226 i[3456789]86*)
5227 enable_win16=${enable_win16:-yes}
5229 esac
5231 enable_win16=${enable_win16:-no}
5232 enable_win64=${enable_win64:-no}
5234 enable_winetest=${enable_winetest:-$enable_tests}
5236 if test -n "$with_wine64"
5237 then
5238 if test "x$enable_win64" = "xyes"
5239 then
5240 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5241 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5243 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5244 You should create a separate build directory and run configure from there." "$LINENO" 5
5245 enable_fonts=${enable_fonts:-no}
5246 enable_server=${enable_server:-no}
5247 elif test "x$enable_win64" = "xyes"
5248 then
5249 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5253 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5254 if ${wine_cv_toolsdir+:} false; then :
5255 $as_echo_n "(cached) " >&6
5256 else
5257 wine_cv_toolsdir="$with_wine_tools"
5258 if test -z "$with_wine_tools"; then
5259 if test "$cross_compiling" = "yes"; then
5260 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5261 elif test -n "$with_wine64"; then
5262 wine_cv_toolsdir="$with_wine64"
5265 if test -z "$wine_cv_toolsdir"; then
5266 wine_makedep=tools/makedep
5267 wine_cv_toolsdir="\$(top_builddir)"
5268 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5269 wine_makedep=$wine_cv_toolsdir/tools/makedep
5270 case "$wine_cv_toolsdir" in
5271 /*) ;;
5272 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5273 esac
5274 enable_tools=${enable_tools:-no}
5275 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5276 else
5277 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5281 $as_echo "$wine_cv_toolsdir" >&6; }
5282 TOOLSDIR=$wine_cv_toolsdir
5284 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5285 then
5286 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5290 for ac_prog in flex
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy $ac_prog; ac_word=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_FLEX+:} false; then :
5297 $as_echo_n "(cached) " >&6
5298 else
5299 if test -n "$FLEX"; then
5300 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5301 else
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $PATH
5305 IFS=$as_save_IFS
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_FLEX="$ac_prog"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 break 2
5313 done
5314 done
5315 IFS=$as_save_IFS
5319 FLEX=$ac_cv_prog_FLEX
5320 if test -n "$FLEX"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5322 $as_echo "$FLEX" >&6; }
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5329 test -n "$FLEX" && break
5330 done
5331 test -n "$FLEX" || FLEX="none"
5333 if test "$FLEX" = "none"
5334 then
5335 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5338 $as_echo_n "checking whether flex is recent enough... " >&6; }
5339 cat >conftest.l <<EOF
5340 %top{
5341 #include "prediluvian.h"
5345 if $FLEX -t conftest.l >/dev/null 2>&5
5346 then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5348 $as_echo "yes" >&6; }
5349 else
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5352 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5355 for ac_prog in bison
5357 # Extract the first word of "$ac_prog", so it can be a program name with args.
5358 set dummy $ac_prog; ac_word=$2
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5360 $as_echo_n "checking for $ac_word... " >&6; }
5361 if ${ac_cv_prog_BISON+:} false; then :
5362 $as_echo_n "(cached) " >&6
5363 else
5364 if test -n "$BISON"; then
5365 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_prog_BISON="$ac_prog"
5375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5378 done
5379 done
5380 IFS=$as_save_IFS
5384 BISON=$ac_cv_prog_BISON
5385 if test -n "$BISON"; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5387 $as_echo "$BISON" >&6; }
5388 else
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390 $as_echo "no" >&6; }
5394 test -n "$BISON" && break
5395 done
5396 test -n "$BISON" || BISON="none"
5398 if test "$BISON" = "none"
5399 then
5400 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5403 if test -n "$ac_tool_prefix"; then
5404 for ac_prog in ar gar
5406 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5407 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_AR+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 if test -n "$AR"; then
5414 ac_cv_prog_AR="$AR" # Let the user override the test.
5415 else
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 for as_dir in $PATH
5419 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 break 2
5427 done
5428 done
5429 IFS=$as_save_IFS
5433 AR=$ac_cv_prog_AR
5434 if test -n "$AR"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5436 $as_echo "$AR" >&6; }
5437 else
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 test -n "$AR" && break
5444 done
5446 if test -z "$AR"; then
5447 ac_ct_AR=$AR
5448 for ac_prog in ar gar
5450 # Extract the first word of "$ac_prog", so it can be a program name with args.
5451 set dummy $ac_prog; ac_word=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5455 $as_echo_n "(cached) " >&6
5456 else
5457 if test -n "$ac_ct_AR"; then
5458 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5459 else
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH
5463 IFS=$as_save_IFS
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_prog_ac_ct_AR="$ac_prog"
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469 break 2
5471 done
5472 done
5473 IFS=$as_save_IFS
5477 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5478 if test -n "$ac_ct_AR"; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5480 $as_echo "$ac_ct_AR" >&6; }
5481 else
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5487 test -n "$ac_ct_AR" && break
5488 done
5490 if test "x$ac_ct_AR" = x; then
5491 AR="ar"
5492 else
5493 case $cross_compiling:$ac_tool_warned in
5494 yes:)
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5497 ac_tool_warned=yes ;;
5498 esac
5499 AR=$ac_ct_AR
5503 if test -n "$ac_tool_prefix"; then
5504 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5505 set dummy ${ac_tool_prefix}strip; ac_word=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_STRIP+:} false; then :
5509 $as_echo_n "(cached) " >&6
5510 else
5511 if test -n "$STRIP"; then
5512 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5513 else
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 for as_dir in $PATH
5517 IFS=$as_save_IFS
5518 test -z "$as_dir" && as_dir=.
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 break 2
5525 done
5526 done
5527 IFS=$as_save_IFS
5531 STRIP=$ac_cv_prog_STRIP
5532 if test -n "$STRIP"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5534 $as_echo "$STRIP" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5542 if test -z "$ac_cv_prog_STRIP"; then
5543 ac_ct_STRIP=$STRIP
5544 # Extract the first word of "strip", so it can be a program name with args.
5545 set dummy strip; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5549 $as_echo_n "(cached) " >&6
5550 else
5551 if test -n "$ac_ct_STRIP"; then
5552 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5557 IFS=$as_save_IFS
5558 test -z "$as_dir" && as_dir=.
5559 for ac_exec_ext in '' $ac_executable_extensions; do
5560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561 ac_cv_prog_ac_ct_STRIP="strip"
5562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563 break 2
5565 done
5566 done
5567 IFS=$as_save_IFS
5571 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5572 if test -n "$ac_ct_STRIP"; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5574 $as_echo "$ac_ct_STRIP" >&6; }
5575 else
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5580 if test "x$ac_ct_STRIP" = x; then
5581 STRIP="strip"
5582 else
5583 case $cross_compiling:$ac_tool_warned in
5584 yes:)
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5587 ac_tool_warned=yes ;;
5588 esac
5589 STRIP=$ac_ct_STRIP
5591 else
5592 STRIP="$ac_cv_prog_STRIP"
5595 ARFLAGS=rc
5597 if test -n "$ac_tool_prefix"; then
5598 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5599 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_RANLIB+:} false; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 if test -n "$RANLIB"; then
5606 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5607 else
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 for as_dir in $PATH
5611 IFS=$as_save_IFS
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 break 2
5619 done
5620 done
5621 IFS=$as_save_IFS
5625 RANLIB=$ac_cv_prog_RANLIB
5626 if test -n "$RANLIB"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5628 $as_echo "$RANLIB" >&6; }
5629 else
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5636 if test -z "$ac_cv_prog_RANLIB"; then
5637 ac_ct_RANLIB=$RANLIB
5638 # Extract the first word of "ranlib", so it can be a program name with args.
5639 set dummy ranlib; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5643 $as_echo_n "(cached) " >&6
5644 else
5645 if test -n "$ac_ct_RANLIB"; then
5646 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5647 else
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH
5651 IFS=$as_save_IFS
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_ac_ct_RANLIB="ranlib"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 break 2
5659 done
5660 done
5661 IFS=$as_save_IFS
5665 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5666 if test -n "$ac_ct_RANLIB"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5668 $as_echo "$ac_ct_RANLIB" >&6; }
5669 else
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5674 if test "x$ac_ct_RANLIB" = x; then
5675 RANLIB=":"
5676 else
5677 case $cross_compiling:$ac_tool_warned in
5678 yes:)
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5681 ac_tool_warned=yes ;;
5682 esac
5683 RANLIB=$ac_ct_RANLIB
5685 else
5686 RANLIB="$ac_cv_prog_RANLIB"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5690 $as_echo_n "checking whether ln -s works... " >&6; }
5691 LN_S=$as_ln_s
5692 if test "$LN_S" = "ln -s"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5694 $as_echo "yes" >&6; }
5695 else
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5697 $as_echo "no, using $LN_S" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5701 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5702 if ${ac_cv_path_GREP+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 if test -z "$GREP"; then
5706 ac_path_GREP_found=false
5707 # Loop through the user's path and test for each of PROGNAME-LIST
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5711 IFS=$as_save_IFS
5712 test -z "$as_dir" && as_dir=.
5713 for ac_prog in grep ggrep; do
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5716 as_fn_executable_p "$ac_path_GREP" || continue
5717 # Check for GNU ac_path_GREP and select it if it is found.
5718 # Check for GNU $ac_path_GREP
5719 case `"$ac_path_GREP" --version 2>&1` in
5720 *GNU*)
5721 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5723 ac_count=0
5724 $as_echo_n 0123456789 >"conftest.in"
5725 while :
5727 cat "conftest.in" "conftest.in" >"conftest.tmp"
5728 mv "conftest.tmp" "conftest.in"
5729 cp "conftest.in" "conftest.nl"
5730 $as_echo 'GREP' >> "conftest.nl"
5731 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5732 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5733 as_fn_arith $ac_count + 1 && ac_count=$as_val
5734 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5735 # Best one so far, save it but keep looking for a better one
5736 ac_cv_path_GREP="$ac_path_GREP"
5737 ac_path_GREP_max=$ac_count
5739 # 10*(2^10) chars as input seems more than enough
5740 test $ac_count -gt 10 && break
5741 done
5742 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5743 esac
5745 $ac_path_GREP_found && break 3
5746 done
5747 done
5748 done
5749 IFS=$as_save_IFS
5750 if test -z "$ac_cv_path_GREP"; then
5751 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5753 else
5754 ac_cv_path_GREP=$GREP
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5759 $as_echo "$ac_cv_path_GREP" >&6; }
5760 GREP="$ac_cv_path_GREP"
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5764 $as_echo_n "checking for egrep... " >&6; }
5765 if ${ac_cv_path_EGREP+:} false; then :
5766 $as_echo_n "(cached) " >&6
5767 else
5768 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5769 then ac_cv_path_EGREP="$GREP -E"
5770 else
5771 if test -z "$EGREP"; then
5772 ac_path_EGREP_found=false
5773 # Loop through the user's path and test for each of PROGNAME-LIST
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5777 IFS=$as_save_IFS
5778 test -z "$as_dir" && as_dir=.
5779 for ac_prog in egrep; do
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5782 as_fn_executable_p "$ac_path_EGREP" || continue
5783 # Check for GNU ac_path_EGREP and select it if it is found.
5784 # Check for GNU $ac_path_EGREP
5785 case `"$ac_path_EGREP" --version 2>&1` in
5786 *GNU*)
5787 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5789 ac_count=0
5790 $as_echo_n 0123456789 >"conftest.in"
5791 while :
5793 cat "conftest.in" "conftest.in" >"conftest.tmp"
5794 mv "conftest.tmp" "conftest.in"
5795 cp "conftest.in" "conftest.nl"
5796 $as_echo 'EGREP' >> "conftest.nl"
5797 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5798 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5799 as_fn_arith $ac_count + 1 && ac_count=$as_val
5800 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5801 # Best one so far, save it but keep looking for a better one
5802 ac_cv_path_EGREP="$ac_path_EGREP"
5803 ac_path_EGREP_max=$ac_count
5805 # 10*(2^10) chars as input seems more than enough
5806 test $ac_count -gt 10 && break
5807 done
5808 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5809 esac
5811 $ac_path_EGREP_found && break 3
5812 done
5813 done
5814 done
5815 IFS=$as_save_IFS
5816 if test -z "$ac_cv_path_EGREP"; then
5817 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5819 else
5820 ac_cv_path_EGREP=$EGREP
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5826 $as_echo "$ac_cv_path_EGREP" >&6; }
5827 EGREP="$ac_cv_path_EGREP"
5830 # Extract the first word of "ldconfig", so it can be a program name with args.
5831 set dummy ldconfig; ac_word=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5833 $as_echo_n "checking for $ac_word... " >&6; }
5834 if ${ac_cv_path_LDCONFIG+:} false; then :
5835 $as_echo_n "(cached) " >&6
5836 else
5837 case $LDCONFIG in
5838 [\\/]* | ?:[\\/]*)
5839 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 for as_dir in /sbin /usr/sbin $PATH
5845 IFS=$as_save_IFS
5846 test -z "$as_dir" && as_dir=.
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 break 2
5853 done
5854 done
5855 IFS=$as_save_IFS
5857 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5859 esac
5861 LDCONFIG=$ac_cv_path_LDCONFIG
5862 if test -n "$LDCONFIG"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5864 $as_echo "$LDCONFIG" >&6; }
5865 else
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5871 for ac_prog in msgfmt
5873 # Extract the first word of "$ac_prog", so it can be a program name with args.
5874 set dummy $ac_prog; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if ${ac_cv_prog_MSGFMT+:} false; then :
5878 $as_echo_n "(cached) " >&6
5879 else
5880 if test -n "$MSGFMT"; then
5881 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5882 else
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 for as_dir in $PATH
5886 IFS=$as_save_IFS
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_MSGFMT="$ac_prog"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 break 2
5894 done
5895 done
5896 IFS=$as_save_IFS
5900 MSGFMT=$ac_cv_prog_MSGFMT
5901 if test -n "$MSGFMT"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5903 $as_echo "$MSGFMT" >&6; }
5904 else
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5910 test -n "$MSGFMT" && break
5911 done
5912 test -n "$MSGFMT" || MSGFMT="false"
5914 if ${ac_tool_prefix+:} false; then :
5915 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5916 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5920 $as_echo_n "(cached) " >&6
5921 else
5922 if test -n "$PKG_CONFIG"; then
5923 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5924 else
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5926 for as_dir in $PATH
5928 IFS=$as_save_IFS
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 break 2
5936 done
5937 done
5938 IFS=$as_save_IFS
5942 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5943 if test -n "$PKG_CONFIG"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5945 $as_echo "$PKG_CONFIG" >&6; }
5946 else
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5953 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5954 if test "x$cross_compiling" = xyes; then :
5956 else
5957 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5958 # Extract the first word of "pkg-config", so it can be a program name with args.
5959 set dummy pkg-config; ac_word=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5965 if test -n "$PKG_CONFIG"; then
5966 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5967 else
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH
5971 IFS=$as_save_IFS
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_PKG_CONFIG="pkg-config"
5976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 break 2
5979 done
5980 done
5981 IFS=$as_save_IFS
5985 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5986 if test -n "$PKG_CONFIG"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5988 $as_echo "$PKG_CONFIG" >&6; }
5989 else
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5996 else
5997 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6000 if test "x$enable_maintainer_mode" != "xyes"
6001 then
6002 FONTFORGE=""
6003 RSVG=""
6004 CONVERT=""
6005 ICOTOOL=""
6006 else
6007 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6008 for ac_prog in fontforge
6010 # Extract the first word of "$ac_prog", so it can be a program name with args.
6011 set dummy $ac_prog; ac_word=$2
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 $as_echo_n "checking for $ac_word... " >&6; }
6014 if ${ac_cv_prog_FONTFORGE+:} false; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 if test -n "$FONTFORGE"; then
6018 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_FONTFORGE="$ac_prog"
6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 break 2
6031 done
6032 done
6033 IFS=$as_save_IFS
6037 FONTFORGE=$ac_cv_prog_FONTFORGE
6038 if test -n "$FONTFORGE"; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6040 $as_echo "$FONTFORGE" >&6; }
6041 else
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6047 test -n "$FONTFORGE" && break
6048 done
6049 test -n "$FONTFORGE" || FONTFORGE="false"
6051 for ac_prog in rsvg-convert rsvg
6053 # Extract the first word of "$ac_prog", so it can be a program name with args.
6054 set dummy $ac_prog; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_RSVG+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 if test -n "$RSVG"; then
6061 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6066 IFS=$as_save_IFS
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_RSVG="$ac_prog"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 break 2
6074 done
6075 done
6076 IFS=$as_save_IFS
6080 RSVG=$ac_cv_prog_RSVG
6081 if test -n "$RSVG"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6083 $as_echo "$RSVG" >&6; }
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6090 test -n "$RSVG" && break
6091 done
6092 test -n "$RSVG" || RSVG="false"
6094 for ac_prog in convert
6096 # Extract the first word of "$ac_prog", so it can be a program name with args.
6097 set dummy $ac_prog; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_CONVERT+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$CONVERT"; then
6104 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_CONVERT="$ac_prog"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 CONVERT=$ac_cv_prog_CONVERT
6124 if test -n "$CONVERT"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6126 $as_echo "$CONVERT" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6133 test -n "$CONVERT" && break
6134 done
6135 test -n "$CONVERT" || CONVERT="false"
6137 for ac_prog in icotool
6139 # Extract the first word of "$ac_prog", so it can be a program name with args.
6140 set dummy $ac_prog; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if ${ac_cv_prog_ICOTOOL+:} false; then :
6144 $as_echo_n "(cached) " >&6
6145 else
6146 if test -n "$ICOTOOL"; then
6147 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6148 else
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 for as_dir in $PATH
6152 IFS=$as_save_IFS
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156 ac_cv_prog_ICOTOOL="$ac_prog"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158 break 2
6160 done
6161 done
6162 IFS=$as_save_IFS
6166 ICOTOOL=$ac_cv_prog_ICOTOOL
6167 if test -n "$ICOTOOL"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6169 $as_echo "$ICOTOOL" >&6; }
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6176 test -n "$ICOTOOL" && break
6177 done
6178 test -n "$ICOTOOL" || ICOTOOL="false"
6180 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6181 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6183 if test "$CONVERT" = false
6184 then
6185 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6186 else
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6188 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6189 convert_version=`convert --version | head -n1`
6190 if test "x$convert_version" != "x"
6191 then
6192 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6193 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6194 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6195 then
6196 CONVERT=false
6199 if test "$CONVERT" = false
6200 then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6202 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6203 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6204 else
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6206 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6210 if test "$ICOTOOL" = false
6211 then
6212 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6215 $as_echo_n "checking for recent enough icotool... " >&6; }
6216 icotool_version=`icotool --version | head -n1`
6217 if test "x$icotool_version" != "x"
6218 then
6219 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6220 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6221 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6222 then
6223 ICOTOOL=false
6224 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6227 if test "$ICOTOOL" = false
6228 then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6230 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6231 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6232 else
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6234 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6238 with_gettext=yes
6239 with_gettextpo=yes
6240 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6243 test "x$with_gettext" != xno || MSGFMT=false
6244 if test "$MSGFMT" != "false"
6245 then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6247 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6248 cat >conftest.po <<EOF
6249 # comment
6250 msgctxt "ctxt"
6251 msgid "id"
6252 msgstr "str"
6254 if $MSGFMT -o /dev/null conftest.po 2>&5
6255 then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6257 $as_echo "yes" >&6; }
6258 else
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6261 MSGFMT=false
6264 if test "$MSGFMT" = false; then :
6265 case "x$with_gettext" in
6266 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6267 xno) ;;
6268 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6269 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6270 esac
6271 enable_po=${enable_po:-no}
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6276 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6277 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 ac_check_lib_save_LIBS=$LIBS
6281 LIBS="-li386 $LIBS"
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6285 /* Override any GCC internal prototype to avoid an error.
6286 Use char because int might match the return type of a GCC
6287 builtin and then its argument prototype would still apply. */
6288 #ifdef __cplusplus
6289 extern "C"
6290 #endif
6291 char i386_set_ldt ();
6293 main ()
6295 return i386_set_ldt ();
6297 return 0;
6299 _ACEOF
6300 if ac_fn_c_try_link "$LINENO"; then :
6301 ac_cv_lib_i386_i386_set_ldt=yes
6302 else
6303 ac_cv_lib_i386_i386_set_ldt=no
6305 rm -f core conftest.err conftest.$ac_objext \
6306 conftest$ac_exeext conftest.$ac_ext
6307 LIBS=$ac_check_lib_save_LIBS
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6310 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6311 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6312 cat >>confdefs.h <<_ACEOF
6313 #define HAVE_LIBI386 1
6314 _ACEOF
6316 LIBS="-li386 $LIBS"
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6321 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6322 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6323 $as_echo_n "(cached) " >&6
6324 else
6325 ac_check_lib_save_LIBS=$LIBS
6326 LIBS="-lossaudio $LIBS"
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6330 /* Override any GCC internal prototype to avoid an error.
6331 Use char because int might match the return type of a GCC
6332 builtin and then its argument prototype would still apply. */
6333 #ifdef __cplusplus
6334 extern "C"
6335 #endif
6336 char _oss_ioctl ();
6338 main ()
6340 return _oss_ioctl ();
6342 return 0;
6344 _ACEOF
6345 if ac_fn_c_try_link "$LINENO"; then :
6346 ac_cv_lib_ossaudio__oss_ioctl=yes
6347 else
6348 ac_cv_lib_ossaudio__oss_ioctl=no
6350 rm -f core conftest.err conftest.$ac_objext \
6351 conftest$ac_exeext conftest.$ac_ext
6352 LIBS=$ac_check_lib_save_LIBS
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6355 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6356 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6357 cat >>confdefs.h <<_ACEOF
6358 #define HAVE_LIBOSSAUDIO 1
6359 _ACEOF
6361 LIBS="-lossaudio $LIBS"
6366 OPENGL_LIBS=""
6370 # Check whether --enable-largefile was given.
6371 if test "${enable_largefile+set}" = set; then :
6372 enableval=$enable_largefile;
6375 if test "$enable_largefile" != no; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6378 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6379 if ${ac_cv_sys_largefile_CC+:} false; then :
6380 $as_echo_n "(cached) " >&6
6381 else
6382 ac_cv_sys_largefile_CC=no
6383 if test "$GCC" != yes; then
6384 ac_save_CC=$CC
6385 while :; do
6386 # IRIX 6.2 and later do not support large files by default,
6387 # so use the C compiler's -n32 option if that helps.
6388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6390 #include <sys/types.h>
6391 /* Check that off_t can represent 2**63 - 1 correctly.
6392 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6393 since some C++ compilers masquerading as C compilers
6394 incorrectly reject 9223372036854775807. */
6395 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6396 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6397 && LARGE_OFF_T % 2147483647 == 1)
6398 ? 1 : -1];
6400 main ()
6404 return 0;
6406 _ACEOF
6407 if ac_fn_c_try_compile "$LINENO"; then :
6408 break
6410 rm -f core conftest.err conftest.$ac_objext
6411 CC="$CC -n32"
6412 if ac_fn_c_try_compile "$LINENO"; then :
6413 ac_cv_sys_largefile_CC=' -n32'; break
6415 rm -f core conftest.err conftest.$ac_objext
6416 break
6417 done
6418 CC=$ac_save_CC
6419 rm -f conftest.$ac_ext
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6423 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6424 if test "$ac_cv_sys_largefile_CC" != no; then
6425 CC=$CC$ac_cv_sys_largefile_CC
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6429 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6430 if ${ac_cv_sys_file_offset_bits+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 while :; do
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6436 #include <sys/types.h>
6437 /* Check that off_t can represent 2**63 - 1 correctly.
6438 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6439 since some C++ compilers masquerading as C compilers
6440 incorrectly reject 9223372036854775807. */
6441 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6442 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6443 && LARGE_OFF_T % 2147483647 == 1)
6444 ? 1 : -1];
6446 main ()
6450 return 0;
6452 _ACEOF
6453 if ac_fn_c_try_compile "$LINENO"; then :
6454 ac_cv_sys_file_offset_bits=no; break
6456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6459 #define _FILE_OFFSET_BITS 64
6460 #include <sys/types.h>
6461 /* Check that off_t can represent 2**63 - 1 correctly.
6462 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6463 since some C++ compilers masquerading as C compilers
6464 incorrectly reject 9223372036854775807. */
6465 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6466 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6467 && LARGE_OFF_T % 2147483647 == 1)
6468 ? 1 : -1];
6470 main ()
6474 return 0;
6476 _ACEOF
6477 if ac_fn_c_try_compile "$LINENO"; then :
6478 ac_cv_sys_file_offset_bits=64; break
6480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6481 ac_cv_sys_file_offset_bits=unknown
6482 break
6483 done
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6486 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6487 case $ac_cv_sys_file_offset_bits in #(
6488 no | unknown) ;;
6490 cat >>confdefs.h <<_ACEOF
6491 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6492 _ACEOF
6494 esac
6495 rm -rf conftest*
6496 if test $ac_cv_sys_file_offset_bits = unknown; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6498 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6499 if ${ac_cv_sys_large_files+:} false; then :
6500 $as_echo_n "(cached) " >&6
6501 else
6502 while :; do
6503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6504 /* end confdefs.h. */
6505 #include <sys/types.h>
6506 /* Check that off_t can represent 2**63 - 1 correctly.
6507 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6508 since some C++ compilers masquerading as C compilers
6509 incorrectly reject 9223372036854775807. */
6510 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6511 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6512 && LARGE_OFF_T % 2147483647 == 1)
6513 ? 1 : -1];
6515 main ()
6519 return 0;
6521 _ACEOF
6522 if ac_fn_c_try_compile "$LINENO"; then :
6523 ac_cv_sys_large_files=no; break
6525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6527 /* end confdefs.h. */
6528 #define _LARGE_FILES 1
6529 #include <sys/types.h>
6530 /* Check that off_t can represent 2**63 - 1 correctly.
6531 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6532 since some C++ compilers masquerading as C compilers
6533 incorrectly reject 9223372036854775807. */
6534 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6535 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6536 && LARGE_OFF_T % 2147483647 == 1)
6537 ? 1 : -1];
6539 main ()
6543 return 0;
6545 _ACEOF
6546 if ac_fn_c_try_compile "$LINENO"; then :
6547 ac_cv_sys_large_files=1; break
6549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6550 ac_cv_sys_large_files=unknown
6551 break
6552 done
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6555 $as_echo "$ac_cv_sys_large_files" >&6; }
6556 case $ac_cv_sys_large_files in #(
6557 no | unknown) ;;
6559 cat >>confdefs.h <<_ACEOF
6560 #define _LARGE_FILES $ac_cv_sys_large_files
6561 _ACEOF
6563 esac
6564 rm -rf conftest*
6571 ac_ext=c
6572 ac_cpp='$CPP $CPPFLAGS'
6573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6577 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6578 # On Suns, sometimes $CPP names a directory.
6579 if test -n "$CPP" && test -d "$CPP"; then
6580 CPP=
6582 if test -z "$CPP"; then
6583 if ${ac_cv_prog_CPP+:} false; then :
6584 $as_echo_n "(cached) " >&6
6585 else
6586 # Double quotes because CPP needs to be expanded
6587 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6589 ac_preproc_ok=false
6590 for ac_c_preproc_warn_flag in '' yes
6592 # Use a header file that comes with gcc, so configuring glibc
6593 # with a fresh cross-compiler works.
6594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6595 # <limits.h> exists even on freestanding compilers.
6596 # On the NeXT, cc -E runs the code through the compiler's parser,
6597 # not just through cpp. "Syntax error" is here to catch this case.
6598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6599 /* end confdefs.h. */
6600 #ifdef __STDC__
6601 # include <limits.h>
6602 #else
6603 # include <assert.h>
6604 #endif
6605 Syntax error
6606 _ACEOF
6607 if ac_fn_c_try_cpp "$LINENO"; then :
6609 else
6610 # Broken: fails on valid input.
6611 continue
6613 rm -f conftest.err conftest.i conftest.$ac_ext
6615 # OK, works on sane cases. Now check whether nonexistent headers
6616 # can be detected and how.
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #include <ac_nonexistent.h>
6620 _ACEOF
6621 if ac_fn_c_try_cpp "$LINENO"; then :
6622 # Broken: success on invalid input.
6623 continue
6624 else
6625 # Passes both tests.
6626 ac_preproc_ok=:
6627 break
6629 rm -f conftest.err conftest.i conftest.$ac_ext
6631 done
6632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6633 rm -f conftest.i conftest.err conftest.$ac_ext
6634 if $ac_preproc_ok; then :
6635 break
6638 done
6639 ac_cv_prog_CPP=$CPP
6642 CPP=$ac_cv_prog_CPP
6643 else
6644 ac_cv_prog_CPP=$CPP
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6647 $as_echo "$CPP" >&6; }
6648 ac_preproc_ok=false
6649 for ac_c_preproc_warn_flag in '' yes
6651 # Use a header file that comes with gcc, so configuring glibc
6652 # with a fresh cross-compiler works.
6653 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6654 # <limits.h> exists even on freestanding compilers.
6655 # On the NeXT, cc -E runs the code through the compiler's parser,
6656 # not just through cpp. "Syntax error" is here to catch this case.
6657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6658 /* end confdefs.h. */
6659 #ifdef __STDC__
6660 # include <limits.h>
6661 #else
6662 # include <assert.h>
6663 #endif
6664 Syntax error
6665 _ACEOF
6666 if ac_fn_c_try_cpp "$LINENO"; then :
6668 else
6669 # Broken: fails on valid input.
6670 continue
6672 rm -f conftest.err conftest.i conftest.$ac_ext
6674 # OK, works on sane cases. Now check whether nonexistent headers
6675 # can be detected and how.
6676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h. */
6678 #include <ac_nonexistent.h>
6679 _ACEOF
6680 if ac_fn_c_try_cpp "$LINENO"; then :
6681 # Broken: success on invalid input.
6682 continue
6683 else
6684 # Passes both tests.
6685 ac_preproc_ok=:
6686 break
6688 rm -f conftest.err conftest.i conftest.$ac_ext
6690 done
6691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6692 rm -f conftest.i conftest.err conftest.$ac_ext
6693 if $ac_preproc_ok; then :
6695 else
6696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6698 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6699 See \`config.log' for more details" "$LINENO" 5; }
6702 ac_ext=c
6703 ac_cpp='$CPP $CPPFLAGS'
6704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6710 $as_echo_n "checking for ANSI C header files... " >&6; }
6711 if ${ac_cv_header_stdc+:} false; then :
6712 $as_echo_n "(cached) " >&6
6713 else
6714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6716 #include <stdlib.h>
6717 #include <stdarg.h>
6718 #include <string.h>
6719 #include <float.h>
6722 main ()
6726 return 0;
6728 _ACEOF
6729 if ac_fn_c_try_compile "$LINENO"; then :
6730 ac_cv_header_stdc=yes
6731 else
6732 ac_cv_header_stdc=no
6734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6736 if test $ac_cv_header_stdc = yes; then
6737 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6740 #include <string.h>
6742 _ACEOF
6743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6744 $EGREP "memchr" >/dev/null 2>&1; then :
6746 else
6747 ac_cv_header_stdc=no
6749 rm -f conftest*
6753 if test $ac_cv_header_stdc = yes; then
6754 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6756 /* end confdefs.h. */
6757 #include <stdlib.h>
6759 _ACEOF
6760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6761 $EGREP "free" >/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 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6772 if test "$cross_compiling" = yes; then :
6774 else
6775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6776 /* end confdefs.h. */
6777 #include <ctype.h>
6778 #include <stdlib.h>
6779 #if ((' ' & 0x0FF) == 0x020)
6780 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6781 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6782 #else
6783 # define ISLOWER(c) \
6784 (('a' <= (c) && (c) <= 'i') \
6785 || ('j' <= (c) && (c) <= 'r') \
6786 || ('s' <= (c) && (c) <= 'z'))
6787 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6788 #endif
6790 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6792 main ()
6794 int i;
6795 for (i = 0; i < 256; i++)
6796 if (XOR (islower (i), ISLOWER (i))
6797 || toupper (i) != TOUPPER (i))
6798 return 2;
6799 return 0;
6801 _ACEOF
6802 if ac_fn_c_try_run "$LINENO"; then :
6804 else
6805 ac_cv_header_stdc=no
6807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6808 conftest.$ac_objext conftest.beam conftest.$ac_ext
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6814 $as_echo "$ac_cv_header_stdc" >&6; }
6815 if test $ac_cv_header_stdc = yes; then
6817 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6821 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6822 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6823 inttypes.h stdint.h unistd.h
6824 do :
6825 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6826 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6828 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6829 cat >>confdefs.h <<_ACEOF
6830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6831 _ACEOF
6835 done
6838 for ac_header in \
6839 AL/al.h \
6840 ApplicationServices/ApplicationServices.h \
6841 AudioToolbox/AudioConverter.h \
6842 AudioUnit/AudioUnit.h \
6843 AudioUnit/AudioComponent.h \
6844 CL/cl.h \
6845 Carbon/Carbon.h \
6846 CommonCrypto/CommonDigest.h \
6847 CoreAudio/CoreAudio.h \
6848 CoreServices/CoreServices.h \
6849 DiskArbitration/DiskArbitration.h \
6850 EGL/egl.h \
6851 IOKit/IOKitLib.h \
6852 IOKit/hid/IOHIDLib.h \
6853 OpenAL/al.h \
6854 OpenCL/opencl.h \
6855 QuickTime/ImageCompression.h \
6856 Security/Security.h \
6857 alias.h \
6858 alsa/asoundlib.h \
6859 arpa/inet.h \
6860 arpa/nameser.h \
6861 asm/types.h \
6862 asm/user.h \
6863 curses.h \
6864 direct.h \
6865 dirent.h \
6866 dlfcn.h \
6867 elf.h \
6868 float.h \
6869 fnmatch.h \
6870 getopt.h \
6871 gettext-po.h \
6872 grp.h \
6873 gsm.h \
6874 gsm/gsm.h \
6875 ieeefp.h \
6876 inet/mib2.h \
6877 io.h \
6878 kstat.h \
6879 libproc.h \
6880 link.h \
6881 linux/cdrom.h \
6882 linux/compiler.h \
6883 linux/filter.h \
6884 linux/hdreg.h \
6885 linux/hidraw.h \
6886 linux/input.h \
6887 linux/ioctl.h \
6888 linux/joystick.h \
6889 linux/major.h \
6890 linux/param.h \
6891 linux/serial.h \
6892 linux/types.h \
6893 linux/ucdrom.h \
6894 lwp.h \
6895 mach-o/nlist.h \
6896 mach-o/loader.h \
6897 mach/mach.h \
6898 mach/machine.h \
6899 machine/cpu.h \
6900 machine/limits.h \
6901 machine/sysarch.h \
6902 mntent.h \
6903 ncurses.h \
6904 netdb.h \
6905 netinet/in.h \
6906 netinet/in_systm.h \
6907 netinet/tcp.h \
6908 netinet/tcp_fsm.h \
6909 pcap/pcap.h \
6910 poll.h \
6911 port.h \
6912 process.h \
6913 pthread.h \
6914 pwd.h \
6915 sched.h \
6916 scsi/scsi.h \
6917 scsi/scsi_ioctl.h \
6918 scsi/sg.h \
6919 stdbool.h \
6920 stdint.h \
6921 stropts.h \
6922 sys/asoundlib.h \
6923 sys/attr.h \
6924 sys/auxv.h \
6925 sys/cdio.h \
6926 sys/elf32.h \
6927 sys/epoll.h \
6928 sys/event.h \
6929 sys/exec_elf.h \
6930 sys/filio.h \
6931 sys/inotify.h \
6932 sys/ioctl.h \
6933 sys/ipc.h \
6934 sys/limits.h \
6935 sys/link.h \
6936 sys/mman.h \
6937 sys/modem.h \
6938 sys/msg.h \
6939 sys/mtio.h \
6940 sys/param.h \
6941 sys/poll.h \
6942 sys/prctl.h \
6943 sys/protosw.h \
6944 sys/ptrace.h \
6945 sys/queue.h \
6946 sys/resource.h \
6947 sys/scsiio.h \
6948 sys/shm.h \
6949 sys/signal.h \
6950 sys/socket.h \
6951 sys/socketvar.h \
6952 sys/sockio.h \
6953 sys/statvfs.h \
6954 sys/strtio.h \
6955 sys/syscall.h \
6956 sys/sysinfo.h \
6957 sys/tihdr.h \
6958 sys/time.h \
6959 sys/timeout.h \
6960 sys/times.h \
6961 sys/uio.h \
6962 sys/user.h \
6963 sys/utsname.h \
6964 sys/vm86.h \
6965 sys/vnode.h \
6966 sys/wait.h \
6967 syscall.h \
6968 termios.h \
6969 unistd.h \
6970 utime.h \
6971 valgrind/memcheck.h \
6972 valgrind/valgrind.h \
6973 zlib.h
6975 do :
6976 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6977 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6978 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6979 cat >>confdefs.h <<_ACEOF
6980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6981 _ACEOF
6985 done
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6988 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6989 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6990 $as_echo_n "(cached) " >&6
6991 else
6992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6993 /* end confdefs.h. */
6994 #include <sys/types.h>
6996 main ()
6998 return makedev(0, 0);
7000 return 0;
7002 _ACEOF
7003 if ac_fn_c_try_link "$LINENO"; then :
7004 ac_cv_header_sys_types_h_makedev=yes
7005 else
7006 ac_cv_header_sys_types_h_makedev=no
7008 rm -f core conftest.err conftest.$ac_objext \
7009 conftest$ac_exeext conftest.$ac_ext
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7013 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7015 if test $ac_cv_header_sys_types_h_makedev = no; then
7016 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7017 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7019 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7025 if test $ac_cv_header_sys_mkdev_h = no; then
7026 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7027 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7029 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7038 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7039 if ${ac_cv_header_stat_broken+:} false; then :
7040 $as_echo_n "(cached) " >&6
7041 else
7042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7043 /* end confdefs.h. */
7044 #include <sys/types.h>
7045 #include <sys/stat.h>
7047 #if defined S_ISBLK && defined S_IFDIR
7048 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7049 #endif
7051 #if defined S_ISBLK && defined S_IFCHR
7052 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7053 #endif
7055 #if defined S_ISLNK && defined S_IFREG
7056 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7057 #endif
7059 #if defined S_ISSOCK && defined S_IFREG
7060 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7061 #endif
7063 _ACEOF
7064 if ac_fn_c_try_compile "$LINENO"; then :
7065 ac_cv_header_stat_broken=no
7066 else
7067 ac_cv_header_stat_broken=yes
7069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7072 $as_echo "$ac_cv_header_stat_broken" >&6; }
7073 if test $ac_cv_header_stat_broken = yes; then
7075 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7081 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7082 do :
7083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7084 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7085 #ifdef HAVE_SYS_PARAM_H
7086 # include <sys/param.h>
7087 #endif
7089 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7090 cat >>confdefs.h <<_ACEOF
7091 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7092 _ACEOF
7096 done
7099 for ac_header in \
7100 netinet/ip.h \
7101 net/if.h \
7102 net/if_arp.h \
7103 net/if_dl.h \
7104 net/if_types.h \
7105 net/route.h \
7106 netinet/if_ether.h \
7107 netinet/if_inarp.h \
7108 netinet/in_pcb.h \
7109 netinet/ip_icmp.h \
7110 netinet/ip_var.h \
7111 netinet/udp.h \
7112 netipx/ipx.h \
7113 sys/un.h \
7115 do :
7116 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7117 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7118 #ifdef HAVE_SYS_SOCKET_H
7119 # include <sys/socket.h>
7120 #endif
7121 #ifdef HAVE_SYS_SOCKETVAR_H
7122 # include <sys/socketvar.h>
7123 #endif
7124 #ifdef HAVE_NET_ROUTE_H
7125 # include <net/route.h>
7126 #endif
7127 #ifdef HAVE_NETINET_IN_H
7128 # include <netinet/in.h>
7129 #endif
7130 #ifdef HAVE_NETINET_IN_SYSTM_H
7131 # include <netinet/in_systm.h>
7132 #endif
7133 #ifdef HAVE_NET_IF_H
7134 # include <net/if.h>
7135 #endif
7136 #ifdef HAVE_NETINET_IP_H
7137 # include <netinet/ip.h>
7138 #endif
7140 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7141 cat >>confdefs.h <<_ACEOF
7142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7143 _ACEOF
7147 done
7150 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7151 do :
7152 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7153 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7154 #ifdef HAVE_ALIAS_H
7155 # include <alias.h>
7156 #endif
7157 #ifdef HAVE_SYS_SOCKET_H
7158 # include <sys/socket.h>
7159 #endif
7160 #ifdef HAVE_SYS_SOCKETVAR_H
7161 # include <sys/socketvar.h>
7162 #endif
7163 #ifdef HAVE_SYS_TIMEOUT_H
7164 # include <sys/timeout.h>
7165 #endif
7166 #ifdef HAVE_NETINET_IN_H
7167 # include <netinet/in.h>
7168 #endif
7169 #ifdef HAVE_NETINET_IN_SYSTM_H
7170 # include <netinet/in_systm.h>
7171 #endif
7172 #ifdef HAVE_NETINET_IP_H
7173 # include <netinet/ip.h>
7174 #endif
7175 #ifdef HAVE_NETINET_IP_VAR_H
7176 # include <netinet/ip_var.h>
7177 #endif
7178 #ifdef HAVE_NETINET_IP_ICMP_H
7179 # include <netinet/ip_icmp.h>
7180 #endif
7181 #ifdef HAVE_NETINET_UDP_H
7182 # include <netinet/udp.h>
7183 #endif
7184 #ifdef HAVE_NETINET_TCP_H
7185 # include <netinet/tcp.h>
7186 #endif
7187 #ifdef HAVE_NETINET_TCP_TIMER_H
7188 #include <netinet/tcp_timer.h>
7189 #endif
7191 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7192 cat >>confdefs.h <<_ACEOF
7193 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7194 _ACEOF
7198 done
7201 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7202 do :
7203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7204 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7205 #ifdef HAVE_ASM_TYPES_H
7206 # include <asm/types.h>
7207 #endif
7208 #ifdef HAVE_SYS_SOCKET_H
7209 # include <sys/socket.h>
7210 #endif
7211 #ifdef HAVE_LINUX_TYPES_H
7212 # include <linux/types.h>
7213 #endif
7215 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7216 cat >>confdefs.h <<_ACEOF
7217 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7218 _ACEOF
7222 done
7225 for ac_header in mach-o/dyld_images.h
7226 do :
7227 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7228 # include <stdbool.h>
7229 #endif
7230 #ifdef HAVE_STDINT_H
7231 # include <stdint.h>
7232 #endif
7234 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7235 cat >>confdefs.h <<_ACEOF
7236 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7237 _ACEOF
7241 done
7244 for ac_header in resolv.h
7245 do :
7246 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7247 #ifdef HAVE_SYS_SOCKET_H
7248 # include <sys/socket.h>
7249 #endif
7250 #ifdef HAVE_NETINET_IN_H
7251 # include <netinet/in.h>
7252 #endif
7253 #ifdef HAVE_ARPA_NAMESER_H
7254 # include <arpa/nameser.h>
7255 #endif
7257 if test "x$ac_cv_header_resolv_h" = xyes; then :
7258 cat >>confdefs.h <<_ACEOF
7259 #define HAVE_RESOLV_H 1
7260 _ACEOF
7264 done
7267 for ac_header in ifaddrs.h
7268 do :
7269 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7271 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7272 cat >>confdefs.h <<_ACEOF
7273 #define HAVE_IFADDRS_H 1
7274 _ACEOF
7278 done
7281 for ac_header in sys/ucontext.h
7282 do :
7283 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7285 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7286 cat >>confdefs.h <<_ACEOF
7287 #define HAVE_SYS_UCONTEXT_H 1
7288 _ACEOF
7292 done
7295 for ac_header in sys/thr.h
7296 do :
7297 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7298 #ifdef HAVE_SYS_UCONTEXT_H
7299 #include <sys/ucontext.h>
7300 #endif
7302 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7303 cat >>confdefs.h <<_ACEOF
7304 #define HAVE_SYS_THR_H 1
7305 _ACEOF
7309 done
7312 for ac_header in pthread_np.h
7313 do :
7314 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7315 #include <pthread.h>
7316 #endif
7318 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7319 cat >>confdefs.h <<_ACEOF
7320 #define HAVE_PTHREAD_NP_H 1
7321 _ACEOF
7325 done
7328 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7329 do :
7330 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7331 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7332 #include <sys/time.h>
7333 #endif
7334 #include <sys/types.h>
7335 #ifdef HAVE_ASM_TYPES_H
7336 #include <asm/types.h>
7337 #endif
7339 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7340 cat >>confdefs.h <<_ACEOF
7341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7342 _ACEOF
7346 done
7349 for ac_header in libprocstat.h
7350 do :
7351 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7352 #include <sys/param.h>
7353 #endif
7354 #ifdef HAVE_SYS_QUEUE_H
7355 #include <sys/queue.h>
7356 #endif
7357 #ifdef HAVE_SYS_SOCKET_H
7358 #include <sys/socket.h>
7359 #endif
7361 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7362 cat >>confdefs.h <<_ACEOF
7363 #define HAVE_LIBPROCSTAT_H 1
7364 _ACEOF
7368 done
7372 dlldir="\${libdir}/wine"
7374 DLLFLAGS="-D_REENTRANT"
7376 LDRPATH_INSTALL=""
7378 LDRPATH_LOCAL=""
7380 LDEXECFLAGS=""
7382 WINELOADER_LDFLAGS=""
7384 LIBEXT="so"
7385 DLLEXT=".so"
7386 IMPLIBEXT="def"
7387 # Extract the first word of "ldd", so it can be a program name with args.
7388 set dummy ldd; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_path_LDD+:} false; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 case $LDD in
7395 [\\/]* | ?:[\\/]*)
7396 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 as_dummy="/sbin:/usr/sbin:$PATH"
7401 for as_dir in $as_dummy
7403 IFS=$as_save_IFS
7404 test -z "$as_dir" && as_dir=.
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7407 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7415 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7417 esac
7419 LDD=$ac_cv_path_LDD
7420 if test -n "$LDD"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7422 $as_echo "$LDD" >&6; }
7423 else
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 $as_echo "no" >&6; }
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}otool; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if ${ac_cv_prog_OTOOL+:} false; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$OTOOL"; then
7438 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 OTOOL=$ac_cv_prog_OTOOL
7458 if test -n "$OTOOL"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7460 $as_echo "$OTOOL" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7468 if test -z "$ac_cv_prog_OTOOL"; then
7469 ac_ct_OTOOL=$OTOOL
7470 # Extract the first word of "otool", so it can be a program name with args.
7471 set dummy otool; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$ac_ct_OTOOL"; then
7478 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_ac_ct_OTOOL="otool"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7491 done
7492 done
7493 IFS=$as_save_IFS
7497 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7498 if test -n "$ac_ct_OTOOL"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7500 $as_echo "$ac_ct_OTOOL" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7506 if test "x$ac_ct_OTOOL" = x; then
7507 OTOOL="otool"
7508 else
7509 case $cross_compiling:$ac_tool_warned in
7510 yes:)
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7513 ac_tool_warned=yes ;;
7514 esac
7515 OTOOL=$ac_ct_OTOOL
7517 else
7518 OTOOL="$ac_cv_prog_OTOOL"
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if ${ac_cv_prog_READELF+:} false; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$READELF"; then
7530 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7539 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7543 done
7544 done
7545 IFS=$as_save_IFS
7549 READELF=$ac_cv_prog_READELF
7550 if test -n "$READELF"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7552 $as_echo "$READELF" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7560 if test -z "$ac_cv_prog_READELF"; then
7561 ac_ct_READELF=$READELF
7562 # Extract the first word of "readelf", so it can be a program name with args.
7563 set dummy readelf; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_READELF"; then
7570 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7579 ac_cv_prog_ac_ct_READELF="readelf"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7583 done
7584 done
7585 IFS=$as_save_IFS
7589 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7590 if test -n "$ac_ct_READELF"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7592 $as_echo "$ac_ct_READELF" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7598 if test "x$ac_ct_READELF" = x; then
7599 READELF="true"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 READELF=$ac_ct_READELF
7609 else
7610 READELF="$ac_cv_prog_READELF"
7613 wine_rules_file=conf$$rules.make
7614 rm -f $wine_rules_file
7615 SUBDIRS=""
7617 DISABLED_SUBDIRS=""
7619 CONFIGURE_TARGETS=""
7621 ALL_TEST_RESOURCES=""
7624 wine_fn_append_file ()
7626 as_fn_append $1 " \\$as_nl $2"
7629 wine_fn_append_rule ()
7631 $as_echo "$1" >>$wine_rules_file
7634 wine_fn_has_flag ()
7636 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7639 wine_fn_all_rules ()
7641 wine_fn_append_file SUBDIRS $ac_dir
7642 wine_fn_append_rule \
7643 "all: $ac_dir
7644 .PHONY: $ac_dir
7645 $ac_dir: dummy
7646 @cd $ac_dir && \$(MAKE)"
7649 wine_fn_install_rules ()
7651 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7653 wine_fn_append_rule \
7654 ".PHONY: $ac_dir/install $ac_dir/uninstall
7655 $ac_dir/install:: $ac_dir
7656 @cd $ac_dir && \$(MAKE) install
7657 $ac_dir/uninstall::
7658 @cd $ac_dir && \$(MAKE) uninstall
7659 install:: $ac_dir/install
7660 __uninstall__: $ac_dir/uninstall"
7662 if wine_fn_has_flag install-lib
7663 then
7664 wine_fn_append_rule \
7665 ".PHONY: $ac_dir/install-lib
7666 $ac_dir/install-lib:: $ac_dir
7667 @cd $ac_dir && \$(MAKE) install-lib
7668 install-lib:: $ac_dir/install-lib"
7671 if wine_fn_has_flag install-dev
7672 then
7673 wine_fn_append_rule \
7674 ".PHONY: $ac_dir/install-dev
7675 $ac_dir/install-dev:: $ac_dir
7676 @cd $ac_dir && \$(MAKE) install-dev
7677 install-dev:: $ac_dir/install-dev"
7681 wine_fn_clean_rules ()
7683 ac_clean=$@
7685 if wine_fn_has_flag clean
7686 then
7687 wine_fn_append_rule \
7688 "$ac_dir/clean: dummy
7689 @cd $ac_dir && \$(MAKE) clean"
7690 else
7691 wine_fn_append_rule \
7692 "$ac_dir/clean: dummy
7693 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7695 wine_fn_append_rule \
7696 "__clean__: $ac_dir/clean
7697 .PHONY: $ac_dir/clean"
7700 wine_fn_disabled_rules ()
7702 ac_clean=$@
7704 wine_fn_append_file SUBDIRS $ac_dir
7705 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7706 wine_fn_append_rule \
7707 "__clean__: $ac_dir/clean
7708 .PHONY: $ac_dir/clean
7709 $ac_dir/clean: dummy
7710 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7713 wine_fn_config_makefile ()
7715 ac_dir=$1
7716 ac_enable=$2
7717 ac_flags=$3
7719 case $ac_dir in
7720 fonts|server) test -z "$with_wine64" || return ;;
7721 esac
7722 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7723 wine_fn_disabled_rules; return
7725 wine_fn_all_rules
7726 wine_fn_install_rules
7727 wine_fn_clean_rules
7730 wine_fn_config_lib ()
7732 ac_name=$1
7733 ac_flags=$2
7734 ac_dir=dlls/$ac_name
7735 ac_deps="include"
7737 if test "x$enable_tools" = xno; then :
7739 else
7740 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7742 wine_fn_all_rules
7743 wine_fn_clean_rules
7745 wine_fn_append_rule \
7746 ".PHONY: $ac_dir/install $ac_dir/uninstall
7747 $ac_dir/install:: $ac_dir
7748 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7749 $ac_dir/uninstall::
7750 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7751 install install-dev:: $ac_dir/install
7752 __uninstall__: $ac_dir/uninstall
7753 __builddeps__: $ac_dir
7754 $ac_dir: $ac_deps"
7757 wine_fn_config_dll ()
7759 ac_name=$1
7760 ac_dir=dlls/$ac_name
7761 ac_enable=$2
7762 ac_flags=$3
7763 ac_implib=${4:-$ac_name}
7764 ac_file=$ac_dir/lib$ac_implib
7765 ac_dll=$ac_name
7766 ac_deps="include"
7767 ac_implibflags=""
7769 if test "x$enable_tools" = xno; then :
7771 else
7772 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7774 case $ac_name in
7775 *.*16) ac_implibflags=" -m16" ;;
7776 *.*) ;;
7777 *) ac_dll=$ac_dll.dll ;;
7778 esac
7780 ac_clean=
7781 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7782 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7784 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7785 if test "$ac_enable" != enable_win16
7786 then
7787 wine_fn_clean_rules $ac_clean
7788 wine_fn_append_file SUBDIRS $ac_dir
7789 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7790 else
7791 wine_fn_disabled_rules $ac_clean
7792 return
7794 else
7795 wine_fn_all_rules
7796 wine_fn_clean_rules $ac_clean
7797 wine_fn_append_rule \
7798 "$ac_dir: __builddeps__
7799 manpages htmlpages sgmlpages xmlpages::
7800 @cd $ac_dir && \$(MAKE) \$@
7801 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7802 install install-lib:: $ac_dir/install-lib
7803 __uninstall__: $ac_dir/uninstall"
7804 if test -n "$DLLEXT"
7805 then
7806 wine_fn_append_rule \
7807 "$ac_dir/install-lib:: $ac_dir
7808 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7809 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7810 $ac_dir/uninstall::
7811 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7812 else
7813 wine_fn_append_rule \
7814 "$ac_dir/install-lib:: $ac_dir
7815 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7816 $ac_dir/uninstall::
7817 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7821 if wine_fn_has_flag staticimplib
7822 then
7823 wine_fn_append_rule \
7824 "__builddeps__: $ac_file.a
7825 $ac_file.a $ac_file.cross.a: $ac_deps
7826 $ac_file.a: dummy
7827 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7828 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7829 $ac_dir/install-dev:: $ac_file.a
7830 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7831 $ac_dir/uninstall::
7832 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7833 install install-dev:: $ac_dir/install-dev
7834 __uninstall__: $ac_dir/uninstall"
7836 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7837 then
7838 wine_fn_append_rule \
7839 "__builddeps__: $ac_file.cross.a
7840 $ac_file.cross.a: dummy
7841 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7844 elif wine_fn_has_flag implib
7845 then
7846 wine_fn_append_rule \
7847 "__builddeps__: $ac_file.$IMPLIBEXT
7848 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7849 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7850 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7851 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7852 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7853 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7854 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7855 $ac_dir/uninstall::
7856 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7857 install install-dev:: $ac_dir/install-dev
7858 __uninstall__: $ac_dir/uninstall"
7859 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7860 then
7861 wine_fn_append_rule \
7862 "__builddeps__: $ac_file.cross.a
7863 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7864 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7869 wine_fn_config_program ()
7871 ac_name=$1
7872 ac_dir=programs/$ac_name
7873 ac_enable=$2
7874 ac_flags=$3
7875 ac_program=$ac_name
7877 case $ac_name in
7878 *.*) ;;
7879 *) ac_program=$ac_program.exe ;;
7880 esac
7882 ac_clean=
7883 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7884 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7886 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7887 wine_fn_disabled_rules $ac_clean; return
7890 wine_fn_all_rules
7891 wine_fn_clean_rules $ac_clean
7892 wine_fn_append_rule "$ac_dir: __builddeps__"
7894 wine_fn_has_flag install || return
7895 wine_fn_append_rule \
7896 ".PHONY: $ac_dir/install $ac_dir/uninstall
7897 install install-lib:: $ac_dir/install
7898 __uninstall__: $ac_dir/uninstall"
7900 if test -n "$DLLEXT"
7901 then
7902 wine_fn_append_rule \
7903 "$ac_dir/install:: $ac_dir
7904 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7905 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7906 $ac_dir/uninstall::
7907 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7909 if test -z "$with_wine64" && wine_fn_has_flag installbin
7910 then
7911 wine_fn_append_rule \
7912 "$ac_dir/install:: __tooldeps__
7913 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7914 $ac_dir/uninstall::
7915 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7917 else
7918 wine_fn_append_rule \
7919 "$ac_dir/install:: $ac_dir
7920 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7921 $ac_dir/uninstall::
7922 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7925 if test -z "$with_wine64" && wine_fn_has_flag manpage
7926 then
7927 wine_fn_append_rule \
7928 "$ac_dir/install:: $ac_dir
7929 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7930 $ac_dir/uninstall::
7931 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7935 wine_fn_config_test ()
7937 ac_dir=$1
7938 ac_name=$2
7939 ac_flags=$3
7941 ac_clean=
7942 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7943 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7945 if test "x$enable_tests" = xno; then :
7946 wine_fn_disabled_rules $ac_clean; return
7949 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7950 wine_fn_all_rules
7951 wine_fn_clean_rules $ac_clean
7953 wine_fn_append_rule \
7954 "$ac_dir: __builddeps__
7955 programs/winetest: $ac_dir
7956 check test: $ac_dir/test
7957 .PHONY: $ac_dir/test
7958 $ac_dir/test: dummy
7959 @cd $ac_dir && \$(MAKE) test
7960 testclean::
7961 \$(RM) $ac_dir/*.ok"
7963 if test -n "$CROSSTARGET"
7964 then
7965 wine_fn_append_rule \
7966 "crosstest: $ac_dir/crosstest
7967 .PHONY: $ac_dir/crosstest
7968 $ac_dir/crosstest: __builddeps__ dummy
7969 @cd $ac_dir && \$(MAKE) crosstest"
7973 wine_fn_config_tool ()
7975 ac_dir=$1
7976 ac_flags=$2
7977 if test "x$enable_tools" = xno; then :
7978 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7981 wine_fn_all_rules
7982 wine_fn_install_rules
7983 wine_fn_clean_rules
7985 wine_fn_append_rule "__tooldeps__: $ac_dir"
7986 wine_fn_append_rule "$ac_dir: libs/port"
7987 case $ac_dir in
7988 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7989 esac
7992 wine_fn_config_symlink ()
7994 ac_linkdir=
7995 if test "x$1" = "x-d"
7996 then
7997 ac_linkdir=$2
7998 shift; shift
8000 ac_links=$@
8001 wine_fn_append_rule \
8002 "$ac_links:
8003 @./config.status \$@"
8004 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8005 test -n "$ac_linkdir" || return
8006 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8009 wine_binary="wine"
8010 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8011 WINELOADER_PROGRAMS="$wine_binary"
8013 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8015 case $host_os in
8016 cygwin*|mingw32*)
8017 if test -n "$ac_tool_prefix"; then
8018 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8019 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8021 $as_echo_n "checking for $ac_word... " >&6; }
8022 if ${ac_cv_prog_DLLTOOL+:} false; then :
8023 $as_echo_n "(cached) " >&6
8024 else
8025 if test -n "$DLLTOOL"; then
8026 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8027 else
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 for as_dir in $PATH
8031 IFS=$as_save_IFS
8032 test -z "$as_dir" && as_dir=.
8033 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8035 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037 break 2
8039 done
8040 done
8041 IFS=$as_save_IFS
8045 DLLTOOL=$ac_cv_prog_DLLTOOL
8046 if test -n "$DLLTOOL"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8048 $as_echo "$DLLTOOL" >&6; }
8049 else
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8051 $as_echo "no" >&6; }
8056 if test -z "$ac_cv_prog_DLLTOOL"; then
8057 ac_ct_DLLTOOL=$DLLTOOL
8058 # Extract the first word of "dlltool", so it can be a program name with args.
8059 set dummy dlltool; ac_word=$2
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8061 $as_echo_n "checking for $ac_word... " >&6; }
8062 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8063 $as_echo_n "(cached) " >&6
8064 else
8065 if test -n "$ac_ct_DLLTOOL"; then
8066 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8067 else
8068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8069 for as_dir in $PATH
8071 IFS=$as_save_IFS
8072 test -z "$as_dir" && as_dir=.
8073 for ac_exec_ext in '' $ac_executable_extensions; do
8074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8075 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8077 break 2
8079 done
8080 done
8081 IFS=$as_save_IFS
8085 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8086 if test -n "$ac_ct_DLLTOOL"; then
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8088 $as_echo "$ac_ct_DLLTOOL" >&6; }
8089 else
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8091 $as_echo "no" >&6; }
8094 if test "x$ac_ct_DLLTOOL" = x; then
8095 DLLTOOL="false"
8096 else
8097 case $cross_compiling:$ac_tool_warned in
8098 yes:)
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8101 ac_tool_warned=yes ;;
8102 esac
8103 DLLTOOL=$ac_ct_DLLTOOL
8105 else
8106 DLLTOOL="$ac_cv_prog_DLLTOOL"
8109 LIBEXT="dll"
8110 DLLEXT=""
8111 IMPLIBEXT="a"
8112 enable_iphlpapi=${enable_iphlpapi:-no}
8113 enable_kernel32=${enable_kernel32:-no}
8114 enable_msvcrt=${enable_msvcrt:-no}
8115 enable_ntdll=${enable_ntdll:-no}
8116 enable_ws2_32=${enable_ws2_32:-no}
8117 enable_loader=${enable_loader:-no}
8118 enable_server=${enable_server:-no}
8119 with_x=${with_x:-no}
8120 with_pthread=${with_pthread:-no}
8122 crtlibs=""
8123 case $host_os in
8124 mingw32*)
8125 crtlibs="-lmsvcrt"
8126 SOCKET_LIBS="-lws2_32"
8128 esac
8130 LIBWINE_SHAREDLIB="libwine.dll"
8132 LIBWINE_IMPORTLIB="libwine.a"
8134 LIBWINE_INSTALL_LIB="libwine.dll"
8136 LIBWINE_INSTALL_DEV="libwine.a"
8138 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8140 LIBWINE_DEPENDS="wine.def"
8144 darwin*|macosx*)
8145 for ac_header in libunwind.h
8146 do :
8147 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8149 cat >>confdefs.h <<_ACEOF
8150 #define HAVE_LIBUNWIND_H 1
8151 _ACEOF
8155 done
8157 LIBEXT="dylib"
8158 DLLFLAGS="$DLLFLAGS -fPIC"
8159 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8160 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8161 COREFOUNDATION_LIBS="-framework CoreFoundation"
8163 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8165 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8167 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8169 CORESERVICES_LIBS="-framework CoreServices"
8171 APPKIT_LIBS="-framework AppKit"
8173 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8175 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8176 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8177 $as_echo_n "(cached) " >&6
8178 else
8179 ac_wine_try_cflags_saved=$CFLAGS
8180 CFLAGS="$CFLAGS -Wl,-no_pie"
8181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 int main(int argc, char **argv) { return 0; }
8184 _ACEOF
8185 if ac_fn_c_try_link "$LINENO"; then :
8186 ac_cv_cflags__Wl__no_pie=yes
8187 else
8188 ac_cv_cflags__Wl__no_pie=no
8190 rm -f core conftest.err conftest.$ac_objext \
8191 conftest$ac_exeext conftest.$ac_ext
8192 CFLAGS=$ac_wine_try_cflags_saved
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8195 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8196 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8197 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8199 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8200 then
8201 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8204 if test "$ac_cv_header_Security_Security_h" = "yes"
8205 then
8206 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8208 ac_save_LIBS="$LIBS"
8209 LIBS="$LIBS $SECURITY_LIBS"
8210 for ac_func in SSLCopyPeerCertificates
8211 do :
8212 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8213 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8214 cat >>confdefs.h <<_ACEOF
8215 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8216 _ACEOF
8219 done
8221 LIBS="$ac_save_LIBS"
8222 with_gnutls=${with_gnutls:-no}
8224 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8225 then
8226 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8227 then
8228 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8230 else
8231 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8234 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8235 ac_save_LIBS="$LIBS"
8236 LIBS="$LIBS $COREAUDIO_LIBS"
8237 for ac_func in AUGraphAddNode
8238 do :
8239 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8240 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8241 cat >>confdefs.h <<_ACEOF
8242 #define HAVE_AUGRAPHADDNODE 1
8243 _ACEOF
8246 done
8248 LIBS="$ac_save_LIBS"
8250 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8251 then
8252 OPENAL_LIBS="-framework OpenAL"
8255 cat >>confdefs.h <<_ACEOF
8256 #define HAVE_OPENAL 1
8257 _ACEOF
8259 ac_cv_lib_openal=yes
8261 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8262 then
8263 OPENCL_LIBS="-framework OpenCL"
8265 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8267 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8268 then
8269 ac_save_LIBS="$LIBS"
8270 LIBS="$LIBS $IOKIT_LIBS"
8271 for ac_func in IOHIDManagerCreate
8272 do :
8273 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8274 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8275 cat >>confdefs.h <<_ACEOF
8276 #define HAVE_IOHIDMANAGERCREATE 1
8277 _ACEOF
8280 done
8282 LIBS="$ac_save_LIBS"
8284 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8285 then
8286 ac_save_LIBS="$LIBS"
8287 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8289 $as_echo_n "checking for the QuickTime framework... " >&6; }
8290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8292 #include <QuickTime/ImageCompression.h>
8294 main ()
8296 CodecManagerVersion(NULL);
8298 return 0;
8300 _ACEOF
8301 if ac_fn_c_try_link "$LINENO"; then :
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8303 $as_echo "yes" >&6; }
8304 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8306 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8307 else
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8310 ac_cv_header_QuickTime_ImageCompression_h=no
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 LIBS="$ac_save_LIBS"
8316 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8317 then
8318 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8320 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8321 then
8322 CARBON_LIBS="-framework Carbon"
8326 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8327 then
8328 ac_save_LIBS="$LIBS"
8329 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8330 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8331 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8332 enable_winemac_drv=${enable_winemac_drv:-yes}
8335 LIBS="$ac_save_LIBS"
8338 if test "x$enable_win16" = "xyes"
8339 then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8341 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8342 if test "$cross_compiling" = yes; then :
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8344 $as_echo "cross-compiling, assuming yes" >&6; }
8345 else
8346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8347 /* end confdefs.h. */
8348 asm(".text\n"
8349 "bad:\tnop;nop\n"
8350 "good:\tnop;nop\n\t"
8351 ".globl _testfunc\n"
8352 "_testfunc:\tcallw good");
8353 extern void testfunc();
8355 main ()
8357 unsigned short *p = (unsigned short *)testfunc;
8358 return p[0] != 0xe866 || p[1] != 0xfffa
8360 return 0;
8362 _ACEOF
8363 if ac_fn_c_try_run "$LINENO"; then :
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8365 $as_echo "yes" >&6; }
8366 else
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 $as_echo "no" >&6; }
8369 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
8371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8372 conftest.$ac_objext conftest.beam conftest.$ac_ext
8377 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8379 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8381 LIBWINE_INSTALL_DEV="libwine.dylib"
8383 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8385 WINELOADER_DEPENDS="wine_info.plist"
8389 linux-android*)
8390 DLLFLAGS="$DLLFLAGS -fPIC"
8391 LDEXECFLAGS="-Wl,-pie"
8392 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8394 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8395 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8396 $as_echo_n "(cached) " >&6
8397 else
8398 ac_wine_try_cflags_saved=$CFLAGS
8399 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8402 int main(int argc, char **argv) { return 0; }
8403 _ACEOF
8404 if ac_fn_c_try_link "$LINENO"; then :
8405 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8406 else
8407 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8409 rm -f core conftest.err conftest.$ac_objext \
8410 conftest$ac_exeext conftest.$ac_ext
8411 CFLAGS=$ac_wine_try_cflags_saved
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8414 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8415 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8416 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8418 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8420 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8421 if eval \${$as_ac_var+:} false; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 ac_wine_try_cflags_saved=$CFLAGS
8425 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 int main(int argc, char **argv) { return 0; }
8429 _ACEOF
8430 if ac_fn_c_try_link "$LINENO"; then :
8431 eval "$as_ac_var=yes"
8432 else
8433 eval "$as_ac_var=no"
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 CFLAGS=$ac_wine_try_cflags_saved
8439 eval ac_res=\$$as_ac_var
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8441 $as_echo "$ac_res" >&6; }
8442 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8443 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8444 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8445 else
8446 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8448 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8449 if eval \${$as_ac_var+:} false; then :
8450 $as_echo_n "(cached) " >&6
8451 else
8452 ac_wine_try_cflags_saved=$CFLAGS
8453 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8456 int main(int argc, char **argv) { return 0; }
8457 _ACEOF
8458 if ac_fn_c_try_link "$LINENO"; then :
8459 eval "$as_ac_var=yes"
8460 else
8461 eval "$as_ac_var=no"
8463 rm -f core conftest.err conftest.$ac_objext \
8464 conftest$ac_exeext conftest.$ac_ext
8465 CFLAGS=$ac_wine_try_cflags_saved
8467 eval ac_res=\$$as_ac_var
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8469 $as_echo "$ac_res" >&6; }
8470 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8471 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8472 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8476 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8477 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8478 $as_echo_n "(cached) " >&6
8479 else
8480 ac_wine_try_cflags_saved=$CFLAGS
8481 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8483 /* end confdefs.h. */
8484 int main(int argc, char **argv) { return 0; }
8485 _ACEOF
8486 if ac_fn_c_try_link "$LINENO"; then :
8487 ac_cv_cflags__Wl___enable_new_dtags=yes
8488 else
8489 ac_cv_cflags__Wl___enable_new_dtags=no
8491 rm -f core conftest.err conftest.$ac_objext \
8492 conftest$ac_exeext conftest.$ac_ext
8493 CFLAGS=$ac_wine_try_cflags_saved
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8496 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8497 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8498 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8501 LIBWINE_SHAREDLIB="libwine.so"
8503 LIBWINE_INSTALL_LIB="libwine.so"
8505 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8509 $as_echo_n "checking for -lEGL... " >&6; }
8510 if ${ac_cv_lib_soname_EGL+:} false; then :
8511 $as_echo_n "(cached) " >&6
8512 else
8513 ac_check_soname_save_LIBS=$LIBS
8514 LIBS="-lEGL $LIBS"
8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8518 /* Override any GCC internal prototype to avoid an error.
8519 Use char because int might match the return type of a GCC
8520 builtin and then its argument prototype would still apply. */
8521 #ifdef __cplusplus
8522 extern "C"
8523 #endif
8524 char eglGetProcAddress ();
8526 main ()
8528 return eglGetProcAddress ();
8530 return 0;
8532 _ACEOF
8533 if ac_fn_c_try_link "$LINENO"; then :
8534 case "$LIBEXT" in
8535 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8536 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'` ;;
8537 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8538 if ${ac_cv_lib_soname_EGL:+false} :; then :
8539 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8540 fi ;;
8541 esac
8543 rm -f core conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 LIBS=$ac_check_soname_save_LIBS
8547 if ${ac_cv_lib_soname_EGL:+false} :; then :
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8549 $as_echo "not found" >&6; }
8551 else
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8553 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8555 cat >>confdefs.h <<_ACEOF
8556 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8557 _ACEOF
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8562 $as_echo_n "checking for -lGLESv2... " >&6; }
8563 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8564 $as_echo_n "(cached) " >&6
8565 else
8566 ac_check_soname_save_LIBS=$LIBS
8567 LIBS="-lGLESv2 $LIBS"
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8571 /* Override any GCC internal prototype to avoid an error.
8572 Use char because int might match the return type of a GCC
8573 builtin and then its argument prototype would still apply. */
8574 #ifdef __cplusplus
8575 extern "C"
8576 #endif
8577 char glFlush ();
8579 main ()
8581 return glFlush ();
8583 return 0;
8585 _ACEOF
8586 if ac_fn_c_try_link "$LINENO"; then :
8587 case "$LIBEXT" in
8588 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8589 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'` ;;
8590 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8591 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8592 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8593 fi ;;
8594 esac
8596 rm -f core conftest.err conftest.$ac_objext \
8597 conftest$ac_exeext conftest.$ac_ext
8598 LIBS=$ac_check_soname_save_LIBS
8600 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8602 $as_echo "not found" >&6; }
8604 else
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8606 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8608 cat >>confdefs.h <<_ACEOF
8609 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8610 _ACEOF
8615 if test "x$exec_prefix" = xNONE
8616 then
8617 case $host_cpu in
8618 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8619 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8620 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8621 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8622 esac
8627 DLLFLAGS="$DLLFLAGS -fPIC"
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8629 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8630 if ${ac_cv_c_dll_gnuelf+:} false; then :
8631 $as_echo_n "(cached) " >&6
8632 else
8633 ac_wine_try_cflags_saved=$CFLAGS
8634 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8637 void myfunc() {}
8638 _ACEOF
8639 if ac_fn_c_try_link "$LINENO"; then :
8640 ac_cv_c_dll_gnuelf="yes"
8641 else
8642 ac_cv_c_dll_gnuelf="no"
8644 rm -f core conftest.err conftest.$ac_objext \
8645 conftest$ac_exeext conftest.$ac_ext
8646 CFLAGS=$ac_wine_try_cflags_saved
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8649 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8650 if test "$ac_cv_c_dll_gnuelf" = "yes"
8651 then
8652 LIBWINE_LDFLAGS="-shared"
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8654 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8655 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8656 $as_echo_n "(cached) " >&6
8657 else
8658 ac_wine_try_cflags_saved=$CFLAGS
8659 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8662 int main(int argc, char **argv) { return 0; }
8663 _ACEOF
8664 if ac_fn_c_try_link "$LINENO"; then :
8665 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8666 else
8667 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8669 rm -f core conftest.err conftest.$ac_objext \
8670 conftest$ac_exeext conftest.$ac_ext
8671 CFLAGS=$ac_wine_try_cflags_saved
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8674 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8675 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8676 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8677 else
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8679 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8680 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8681 $as_echo_n "(cached) " >&6
8682 else
8683 ac_wine_try_cflags_saved=$CFLAGS
8684 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8686 /* end confdefs.h. */
8687 int main(int argc, char **argv) { return 0; }
8688 _ACEOF
8689 if ac_fn_c_try_link "$LINENO"; then :
8690 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8691 else
8692 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8694 rm -f core conftest.err conftest.$ac_objext \
8695 conftest$ac_exeext conftest.$ac_ext
8696 CFLAGS=$ac_wine_try_cflags_saved
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8699 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8700 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8701 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8705 echo '{ global: *; };' >conftest.map
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8707 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8708 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 ac_wine_try_cflags_saved=$CFLAGS
8712 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 int main(int argc, char **argv) { return 0; }
8716 _ACEOF
8717 if ac_fn_c_try_link "$LINENO"; then :
8718 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8719 else
8720 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8722 rm -f core conftest.err conftest.$ac_objext \
8723 conftest$ac_exeext conftest.$ac_ext
8724 CFLAGS=$ac_wine_try_cflags_saved
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8727 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8728 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8729 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8731 rm -f conftest.map
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8734 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8735 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 ac_wine_try_cflags_saved=$CFLAGS
8739 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 int main(int argc, char **argv) { return 0; }
8743 _ACEOF
8744 if ac_fn_c_try_link "$LINENO"; then :
8745 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8746 else
8747 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8749 rm -f core conftest.err conftest.$ac_objext \
8750 conftest$ac_exeext conftest.$ac_ext
8751 CFLAGS=$ac_wine_try_cflags_saved
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8754 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8755 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8756 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8759 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8761 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8762 if eval \${$as_ac_var+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 eval "$as_ac_var=yes"
8773 else
8774 eval "$as_ac_var=no"
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 eval ac_res=\$$as_ac_var
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8782 $as_echo "$ac_res" >&6; }
8783 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8784 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8785 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8786 else
8787 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8789 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8790 if eval \${$as_ac_var+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792 else
8793 ac_wine_try_cflags_saved=$CFLAGS
8794 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 int main(int argc, char **argv) { return 0; }
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 eval "$as_ac_var=yes"
8801 else
8802 eval "$as_ac_var=no"
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 CFLAGS=$ac_wine_try_cflags_saved
8808 eval ac_res=\$$as_ac_var
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8810 $as_echo "$ac_res" >&6; }
8811 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8812 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8813 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8818 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8819 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 ac_wine_try_cflags_saved=$CFLAGS
8823 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8826 int main(int argc, char **argv) { return 0; }
8827 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then :
8829 ac_cv_cflags__Wl___enable_new_dtags=yes
8830 else
8831 ac_cv_cflags__Wl___enable_new_dtags=no
8833 rm -f core conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 CFLAGS=$ac_wine_try_cflags_saved
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8838 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8839 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8840 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8843 case $host_cpu in
8844 *i[3456789]86* | x86_64)
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8846 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8847 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8848 $as_echo_n "(cached) " >&6
8849 else
8850 ac_wine_try_cflags_saved=$CFLAGS
8851 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8853 /* end confdefs.h. */
8854 int main(int argc, char **argv) { return 0; }
8855 _ACEOF
8856 if ac_fn_c_try_link "$LINENO"; then :
8857 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8858 else
8859 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8861 rm -f core conftest.err conftest.$ac_objext \
8862 conftest$ac_exeext conftest.$ac_ext
8863 CFLAGS=$ac_wine_try_cflags_saved
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8866 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8867 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8868 case $host_os in
8869 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8870 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8871 esac
8872 else
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8874 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8875 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8876 $as_echo_n "(cached) " >&6
8877 else
8878 ac_wine_try_cflags_saved=$CFLAGS
8879 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8882 int main(int argc, char **argv) { return 0; }
8883 _ACEOF
8884 if ac_fn_c_try_link "$LINENO"; then :
8885 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8886 else
8887 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8889 rm -f core conftest.err conftest.$ac_objext \
8890 conftest$ac_exeext conftest.$ac_ext
8891 CFLAGS=$ac_wine_try_cflags_saved
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8894 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8895 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8896 case $host_os in
8897 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8898 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8899 esac
8901 # Extract the first word of "prelink", so it can be a program name with args.
8902 set dummy prelink; ac_word=$2
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8904 $as_echo_n "checking for $ac_word... " >&6; }
8905 if ${ac_cv_path_PRELINK+:} false; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 case $PRELINK in
8909 [\\/]* | ?:[\\/]*)
8910 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8914 for as_dir in /sbin /usr/sbin $PATH
8916 IFS=$as_save_IFS
8917 test -z "$as_dir" && as_dir=.
8918 for ac_exec_ext in '' $ac_executable_extensions; do
8919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8920 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8922 break 2
8924 done
8925 done
8926 IFS=$as_save_IFS
8928 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8930 esac
8932 PRELINK=$ac_cv_path_PRELINK
8933 if test -n "$PRELINK"; then
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8935 $as_echo "$PRELINK" >&6; }
8936 else
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8938 $as_echo "no" >&6; }
8942 if test "x$PRELINK" = xfalse
8943 then
8944 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8948 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8949 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8950 $as_echo_n "(cached) " >&6
8951 else
8952 ac_wine_try_cflags_saved=$CFLAGS
8953 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8955 /* end confdefs.h. */
8956 int main(int argc, char **argv) { return 0; }
8957 _ACEOF
8958 if ac_fn_c_try_link "$LINENO"; then :
8959 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8960 else
8961 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8963 rm -f core conftest.err conftest.$ac_objext \
8964 conftest$ac_exeext conftest.$ac_ext
8965 CFLAGS=$ac_wine_try_cflags_saved
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8968 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8969 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8970 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8973 esac
8975 else
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8977 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8978 if ${ac_cv_c_dll_unixware+:} false; then :
8979 $as_echo_n "(cached) " >&6
8980 else
8981 ac_wine_try_cflags_saved=$CFLAGS
8982 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8985 void myfunc() {}
8986 _ACEOF
8987 if ac_fn_c_try_link "$LINENO"; then :
8988 ac_cv_c_dll_unixware="yes"
8989 else
8990 ac_cv_c_dll_unixware="no"
8992 rm -f core conftest.err conftest.$ac_objext \
8993 conftest$ac_exeext conftest.$ac_ext
8994 CFLAGS=$ac_wine_try_cflags_saved
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8997 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8998 if test "$ac_cv_c_dll_unixware" = "yes"
8999 then
9000 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9003 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9005 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9007 LIBWINE_INSTALL_DEV="libwine.so"
9009 LIBWINE_DEPENDS="wine.map"
9012 esac
9014 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9015 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9016 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9017 enable_winemac_drv=${enable_winemac_drv:-no}
9018 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9020 CROSSTARGET=""
9022 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9023 then
9024 case "$host_cpu" in
9025 arm*)
9026 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9027 i[3456789]86*)
9028 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
9029 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9030 mingw32-gcc" ;;
9031 x86_64)
9032 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
9033 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9035 ac_prefix_list="" ;;
9036 esac
9037 for ac_prog in $ac_prefix_list
9039 # Extract the first word of "$ac_prog", so it can be a program name with args.
9040 set dummy $ac_prog; ac_word=$2
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9042 $as_echo_n "checking for $ac_word... " >&6; }
9043 if ${ac_cv_prog_CROSSCC+:} false; then :
9044 $as_echo_n "(cached) " >&6
9045 else
9046 if test -n "$CROSSCC"; then
9047 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9048 else
9049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9050 for as_dir in $PATH
9052 IFS=$as_save_IFS
9053 test -z "$as_dir" && as_dir=.
9054 for ac_exec_ext in '' $ac_executable_extensions; do
9055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9056 ac_cv_prog_CROSSCC="$ac_prog"
9057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9058 break 2
9060 done
9061 done
9062 IFS=$as_save_IFS
9066 CROSSCC=$ac_cv_prog_CROSSCC
9067 if test -n "$CROSSCC"; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9069 $as_echo "$CROSSCC" >&6; }
9070 else
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9072 $as_echo "no" >&6; }
9076 test -n "$CROSSCC" && break
9077 done
9078 test -n "$CROSSCC" || CROSSCC="false"
9080 if test "$CROSSCC" != "false"
9081 then
9082 ac_save_CC="$CC"
9083 CC="$CROSSCC"
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9085 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9090 main ()
9094 return 0;
9096 _ACEOF
9097 if ac_fn_c_try_compile "$LINENO"; then :
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9099 $as_echo "yes" >&6; }
9100 set x $CROSSCC
9101 shift
9102 while test $# -ge 1
9104 case "$1" in
9105 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9106 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9107 esac
9108 shift
9109 done
9110 else
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9112 $as_echo "no" >&6; }
9114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9115 CC="$ac_save_CC"
9116 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9122 if test "$ac_cv_header_pthread_h" = "yes"
9123 then
9124 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9125 if test "x$ac_cv_func_pthread_create" = xyes; then :
9127 else
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9129 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9130 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 ac_check_lib_save_LIBS=$LIBS
9134 LIBS="-lpthread $LIBS"
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9138 /* Override any GCC internal prototype to avoid an error.
9139 Use char because int might match the return type of a GCC
9140 builtin and then its argument prototype would still apply. */
9141 #ifdef __cplusplus
9142 extern "C"
9143 #endif
9144 char pthread_create ();
9146 main ()
9148 return pthread_create ();
9150 return 0;
9152 _ACEOF
9153 if ac_fn_c_try_link "$LINENO"; then :
9154 ac_cv_lib_pthread_pthread_create=yes
9155 else
9156 ac_cv_lib_pthread_pthread_create=no
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 LIBS=$ac_check_lib_save_LIBS
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9163 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9164 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9165 PTHREAD_LIBS="-lpthread"
9172 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9173 case "x$with_pthread" in
9174 xno) ;;
9175 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9176 Wine cannot support threads without libpthread.
9177 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9178 esac
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9184 $as_echo_n "checking for X... " >&6; }
9187 # Check whether --with-x was given.
9188 if test "${with_x+set}" = set; then :
9189 withval=$with_x;
9192 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9193 if test "x$with_x" = xno; then
9194 # The user explicitly disabled X.
9195 have_x=disabled
9196 else
9197 case $x_includes,$x_libraries in #(
9198 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9199 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9200 $as_echo_n "(cached) " >&6
9201 else
9202 # One or both of the vars are not set, and there is no cached value.
9203 ac_x_includes=no ac_x_libraries=no
9204 rm -f -r conftest.dir
9205 if mkdir conftest.dir; then
9206 cd conftest.dir
9207 cat >Imakefile <<'_ACEOF'
9208 incroot:
9209 @echo incroot='${INCROOT}'
9210 usrlibdir:
9211 @echo usrlibdir='${USRLIBDIR}'
9212 libdir:
9213 @echo libdir='${LIBDIR}'
9214 _ACEOF
9215 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9216 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9217 for ac_var in incroot usrlibdir libdir; do
9218 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9219 done
9220 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9221 for ac_extension in a so sl dylib la dll; do
9222 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9223 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9224 ac_im_usrlibdir=$ac_im_libdir; break
9226 done
9227 # Screen out bogus values from the imake configuration. They are
9228 # bogus both because they are the default anyway, and because
9229 # using them would break gcc on systems where it needs fixed includes.
9230 case $ac_im_incroot in
9231 /usr/include) ac_x_includes= ;;
9232 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9233 esac
9234 case $ac_im_usrlibdir in
9235 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9236 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9237 esac
9239 cd ..
9240 rm -f -r conftest.dir
9243 # Standard set of common directories for X headers.
9244 # Check X11 before X11Rn because it is often a symlink to the current release.
9245 ac_x_header_dirs='
9246 /usr/X11/include
9247 /usr/X11R7/include
9248 /usr/X11R6/include
9249 /usr/X11R5/include
9250 /usr/X11R4/include
9252 /usr/include/X11
9253 /usr/include/X11R7
9254 /usr/include/X11R6
9255 /usr/include/X11R5
9256 /usr/include/X11R4
9258 /usr/local/X11/include
9259 /usr/local/X11R7/include
9260 /usr/local/X11R6/include
9261 /usr/local/X11R5/include
9262 /usr/local/X11R4/include
9264 /usr/local/include/X11
9265 /usr/local/include/X11R7
9266 /usr/local/include/X11R6
9267 /usr/local/include/X11R5
9268 /usr/local/include/X11R4
9270 /usr/X386/include
9271 /usr/x386/include
9272 /usr/XFree86/include/X11
9274 /usr/include
9275 /usr/local/include
9276 /usr/unsupported/include
9277 /usr/athena/include
9278 /usr/local/x11r5/include
9279 /usr/lpp/Xamples/include
9281 /usr/openwin/include
9282 /usr/openwin/share/include'
9284 if test "$ac_x_includes" = no; then
9285 # Guess where to find include files, by looking for Xlib.h.
9286 # First, try using that file with no special directory specified.
9287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h. */
9289 #include <X11/Xlib.h>
9290 _ACEOF
9291 if ac_fn_c_try_cpp "$LINENO"; then :
9292 # We can compile using X headers with no special include directory.
9293 ac_x_includes=
9294 else
9295 for ac_dir in $ac_x_header_dirs; do
9296 if test -r "$ac_dir/X11/Xlib.h"; then
9297 ac_x_includes=$ac_dir
9298 break
9300 done
9302 rm -f conftest.err conftest.i conftest.$ac_ext
9303 fi # $ac_x_includes = no
9305 if test "$ac_x_libraries" = no; then
9306 # Check for the libraries.
9307 # See if we find them without any special options.
9308 # Don't add to $LIBS permanently.
9309 ac_save_LIBS=$LIBS
9310 LIBS="-lX11 $LIBS"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9313 #include <X11/Xlib.h>
9315 main ()
9317 XrmInitialize ()
9319 return 0;
9321 _ACEOF
9322 if ac_fn_c_try_link "$LINENO"; then :
9323 LIBS=$ac_save_LIBS
9324 # We can link X programs with no special library path.
9325 ac_x_libraries=
9326 else
9327 LIBS=$ac_save_LIBS
9328 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9330 # Don't even attempt the hair of trying to link an X program!
9331 for ac_extension in a so sl dylib la dll; do
9332 if test -r "$ac_dir/libX11.$ac_extension"; then
9333 ac_x_libraries=$ac_dir
9334 break 2
9336 done
9337 done
9339 rm -f core conftest.err conftest.$ac_objext \
9340 conftest$ac_exeext conftest.$ac_ext
9341 fi # $ac_x_libraries = no
9343 case $ac_x_includes,$ac_x_libraries in #(
9344 no,* | *,no | *\'*)
9345 # Didn't find X, or a directory has "'" in its name.
9346 ac_cv_have_x="have_x=no";; #(
9348 # Record where we found X for the cache.
9349 ac_cv_have_x="have_x=yes\
9350 ac_x_includes='$ac_x_includes'\
9351 ac_x_libraries='$ac_x_libraries'"
9352 esac
9354 ;; #(
9355 *) have_x=yes;;
9356 esac
9357 eval "$ac_cv_have_x"
9358 fi # $with_x != no
9360 if test "$have_x" != yes; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9362 $as_echo "$have_x" >&6; }
9363 no_x=yes
9364 else
9365 # If each of the values was on the command line, it overrides each guess.
9366 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9367 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9368 # Update the cache value to reflect the command line values.
9369 ac_cv_have_x="have_x=yes\
9370 ac_x_includes='$x_includes'\
9371 ac_x_libraries='$x_libraries'"
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9373 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9376 if test "$no_x" = yes; then
9377 # Not all programs may use this symbol, but it does not hurt to define it.
9379 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9381 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9382 else
9383 if test -n "$x_includes"; then
9384 X_CFLAGS="$X_CFLAGS -I$x_includes"
9387 # It would also be nice to do this for all -L options, not just this one.
9388 if test -n "$x_libraries"; then
9389 X_LIBS="$X_LIBS -L$x_libraries"
9390 # For Solaris; some versions of Sun CC require a space after -R and
9391 # others require no space. Words are not sufficient . . . .
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9393 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9394 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9395 ac_xsave_c_werror_flag=$ac_c_werror_flag
9396 ac_c_werror_flag=yes
9397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9401 main ()
9405 return 0;
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9410 $as_echo "no" >&6; }
9411 X_LIBS="$X_LIBS -R$x_libraries"
9412 else
9413 LIBS="$ac_xsave_LIBS -R $x_libraries"
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: yes" >&5
9427 $as_echo "yes" >&6; }
9428 X_LIBS="$X_LIBS -R $x_libraries"
9429 else
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9431 $as_echo "neither works" >&6; }
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 ac_c_werror_flag=$ac_xsave_c_werror_flag
9439 LIBS=$ac_xsave_LIBS
9442 # Check for system-dependent libraries X programs must link with.
9443 # Do this before checking for the system-independent R6 libraries
9444 # (-lICE), since we may need -lsocket or whatever for X linking.
9446 if test "$ISC" = yes; then
9447 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9448 else
9449 # Martyn Johnson says this is needed for Ultrix, if the X
9450 # libraries were built with DECnet support. And Karl Berry says
9451 # the Alpha needs dnet_stub (dnet does not exist).
9452 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9454 /* end confdefs.h. */
9456 /* Override any GCC internal prototype to avoid an error.
9457 Use char because int might match the return type of a GCC
9458 builtin and then its argument prototype would still apply. */
9459 #ifdef __cplusplus
9460 extern "C"
9461 #endif
9462 char XOpenDisplay ();
9464 main ()
9466 return XOpenDisplay ();
9468 return 0;
9470 _ACEOF
9471 if ac_fn_c_try_link "$LINENO"; then :
9473 else
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9475 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9476 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9477 $as_echo_n "(cached) " >&6
9478 else
9479 ac_check_lib_save_LIBS=$LIBS
9480 LIBS="-ldnet $LIBS"
9481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9484 /* Override any GCC internal prototype to avoid an error.
9485 Use char because int might match the return type of a GCC
9486 builtin and then its argument prototype would still apply. */
9487 #ifdef __cplusplus
9488 extern "C"
9489 #endif
9490 char dnet_ntoa ();
9492 main ()
9494 return dnet_ntoa ();
9496 return 0;
9498 _ACEOF
9499 if ac_fn_c_try_link "$LINENO"; then :
9500 ac_cv_lib_dnet_dnet_ntoa=yes
9501 else
9502 ac_cv_lib_dnet_dnet_ntoa=no
9504 rm -f core conftest.err conftest.$ac_objext \
9505 conftest$ac_exeext conftest.$ac_ext
9506 LIBS=$ac_check_lib_save_LIBS
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9509 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9510 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9511 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9514 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9516 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9517 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9518 $as_echo_n "(cached) " >&6
9519 else
9520 ac_check_lib_save_LIBS=$LIBS
9521 LIBS="-ldnet_stub $LIBS"
9522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9525 /* Override any GCC internal prototype to avoid an error.
9526 Use char because int might match the return type of a GCC
9527 builtin and then its argument prototype would still apply. */
9528 #ifdef __cplusplus
9529 extern "C"
9530 #endif
9531 char dnet_ntoa ();
9533 main ()
9535 return dnet_ntoa ();
9537 return 0;
9539 _ACEOF
9540 if ac_fn_c_try_link "$LINENO"; then :
9541 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9542 else
9543 ac_cv_lib_dnet_stub_dnet_ntoa=no
9545 rm -f core conftest.err conftest.$ac_objext \
9546 conftest$ac_exeext conftest.$ac_ext
9547 LIBS=$ac_check_lib_save_LIBS
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9550 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9551 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9552 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 LIBS="$ac_xsave_LIBS"
9561 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9562 # to get the SysV transport functions.
9563 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9564 # needs -lnsl.
9565 # The nsl library prevents programs from opening the X display
9566 # on Irix 5.2, according to T.E. Dickey.
9567 # The functions gethostbyname, getservbyname, and inet_addr are
9568 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9569 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9570 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9574 if test $ac_cv_func_gethostbyname = no; then
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9576 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9577 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9578 $as_echo_n "(cached) " >&6
9579 else
9580 ac_check_lib_save_LIBS=$LIBS
9581 LIBS="-lnsl $LIBS"
9582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9583 /* end confdefs.h. */
9585 /* Override any GCC internal prototype to avoid an error.
9586 Use char because int might match the return type of a GCC
9587 builtin and then its argument prototype would still apply. */
9588 #ifdef __cplusplus
9589 extern "C"
9590 #endif
9591 char gethostbyname ();
9593 main ()
9595 return gethostbyname ();
9597 return 0;
9599 _ACEOF
9600 if ac_fn_c_try_link "$LINENO"; then :
9601 ac_cv_lib_nsl_gethostbyname=yes
9602 else
9603 ac_cv_lib_nsl_gethostbyname=no
9605 rm -f core conftest.err conftest.$ac_objext \
9606 conftest$ac_exeext conftest.$ac_ext
9607 LIBS=$ac_check_lib_save_LIBS
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9610 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9611 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9612 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9615 if test $ac_cv_lib_nsl_gethostbyname = no; then
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9617 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9618 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9619 $as_echo_n "(cached) " >&6
9620 else
9621 ac_check_lib_save_LIBS=$LIBS
9622 LIBS="-lbsd $LIBS"
9623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9626 /* Override any GCC internal prototype to avoid an error.
9627 Use char because int might match the return type of a GCC
9628 builtin and then its argument prototype would still apply. */
9629 #ifdef __cplusplus
9630 extern "C"
9631 #endif
9632 char gethostbyname ();
9634 main ()
9636 return gethostbyname ();
9638 return 0;
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9642 ac_cv_lib_bsd_gethostbyname=yes
9643 else
9644 ac_cv_lib_bsd_gethostbyname=no
9646 rm -f core conftest.err conftest.$ac_objext \
9647 conftest$ac_exeext conftest.$ac_ext
9648 LIBS=$ac_check_lib_save_LIBS
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9651 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9652 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9653 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9659 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9660 # socket/setsockopt and other routines are undefined under SCO ODT
9661 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9662 # on later versions), says Simon Leinen: it contains gethostby*
9663 # variants that don't use the name server (or something). -lsocket
9664 # must be given before -lnsl if both are needed. We assume that
9665 # if connect needs -lnsl, so does gethostbyname.
9666 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9667 if test "x$ac_cv_func_connect" = xyes; then :
9671 if test $ac_cv_func_connect = no; then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9673 $as_echo_n "checking for connect in -lsocket... " >&6; }
9674 if ${ac_cv_lib_socket_connect+:} false; then :
9675 $as_echo_n "(cached) " >&6
9676 else
9677 ac_check_lib_save_LIBS=$LIBS
9678 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9685 #ifdef __cplusplus
9686 extern "C"
9687 #endif
9688 char connect ();
9690 main ()
9692 return connect ();
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698 ac_cv_lib_socket_connect=yes
9699 else
9700 ac_cv_lib_socket_connect=no
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 LIBS=$ac_check_lib_save_LIBS
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9707 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9708 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9709 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9714 # Guillermo Gomez says -lposix is necessary on A/UX.
9715 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9716 if test "x$ac_cv_func_remove" = xyes; then :
9720 if test $ac_cv_func_remove = no; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9722 $as_echo_n "checking for remove in -lposix... " >&6; }
9723 if ${ac_cv_lib_posix_remove+:} false; then :
9724 $as_echo_n "(cached) " >&6
9725 else
9726 ac_check_lib_save_LIBS=$LIBS
9727 LIBS="-lposix $LIBS"
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9731 /* Override any GCC internal prototype to avoid an error.
9732 Use char because int might match the return type of a GCC
9733 builtin and then its argument prototype would still apply. */
9734 #ifdef __cplusplus
9735 extern "C"
9736 #endif
9737 char remove ();
9739 main ()
9741 return remove ();
9743 return 0;
9745 _ACEOF
9746 if ac_fn_c_try_link "$LINENO"; then :
9747 ac_cv_lib_posix_remove=yes
9748 else
9749 ac_cv_lib_posix_remove=no
9751 rm -f core conftest.err conftest.$ac_objext \
9752 conftest$ac_exeext conftest.$ac_ext
9753 LIBS=$ac_check_lib_save_LIBS
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9756 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9757 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9764 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9765 if test "x$ac_cv_func_shmat" = xyes; then :
9769 if test $ac_cv_func_shmat = no; then
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9771 $as_echo_n "checking for shmat in -lipc... " >&6; }
9772 if ${ac_cv_lib_ipc_shmat+:} false; then :
9773 $as_echo_n "(cached) " >&6
9774 else
9775 ac_check_lib_save_LIBS=$LIBS
9776 LIBS="-lipc $LIBS"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9783 #ifdef __cplusplus
9784 extern "C"
9785 #endif
9786 char shmat ();
9788 main ()
9790 return shmat ();
9792 return 0;
9794 _ACEOF
9795 if ac_fn_c_try_link "$LINENO"; then :
9796 ac_cv_lib_ipc_shmat=yes
9797 else
9798 ac_cv_lib_ipc_shmat=no
9800 rm -f core conftest.err conftest.$ac_objext \
9801 conftest$ac_exeext conftest.$ac_ext
9802 LIBS=$ac_check_lib_save_LIBS
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9805 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9806 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9807 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9813 # Check for libraries that X11R6 Xt/Xaw programs need.
9814 ac_save_LDFLAGS=$LDFLAGS
9815 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9816 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9817 # check for ICE first), but we must link in the order -lSM -lICE or
9818 # we get undefined symbols. So assume we have SM if we have ICE.
9819 # These have to be linked with before -lX11, unlike the other
9820 # libraries we check for below, so use a different variable.
9821 # John Interrante, Karl Berry
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9823 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9824 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9825 $as_echo_n "(cached) " >&6
9826 else
9827 ac_check_lib_save_LIBS=$LIBS
9828 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9835 #ifdef __cplusplus
9836 extern "C"
9837 #endif
9838 char IceConnectionNumber ();
9840 main ()
9842 return IceConnectionNumber ();
9844 return 0;
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 ac_cv_lib_ICE_IceConnectionNumber=yes
9849 else
9850 ac_cv_lib_ICE_IceConnectionNumber=no
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 LIBS=$ac_check_lib_save_LIBS
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9857 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9858 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9859 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9862 LDFLAGS=$ac_save_LDFLAGS
9867 if test "$have_x" = "yes"
9868 then
9869 ac_save_CPPFLAGS="$CPPFLAGS"
9870 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9873 $as_echo_n "checking for -lX11... " >&6; }
9874 if ${ac_cv_lib_soname_X11+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_check_soname_save_LIBS=$LIBS
9878 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9885 #ifdef __cplusplus
9886 extern "C"
9887 #endif
9888 char XCreateWindow ();
9890 main ()
9892 return XCreateWindow ();
9894 return 0;
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 case "$LIBEXT" in
9899 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9900 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'` ;;
9901 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9902 if ${ac_cv_lib_soname_X11:+false} :; then :
9903 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9904 fi ;;
9905 esac
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 LIBS=$ac_check_soname_save_LIBS
9911 if ${ac_cv_lib_soname_X11:+false} :; then :
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9913 $as_echo "not found" >&6; }
9915 else
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9917 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9919 cat >>confdefs.h <<_ACEOF
9920 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9921 _ACEOF
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9926 $as_echo_n "checking for -lXext... " >&6; }
9927 if ${ac_cv_lib_soname_Xext+:} false; then :
9928 $as_echo_n "(cached) " >&6
9929 else
9930 ac_check_soname_save_LIBS=$LIBS
9931 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9935 /* Override any GCC internal prototype to avoid an error.
9936 Use char because int might match the return type of a GCC
9937 builtin and then its argument prototype would still apply. */
9938 #ifdef __cplusplus
9939 extern "C"
9940 #endif
9941 char XextCreateExtension ();
9943 main ()
9945 return XextCreateExtension ();
9947 return 0;
9949 _ACEOF
9950 if ac_fn_c_try_link "$LINENO"; then :
9951 case "$LIBEXT" in
9952 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9953 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'` ;;
9954 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9955 if ${ac_cv_lib_soname_Xext:+false} :; then :
9956 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9957 fi ;;
9958 esac
9960 rm -f core conftest.err conftest.$ac_objext \
9961 conftest$ac_exeext conftest.$ac_ext
9962 LIBS=$ac_check_soname_save_LIBS
9964 if ${ac_cv_lib_soname_Xext:+false} :; then :
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9966 $as_echo "not found" >&6; }
9968 else
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9970 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9972 cat >>confdefs.h <<_ACEOF
9973 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9974 _ACEOF
9976 X_LIBS="$X_LIBS -lXext"
9978 X_LIBS="$X_LIBS -lX11"
9980 for ac_header in X11/Xlib.h \
9981 X11/XKBlib.h \
9982 X11/Xutil.h \
9983 X11/Xcursor/Xcursor.h \
9984 X11/extensions/shape.h \
9985 X11/extensions/XInput.h \
9986 X11/extensions/XInput2.h \
9987 X11/extensions/XShm.h \
9988 X11/extensions/Xcomposite.h \
9989 X11/extensions/Xfixes.h \
9990 X11/extensions/Xinerama.h \
9991 X11/extensions/Xrandr.h \
9992 X11/extensions/Xrender.h \
9993 X11/extensions/xf86vmode.h \
9994 X11/extensions/xf86vmproto.h
9995 do :
9996 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9997 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9998 # include <X11/Xlib.h>
9999 #endif
10000 #ifdef HAVE_X11_XUTIL_H
10001 # include <X11/Xutil.h>
10002 #endif
10004 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10005 cat >>confdefs.h <<_ACEOF
10006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10007 _ACEOF
10011 done
10014 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10015 then
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10017 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10018 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10019 $as_echo_n "(cached) " >&6
10020 else
10021 ac_check_lib_save_LIBS=$LIBS
10022 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10029 #ifdef __cplusplus
10030 extern "C"
10031 #endif
10032 char XkbQueryExtension ();
10034 main ()
10036 return XkbQueryExtension ();
10038 return 0;
10040 _ACEOF
10041 if ac_fn_c_try_link "$LINENO"; then :
10042 ac_cv_lib_X11_XkbQueryExtension=yes
10043 else
10044 ac_cv_lib_X11_XkbQueryExtension=no
10046 rm -f core conftest.err conftest.$ac_objext \
10047 conftest$ac_exeext conftest.$ac_ext
10048 LIBS=$ac_check_lib_save_LIBS
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10051 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10052 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10054 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10060 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10061 then
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10063 $as_echo_n "checking for -lXcursor... " >&6; }
10064 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_check_soname_save_LIBS=$LIBS
10068 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075 #ifdef __cplusplus
10076 extern "C"
10077 #endif
10078 char XcursorImageLoadCursor ();
10080 main ()
10082 return XcursorImageLoadCursor ();
10084 return 0;
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 case "$LIBEXT" in
10089 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10090 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'` ;;
10091 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10092 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10093 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10094 fi ;;
10095 esac
10097 rm -f core conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 LIBS=$ac_check_soname_save_LIBS
10101 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10103 $as_echo "not found" >&6; }
10105 else
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10107 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10109 cat >>confdefs.h <<_ACEOF
10110 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10111 _ACEOF
10116 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10117 case "x$with_xcursor" in
10118 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10119 xno) ;;
10120 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10121 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10122 esac
10126 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10127 then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10129 $as_echo_n "checking for -lXi... " >&6; }
10130 if ${ac_cv_lib_soname_Xi+:} false; then :
10131 $as_echo_n "(cached) " >&6
10132 else
10133 ac_check_soname_save_LIBS=$LIBS
10134 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10138 /* Override any GCC internal prototype to avoid an error.
10139 Use char because int might match the return type of a GCC
10140 builtin and then its argument prototype would still apply. */
10141 #ifdef __cplusplus
10142 extern "C"
10143 #endif
10144 char XOpenDevice ();
10146 main ()
10148 return XOpenDevice ();
10150 return 0;
10152 _ACEOF
10153 if ac_fn_c_try_link "$LINENO"; then :
10154 case "$LIBEXT" in
10155 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10156 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'` ;;
10157 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10158 if ${ac_cv_lib_soname_Xi:+false} :; then :
10159 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10160 fi ;;
10161 esac
10163 rm -f core conftest.err conftest.$ac_objext \
10164 conftest$ac_exeext conftest.$ac_ext
10165 LIBS=$ac_check_soname_save_LIBS
10167 if ${ac_cv_lib_soname_Xi:+false} :; then :
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10169 $as_echo "not found" >&6; }
10171 else
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10173 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10175 cat >>confdefs.h <<_ACEOF
10176 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10177 _ACEOF
10182 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10183 case "x$with_xinput" in
10184 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10185 xno) ;;
10186 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10187 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10188 esac
10192 if test "x$ac_cv_lib_soname_Xi" != x
10193 then
10194 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10195 case "x$with_xinput2" in
10196 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10197 xno) ;;
10198 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10199 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10200 esac
10205 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10206 then
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10208 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10209 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_check_lib_save_LIBS=$LIBS
10213 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10217 /* Override any GCC internal prototype to avoid an error.
10218 Use char because int might match the return type of a GCC
10219 builtin and then its argument prototype would still apply. */
10220 #ifdef __cplusplus
10221 extern "C"
10222 #endif
10223 char XShmQueryExtension ();
10225 main ()
10227 return XShmQueryExtension ();
10229 return 0;
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 ac_cv_lib_Xext_XShmQueryExtension=yes
10234 else
10235 ac_cv_lib_Xext_XShmQueryExtension=no
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_lib_save_LIBS
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10242 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10243 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10245 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10250 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10251 case "x$with_xshm" in
10252 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10253 xno) ;;
10254 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10255 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10256 esac
10260 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10261 then
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10263 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10264 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10265 $as_echo_n "(cached) " >&6
10266 else
10267 ac_check_lib_save_LIBS=$LIBS
10268 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10272 /* Override any GCC internal prototype to avoid an error.
10273 Use char because int might match the return type of a GCC
10274 builtin and then its argument prototype would still apply. */
10275 #ifdef __cplusplus
10276 extern "C"
10277 #endif
10278 char XShapeQueryExtension ();
10280 main ()
10282 return XShapeQueryExtension ();
10284 return 0;
10286 _ACEOF
10287 if ac_fn_c_try_link "$LINENO"; then :
10288 ac_cv_lib_Xext_XShapeQueryExtension=yes
10289 else
10290 ac_cv_lib_Xext_XShapeQueryExtension=no
10292 rm -f core conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10297 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10298 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10300 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10305 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10306 case "x$with_xshape" in
10307 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10308 xno) ;;
10309 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10310 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10311 esac
10315 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10316 then
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10318 $as_echo_n "checking for -lXxf86vm... " >&6; }
10319 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_check_soname_save_LIBS=$LIBS
10323 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10327 /* Override any GCC internal prototype to avoid an error.
10328 Use char because int might match the return type of a GCC
10329 builtin and then its argument prototype would still apply. */
10330 #ifdef __cplusplus
10331 extern "C"
10332 #endif
10333 char XF86VidModeQueryExtension ();
10335 main ()
10337 return XF86VidModeQueryExtension ();
10339 return 0;
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 case "$LIBEXT" in
10344 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10345 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'` ;;
10346 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10347 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10348 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10349 fi ;;
10350 esac
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 LIBS=$ac_check_soname_save_LIBS
10356 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10358 $as_echo "not found" >&6; }
10360 else
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10362 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10364 cat >>confdefs.h <<_ACEOF
10365 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10366 _ACEOF
10371 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10372 case "x$with_xxf86vm" in
10373 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10374 xno) ;;
10375 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10376 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10377 esac
10381 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10382 then
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10384 $as_echo_n "checking for -lXrender... " >&6; }
10385 if ${ac_cv_lib_soname_Xrender+:} false; then :
10386 $as_echo_n "(cached) " >&6
10387 else
10388 ac_check_soname_save_LIBS=$LIBS
10389 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10393 /* Override any GCC internal prototype to avoid an error.
10394 Use char because int might match the return type of a GCC
10395 builtin and then its argument prototype would still apply. */
10396 #ifdef __cplusplus
10397 extern "C"
10398 #endif
10399 char XRenderQueryExtension ();
10401 main ()
10403 return XRenderQueryExtension ();
10405 return 0;
10407 _ACEOF
10408 if ac_fn_c_try_link "$LINENO"; then :
10409 case "$LIBEXT" in
10410 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10411 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'` ;;
10412 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10413 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10414 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10415 fi ;;
10416 esac
10418 rm -f core conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 LIBS=$ac_check_soname_save_LIBS
10422 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10424 $as_echo "not found" >&6; }
10426 else
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10428 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10430 cat >>confdefs.h <<_ACEOF
10431 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10432 _ACEOF
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10435 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10436 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10437 $as_echo_n "(cached) " >&6
10438 else
10439 ac_check_lib_save_LIBS=$LIBS
10440 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10447 #ifdef __cplusplus
10448 extern "C"
10449 #endif
10450 char XRenderSetPictureTransform ();
10452 main ()
10454 return XRenderSetPictureTransform ();
10456 return 0;
10458 _ACEOF
10459 if ac_fn_c_try_link "$LINENO"; then :
10460 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10461 else
10462 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10464 rm -f core conftest.err conftest.$ac_objext \
10465 conftest$ac_exeext conftest.$ac_ext
10466 LIBS=$ac_check_lib_save_LIBS
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10469 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10470 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10472 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10477 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10478 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10479 $as_echo_n "(cached) " >&6
10480 else
10481 ac_check_lib_save_LIBS=$LIBS
10482 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10484 /* end confdefs.h. */
10486 /* Override any GCC internal prototype to avoid an error.
10487 Use char because int might match the return type of a GCC
10488 builtin and then its argument prototype would still apply. */
10489 #ifdef __cplusplus
10490 extern "C"
10491 #endif
10492 char XRenderCreateLinearGradient ();
10494 main ()
10496 return XRenderCreateLinearGradient ();
10498 return 0;
10500 _ACEOF
10501 if ac_fn_c_try_link "$LINENO"; then :
10502 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10503 else
10504 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 LIBS=$ac_check_lib_save_LIBS
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10511 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10512 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10514 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10521 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10522 case "x$with_xrender" in
10523 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10524 xno) ;;
10525 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10526 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10527 esac
10531 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10532 then
10533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10535 #include <X11/Xlib.h>
10536 #include <X11/extensions/Xrandr.h>
10538 main ()
10540 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10542 return 0;
10544 _ACEOF
10545 if ac_fn_c_try_compile "$LINENO"; then :
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10547 $as_echo_n "checking for -lXrandr... " >&6; }
10548 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10549 $as_echo_n "(cached) " >&6
10550 else
10551 ac_check_soname_save_LIBS=$LIBS
10552 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554 /* end confdefs.h. */
10556 /* Override any GCC internal prototype to avoid an error.
10557 Use char because int might match the return type of a GCC
10558 builtin and then its argument prototype would still apply. */
10559 #ifdef __cplusplus
10560 extern "C"
10561 #endif
10562 char XRRQueryExtension ();
10564 main ()
10566 return XRRQueryExtension ();
10568 return 0;
10570 _ACEOF
10571 if ac_fn_c_try_link "$LINENO"; then :
10572 case "$LIBEXT" in
10573 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10574 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'` ;;
10575 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10576 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10577 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10578 fi ;;
10579 esac
10581 rm -f core conftest.err conftest.$ac_objext \
10582 conftest$ac_exeext conftest.$ac_ext
10583 LIBS=$ac_check_soname_save_LIBS
10585 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10587 $as_echo "not found" >&6; }
10589 else
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10591 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10593 cat >>confdefs.h <<_ACEOF
10594 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10595 _ACEOF
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10599 #include <X11/Xlib.h>
10600 #include <X11/extensions/Xrandr.h>
10602 main ()
10604 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10606 return 0;
10608 _ACEOF
10609 if ac_fn_c_try_compile "$LINENO"; then :
10611 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10619 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10620 case "x$with_xrandr" in
10621 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10622 xno) ;;
10623 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10624 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10625 esac
10629 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10630 then
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10633 #include <X11/Xlib.h>
10634 #include <X11/extensions/Xfixes.h>
10636 main ()
10638 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10640 return 0;
10642 _ACEOF
10643 if ac_fn_c_try_compile "$LINENO"; then :
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10645 $as_echo_n "checking for -lXfixes... " >&6; }
10646 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10647 $as_echo_n "(cached) " >&6
10648 else
10649 ac_check_soname_save_LIBS=$LIBS
10650 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10657 #ifdef __cplusplus
10658 extern "C"
10659 #endif
10660 char XFixesQueryVersion ();
10662 main ()
10664 return XFixesQueryVersion ();
10666 return 0;
10668 _ACEOF
10669 if ac_fn_c_try_link "$LINENO"; then :
10670 case "$LIBEXT" in
10671 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10672 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'` ;;
10673 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10674 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10675 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10676 fi ;;
10677 esac
10679 rm -f core conftest.err conftest.$ac_objext \
10680 conftest$ac_exeext conftest.$ac_ext
10681 LIBS=$ac_check_soname_save_LIBS
10683 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10685 $as_echo "not found" >&6; }
10687 else
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10689 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10691 cat >>confdefs.h <<_ACEOF
10692 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10693 _ACEOF
10698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10700 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10701 case "x$with_xfixes" in
10702 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10703 xno) ;;
10704 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10705 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10706 esac
10710 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10711 then
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10714 #include <X11/Xlib.h>
10715 #include <X11/extensions/Xinerama.h>
10717 main ()
10719 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10721 return 0;
10723 _ACEOF
10724 if ac_fn_c_try_compile "$LINENO"; then :
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10726 $as_echo_n "checking for -lXinerama... " >&6; }
10727 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10728 $as_echo_n "(cached) " >&6
10729 else
10730 ac_check_soname_save_LIBS=$LIBS
10731 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10738 #ifdef __cplusplus
10739 extern "C"
10740 #endif
10741 char XineramaQueryScreens ();
10743 main ()
10745 return XineramaQueryScreens ();
10747 return 0;
10749 _ACEOF
10750 if ac_fn_c_try_link "$LINENO"; then :
10751 case "$LIBEXT" in
10752 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10753 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'` ;;
10754 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10755 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10756 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10757 fi ;;
10758 esac
10760 rm -f core conftest.err conftest.$ac_objext \
10761 conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_soname_save_LIBS
10764 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10766 $as_echo "not found" >&6; }
10768 else
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10770 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10772 cat >>confdefs.h <<_ACEOF
10773 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10774 _ACEOF
10779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10781 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10782 case "x$with_xinerama" in
10783 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10784 xno) ;;
10785 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10786 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10787 esac
10791 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10792 then
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10794 $as_echo_n "checking for -lXcomposite... " >&6; }
10795 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 ac_check_soname_save_LIBS=$LIBS
10799 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10806 #ifdef __cplusplus
10807 extern "C"
10808 #endif
10809 char XCompositeRedirectWindow ();
10811 main ()
10813 return XCompositeRedirectWindow ();
10815 return 0;
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 case "$LIBEXT" in
10820 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10821 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'` ;;
10822 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10823 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10824 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10825 fi ;;
10826 esac
10828 rm -f core conftest.err conftest.$ac_objext \
10829 conftest$ac_exeext conftest.$ac_ext
10830 LIBS=$ac_check_soname_save_LIBS
10832 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10834 $as_echo "not found" >&6; }
10836 else
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10838 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10840 cat >>confdefs.h <<_ACEOF
10841 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10842 _ACEOF
10847 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10848 case "x$with_xcomposite" in
10849 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10850 xno) ;;
10851 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10852 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10853 esac
10857 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10858 #include <X11/Xlib.h>
10859 #endif
10861 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10863 cat >>confdefs.h <<_ACEOF
10864 #define HAVE_XICCALLBACK_CALLBACK 1
10865 _ACEOF
10869 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10870 #include <X11/Xlib.h>
10871 #endif
10873 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10875 cat >>confdefs.h <<_ACEOF
10876 #define HAVE_XEVENT_XCOOKIE 1
10877 _ACEOF
10884 opengl_msg=""
10885 if test "x$with_opengl" != "xno"
10886 then
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10888 $as_echo_n "checking for -lGL... " >&6; }
10889 if ${ac_cv_lib_soname_GL+:} false; then :
10890 $as_echo_n "(cached) " >&6
10891 else
10892 ac_check_soname_save_LIBS=$LIBS
10893 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10897 /* Override any GCC internal prototype to avoid an error.
10898 Use char because int might match the return type of a GCC
10899 builtin and then its argument prototype would still apply. */
10900 #ifdef __cplusplus
10901 extern "C"
10902 #endif
10903 char glXCreateContext ();
10905 main ()
10907 return glXCreateContext ();
10909 return 0;
10911 _ACEOF
10912 if ac_fn_c_try_link "$LINENO"; then :
10913 case "$LIBEXT" in
10914 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10915 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'` ;;
10916 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10917 if ${ac_cv_lib_soname_GL:+false} :; then :
10918 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10919 fi ;;
10920 esac
10922 rm -f core conftest.err conftest.$ac_objext \
10923 conftest$ac_exeext conftest.$ac_ext
10924 LIBS=$ac_check_soname_save_LIBS
10926 if ${ac_cv_lib_soname_GL:+false} :; then :
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10928 $as_echo "not found" >&6; }
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10930 $as_echo_n "checking for -lGL... " >&6; }
10931 if ${ac_cv_lib_soname_GL+:} false; then :
10932 $as_echo_n "(cached) " >&6
10933 else
10934 ac_check_soname_save_LIBS=$LIBS
10935 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"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10942 #ifdef __cplusplus
10943 extern "C"
10944 #endif
10945 char glXCreateContext ();
10947 main ()
10949 return glXCreateContext ();
10951 return 0;
10953 _ACEOF
10954 if ac_fn_c_try_link "$LINENO"; then :
10955 case "$LIBEXT" in
10956 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10957 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'` ;;
10958 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10959 if ${ac_cv_lib_soname_GL:+false} :; then :
10960 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10961 fi ;;
10962 esac
10964 rm -f core conftest.err conftest.$ac_objext \
10965 conftest$ac_exeext conftest.$ac_ext
10966 LIBS=$ac_check_soname_save_LIBS
10968 if ${ac_cv_lib_soname_GL:+false} :; then :
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10970 $as_echo "not found" >&6; }
10971 if test -f /usr/X11R6/lib/libGL.a
10972 then
10973 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10974 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10975 else
10976 opengl_msg="No OpenGL library found on this system."
10978 else
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10980 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10982 cat >>confdefs.h <<_ACEOF
10983 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10984 _ACEOF
10986 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"
10988 else
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10990 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10992 cat >>confdefs.h <<_ACEOF
10993 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10994 _ACEOF
10996 OPENGL_LIBS="-lGL"
10998 if test "x$with_glu" != "xno"
10999 then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11001 $as_echo_n "checking for -lGLU... " >&6; }
11002 if ${ac_cv_lib_soname_GLU+:} false; then :
11003 $as_echo_n "(cached) " >&6
11004 else
11005 ac_check_soname_save_LIBS=$LIBS
11006 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11013 #ifdef __cplusplus
11014 extern "C"
11015 #endif
11016 char gluLookAt ();
11018 main ()
11020 return gluLookAt ();
11022 return 0;
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"; then :
11026 case "$LIBEXT" in
11027 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11028 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'` ;;
11029 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11030 if ${ac_cv_lib_soname_GLU:+false} :; then :
11031 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11032 fi ;;
11033 esac
11035 rm -f core conftest.err conftest.$ac_objext \
11036 conftest$ac_exeext conftest.$ac_ext
11037 LIBS=$ac_check_soname_save_LIBS
11039 if ${ac_cv_lib_soname_GLU:+false} :; then :
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11041 $as_echo "not found" >&6; }
11043 else
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11045 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11047 cat >>confdefs.h <<_ACEOF
11048 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11049 _ACEOF
11053 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11054 case "x$with_glu" in
11055 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11056 xno) ;;
11057 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11058 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11059 esac
11064 if test "x$with_osmesa" != "xno"
11065 then
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11067 $as_echo_n "checking for -lOSMesa... " >&6; }
11068 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_soname_save_LIBS=$LIBS
11072 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char OSMesaGetProcAddress ();
11084 main ()
11086 return OSMesaGetProcAddress ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 case "$LIBEXT" in
11093 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11094 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'` ;;
11095 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11096 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11097 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11098 fi ;;
11099 esac
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_soname_save_LIBS
11105 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11107 $as_echo "not found" >&6; }
11109 else
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11111 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11113 cat >>confdefs.h <<_ACEOF
11114 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11115 _ACEOF
11119 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11120 case "x$with_osmesa" in
11121 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11122 xno) ;;
11123 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11124 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11125 esac
11130 if test -n "$opengl_msg"; then :
11131 case "x$with_opengl" in
11132 x) as_fn_append wine_warnings "|$opengl_msg
11133 OpenGL and Direct3D won't be supported." ;;
11134 xno) ;;
11135 *) as_fn_error $? "$opengl_msg
11136 OpenGL and Direct3D won't be supported.
11137 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11138 esac
11142 CPPFLAGS="$ac_save_CPPFLAGS"
11143 else
11144 X_CFLAGS=""
11145 X_LIBS=""
11148 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11149 then
11150 if test "x$X_LIBS" = "x"; then :
11151 case "x$with_x" in
11152 xno) ;;
11153 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11154 without X support, which probably isn't what you want. You will need
11155 to install ${notice_platform}development packages of Xlib at the very least.
11156 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11157 esac
11158 enable_winex11_drv=${enable_winex11_drv:-no}
11160 else
11161 if test "x$X_LIBS" = "x"; then :
11162 case "x$with_x" in
11163 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11164 xno) ;;
11165 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11166 This is an error since --with-x was requested." "$LINENO" 5 ;;
11167 esac
11168 enable_winex11_drv=${enable_winex11_drv:-no}
11172 if test "$ac_cv_header_CL_cl_h" = "yes"
11173 then
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11175 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11176 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11177 $as_echo_n "(cached) " >&6
11178 else
11179 ac_check_lib_save_LIBS=$LIBS
11180 LIBS="-lOpenCL $LIBS"
11181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11187 #ifdef __cplusplus
11188 extern "C"
11189 #endif
11190 char clGetPlatformInfo ();
11192 main ()
11194 return clGetPlatformInfo ();
11196 return 0;
11198 _ACEOF
11199 if ac_fn_c_try_link "$LINENO"; then :
11200 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11201 else
11202 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11204 rm -f core conftest.err conftest.$ac_objext \
11205 conftest$ac_exeext conftest.$ac_ext
11206 LIBS=$ac_check_lib_save_LIBS
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11209 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11210 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11211 OPENCL_LIBS="-lOpenCL"
11216 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11217 case "x$with_opencl" in
11218 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11219 xno) ;;
11220 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11221 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11222 esac
11223 enable_opencl=${enable_opencl:-no}
11226 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11227 then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11229 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11230 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11231 $as_echo_n "(cached) " >&6
11232 else
11233 ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-lpcap $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char pcap_create ();
11246 main ()
11248 return pcap_create ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_pcap_pcap_create=yes
11255 else
11256 ac_cv_lib_pcap_pcap_create=no
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11263 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11264 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11265 PCAP_LIBS="-lpcap"
11270 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11271 case "x$with_pcap" in
11272 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11273 xno) ;;
11274 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11275 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11276 esac
11277 enable_wpcap=${enable_wpcap:-no}
11281 if test "x$with_xml" != "xno"
11282 then
11283 if ${XML2_CFLAGS:+false} :; then :
11284 if ${PKG_CONFIG+:} false; then :
11285 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11288 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11289 if ${XML2_LIBS:+false} :; then :
11290 if ${PKG_CONFIG+:} false; then :
11291 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11294 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11295 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11296 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11297 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11298 ac_save_CPPFLAGS=$CPPFLAGS
11299 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11300 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11301 do :
11302 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11303 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11304 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11305 cat >>confdefs.h <<_ACEOF
11306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11307 _ACEOF
11311 done
11313 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"
11314 then
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11316 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11317 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-lxml2 $XML2_LIBS $LIBS"
11322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11325 /* Override any GCC internal prototype to avoid an error.
11326 Use char because int might match the return type of a GCC
11327 builtin and then its argument prototype would still apply. */
11328 #ifdef __cplusplus
11329 extern "C"
11330 #endif
11331 char xmlParseMemory ();
11333 main ()
11335 return xmlParseMemory ();
11337 return 0;
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"; then :
11341 ac_cv_lib_xml2_xmlParseMemory=yes
11342 else
11343 ac_cv_lib_xml2_xmlParseMemory=no
11345 rm -f core conftest.err conftest.$ac_objext \
11346 conftest$ac_exeext conftest.$ac_ext
11347 LIBS=$ac_check_lib_save_LIBS
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11350 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11351 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11353 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11355 else
11356 XML2_LIBS=""
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11360 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11361 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11362 $as_echo_n "(cached) " >&6
11363 else
11364 ac_check_lib_save_LIBS=$LIBS
11365 LIBS="-lxml2 $XML2_LIBS $LIBS"
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char xmlReadMemory ();
11377 main ()
11379 return xmlReadMemory ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_xml2_xmlReadMemory=yes
11386 else
11387 ac_cv_lib_xml2_xmlReadMemory=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11394 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11395 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11397 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11402 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11403 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11404 $as_echo_n "(cached) " >&6
11405 else
11406 ac_check_lib_save_LIBS=$LIBS
11407 LIBS="-lxml2 $XML2_LIBS $LIBS"
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char xmlNewDocPI ();
11419 main ()
11421 return xmlNewDocPI ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_xml2_xmlNewDocPI=yes
11428 else
11429 ac_cv_lib_xml2_xmlNewDocPI=no
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11436 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11437 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11439 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11444 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11445 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11446 $as_echo_n "(cached) " >&6
11447 else
11448 ac_check_lib_save_LIBS=$LIBS
11449 LIBS="-lxml2 $XML2_LIBS $LIBS"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char xmlSchemaSetParserStructuredErrors ();
11461 main ()
11463 return xmlSchemaSetParserStructuredErrors ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11470 else
11471 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11478 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11479 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11481 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11486 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11487 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_lib_save_LIBS=$LIBS
11491 LIBS="-lxml2 $XML2_LIBS $LIBS"
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11498 #ifdef __cplusplus
11499 extern "C"
11500 #endif
11501 char xmlSchemaSetValidStructuredErrors ();
11503 main ()
11505 return xmlSchemaSetValidStructuredErrors ();
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"; then :
11511 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11512 else
11513 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11515 rm -f core conftest.err conftest.$ac_objext \
11516 conftest$ac_exeext conftest.$ac_ext
11517 LIBS=$ac_check_lib_save_LIBS
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11520 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11521 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11523 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11528 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11529 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_lib_save_LIBS=$LIBS
11533 LIBS="-lxml2 $XML2_LIBS $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char xmlFirstElementChild ();
11545 main ()
11547 return xmlFirstElementChild ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 ac_cv_lib_xml2_xmlFirstElementChild=yes
11554 else
11555 ac_cv_lib_xml2_xmlFirstElementChild=no
11557 rm -f core conftest.err conftest.$ac_objext \
11558 conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_lib_save_LIBS
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11562 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11563 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11565 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11569 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11571 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11573 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11577 else
11578 XML2_CFLAGS=""
11579 XML2_LIBS=""
11581 CPPFLAGS=$ac_save_CPPFLAGS
11582 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11583 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11586 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11587 case "x$with_xml" in
11588 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11589 xno) ;;
11590 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11591 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11592 esac
11596 if test "x$with_xslt" != "xno"
11597 then
11598 if ${XSLT_CFLAGS:+false} :; then :
11599 if ${PKG_CONFIG+:} false; then :
11600 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11603 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11604 if ${XSLT_LIBS:+false} :; then :
11605 if ${PKG_CONFIG+:} false; then :
11606 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11609 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11610 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11611 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11612 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11613 ac_save_CPPFLAGS=$CPPFLAGS
11614 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11615 for ac_header in libxslt/pattern.h libxslt/transform.h
11616 do :
11617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11618 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11619 # include <libxslt/pattern.h>
11620 #endif
11622 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11623 cat >>confdefs.h <<_ACEOF
11624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11625 _ACEOF
11629 done
11631 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11632 then
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11634 $as_echo_n "checking for -lxslt... " >&6; }
11635 if ${ac_cv_lib_soname_xslt+:} false; then :
11636 $as_echo_n "(cached) " >&6
11637 else
11638 ac_check_soname_save_LIBS=$LIBS
11639 LIBS="-lxslt $XSLT_LIBS $LIBS"
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11643 /* Override any GCC internal prototype to avoid an error.
11644 Use char because int might match the return type of a GCC
11645 builtin and then its argument prototype would still apply. */
11646 #ifdef __cplusplus
11647 extern "C"
11648 #endif
11649 char xsltCompilePattern ();
11651 main ()
11653 return xsltCompilePattern ();
11655 return 0;
11657 _ACEOF
11658 if ac_fn_c_try_link "$LINENO"; then :
11659 case "$LIBEXT" in
11660 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11661 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'` ;;
11662 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11663 if ${ac_cv_lib_soname_xslt:+false} :; then :
11664 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11665 fi ;;
11666 esac
11668 rm -f core conftest.err conftest.$ac_objext \
11669 conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_soname_save_LIBS
11672 if ${ac_cv_lib_soname_xslt:+false} :; then :
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11674 $as_echo "not found" >&6; }
11676 else
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11678 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11680 cat >>confdefs.h <<_ACEOF
11681 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11682 _ACEOF
11686 else
11687 XSLT_CFLAGS=""
11689 CPPFLAGS=$ac_save_CPPFLAGS
11690 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11691 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11694 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11695 case "x$with_xslt" in
11696 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11697 xno) ;;
11698 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11699 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11700 esac
11704 if test "x$with_dbus" != "xno"
11705 then
11706 if ${DBUS_CFLAGS:+false} :; then :
11707 if ${PKG_CONFIG+:} false; then :
11708 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11712 if ${DBUS_LIBS:+false} :; then :
11713 if ${PKG_CONFIG+:} false; then :
11714 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11719 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11720 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11721 ac_save_CPPFLAGS=$CPPFLAGS
11722 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11723 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11724 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11726 $as_echo_n "checking for -ldbus-1... " >&6; }
11727 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11728 $as_echo_n "(cached) " >&6
11729 else
11730 ac_check_soname_save_LIBS=$LIBS
11731 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11735 /* Override any GCC internal prototype to avoid an error.
11736 Use char because int might match the return type of a GCC
11737 builtin and then its argument prototype would still apply. */
11738 #ifdef __cplusplus
11739 extern "C"
11740 #endif
11741 char dbus_connection_close ();
11743 main ()
11745 return dbus_connection_close ();
11747 return 0;
11749 _ACEOF
11750 if ac_fn_c_try_link "$LINENO"; then :
11751 case "$LIBEXT" in
11752 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11753 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'` ;;
11754 *) 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'`
11755 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11756 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11757 fi ;;
11758 esac
11760 rm -f core conftest.err conftest.$ac_objext \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_soname_save_LIBS
11764 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11766 $as_echo "not found" >&6; }
11767 DBUS_CFLAGS=""
11768 else
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11770 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11772 cat >>confdefs.h <<_ACEOF
11773 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11774 _ACEOF
11778 else
11779 DBUS_CFLAGS=""
11783 CPPFLAGS=$ac_save_CPPFLAGS
11784 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11785 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11788 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11789 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11790 case "x$with_dbus" in
11791 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11792 xno) ;;
11793 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11794 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11795 esac
11799 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11800 then
11801 if ${HAL_CFLAGS:+false} :; then :
11802 if ${PKG_CONFIG+:} false; then :
11803 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11807 if ${HAL_LIBS:+false} :; then :
11808 if ${PKG_CONFIG+:} false; then :
11809 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11813 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11814 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11815 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11816 ac_save_CPPFLAGS=$CPPFLAGS
11817 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11818 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11819 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11821 $as_echo_n "checking for -lhal... " >&6; }
11822 if ${ac_cv_lib_soname_hal+:} false; then :
11823 $as_echo_n "(cached) " >&6
11824 else
11825 ac_check_soname_save_LIBS=$LIBS
11826 LIBS="-lhal $HAL_LIBS $LIBS"
11827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11828 /* end confdefs.h. */
11830 /* Override any GCC internal prototype to avoid an error.
11831 Use char because int might match the return type of a GCC
11832 builtin and then its argument prototype would still apply. */
11833 #ifdef __cplusplus
11834 extern "C"
11835 #endif
11836 char libhal_ctx_new ();
11838 main ()
11840 return libhal_ctx_new ();
11842 return 0;
11844 _ACEOF
11845 if ac_fn_c_try_link "$LINENO"; then :
11846 case "$LIBEXT" in
11847 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11848 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'` ;;
11849 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11850 if ${ac_cv_lib_soname_hal:+false} :; then :
11851 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11852 fi ;;
11853 esac
11855 rm -f core conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_soname_save_LIBS
11859 if ${ac_cv_lib_soname_hal:+false} :; then :
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11861 $as_echo "not found" >&6; }
11862 HAL_CFLAGS=""
11863 else
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11865 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11867 cat >>confdefs.h <<_ACEOF
11868 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11869 _ACEOF
11873 else
11874 HAL_CFLAGS=""
11878 CPPFLAGS=$ac_save_CPPFLAGS
11879 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11880 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11882 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11883 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11884 case "x$with_hal" in
11885 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11886 xno) ;;
11887 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11888 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11889 esac
11894 if test "x$with_gnutls" != "xno"
11895 then
11896 if ${GNUTLS_CFLAGS:+false} :; then :
11897 if ${PKG_CONFIG+:} false; then :
11898 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11902 if ${GNUTLS_LIBS:+false} :; then :
11903 if ${PKG_CONFIG+:} false; then :
11904 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11909 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11910 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11911 ac_save_CPPFLAGS=$CPPFLAGS
11912 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11913 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11914 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11917 #include <gnutls/gnutls.h>
11918 #include <gnutls/crypto.h>
11920 main ()
11922 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11924 return 0;
11926 _ACEOF
11927 if ac_fn_c_try_compile "$LINENO"; then :
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11929 $as_echo_n "checking for -lgnutls... " >&6; }
11930 if ${ac_cv_lib_soname_gnutls+:} false; then :
11931 $as_echo_n "(cached) " >&6
11932 else
11933 ac_check_soname_save_LIBS=$LIBS
11934 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 /* Override any GCC internal prototype to avoid an error.
11939 Use char because int might match the return type of a GCC
11940 builtin and then its argument prototype would still apply. */
11941 #ifdef __cplusplus
11942 extern "C"
11943 #endif
11944 char gnutls_global_init ();
11946 main ()
11948 return gnutls_global_init ();
11950 return 0;
11952 _ACEOF
11953 if ac_fn_c_try_link "$LINENO"; then :
11954 case "$LIBEXT" in
11955 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11956 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'` ;;
11957 *) 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'`
11958 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11959 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'`
11960 fi ;;
11961 esac
11963 rm -f core conftest.err conftest.$ac_objext \
11964 conftest$ac_exeext conftest.$ac_ext
11965 LIBS=$ac_check_soname_save_LIBS
11967 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11969 $as_echo "not found" >&6; }
11970 GNUTLS_CFLAGS=""
11971 else
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11973 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11975 cat >>confdefs.h <<_ACEOF
11976 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11977 _ACEOF
11981 ac_wine_check_funcs_save_LIBS="$LIBS"
11982 LIBS="$LIBS $GNUTLS_LIBS"
11983 for ac_func in gnutls_hash
11984 do :
11985 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11986 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11987 cat >>confdefs.h <<_ACEOF
11988 #define HAVE_GNUTLS_HASH 1
11989 _ACEOF
11991 else
11992 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11994 done
11996 LIBS="$ac_wine_check_funcs_save_LIBS"
11998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11999 else
12000 GNUTLS_CFLAGS=""
12004 CPPFLAGS=$ac_save_CPPFLAGS
12005 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12006 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12009 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12010 case "x$with_gnutls" in
12011 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12012 xno) ;;
12013 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12014 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12015 esac
12019 CURSES_LIBS=""
12020 if test "$ac_cv_header_ncurses_h" = "yes"
12021 then
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12023 $as_echo_n "checking for -lncurses... " >&6; }
12024 if ${ac_cv_lib_soname_ncurses+:} false; then :
12025 $as_echo_n "(cached) " >&6
12026 else
12027 ac_check_soname_save_LIBS=$LIBS
12028 LIBS="-lncurses $LIBS"
12029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12030 /* end confdefs.h. */
12032 /* Override any GCC internal prototype to avoid an error.
12033 Use char because int might match the return type of a GCC
12034 builtin and then its argument prototype would still apply. */
12035 #ifdef __cplusplus
12036 extern "C"
12037 #endif
12038 char waddch ();
12040 main ()
12042 return waddch ();
12044 return 0;
12046 _ACEOF
12047 if ac_fn_c_try_link "$LINENO"; then :
12048 case "$LIBEXT" in
12049 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12050 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'` ;;
12051 *) 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'`
12052 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12053 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12054 fi ;;
12055 esac
12057 rm -f core conftest.err conftest.$ac_objext \
12058 conftest$ac_exeext conftest.$ac_ext
12059 LIBS=$ac_check_soname_save_LIBS
12061 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12063 $as_echo "not found" >&6; }
12065 else
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12067 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12069 cat >>confdefs.h <<_ACEOF
12070 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12071 _ACEOF
12073 CURSES_LIBS="-lncurses"
12075 elif test "$ac_cv_header_curses_h" = "yes"
12076 then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12078 $as_echo_n "checking for -lcurses... " >&6; }
12079 if ${ac_cv_lib_soname_curses+:} false; then :
12080 $as_echo_n "(cached) " >&6
12081 else
12082 ac_check_soname_save_LIBS=$LIBS
12083 LIBS="-lcurses $LIBS"
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12090 #ifdef __cplusplus
12091 extern "C"
12092 #endif
12093 char waddch ();
12095 main ()
12097 return waddch ();
12099 return 0;
12101 _ACEOF
12102 if ac_fn_c_try_link "$LINENO"; then :
12103 case "$LIBEXT" in
12104 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12105 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'` ;;
12106 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12107 if ${ac_cv_lib_soname_curses:+false} :; then :
12108 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12109 fi ;;
12110 esac
12112 rm -f core conftest.err conftest.$ac_objext \
12113 conftest$ac_exeext conftest.$ac_ext
12114 LIBS=$ac_check_soname_save_LIBS
12116 if ${ac_cv_lib_soname_curses:+false} :; then :
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12118 $as_echo "not found" >&6; }
12120 else
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12122 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12124 cat >>confdefs.h <<_ACEOF
12125 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12126 _ACEOF
12128 CURSES_LIBS="-lcurses"
12131 ac_save_LIBS="$LIBS"
12132 LIBS="$LIBS $CURSES_LIBS"
12133 for ac_func in mousemask
12134 do :
12135 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12136 if test "x$ac_cv_func_mousemask" = xyes; then :
12137 cat >>confdefs.h <<_ACEOF
12138 #define HAVE_MOUSEMASK 1
12139 _ACEOF
12142 done
12144 LIBS="$ac_save_LIBS"
12145 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12146 case "x$with_curses" in
12147 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12148 xno) ;;
12149 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12150 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12151 esac
12155 if test "x$with_sane" != "xno"
12156 then
12157 if ${SANE_CFLAGS:+false} :; then :
12158 if ${PKG_CONFIG+:} false; then :
12159 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12162 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12163 if ${SANE_LIBS:+false} :; then :
12164 if ${PKG_CONFIG+:} false; then :
12165 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12168 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12170 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12171 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12172 ac_save_CPPFLAGS=$CPPFLAGS
12173 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12174 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12175 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12177 $as_echo_n "checking for -lsane... " >&6; }
12178 if ${ac_cv_lib_soname_sane+:} false; then :
12179 $as_echo_n "(cached) " >&6
12180 else
12181 ac_check_soname_save_LIBS=$LIBS
12182 LIBS="-lsane $SANE_LIBS $LIBS"
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12186 /* Override any GCC internal prototype to avoid an error.
12187 Use char because int might match the return type of a GCC
12188 builtin and then its argument prototype would still apply. */
12189 #ifdef __cplusplus
12190 extern "C"
12191 #endif
12192 char sane_init ();
12194 main ()
12196 return sane_init ();
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_link "$LINENO"; then :
12202 case "$LIBEXT" in
12203 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12204 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'` ;;
12205 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12206 if ${ac_cv_lib_soname_sane:+false} :; then :
12207 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12208 fi ;;
12209 esac
12211 rm -f core conftest.err conftest.$ac_objext \
12212 conftest$ac_exeext conftest.$ac_ext
12213 LIBS=$ac_check_soname_save_LIBS
12215 if ${ac_cv_lib_soname_sane:+false} :; then :
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12217 $as_echo "not found" >&6; }
12218 SANE_CFLAGS=""
12219 else
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12221 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12223 cat >>confdefs.h <<_ACEOF
12224 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12225 _ACEOF
12229 else
12230 SANE_CFLAGS=""
12234 CPPFLAGS=$ac_save_CPPFLAGS
12235 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12236 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12239 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12240 case "x$with_sane" in
12241 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12242 xno) ;;
12243 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12244 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12245 esac
12249 if test "x$with_v4l" != "xno"
12250 then
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12252 $as_echo_n "checking for -lv4l1... " >&6; }
12253 if ${ac_cv_lib_soname_v4l1+:} false; then :
12254 $as_echo_n "(cached) " >&6
12255 else
12256 ac_check_soname_save_LIBS=$LIBS
12257 LIBS="-lv4l1 $LIBS"
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12264 #ifdef __cplusplus
12265 extern "C"
12266 #endif
12267 char v4l1_open ();
12269 main ()
12271 return v4l1_open ();
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_link "$LINENO"; then :
12277 case "$LIBEXT" in
12278 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12279 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'` ;;
12280 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12281 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12282 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12283 fi ;;
12284 esac
12286 rm -f core conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 LIBS=$ac_check_soname_save_LIBS
12290 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12292 $as_echo "not found" >&6; }
12294 else
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12296 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12298 cat >>confdefs.h <<_ACEOF
12299 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12300 _ACEOF
12305 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12306 case "x$with_v4l" in
12307 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12308 xno) ;;
12309 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12310 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12311 esac
12315 if test "x$with_gphoto" != "xno"
12316 then
12317 if ${GPHOTO2_CFLAGS:+false} :; then :
12318 if ${PKG_CONFIG+:} false; then :
12319 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12322 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12323 if ${GPHOTO2_LIBS:+false} :; then :
12324 if ${PKG_CONFIG+:} false; then :
12325 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12328 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12329 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12330 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12331 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12332 ac_save_CPPFLAGS=$CPPFLAGS
12333 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12334 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12335 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12337 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12338 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12339 $as_echo_n "(cached) " >&6
12340 else
12341 ac_check_lib_save_LIBS=$LIBS
12342 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12344 /* end confdefs.h. */
12346 /* Override any GCC internal prototype to avoid an error.
12347 Use char because int might match the return type of a GCC
12348 builtin and then its argument prototype would still apply. */
12349 #ifdef __cplusplus
12350 extern "C"
12351 #endif
12352 char gp_camera_new ();
12354 main ()
12356 return gp_camera_new ();
12358 return 0;
12360 _ACEOF
12361 if ac_fn_c_try_link "$LINENO"; then :
12362 ac_cv_lib_gphoto2_gp_camera_new=yes
12363 else
12364 ac_cv_lib_gphoto2_gp_camera_new=no
12366 rm -f core conftest.err conftest.$ac_objext \
12367 conftest$ac_exeext conftest.$ac_ext
12368 LIBS=$ac_check_lib_save_LIBS
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12371 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12372 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12374 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12376 else
12377 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12380 else
12381 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12385 CPPFLAGS=$ac_save_CPPFLAGS
12386 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12387 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12389 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12390 if ${PKG_CONFIG+:} false; then :
12391 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12394 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12395 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12396 if ${PKG_CONFIG+:} false; then :
12397 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12400 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12401 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12402 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12403 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12404 ac_save_CPPFLAGS=$CPPFLAGS
12405 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12406 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12407 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12409 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12410 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12411 $as_echo_n "(cached) " >&6
12412 else
12413 ac_check_lib_save_LIBS=$LIBS
12414 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12418 /* Override any GCC internal prototype to avoid an error.
12419 Use char because int might match the return type of a GCC
12420 builtin and then its argument prototype would still apply. */
12421 #ifdef __cplusplus
12422 extern "C"
12423 #endif
12424 char gp_port_info_list_new ();
12426 main ()
12428 return gp_port_info_list_new ();
12430 return 0;
12432 _ACEOF
12433 if ac_fn_c_try_link "$LINENO"; then :
12434 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12435 else
12436 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12438 rm -f core conftest.err conftest.$ac_objext \
12439 conftest$ac_exeext conftest.$ac_ext
12440 LIBS=$ac_check_lib_save_LIBS
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12443 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12444 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12446 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12448 else
12449 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12452 else
12453 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12457 CPPFLAGS=$ac_save_CPPFLAGS
12458 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12459 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12462 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12463 case "x$with_gphoto" in
12464 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12465 xno) ;;
12466 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12467 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12468 esac
12471 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12472 case "x$with_gphoto" in
12473 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12474 xno) ;;
12475 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12476 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12477 esac
12482 if test "$ac_cv_header_resolv_h" = "yes"
12483 then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12485 $as_echo_n "checking for resolver library... " >&6; }
12486 if ${ac_cv_have_resolv+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_save_LIBS="$LIBS"
12490 for lib in '' -lresolv
12492 LIBS="$lib $ac_save_LIBS"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12495 #ifdef HAVE_NETINET_IN_H
12496 #include <netinet/in.h>
12497 #endif
12498 #include <resolv.h>
12500 main ()
12502 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_link "$LINENO"; then :
12508 ac_cv_have_resolv=${lib:-"none required"}
12509 else
12510 ac_cv_have_resolv="not found"
12512 rm -f core conftest.err conftest.$ac_objext \
12513 conftest$ac_exeext conftest.$ac_ext
12514 test "x$ac_cv_have_resolv" = "xnot found" || break
12515 done
12516 LIBS="$ac_save_LIBS"
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12519 $as_echo "$ac_cv_have_resolv" >&6; }
12521 case "$ac_cv_have_resolv" in
12522 "not found") ;;
12523 "none required")
12525 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12528 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12530 RESOLV_LIBS=$ac_cv_have_resolv
12532 esac
12535 if test "x$with_cms" != "xno"
12536 then
12537 if ${LCMS2_CFLAGS:+false} :; then :
12538 if ${PKG_CONFIG+:} false; then :
12539 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12543 if ${LCMS2_LIBS:+false} :; then :
12544 if ${PKG_CONFIG+:} false; then :
12545 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12549 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12550 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12551 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12552 ac_save_CPPFLAGS=$CPPFLAGS
12553 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12554 for ac_header in lcms2.h
12555 do :
12556 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12557 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12558 cat >>confdefs.h <<_ACEOF
12559 #define HAVE_LCMS2_H 1
12560 _ACEOF
12564 done
12566 if test "$ac_cv_header_lcms2_h" = "yes"
12567 then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12569 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12570 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12571 $as_echo_n "(cached) " >&6
12572 else
12573 ac_check_lib_save_LIBS=$LIBS
12574 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12581 #ifdef __cplusplus
12582 extern "C"
12583 #endif
12584 char cmsOpenProfileFromFile ();
12586 main ()
12588 return cmsOpenProfileFromFile ();
12590 return 0;
12592 _ACEOF
12593 if ac_fn_c_try_link "$LINENO"; then :
12594 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12595 else
12596 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12598 rm -f core conftest.err conftest.$ac_objext \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_lib_save_LIBS
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12603 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12604 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12606 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12608 else
12609 LCMS2_LIBS=""
12612 else
12613 LCMS2_CFLAGS=""
12614 LCMS2_LIBS=""
12616 CPPFLAGS=$ac_save_CPPFLAGS
12617 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12618 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12621 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12622 case "x$with_cms" in
12623 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12624 xno) ;;
12625 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12626 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12627 esac
12631 if test "x$with_freetype" != "xno"
12632 then
12633 if ${FREETYPE_CFLAGS:+false} :; then :
12634 if ${PKG_CONFIG+:} false; then :
12635 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12638 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12639 if ${FREETYPE_LIBS:+false} :; then :
12640 if ${PKG_CONFIG+:} false; then :
12641 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12644 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12645 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12646 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12647 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12648 ac_save_CPPFLAGS=$CPPFLAGS
12649 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12650 for ac_header in ft2build.h
12651 do :
12652 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12653 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12654 cat >>confdefs.h <<_ACEOF
12655 #define HAVE_FT2BUILD_H 1
12656 _ACEOF
12660 done
12662 if test "$ac_cv_header_ft2build_h" = "yes"
12663 then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12665 $as_echo_n "checking for -lfreetype... " >&6; }
12666 if ${ac_cv_lib_soname_freetype+:} false; then :
12667 $as_echo_n "(cached) " >&6
12668 else
12669 ac_check_soname_save_LIBS=$LIBS
12670 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12677 #ifdef __cplusplus
12678 extern "C"
12679 #endif
12680 char FT_Init_FreeType ();
12682 main ()
12684 return FT_Init_FreeType ();
12686 return 0;
12688 _ACEOF
12689 if ac_fn_c_try_link "$LINENO"; then :
12690 case "$LIBEXT" in
12691 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12692 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'` ;;
12693 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12694 if ${ac_cv_lib_soname_freetype:+false} :; then :
12695 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12696 fi ;;
12697 esac
12699 rm -f core conftest.err conftest.$ac_objext \
12700 conftest$ac_exeext conftest.$ac_ext
12701 LIBS=$ac_check_soname_save_LIBS
12703 if ${ac_cv_lib_soname_freetype:+false} :; then :
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12705 $as_echo "not found" >&6; }
12706 FREETYPE_LIBS=""
12707 else
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12709 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12711 cat >>confdefs.h <<_ACEOF
12712 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12713 _ACEOF
12716 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12718 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12719 #include FT_MODULE_H
12721 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12723 cat >>confdefs.h <<_ACEOF
12724 #define HAVE_FT_TRUETYPEENGINETYPE 1
12725 _ACEOF
12731 else
12732 FREETYPE_CFLAGS=""
12733 FREETYPE_LIBS=""
12735 CPPFLAGS=$ac_save_CPPFLAGS
12736 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12737 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12740 if test "x$ac_cv_lib_soname_freetype" = x; then :
12741 case "x$with_freetype" in
12742 xno) ;;
12743 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12744 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12745 esac
12746 enable_fonts=${enable_fonts:-no}
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12750 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12751 if ${ac_cv_c_ppdev+:} false; then :
12752 $as_echo_n "(cached) " >&6
12753 else
12754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12756 #ifdef HAVE_SYS_IOCTL_H
12757 # include <sys/ioctl.h>
12758 #endif
12759 #include <linux/ppdev.h>
12761 main ()
12763 ioctl (1,PPCLAIM,0)
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_compile "$LINENO"; then :
12769 ac_cv_c_ppdev="yes"
12770 else
12771 ac_cv_c_ppdev="no"
12773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12776 $as_echo "$ac_cv_c_ppdev" >&6; }
12777 if test "$ac_cv_c_ppdev" = "yes"
12778 then
12780 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12784 ac_wine_check_funcs_save_LIBS="$LIBS"
12785 LIBS="$LIBS $PTHREAD_LIBS"
12786 for ac_func in \
12787 pthread_attr_get_np \
12788 pthread_getattr_np \
12789 pthread_getthreadid_np \
12790 pthread_get_stackaddr_np \
12791 pthread_get_stacksize_np
12792 do :
12793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12795 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12796 cat >>confdefs.h <<_ACEOF
12797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12798 _ACEOF
12801 done
12803 LIBS="$ac_wine_check_funcs_save_LIBS"
12805 if test "$ac_cv_header_zlib_h" = "yes"
12806 then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12808 $as_echo_n "checking for inflate in -lz... " >&6; }
12809 if ${ac_cv_lib_z_inflate+:} false; then :
12810 $as_echo_n "(cached) " >&6
12811 else
12812 ac_check_lib_save_LIBS=$LIBS
12813 LIBS="-lz $LIBS"
12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12820 #ifdef __cplusplus
12821 extern "C"
12822 #endif
12823 char inflate ();
12825 main ()
12827 return inflate ();
12829 return 0;
12831 _ACEOF
12832 if ac_fn_c_try_link "$LINENO"; then :
12833 ac_cv_lib_z_inflate=yes
12834 else
12835 ac_cv_lib_z_inflate=no
12837 rm -f core conftest.err conftest.$ac_objext \
12838 conftest$ac_exeext conftest.$ac_ext
12839 LIBS=$ac_check_lib_save_LIBS
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12842 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12843 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12845 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12847 Z_LIBS="-lz"
12852 if test "x$Z_LIBS" = "x"; then :
12853 case "x$with_zlib" in
12854 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12855 xno) ;;
12856 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12857 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12858 esac
12862 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12863 then
12864 if test "$ac_cv_header_gettext_po_h" = "yes"
12865 then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12867 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12868 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12869 $as_echo_n "(cached) " >&6
12870 else
12871 ac_check_lib_save_LIBS=$LIBS
12872 LIBS="-lgettextpo $LIBS"
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12876 /* Override any GCC internal prototype to avoid an error.
12877 Use char because int might match the return type of a GCC
12878 builtin and then its argument prototype would still apply. */
12879 #ifdef __cplusplus
12880 extern "C"
12881 #endif
12882 char po_message_msgctxt ();
12884 main ()
12886 return po_message_msgctxt ();
12888 return 0;
12890 _ACEOF
12891 if ac_fn_c_try_link "$LINENO"; then :
12892 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12893 else
12894 ac_cv_lib_gettextpo_po_message_msgctxt=no
12896 rm -f core conftest.err conftest.$ac_objext \
12897 conftest$ac_exeext conftest.$ac_ext
12898 LIBS=$ac_check_lib_save_LIBS
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12901 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12902 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12904 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12906 GETTEXTPO_LIBS="-lgettextpo"
12911 if test "x$GETTEXTPO_LIBS" = "x"; then :
12912 case "x$with_gettextpo" in
12913 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12914 xno) ;;
12915 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12916 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12917 esac
12920 if test "$srcdir" != .; then :
12921 case "x$with_gettextpo" in
12922 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12923 xno) ;;
12924 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12925 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12926 esac
12931 if test "x$with_pulse" != "xno";
12932 then
12933 if ${PULSE_CFLAGS:+false} :; then :
12934 if ${PKG_CONFIG+:} false; then :
12935 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12939 if ${PULSE_LIBS:+false} :; then :
12940 if ${PKG_CONFIG+:} false; then :
12941 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12946 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12947 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12948 ac_save_CPPFLAGS=$CPPFLAGS
12949 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12950 for ac_header in pulse/pulseaudio.h
12951 do :
12952 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12953 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12954 cat >>confdefs.h <<_ACEOF
12955 #define HAVE_PULSE_PULSEAUDIO_H 1
12956 _ACEOF
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12958 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12959 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12960 $as_echo_n "(cached) " >&6
12961 else
12962 ac_check_lib_save_LIBS=$LIBS
12963 LIBS="-lpulse $PULSE_LIBS $LIBS"
12964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12967 /* Override any GCC internal prototype to avoid an error.
12968 Use char because int might match the return type of a GCC
12969 builtin and then its argument prototype would still apply. */
12970 #ifdef __cplusplus
12971 extern "C"
12972 #endif
12973 char pa_stream_is_corked ();
12975 main ()
12977 return pa_stream_is_corked ();
12979 return 0;
12981 _ACEOF
12982 if ac_fn_c_try_link "$LINENO"; then :
12983 ac_cv_lib_pulse_pa_stream_is_corked=yes
12984 else
12985 ac_cv_lib_pulse_pa_stream_is_corked=no
12987 rm -f core conftest.err conftest.$ac_objext \
12988 conftest$ac_exeext conftest.$ac_ext
12989 LIBS=$ac_check_lib_save_LIBS
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12992 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12993 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12995 else
12996 PULSE_LIBS=""
12999 else
13000 PULSE_LIBS=""
13003 done
13005 CPPFLAGS=$ac_save_CPPFLAGS
13006 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13007 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13010 if test -z "$PULSE_LIBS"; then :
13011 case "x$with_pulse" in
13012 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13013 xno) ;;
13014 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13015 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13016 esac
13017 enable_winepulse_drv=${enable_winepulse_drv:-no}
13020 if test "x$with_gstreamer" != "xno"
13021 then
13022 if ${GSTREAMER_CFLAGS:+false} :; then :
13023 if ${PKG_CONFIG+:} false; then :
13024 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13028 if ${GSTREAMER_LIBS:+false} :; then :
13029 if ${PKG_CONFIG+:} false; then :
13030 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13035 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13036 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13037 ac_save_CPPFLAGS=$CPPFLAGS
13038 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13039 ac_gst_incl=""
13040 for i in $GSTREAMER_CFLAGS
13042 case "$i" in
13043 -I*) ac_gst_incl="$ac_gst_incl $i";;
13044 esac
13045 done
13046 GSTREAMER_CFLAGS=$ac_gst_incl
13047 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13048 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13049 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13051 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13054 #include <gst/gst.h>
13056 main ()
13058 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13060 return 0;
13062 _ACEOF
13063 if ac_fn_c_try_compile "$LINENO"; then :
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13065 $as_echo "yes" >&6; }
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13067 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13068 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13069 $as_echo_n "(cached) " >&6
13070 else
13071 ac_check_lib_save_LIBS=$LIBS
13072 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13076 /* Override any GCC internal prototype to avoid an error.
13077 Use char because int might match the return type of a GCC
13078 builtin and then its argument prototype would still apply. */
13079 #ifdef __cplusplus
13080 extern "C"
13081 #endif
13082 char gst_pad_new ();
13084 main ()
13086 return gst_pad_new ();
13088 return 0;
13090 _ACEOF
13091 if ac_fn_c_try_link "$LINENO"; then :
13092 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13093 else
13094 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13096 rm -f core conftest.err conftest.$ac_objext \
13097 conftest$ac_exeext conftest.$ac_ext
13098 LIBS=$ac_check_lib_save_LIBS
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13101 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13102 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13106 else
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13108 $as_echo "no" >&6; }
13109 ac_glib2_broken=yes
13110 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13116 CPPFLAGS=$ac_save_CPPFLAGS
13117 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13118 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13121 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 :
13122 case "x$with_gstreamer" in
13123 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13124 xno) ;;
13125 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13126 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13127 esac
13130 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13132 ALSA_LIBS=""
13134 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13135 then
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13137 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13138 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13139 $as_echo_n "(cached) " >&6
13140 else
13141 ac_check_lib_save_LIBS=$LIBS
13142 LIBS="-lasound $LIBS"
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 /* Override any GCC internal prototype to avoid an error.
13147 Use char because int might match the return type of a GCC
13148 builtin and then its argument prototype would still apply. */
13149 #ifdef __cplusplus
13150 extern "C"
13151 #endif
13152 char snd_pcm_hw_params_get_access_mask ();
13154 main ()
13156 return snd_pcm_hw_params_get_access_mask ();
13158 return 0;
13160 _ACEOF
13161 if ac_fn_c_try_link "$LINENO"; then :
13162 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13163 else
13164 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13166 rm -f core conftest.err conftest.$ac_objext \
13167 conftest$ac_exeext conftest.$ac_ext
13168 LIBS=$ac_check_lib_save_LIBS
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13171 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13172 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13174 /* end confdefs.h. */
13175 #ifdef HAVE_ALSA_ASOUNDLIB_H
13176 #include <alsa/asoundlib.h>
13177 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13178 #include <sys/asoundlib.h>
13179 #endif
13181 main ()
13183 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13185 return 0;
13187 _ACEOF
13188 if ac_fn_c_try_compile "$LINENO"; then :
13189 ALSA_LIBS="-lasound"
13191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13195 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13197 if test "x$with_oss" != xno
13198 then
13199 ac_save_CPPFLAGS="$CPPFLAGS"
13200 if test -f /etc/oss.conf
13201 then
13202 . /etc/oss.conf
13204 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13205 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13206 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13207 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13208 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13210 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13212 cat >>confdefs.h <<_ACEOF
13213 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13214 _ACEOF
13216 OSS4_CFLAGS="$ac_oss_incl"
13223 CPPFLAGS="$ac_save_CPPFLAGS"
13225 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13226 case "x$with_oss" in
13227 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13228 xno) ;;
13229 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13230 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13231 esac
13232 enable_wineoss_drv=${enable_wineoss_drv:-no}
13235 if test "x$with_udev" != "xno"
13236 then
13237 if ${UDEV_CFLAGS:+false} :; then :
13238 if ${PKG_CONFIG+:} false; then :
13239 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13243 if ${UDEV_LIBS:+false} :; then :
13244 if ${PKG_CONFIG+:} false; then :
13245 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13249 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13250 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13251 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13252 ac_save_CPPFLAGS=$CPPFLAGS
13253 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13254 for ac_header in libudev.h
13255 do :
13256 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13257 if test "x$ac_cv_header_libudev_h" = xyes; then :
13258 cat >>confdefs.h <<_ACEOF
13259 #define HAVE_LIBUDEV_H 1
13260 _ACEOF
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13262 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13263 if ${ac_cv_lib_udev_udev_new+:} false; then :
13264 $as_echo_n "(cached) " >&6
13265 else
13266 ac_check_lib_save_LIBS=$LIBS
13267 LIBS="-ludev $UDEV_LIBS $LIBS"
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13274 #ifdef __cplusplus
13275 extern "C"
13276 #endif
13277 char udev_new ();
13279 main ()
13281 return udev_new ();
13283 return 0;
13285 _ACEOF
13286 if ac_fn_c_try_link "$LINENO"; then :
13287 ac_cv_lib_udev_udev_new=yes
13288 else
13289 ac_cv_lib_udev_udev_new=no
13291 rm -f core conftest.err conftest.$ac_objext \
13292 conftest$ac_exeext conftest.$ac_ext
13293 LIBS=$ac_check_lib_save_LIBS
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13296 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13297 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13299 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13301 else
13302 UDEV_LIBS=""
13305 else
13306 UDEV_LIBS=""
13309 done
13311 CPPFLAGS=$ac_save_CPPFLAGS
13312 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13313 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13316 if test "x$UDEV_LIBS" = "x"; then :
13317 case "x$with_udev" in
13318 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13319 xno) ;;
13320 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13321 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13322 esac
13326 if test "x$with_capi" != "xno"
13327 then
13328 if ${CAPI20_CFLAGS:+false} :; then :
13329 if ${PKG_CONFIG+:} false; then :
13330 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13334 if ${CAPI20_LIBS:+false} :; then :
13335 if ${PKG_CONFIG+:} false; then :
13336 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13341 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13342 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13343 ac_save_CPPFLAGS=$CPPFLAGS
13344 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13345 for ac_header in capi20.h linux/capi.h
13346 do :
13347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13351 cat >>confdefs.h <<_ACEOF
13352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13353 _ACEOF
13357 done
13359 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13360 then
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13362 $as_echo_n "checking for -lcapi20... " >&6; }
13363 if ${ac_cv_lib_soname_capi20+:} false; then :
13364 $as_echo_n "(cached) " >&6
13365 else
13366 ac_check_soname_save_LIBS=$LIBS
13367 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13371 /* Override any GCC internal prototype to avoid an error.
13372 Use char because int might match the return type of a GCC
13373 builtin and then its argument prototype would still apply. */
13374 #ifdef __cplusplus
13375 extern "C"
13376 #endif
13377 char capi20_register ();
13379 main ()
13381 return capi20_register ();
13383 return 0;
13385 _ACEOF
13386 if ac_fn_c_try_link "$LINENO"; then :
13387 case "$LIBEXT" in
13388 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13389 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'` ;;
13390 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13391 if ${ac_cv_lib_soname_capi20:+false} :; then :
13392 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13393 fi ;;
13394 esac
13396 rm -f core conftest.err conftest.$ac_objext \
13397 conftest$ac_exeext conftest.$ac_ext
13398 LIBS=$ac_check_soname_save_LIBS
13400 if ${ac_cv_lib_soname_capi20:+false} :; then :
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13402 $as_echo "not found" >&6; }
13404 else
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13406 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13408 cat >>confdefs.h <<_ACEOF
13409 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13410 _ACEOF
13415 CPPFLAGS=$ac_save_CPPFLAGS
13416 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13417 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13420 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13421 case "x$with_capi" in
13422 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13423 xno) ;;
13424 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13425 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13426 esac
13430 CUPS_CFLAGS=""
13432 if test "x$with_cups" != "xno"
13433 then
13434 ac_save_CPPFLAGS="$CPPFLAGS"
13435 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13436 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13437 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13438 for ac_header in cups/cups.h
13439 do :
13440 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13441 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13442 cat >>confdefs.h <<_ACEOF
13443 #define HAVE_CUPS_CUPS_H 1
13444 _ACEOF
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13446 $as_echo_n "checking for -lcups... " >&6; }
13447 if ${ac_cv_lib_soname_cups+:} false; then :
13448 $as_echo_n "(cached) " >&6
13449 else
13450 ac_check_soname_save_LIBS=$LIBS
13451 LIBS="-lcups $ac_cups_libs $LIBS"
13452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13455 /* Override any GCC internal prototype to avoid an error.
13456 Use char because int might match the return type of a GCC
13457 builtin and then its argument prototype would still apply. */
13458 #ifdef __cplusplus
13459 extern "C"
13460 #endif
13461 char cupsGetDefault ();
13463 main ()
13465 return cupsGetDefault ();
13467 return 0;
13469 _ACEOF
13470 if ac_fn_c_try_link "$LINENO"; then :
13471 case "$LIBEXT" in
13472 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13473 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'` ;;
13474 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13475 if ${ac_cv_lib_soname_cups:+false} :; then :
13476 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13477 fi ;;
13478 esac
13480 rm -f core conftest.err conftest.$ac_objext \
13481 conftest$ac_exeext conftest.$ac_ext
13482 LIBS=$ac_check_soname_save_LIBS
13484 if ${ac_cv_lib_soname_cups:+false} :; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13486 $as_echo "not found" >&6; }
13488 else
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13490 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13492 cat >>confdefs.h <<_ACEOF
13493 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13494 _ACEOF
13496 CUPS_CFLAGS="$ac_cups_cflags"
13498 for ac_header in cups/ppd.h
13499 do :
13500 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13501 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13502 cat >>confdefs.h <<_ACEOF
13503 #define HAVE_CUPS_PPD_H 1
13504 _ACEOF
13508 done
13512 done
13514 CPPFLAGS="$ac_save_CPPFLAGS"
13516 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13517 case "x$with_cups" in
13518 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13519 xno) ;;
13520 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13521 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13522 esac
13526 if test "x$with_fontconfig" != "xno"
13527 then
13528 if ${FONTCONFIG_CFLAGS:+false} :; then :
13529 if ${PKG_CONFIG+:} false; then :
13530 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13533 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13534 if ${FONTCONFIG_LIBS:+false} :; then :
13535 if ${PKG_CONFIG+:} false; then :
13536 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13539 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13541 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13542 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13543 ac_save_CPPFLAGS=$CPPFLAGS
13544 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13545 for ac_header in fontconfig/fontconfig.h
13546 do :
13547 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13548 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13549 cat >>confdefs.h <<_ACEOF
13550 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13551 _ACEOF
13555 done
13557 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13558 then
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13560 $as_echo_n "checking for -lfontconfig... " >&6; }
13561 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13562 $as_echo_n "(cached) " >&6
13563 else
13564 ac_check_soname_save_LIBS=$LIBS
13565 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13569 /* Override any GCC internal prototype to avoid an error.
13570 Use char because int might match the return type of a GCC
13571 builtin and then its argument prototype would still apply. */
13572 #ifdef __cplusplus
13573 extern "C"
13574 #endif
13575 char FcInit ();
13577 main ()
13579 return FcInit ();
13581 return 0;
13583 _ACEOF
13584 if ac_fn_c_try_link "$LINENO"; then :
13585 case "$LIBEXT" in
13586 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13587 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'` ;;
13588 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13589 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13590 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13591 fi ;;
13592 esac
13594 rm -f core conftest.err conftest.$ac_objext \
13595 conftest$ac_exeext conftest.$ac_ext
13596 LIBS=$ac_check_soname_save_LIBS
13598 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13600 $as_echo "not found" >&6; }
13601 FONTCONFIG_CFLAGS=""
13602 else
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13604 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13606 cat >>confdefs.h <<_ACEOF
13607 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13608 _ACEOF
13612 else
13613 FONTCONFIG_CFLAGS=""
13615 CPPFLAGS=$ac_save_CPPFLAGS
13616 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13617 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13620 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13621 case "x$with_fontconfig" in
13622 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13623 xno) ;;
13624 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13625 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13626 esac
13630 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13631 then
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13633 $as_echo_n "checking for -lgsm... " >&6; }
13634 if ${ac_cv_lib_soname_gsm+:} false; then :
13635 $as_echo_n "(cached) " >&6
13636 else
13637 ac_check_soname_save_LIBS=$LIBS
13638 LIBS="-lgsm $LIBS"
13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13642 /* Override any GCC internal prototype to avoid an error.
13643 Use char because int might match the return type of a GCC
13644 builtin and then its argument prototype would still apply. */
13645 #ifdef __cplusplus
13646 extern "C"
13647 #endif
13648 char gsm_create ();
13650 main ()
13652 return gsm_create ();
13654 return 0;
13656 _ACEOF
13657 if ac_fn_c_try_link "$LINENO"; then :
13658 case "$LIBEXT" in
13659 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13660 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'` ;;
13661 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13662 if ${ac_cv_lib_soname_gsm:+false} :; then :
13663 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13664 fi ;;
13665 esac
13667 rm -f core conftest.err conftest.$ac_objext \
13668 conftest$ac_exeext conftest.$ac_ext
13669 LIBS=$ac_check_soname_save_LIBS
13671 if ${ac_cv_lib_soname_gsm:+false} :; then :
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13673 $as_echo "not found" >&6; }
13675 else
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13677 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13679 cat >>confdefs.h <<_ACEOF
13680 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13681 _ACEOF
13686 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13687 case "x$with_gsm" in
13688 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13689 xno) ;;
13690 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13691 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13692 esac
13696 if test "x$with_jpeg" != "xno"
13697 then
13698 if ${JPEG_CFLAGS:+false} :; then :
13699 if ${PKG_CONFIG+:} false; then :
13700 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13704 if ${JPEG_LIBS:+false} :; then :
13705 if ${PKG_CONFIG+:} false; then :
13706 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13711 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13712 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13713 ac_save_CPPFLAGS=$CPPFLAGS
13714 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13715 for ac_header in jpeglib.h
13716 do :
13717 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13718 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13719 cat >>confdefs.h <<_ACEOF
13720 #define HAVE_JPEGLIB_H 1
13721 _ACEOF
13725 done
13727 if test "$ac_cv_header_jpeglib_h" = "yes"
13728 then
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13730 $as_echo_n "checking for -ljpeg... " >&6; }
13731 if ${ac_cv_lib_soname_jpeg+:} false; then :
13732 $as_echo_n "(cached) " >&6
13733 else
13734 ac_check_soname_save_LIBS=$LIBS
13735 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13739 /* Override any GCC internal prototype to avoid an error.
13740 Use char because int might match the return type of a GCC
13741 builtin and then its argument prototype would still apply. */
13742 #ifdef __cplusplus
13743 extern "C"
13744 #endif
13745 char jpeg_start_decompress ();
13747 main ()
13749 return jpeg_start_decompress ();
13751 return 0;
13753 _ACEOF
13754 if ac_fn_c_try_link "$LINENO"; then :
13755 case "$LIBEXT" in
13756 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13757 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'` ;;
13758 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13759 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13760 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13761 fi ;;
13762 esac
13764 rm -f core conftest.err conftest.$ac_objext \
13765 conftest$ac_exeext conftest.$ac_ext
13766 LIBS=$ac_check_soname_save_LIBS
13768 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13770 $as_echo "not found" >&6; }
13771 JPEG_CFLAGS=""
13772 else
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13774 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13776 cat >>confdefs.h <<_ACEOF
13777 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13778 _ACEOF
13782 else
13783 JPEG_CFLAGS=""
13785 CPPFLAGS=$ac_save_CPPFLAGS
13786 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13787 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13790 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13791 case "x$with_jpeg" in
13792 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13793 xno) ;;
13794 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13795 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13796 esac
13800 if test "x$with_png" != "xno"
13801 then
13802 if ${PNG_CFLAGS:+false} :; then :
13803 if ${PKG_CONFIG+:} false; then :
13804 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13807 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13808 if ${PNG_LIBS:+false} :; then :
13809 if ${PKG_CONFIG+:} false; then :
13810 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13813 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13815 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13816 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13817 ac_save_CPPFLAGS=$CPPFLAGS
13818 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13819 for ac_header in png.h
13820 do :
13821 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13822 if test "x$ac_cv_header_png_h" = xyes; then :
13823 cat >>confdefs.h <<_ACEOF
13824 #define HAVE_PNG_H 1
13825 _ACEOF
13829 done
13831 if test "$ac_cv_header_png_h" = "yes"
13832 then
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13834 $as_echo_n "checking for -lpng... " >&6; }
13835 if ${ac_cv_lib_soname_png+:} false; then :
13836 $as_echo_n "(cached) " >&6
13837 else
13838 ac_check_soname_save_LIBS=$LIBS
13839 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 #ifdef __cplusplus
13847 extern "C"
13848 #endif
13849 char png_create_read_struct ();
13851 main ()
13853 return png_create_read_struct ();
13855 return 0;
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"; then :
13859 case "$LIBEXT" in
13860 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13861 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'` ;;
13862 *) 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'`
13863 if ${ac_cv_lib_soname_png:+false} :; then :
13864 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13865 fi ;;
13866 esac
13868 rm -f core conftest.err conftest.$ac_objext \
13869 conftest$ac_exeext conftest.$ac_ext
13870 LIBS=$ac_check_soname_save_LIBS
13872 if ${ac_cv_lib_soname_png:+false} :; then :
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13874 $as_echo "not found" >&6; }
13875 PNG_CFLAGS=""
13876 else
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13878 $as_echo "$ac_cv_lib_soname_png" >&6; }
13880 cat >>confdefs.h <<_ACEOF
13881 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13882 _ACEOF
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13886 #include <png.h>
13888 main ()
13890 typeof(png_set_expand_gray_1_2_4_to_8) *p
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_compile "$LINENO"; then :
13897 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13902 else
13903 PNG_CFLAGS=""
13905 CPPFLAGS=$ac_save_CPPFLAGS
13906 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13907 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13910 if test "x$ac_cv_lib_soname_png" = "x"; then :
13911 case "x$with_png" in
13912 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13913 xno) ;;
13914 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13915 This is an error since --with-png was requested." "$LINENO" 5 ;;
13916 esac
13920 if test "x$with_tiff" != "xno"
13921 then
13922 if ${TIFF_CFLAGS:+false} :; then :
13923 if ${PKG_CONFIG+:} false; then :
13924 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13928 if ${TIFF_LIBS:+false} :; then :
13929 if ${PKG_CONFIG+:} false; then :
13930 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13935 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13936 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13937 ac_save_CPPFLAGS=$CPPFLAGS
13938 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13939 for ac_header in tiffio.h
13940 do :
13941 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13942 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13943 cat >>confdefs.h <<_ACEOF
13944 #define HAVE_TIFFIO_H 1
13945 _ACEOF
13949 done
13951 if test "$ac_cv_header_tiffio_h" = "yes"
13952 then
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13954 $as_echo_n "checking for -ltiff... " >&6; }
13955 if ${ac_cv_lib_soname_tiff+:} false; then :
13956 $as_echo_n "(cached) " >&6
13957 else
13958 ac_check_soname_save_LIBS=$LIBS
13959 LIBS="-ltiff $TIFF_LIBS $LIBS"
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13963 /* Override any GCC internal prototype to avoid an error.
13964 Use char because int might match the return type of a GCC
13965 builtin and then its argument prototype would still apply. */
13966 #ifdef __cplusplus
13967 extern "C"
13968 #endif
13969 char TIFFClientOpen ();
13971 main ()
13973 return TIFFClientOpen ();
13975 return 0;
13977 _ACEOF
13978 if ac_fn_c_try_link "$LINENO"; then :
13979 case "$LIBEXT" in
13980 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13981 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'` ;;
13982 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13983 if ${ac_cv_lib_soname_tiff:+false} :; then :
13984 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13985 fi ;;
13986 esac
13988 rm -f core conftest.err conftest.$ac_objext \
13989 conftest$ac_exeext conftest.$ac_ext
13990 LIBS=$ac_check_soname_save_LIBS
13992 if ${ac_cv_lib_soname_tiff:+false} :; then :
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13994 $as_echo "not found" >&6; }
13996 else
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13998 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14000 cat >>confdefs.h <<_ACEOF
14001 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14002 _ACEOF
14007 CPPFLAGS=$ac_save_CPPFLAGS
14008 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14009 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14012 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14013 case "x$with_tiff" in
14014 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14015 xno) ;;
14016 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14017 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14018 esac
14022 if test "x$with_mpg123" != "xno"
14023 then
14024 if ${MPG123_CFLAGS:+false} :; then :
14025 if ${PKG_CONFIG+:} false; then :
14026 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14030 if ${MPG123_LIBS:+false} :; then :
14031 if ${PKG_CONFIG+:} false; then :
14032 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14036 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14037 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14038 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14039 ac_save_CPPFLAGS=$CPPFLAGS
14040 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14041 for ac_header in mpg123.h
14042 do :
14043 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14044 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14045 cat >>confdefs.h <<_ACEOF
14046 #define HAVE_MPG123_H 1
14047 _ACEOF
14051 done
14053 if test "$ac_cv_header_mpg123_h" = "yes"
14054 then
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14056 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14057 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14058 $as_echo_n "(cached) " >&6
14059 else
14060 ac_check_lib_save_LIBS=$LIBS
14061 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14065 /* Override any GCC internal prototype to avoid an error.
14066 Use char because int might match the return type of a GCC
14067 builtin and then its argument prototype would still apply. */
14068 #ifdef __cplusplus
14069 extern "C"
14070 #endif
14071 char mpg123_feed ();
14073 main ()
14075 return mpg123_feed ();
14077 return 0;
14079 _ACEOF
14080 if ac_fn_c_try_link "$LINENO"; then :
14081 ac_cv_lib_mpg123_mpg123_feed=yes
14082 else
14083 ac_cv_lib_mpg123_mpg123_feed=no
14085 rm -f core conftest.err conftest.$ac_objext \
14086 conftest$ac_exeext conftest.$ac_ext
14087 LIBS=$ac_check_lib_save_LIBS
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14090 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14091 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14093 else
14094 MPG123_LIBS=""
14097 else
14098 MPG123_CFLAGS=""
14099 MPG123_LIBS=""
14101 CPPFLAGS=$ac_save_CPPFLAGS
14102 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14103 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14106 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14107 case "x$with_mpg123" in
14108 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14109 xno) ;;
14110 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14111 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14112 esac
14113 enable_winemp3_acm=${enable_winemp3_acm:-no}
14116 if test "$ac_cv_header_AL_al_h" = "yes"
14117 then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14119 $as_echo_n "checking for -lopenal... " >&6; }
14120 if ${ac_cv_lib_soname_openal+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_check_soname_save_LIBS=$LIBS
14124 LIBS="-lopenal $LIBS"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14128 /* Override any GCC internal prototype to avoid an error.
14129 Use char because int might match the return type of a GCC
14130 builtin and then its argument prototype would still apply. */
14131 #ifdef __cplusplus
14132 extern "C"
14133 #endif
14134 char alGetSource3i ();
14136 main ()
14138 return alGetSource3i ();
14140 return 0;
14142 _ACEOF
14143 if ac_fn_c_try_link "$LINENO"; then :
14144 case "$LIBEXT" in
14145 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14146 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'` ;;
14147 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14148 if ${ac_cv_lib_soname_openal:+false} :; then :
14149 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14150 fi ;;
14151 esac
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 LIBS=$ac_check_soname_save_LIBS
14157 if ${ac_cv_lib_soname_openal:+false} :; then :
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14159 $as_echo "not found" >&6; }
14161 else
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14163 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14165 cat >>confdefs.h <<_ACEOF
14166 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14167 _ACEOF
14169 OPENAL_LIBS="-lopenal"
14171 ac_cv_lib_openal=yes
14173 cat >>confdefs.h <<_ACEOF
14174 #define HAVE_OPENAL 1
14175 _ACEOF
14179 if test "x$ac_cv_lib_openal" != xyes; then :
14180 case "x$with_openal" in
14181 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14182 xno) ;;
14183 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14184 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14185 esac
14186 enable_openal32=${enable_openal32:-no}
14189 if test "x$ac_cv_lib_openal" = xyes
14190 then
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14192 $as_echo_n "checking for openal-soft... " >&6; }
14193 if ${ac_cv_have_openalsoft+:} false; then :
14194 $as_echo_n "(cached) " >&6
14195 else
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 #include <AL/al.h>
14199 #include <AL/alc.h>
14200 #include <AL/alext.h>
14201 LPALCRENDERSAMPLESSOFT x;
14203 main ()
14207 return 0;
14209 _ACEOF
14210 if ac_fn_c_try_compile "$LINENO"; then :
14211 ac_cv_have_openalsoft=yes
14212 else
14213 ac_cv_have_openalsoft=no
14215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14218 $as_echo "$ac_cv_have_openalsoft" >&6; }
14220 if test "x$ac_cv_have_openalsoft" != xyes
14221 then
14222 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14223 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14224 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14225 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14226 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14227 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14228 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14229 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14230 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14231 enable_xapofx1_1=${enable_xapofx1_1:-no}
14232 enable_xapofx1_2=${enable_xapofx1_2:-no}
14233 enable_xapofx1_3=${enable_xapofx1_3:-no}
14234 enable_xapofx1_4=${enable_xapofx1_4:-no}
14235 enable_xapofx1_5=${enable_xapofx1_5:-no}
14236 enable_xaudio2_0=${enable_xaudio2_0:-no}
14237 enable_xaudio2_1=${enable_xaudio2_1:-no}
14238 enable_xaudio2_2=${enable_xaudio2_2:-no}
14239 enable_xaudio2_3=${enable_xaudio2_3:-no}
14240 enable_xaudio2_4=${enable_xaudio2_4:-no}
14241 enable_xaudio2_5=${enable_xaudio2_5:-no}
14242 enable_xaudio2_6=${enable_xaudio2_6:-no}
14243 enable_xaudio2_7=${enable_xaudio2_7:-no}
14244 enable_xaudio2_8=${enable_xaudio2_8:-no}
14245 enable_xaudio2_9=${enable_xaudio2_9:-no}
14248 if test "$ac_cv_header_kstat_h" = "yes"
14249 then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14251 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14252 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 ac_check_lib_save_LIBS=$LIBS
14256 LIBS="-lkstat $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 #ifdef __cplusplus
14264 extern "C"
14265 #endif
14266 char kstat_open ();
14268 main ()
14270 return kstat_open ();
14272 return 0;
14274 _ACEOF
14275 if ac_fn_c_try_link "$LINENO"; then :
14276 ac_cv_lib_kstat_kstat_open=yes
14277 else
14278 ac_cv_lib_kstat_kstat_open=no
14280 rm -f core conftest.err conftest.$ac_objext \
14281 conftest$ac_exeext conftest.$ac_ext
14282 LIBS=$ac_check_lib_save_LIBS
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14285 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14286 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14288 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14290 KSTAT_LIBS="-lkstat"
14296 if test "$ac_cv_header_libprocstat_h" = "yes"
14297 then
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14299 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14300 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14301 $as_echo_n "(cached) " >&6
14302 else
14303 ac_check_lib_save_LIBS=$LIBS
14304 LIBS="-lprocstat $LIBS"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14308 /* Override any GCC internal prototype to avoid an error.
14309 Use char because int might match the return type of a GCC
14310 builtin and then its argument prototype would still apply. */
14311 #ifdef __cplusplus
14312 extern "C"
14313 #endif
14314 char procstat_open_sysctl ();
14316 main ()
14318 return procstat_open_sysctl ();
14320 return 0;
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 ac_cv_lib_procstat_procstat_open_sysctl=yes
14325 else
14326 ac_cv_lib_procstat_procstat_open_sysctl=no
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_lib_save_LIBS
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14333 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14334 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14336 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14338 PROCSTAT_LIBS="-lprocstat"
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14345 $as_echo_n "checking for -lodbc... " >&6; }
14346 if ${ac_cv_lib_soname_odbc+:} false; then :
14347 $as_echo_n "(cached) " >&6
14348 else
14349 ac_check_soname_save_LIBS=$LIBS
14350 LIBS="-lodbc $LIBS"
14351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14354 /* Override any GCC internal prototype to avoid an error.
14355 Use char because int might match the return type of a GCC
14356 builtin and then its argument prototype would still apply. */
14357 #ifdef __cplusplus
14358 extern "C"
14359 #endif
14360 char SQLConnect ();
14362 main ()
14364 return SQLConnect ();
14366 return 0;
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"; then :
14370 case "$LIBEXT" in
14371 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14372 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'` ;;
14373 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14374 if ${ac_cv_lib_soname_odbc:+false} :; then :
14375 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14376 fi ;;
14377 esac
14379 rm -f core conftest.err conftest.$ac_objext \
14380 conftest$ac_exeext conftest.$ac_ext
14381 LIBS=$ac_check_soname_save_LIBS
14383 if ${ac_cv_lib_soname_odbc:+false} :; then :
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14385 $as_echo "not found" >&6; }
14386 cat >>confdefs.h <<_ACEOF
14387 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14388 _ACEOF
14390 else
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14392 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14394 cat >>confdefs.h <<_ACEOF
14395 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14396 _ACEOF
14401 if test "x$with_netapi" != "xno"
14402 then
14403 if ${NETAPI_CFLAGS:+false} :; then :
14404 if ${PKG_CONFIG+:} false; then :
14405 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14409 if ${NETAPI_LIBS:+false} :; then :
14410 if ${PKG_CONFIG+:} false; then :
14411 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14416 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14417 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14418 ac_save_CPPFLAGS=$CPPFLAGS
14419 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14421 $as_echo_n "checking for -lnetapi... " >&6; }
14422 if ${ac_cv_lib_soname_netapi+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 ac_check_soname_save_LIBS=$LIBS
14426 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14430 /* Override any GCC internal prototype to avoid an error.
14431 Use char because int might match the return type of a GCC
14432 builtin and then its argument prototype would still apply. */
14433 #ifdef __cplusplus
14434 extern "C"
14435 #endif
14436 char libnetapi_init ();
14438 main ()
14440 return libnetapi_init ();
14442 return 0;
14444 _ACEOF
14445 if ac_fn_c_try_link "$LINENO"; then :
14446 case "$LIBEXT" in
14447 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14448 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'` ;;
14449 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14450 if ${ac_cv_lib_soname_netapi:+false} :; then :
14451 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14452 fi ;;
14453 esac
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 LIBS=$ac_check_soname_save_LIBS
14459 if ${ac_cv_lib_soname_netapi:+false} :; then :
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14461 $as_echo "not found" >&6; }
14462 cat >>confdefs.h <<_ACEOF
14463 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14464 _ACEOF
14466 else
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14468 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14470 cat >>confdefs.h <<_ACEOF
14471 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14472 _ACEOF
14476 CPPFLAGS=$ac_save_CPPFLAGS
14477 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14478 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14482 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14483 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14484 then
14485 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14489 EXTRACFLAGS=""
14491 if test "x${GCC}" = "xyes"
14492 then
14493 EXTRACFLAGS="-Wall -pipe"
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14496 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14497 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14498 $as_echo_n "(cached) " >&6
14499 else
14500 if test "$cross_compiling" = yes; then :
14501 ac_cv_c_gcc_strength_bug="no"
14502 else
14503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14505 int L[4] = {0,1,2,3};
14507 main ()
14509 static int Array[3];
14510 unsigned int B = 3;
14511 int i;
14512 for(i=0; i<B; i++) Array[i] = i - 3;
14513 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14514 L[i] = 4;
14515 return (Array[1] != -2 || L[2] != 3)
14517 return 0;
14519 _ACEOF
14520 if ac_fn_c_try_run "$LINENO"; then :
14521 ac_cv_c_gcc_strength_bug="no"
14522 else
14523 ac_cv_c_gcc_strength_bug="yes"
14525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14526 conftest.$ac_objext conftest.beam conftest.$ac_ext
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14531 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14532 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14533 then
14534 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14538 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14539 if ${ac_cv_cflags__fno_builtin+:} false; then :
14540 $as_echo_n "(cached) " >&6
14541 else
14542 ac_wine_try_cflags_saved=$CFLAGS
14543 CFLAGS="$CFLAGS -fno-builtin"
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14546 int main(int argc, char **argv) { return 0; }
14547 _ACEOF
14548 if ac_fn_c_try_link "$LINENO"; then :
14549 ac_cv_cflags__fno_builtin=yes
14550 else
14551 ac_cv_cflags__fno_builtin=no
14553 rm -f core conftest.err conftest.$ac_objext \
14554 conftest$ac_exeext conftest.$ac_ext
14555 CFLAGS=$ac_wine_try_cflags_saved
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14558 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14559 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14560 BUILTINFLAG="-fno-builtin"
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14564 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14565 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 ac_wine_try_cflags_saved=$CFLAGS
14569 CFLAGS="$CFLAGS -fno-strict-aliasing"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14572 int main(int argc, char **argv) { return 0; }
14573 _ACEOF
14574 if ac_fn_c_try_link "$LINENO"; then :
14575 ac_cv_cflags__fno_strict_aliasing=yes
14576 else
14577 ac_cv_cflags__fno_strict_aliasing=no
14579 rm -f core conftest.err conftest.$ac_objext \
14580 conftest$ac_exeext conftest.$ac_ext
14581 CFLAGS=$ac_wine_try_cflags_saved
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14584 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14585 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14586 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14589 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14590 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14591 $as_echo_n "(cached) " >&6
14592 else
14593 ac_wine_try_cflags_saved=$CFLAGS
14594 CFLAGS="$CFLAGS -fexcess-precision=standard"
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 int main(int argc, char **argv) { return 0; }
14598 _ACEOF
14599 if ac_fn_c_try_link "$LINENO"; then :
14600 ac_cv_cflags__fexcess_precision_standard=yes
14601 else
14602 ac_cv_cflags__fexcess_precision_standard=no
14604 rm -f core conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606 CFLAGS=$ac_wine_try_cflags_saved
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14609 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14610 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14611 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14614 saved_CFLAGS=$CFLAGS
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14616 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14617 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14618 $as_echo_n "(cached) " >&6
14619 else
14620 ac_wine_try_cflags_saved=$CFLAGS
14621 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 int main(int argc, char **argv) { return 0; }
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"; then :
14627 ac_cv_cflags__Werror_unknown_warning_option=yes
14628 else
14629 ac_cv_cflags__Werror_unknown_warning_option=no
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14633 CFLAGS=$ac_wine_try_cflags_saved
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14636 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14637 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14638 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14641 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14642 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 ac_wine_try_cflags_saved=$CFLAGS
14646 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14649 int main(int argc, char **argv) { return 0; }
14650 _ACEOF
14651 if ac_fn_c_try_link "$LINENO"; then :
14652 ac_cv_cflags__Wdeclaration_after_statement=yes
14653 else
14654 ac_cv_cflags__Wdeclaration_after_statement=no
14656 rm -f core conftest.err conftest.$ac_objext \
14657 conftest$ac_exeext conftest.$ac_ext
14658 CFLAGS=$ac_wine_try_cflags_saved
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14661 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14662 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14663 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14666 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14667 if ${ac_cv_cflags__Wempty_body+:} false; then :
14668 $as_echo_n "(cached) " >&6
14669 else
14670 ac_wine_try_cflags_saved=$CFLAGS
14671 CFLAGS="$CFLAGS -Wempty-body"
14672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14674 int main(int argc, char **argv) { return 0; }
14675 _ACEOF
14676 if ac_fn_c_try_link "$LINENO"; then :
14677 ac_cv_cflags__Wempty_body=yes
14678 else
14679 ac_cv_cflags__Wempty_body=no
14681 rm -f core conftest.err conftest.$ac_objext \
14682 conftest$ac_exeext conftest.$ac_ext
14683 CFLAGS=$ac_wine_try_cflags_saved
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14686 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14687 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14688 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14691 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14692 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14693 $as_echo_n "(cached) " >&6
14694 else
14695 ac_wine_try_cflags_saved=$CFLAGS
14696 CFLAGS="$CFLAGS -Wignored-qualifiers"
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14699 int main(int argc, char **argv) { return 0; }
14700 _ACEOF
14701 if ac_fn_c_try_link "$LINENO"; then :
14702 ac_cv_cflags__Wignored_qualifiers=yes
14703 else
14704 ac_cv_cflags__Wignored_qualifiers=no
14706 rm -f core conftest.err conftest.$ac_objext \
14707 conftest$ac_exeext conftest.$ac_ext
14708 CFLAGS=$ac_wine_try_cflags_saved
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14711 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14712 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14713 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14716 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14717 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14718 $as_echo_n "(cached) " >&6
14719 else
14720 ac_wine_try_cflags_saved=$CFLAGS
14721 CFLAGS="$CFLAGS -Wshift-overflow=2"
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 int main(int argc, char **argv) { return 0; }
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_cflags__Wshift_overflow_2=yes
14728 else
14729 ac_cv_cflags__Wshift_overflow_2=no
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14733 CFLAGS=$ac_wine_try_cflags_saved
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14736 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14737 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14738 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14741 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14742 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14743 $as_echo_n "(cached) " >&6
14744 else
14745 ac_wine_try_cflags_saved=$CFLAGS
14746 CFLAGS="$CFLAGS -Wstrict-prototypes"
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 int main(int argc, char **argv) { return 0; }
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"; then :
14752 ac_cv_cflags__Wstrict_prototypes=yes
14753 else
14754 ac_cv_cflags__Wstrict_prototypes=no
14756 rm -f core conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758 CFLAGS=$ac_wine_try_cflags_saved
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14761 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14762 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14763 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14766 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14767 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14768 $as_echo_n "(cached) " >&6
14769 else
14770 ac_wine_try_cflags_saved=$CFLAGS
14771 CFLAGS="$CFLAGS -Wtype-limits"
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14774 int main(int argc, char **argv) { return 0; }
14775 _ACEOF
14776 if ac_fn_c_try_link "$LINENO"; then :
14777 ac_cv_cflags__Wtype_limits=yes
14778 else
14779 ac_cv_cflags__Wtype_limits=no
14781 rm -f core conftest.err conftest.$ac_objext \
14782 conftest$ac_exeext conftest.$ac_ext
14783 CFLAGS=$ac_wine_try_cflags_saved
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14786 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14787 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14788 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14791 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14792 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14793 $as_echo_n "(cached) " >&6
14794 else
14795 ac_wine_try_cflags_saved=$CFLAGS
14796 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14799 int main(int argc, char **argv) { return 0; }
14800 _ACEOF
14801 if ac_fn_c_try_link "$LINENO"; then :
14802 ac_cv_cflags__Wunused_but_set_parameter=yes
14803 else
14804 ac_cv_cflags__Wunused_but_set_parameter=no
14806 rm -f core conftest.err conftest.$ac_objext \
14807 conftest$ac_exeext conftest.$ac_ext
14808 CFLAGS=$ac_wine_try_cflags_saved
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14811 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14812 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14813 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14816 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14817 if ${ac_cv_cflags__Wvla+:} false; then :
14818 $as_echo_n "(cached) " >&6
14819 else
14820 ac_wine_try_cflags_saved=$CFLAGS
14821 CFLAGS="$CFLAGS -Wvla"
14822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14824 int main(int argc, char **argv) { return 0; }
14825 _ACEOF
14826 if ac_fn_c_try_link "$LINENO"; then :
14827 ac_cv_cflags__Wvla=yes
14828 else
14829 ac_cv_cflags__Wvla=no
14831 rm -f core conftest.err conftest.$ac_objext \
14832 conftest$ac_exeext conftest.$ac_ext
14833 CFLAGS=$ac_wine_try_cflags_saved
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14836 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14837 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14838 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14841 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14842 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 ac_wine_try_cflags_saved=$CFLAGS
14846 CFLAGS="$CFLAGS -Wwrite-strings"
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14849 int main(int argc, char **argv) { return 0; }
14850 _ACEOF
14851 if ac_fn_c_try_link "$LINENO"; then :
14852 ac_cv_cflags__Wwrite_strings=yes
14853 else
14854 ac_cv_cflags__Wwrite_strings=no
14856 rm -f core conftest.err conftest.$ac_objext \
14857 conftest$ac_exeext conftest.$ac_ext
14858 CFLAGS=$ac_wine_try_cflags_saved
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14861 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14862 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14863 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14867 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14868 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14869 $as_echo_n "(cached) " >&6
14870 else
14871 ac_wine_try_cflags_saved=$CFLAGS
14872 CFLAGS="$CFLAGS -Wpointer-arith"
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 int main(int argc, char **argv) { return 0; }
14876 _ACEOF
14877 if ac_fn_c_try_link "$LINENO"; then :
14878 ac_cv_cflags__Wpointer_arith=yes
14879 else
14880 ac_cv_cflags__Wpointer_arith=no
14882 rm -f core conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
14884 CFLAGS=$ac_wine_try_cflags_saved
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14887 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14888 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14889 saved_string_h_CFLAGS=$CFLAGS
14890 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14892 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14893 if ${ac_cv_c_string_h_warnings+:} false; then :
14894 $as_echo_n "(cached) " >&6
14895 else
14896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14898 #include <string.h>
14900 main ()
14904 return 0;
14906 _ACEOF
14907 if ac_fn_c_try_compile "$LINENO"; then :
14908 ac_cv_c_string_h_warnings=no
14909 else
14910 ac_cv_c_string_h_warnings=yes
14912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14915 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14916 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14917 CFLAGS=$saved_string_h_CFLAGS
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14921 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14922 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14923 $as_echo_n "(cached) " >&6
14924 else
14925 ac_wine_try_cflags_saved=$CFLAGS
14926 CFLAGS="$CFLAGS -Wlogical-op"
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14929 int main(int argc, char **argv) { return 0; }
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 ac_cv_cflags__Wlogical_op=yes
14933 else
14934 ac_cv_cflags__Wlogical_op=no
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14938 CFLAGS=$ac_wine_try_cflags_saved
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14941 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14942 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14943 saved_string_h_CFLAGS=$CFLAGS
14944 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14946 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14947 if ${ac_cv_c_logicalop_noisy+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 #include <string.h>
14953 char*f(const char *h,char n) {return strchr(h,n);}
14955 main ()
14959 return 0;
14961 _ACEOF
14962 if ac_fn_c_try_compile "$LINENO"; then :
14963 ac_cv_c_logicalop_noisy=no
14964 else
14965 ac_cv_c_logicalop_noisy=yes
14967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14970 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14971 CFLAGS=$saved_string_h_CFLAGS
14972 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14975 CFLAGS=$saved_CFLAGS
14977 for ac_flag in $CFLAGS; do
14978 case $ac_flag in
14979 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14980 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14981 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14982 $as_echo_n "(cached) " >&6
14983 else
14984 ac_wine_try_cflags_saved=$CFLAGS
14985 CFLAGS="$CFLAGS -gdwarf-2"
14986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14988 int main(int argc, char **argv) { return 0; }
14989 _ACEOF
14990 if ac_fn_c_try_link "$LINENO"; then :
14991 ac_cv_cflags__gdwarf_2=yes
14992 else
14993 ac_cv_cflags__gdwarf_2=no
14995 rm -f core conftest.err conftest.$ac_objext \
14996 conftest$ac_exeext conftest.$ac_ext
14997 CFLAGS=$ac_wine_try_cflags_saved
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15000 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15001 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15002 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15005 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15006 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15007 $as_echo_n "(cached) " >&6
15008 else
15009 ac_wine_try_cflags_saved=$CFLAGS
15010 CFLAGS="$CFLAGS -gstrict-dwarf"
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15013 int main(int argc, char **argv) { return 0; }
15014 _ACEOF
15015 if ac_fn_c_try_link "$LINENO"; then :
15016 ac_cv_cflags__gstrict_dwarf=yes
15017 else
15018 ac_cv_cflags__gstrict_dwarf=no
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15022 CFLAGS=$ac_wine_try_cflags_saved
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15025 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15026 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15027 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15028 fi ;;
15029 esac
15030 done
15032 case $host_cpu in
15033 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15034 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15035 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15036 $as_echo_n "(cached) " >&6
15037 else
15038 ac_wine_try_cflags_saved=$CFLAGS
15039 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15042 int main(int argc, char **argv) { return 0; }
15043 _ACEOF
15044 if ac_fn_c_try_link "$LINENO"; then :
15045 ac_cv_cflags__fno_omit_frame_pointer=yes
15046 else
15047 ac_cv_cflags__fno_omit_frame_pointer=no
15049 rm -f core conftest.err conftest.$ac_objext \
15050 conftest$ac_exeext conftest.$ac_ext
15051 CFLAGS=$ac_wine_try_cflags_saved
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15054 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15055 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15056 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15057 fi ;;
15058 esac
15060 case $host in
15061 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15062 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15063 if ${ac_cv_cflags__Wno_format+:} false; then :
15064 $as_echo_n "(cached) " >&6
15065 else
15066 ac_wine_try_cflags_saved=$CFLAGS
15067 CFLAGS="$CFLAGS -Wno-format"
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15070 int main(int argc, char **argv) { return 0; }
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 ac_cv_cflags__Wno_format=yes
15074 else
15075 ac_cv_cflags__Wno_format=no
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15079 CFLAGS=$ac_wine_try_cflags_saved
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15082 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15083 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15084 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15085 fi ;;
15086 esac
15088 if test "x$enable_maintainer_mode" = "xyes"
15089 then
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15091 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15092 if ${ac_cv_cflags__Werror+:} false; then :
15093 $as_echo_n "(cached) " >&6
15094 else
15095 ac_wine_try_cflags_saved=$CFLAGS
15096 CFLAGS="$CFLAGS -Werror"
15097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15098 /* end confdefs.h. */
15099 int main(int argc, char **argv) { return 0; }
15100 _ACEOF
15101 if ac_fn_c_try_link "$LINENO"; then :
15102 ac_cv_cflags__Werror=yes
15103 else
15104 ac_cv_cflags__Werror=no
15106 rm -f core conftest.err conftest.$ac_objext \
15107 conftest$ac_exeext conftest.$ac_ext
15108 CFLAGS=$ac_wine_try_cflags_saved
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15111 $as_echo "$ac_cv_cflags__Werror" >&6; }
15112 if test "x$ac_cv_cflags__Werror" = xyes; then :
15113 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15117 saved_CFLAGS="$CFLAGS"
15118 CFLAGS="$CFLAGS -Werror"
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15120 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15121 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15122 $as_echo_n "(cached) " >&6
15123 else
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15128 main ()
15132 return 0;
15134 _ACEOF
15135 if ac_fn_c_try_compile "$LINENO"; then :
15136 ac_cv_have_ms_hook_prologue="yes"
15137 else
15138 ac_cv_have_ms_hook_prologue="no"
15140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15143 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15144 CFLAGS="$saved_CFLAGS"
15145 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15146 then
15148 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15150 else
15151 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15158 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15159 if ${ac_cv_c_fortify_enabled+:} false; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 #include <string.h>
15166 main ()
15168 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15169 #error Fortify enabled
15170 #endif
15172 return 0;
15174 _ACEOF
15175 if ac_fn_c_try_compile "$LINENO"; then :
15176 ac_cv_c_fortify_enabled=no
15177 else
15178 ac_cv_c_fortify_enabled=yes
15180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15183 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15184 if test "$ac_cv_c_fortify_enabled" = yes
15185 then
15186 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15191 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15192 if ${ac_cv_c_extern_prefix+:} false; then :
15193 $as_echo_n "(cached) " >&6
15194 else
15195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15197 extern int ac_test;
15199 main ()
15201 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15203 return 0;
15205 _ACEOF
15206 if ac_fn_c_try_link "$LINENO"; then :
15207 ac_cv_c_extern_prefix="yes"
15208 else
15209 ac_cv_c_extern_prefix="no"
15211 rm -f core conftest.err conftest.$ac_objext \
15212 conftest$ac_exeext conftest.$ac_ext
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15215 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15217 case $host_cpu in
15218 *i[3456789]86*)
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15220 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15221 if ${ac_cv_c_stdcall_suffix+:} false; then :
15222 $as_echo_n "(cached) " >&6
15223 else
15224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15226 #ifndef _MSC_VER
15227 #define __stdcall __attribute__((__stdcall__))
15228 #endif
15229 int __stdcall ac_test(int i) { return i; }
15231 main ()
15233 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15235 return 0;
15237 _ACEOF
15238 if ac_fn_c_try_link "$LINENO"; then :
15239 ac_cv_c_stdcall_suffix="yes"
15240 else
15241 ac_cv_c_stdcall_suffix="no"
15243 rm -f core conftest.err conftest.$ac_objext \
15244 conftest$ac_exeext conftest.$ac_ext
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15247 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15248 *) ac_cv_c_stdcall_suffix="no" ;;
15249 esac
15252 if test "$ac_cv_c_extern_prefix" = "yes"
15253 then
15254 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15256 asm_name_prefix="_"
15257 else
15258 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15260 asm_name_prefix=""
15264 if test "$ac_cv_c_stdcall_suffix" = "yes"
15265 then
15266 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15268 else
15269 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15275 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15276 if ${ac_cv_asm_func_def+:} false; then :
15277 $as_echo_n "(cached) " >&6
15278 else
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15283 main ()
15285 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15287 return 0;
15289 _ACEOF
15290 if ac_fn_c_try_link "$LINENO"; then :
15291 ac_cv_asm_func_def=".def"
15292 else
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15297 main ()
15299 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15301 return 0;
15303 _ACEOF
15304 if ac_fn_c_try_link "$LINENO"; then :
15305 ac_cv_asm_func_def=".type @function"
15306 else
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15311 main ()
15313 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15315 return 0;
15317 _ACEOF
15318 if ac_fn_c_try_link "$LINENO"; then :
15319 ac_cv_asm_func_def=".type 2"
15320 else
15321 ac_cv_asm_func_def="unknown"
15323 rm -f core conftest.err conftest.$ac_objext \
15324 conftest$ac_exeext conftest.$ac_ext
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15333 $as_echo "$ac_cv_asm_func_def" >&6; }
15336 case "$ac_cv_asm_func_def" in
15337 ".def")
15338 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15340 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15341 ".type @function")
15342 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15344 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15345 ".type 2")
15346 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15348 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15350 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15352 asm_func_header="" ;;
15353 esac
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15356 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15357 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15361 /* end confdefs.h. */
15362 asm(".text\n\t.long 0");
15364 main ()
15368 return 0;
15370 _ACEOF
15371 if ac_fn_c_try_compile "$LINENO"; then :
15372 ac_cv_c_asm_outside_funcs="yes"
15373 else
15374 ac_cv_c_asm_outside_funcs="no"
15376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15379 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15382 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15383 if ${ac_cv_c_dot_previous+:} false; then :
15384 $as_echo_n "(cached) " >&6
15385 else
15386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15390 main ()
15392 asm(".text\nac_test:\t.long 0\n\t.previous");
15394 return 0;
15396 _ACEOF
15397 if ac_fn_c_try_link "$LINENO"; then :
15398 ac_cv_c_dot_previous="yes"
15399 else
15400 ac_cv_c_dot_previous="no"
15402 rm -f core conftest.err conftest.$ac_objext \
15403 conftest$ac_exeext conftest.$ac_ext
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15406 $as_echo "$ac_cv_c_dot_previous" >&6; }
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15409 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15410 if ${ac_cv_c_cfi_support+:} false; then :
15411 $as_echo_n "(cached) " >&6
15412 else
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15415 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15417 main ()
15421 return 0;
15423 _ACEOF
15424 if ac_fn_c_try_compile "$LINENO"; then :
15425 ac_cv_c_cfi_support="yes"
15426 else
15427 ac_cv_c_cfi_support="no"
15429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15432 $as_echo "$ac_cv_c_cfi_support" >&6; }
15434 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15435 asm_func_trailer=""
15436 if test "$ac_cv_c_dot_previous" = "yes"
15437 then
15438 asm_func_trailer="\\n\\t.previous"
15440 if test "$ac_cv_c_cfi_support" = "yes"
15441 then
15442 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15443 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15445 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15447 UNWINDFLAGS=-fasynchronous-unwind-tables
15449 else
15450 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15452 if test "x$enable_win64" = "xyes"
15453 then
15454 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15458 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15461 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15462 then
15463 cat >>confdefs.h <<_ACEOF
15464 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15465 _ACEOF
15467 else
15468 cat >>confdefs.h <<_ACEOF
15469 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15470 _ACEOF
15474 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15477 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15481 case $build_os in
15482 cygwin*|mingw32*) TOOLSEXT=".exe"
15484 esac
15486 case $host_os in
15487 linux*)
15488 case $host_cpu in
15489 *i[3456789]86*|x86_64*)
15490 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15491 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15493 esac
15495 esac
15498 ac_save_CFLAGS="$CFLAGS"
15499 CFLAGS="$CFLAGS $BUILTINFLAG"
15500 for ac_func in \
15501 __res_get_state \
15502 __res_getservers \
15503 _finite \
15504 _isnan \
15505 _pclose \
15506 _popen \
15507 _snprintf \
15508 _spawnvp \
15509 _strdup \
15510 _stricmp \
15511 _strnicmp \
15512 _strtoi64 \
15513 _strtoui64 \
15514 _vsnprintf \
15515 asctime_r \
15516 chsize \
15517 dlopen \
15518 epoll_create \
15519 ffs \
15520 finitef \
15521 fnmatch \
15522 fork \
15523 fpclass \
15524 fstatfs \
15525 fstatvfs \
15526 ftruncate \
15527 futimens \
15528 futimes \
15529 futimesat \
15530 getattrlist \
15531 getauxval \
15532 getifaddrs \
15533 getopt_long_only \
15534 getpwuid \
15535 gettimeofday \
15536 getuid \
15537 isnanf \
15538 kqueue \
15539 lstat \
15540 memmove \
15541 mmap \
15542 pclose \
15543 pipe2 \
15544 poll \
15545 popen \
15546 port_create \
15547 prctl \
15548 pread \
15549 proc_pidinfo \
15550 pwrite \
15551 readdir \
15552 readlink \
15553 sched_yield \
15554 select \
15555 setproctitle \
15556 setprogname \
15557 setrlimit \
15558 settimeofday \
15559 sigaltstack \
15560 sigprocmask \
15561 snprintf \
15562 statfs \
15563 statvfs \
15564 strcasecmp \
15565 strdup \
15566 strerror \
15567 strncasecmp \
15568 strtold \
15569 strtoll \
15570 strtoull \
15571 symlink \
15572 sysinfo \
15573 tcdrain \
15574 thr_kill2 \
15575 timegm \
15576 usleep \
15577 vsnprintf
15579 do :
15580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15582 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15583 cat >>confdefs.h <<_ACEOF
15584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15585 _ACEOF
15588 done
15590 CFLAGS="$ac_save_CFLAGS"
15592 if test "$ac_cv_func_dlopen" = no
15593 then
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15595 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15596 if ${ac_cv_lib_dl_dlopen+:} false; then :
15597 $as_echo_n "(cached) " >&6
15598 else
15599 ac_check_lib_save_LIBS=$LIBS
15600 LIBS="-ldl $LIBS"
15601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15602 /* end confdefs.h. */
15604 /* Override any GCC internal prototype to avoid an error.
15605 Use char because int might match the return type of a GCC
15606 builtin and then its argument prototype would still apply. */
15607 #ifdef __cplusplus
15608 extern "C"
15609 #endif
15610 char dlopen ();
15612 main ()
15614 return dlopen ();
15616 return 0;
15618 _ACEOF
15619 if ac_fn_c_try_link "$LINENO"; then :
15620 ac_cv_lib_dl_dlopen=yes
15621 else
15622 ac_cv_lib_dl_dlopen=no
15624 rm -f core conftest.err conftest.$ac_objext \
15625 conftest$ac_exeext conftest.$ac_ext
15626 LIBS=$ac_check_lib_save_LIBS
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15629 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15630 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15631 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15632 DL_LIBS="-ldl"
15637 ac_wine_check_funcs_save_LIBS="$LIBS"
15638 LIBS="$LIBS $DL_LIBS"
15639 for ac_func in dladdr
15640 do :
15641 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15642 if test "x$ac_cv_func_dladdr" = xyes; then :
15643 cat >>confdefs.h <<_ACEOF
15644 #define HAVE_DLADDR 1
15645 _ACEOF
15648 done
15650 LIBS="$ac_wine_check_funcs_save_LIBS"
15652 if test "$ac_cv_func_poll" = no
15653 then
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15655 $as_echo_n "checking for poll in -lpoll... " >&6; }
15656 if ${ac_cv_lib_poll_poll+:} false; then :
15657 $as_echo_n "(cached) " >&6
15658 else
15659 ac_check_lib_save_LIBS=$LIBS
15660 LIBS="-lpoll $LIBS"
15661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15662 /* end confdefs.h. */
15664 /* Override any GCC internal prototype to avoid an error.
15665 Use char because int might match the return type of a GCC
15666 builtin and then its argument prototype would still apply. */
15667 #ifdef __cplusplus
15668 extern "C"
15669 #endif
15670 char poll ();
15672 main ()
15674 return poll ();
15676 return 0;
15678 _ACEOF
15679 if ac_fn_c_try_link "$LINENO"; then :
15680 ac_cv_lib_poll_poll=yes
15681 else
15682 ac_cv_lib_poll_poll=no
15684 rm -f core conftest.err conftest.$ac_objext \
15685 conftest$ac_exeext conftest.$ac_ext
15686 LIBS=$ac_check_lib_save_LIBS
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15689 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15690 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15691 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15692 POLL_LIBS="-lpoll"
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15699 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15700 if ${ac_cv_search_gethostbyname+:} false; then :
15701 $as_echo_n "(cached) " >&6
15702 else
15703 ac_func_search_save_LIBS=$LIBS
15704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15707 /* Override any GCC internal prototype to avoid an error.
15708 Use char because int might match the return type of a GCC
15709 builtin and then its argument prototype would still apply. */
15710 #ifdef __cplusplus
15711 extern "C"
15712 #endif
15713 char gethostbyname ();
15715 main ()
15717 return gethostbyname ();
15719 return 0;
15721 _ACEOF
15722 for ac_lib in '' nsl; do
15723 if test -z "$ac_lib"; then
15724 ac_res="none required"
15725 else
15726 ac_res=-l$ac_lib
15727 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15729 if ac_fn_c_try_link "$LINENO"; then :
15730 ac_cv_search_gethostbyname=$ac_res
15732 rm -f core conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext
15734 if ${ac_cv_search_gethostbyname+:} false; then :
15735 break
15737 done
15738 if ${ac_cv_search_gethostbyname+:} false; then :
15740 else
15741 ac_cv_search_gethostbyname=no
15743 rm conftest.$ac_ext
15744 LIBS=$ac_func_search_save_LIBS
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15747 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15748 ac_res=$ac_cv_search_gethostbyname
15749 if test "$ac_res" != no; then :
15750 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15756 $as_echo_n "checking for library containing connect... " >&6; }
15757 if ${ac_cv_search_connect+:} false; then :
15758 $as_echo_n "(cached) " >&6
15759 else
15760 ac_func_search_save_LIBS=$LIBS
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15764 /* Override any GCC internal prototype to avoid an error.
15765 Use char because int might match the return type of a GCC
15766 builtin and then its argument prototype would still apply. */
15767 #ifdef __cplusplus
15768 extern "C"
15769 #endif
15770 char connect ();
15772 main ()
15774 return connect ();
15776 return 0;
15778 _ACEOF
15779 for ac_lib in '' socket; do
15780 if test -z "$ac_lib"; then
15781 ac_res="none required"
15782 else
15783 ac_res=-l$ac_lib
15784 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15786 if ac_fn_c_try_link "$LINENO"; then :
15787 ac_cv_search_connect=$ac_res
15789 rm -f core conftest.err conftest.$ac_objext \
15790 conftest$ac_exeext
15791 if ${ac_cv_search_connect+:} false; then :
15792 break
15794 done
15795 if ${ac_cv_search_connect+:} false; then :
15797 else
15798 ac_cv_search_connect=no
15800 rm conftest.$ac_ext
15801 LIBS=$ac_func_search_save_LIBS
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15804 $as_echo "$ac_cv_search_connect" >&6; }
15805 ac_res=$ac_cv_search_connect
15806 if test "$ac_res" != no; then :
15807 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15813 $as_echo_n "checking for library containing inet_aton... " >&6; }
15814 if ${ac_cv_search_inet_aton+:} false; then :
15815 $as_echo_n "(cached) " >&6
15816 else
15817 ac_func_search_save_LIBS=$LIBS
15818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15819 /* end confdefs.h. */
15821 /* Override any GCC internal prototype to avoid an error.
15822 Use char because int might match the return type of a GCC
15823 builtin and then its argument prototype would still apply. */
15824 #ifdef __cplusplus
15825 extern "C"
15826 #endif
15827 char inet_aton ();
15829 main ()
15831 return inet_aton ();
15833 return 0;
15835 _ACEOF
15836 for ac_lib in '' resolv; do
15837 if test -z "$ac_lib"; then
15838 ac_res="none required"
15839 else
15840 ac_res=-l$ac_lib
15841 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15843 if ac_fn_c_try_link "$LINENO"; then :
15844 ac_cv_search_inet_aton=$ac_res
15846 rm -f core conftest.err conftest.$ac_objext \
15847 conftest$ac_exeext
15848 if ${ac_cv_search_inet_aton+:} false; then :
15849 break
15851 done
15852 if ${ac_cv_search_inet_aton+:} false; then :
15854 else
15855 ac_cv_search_inet_aton=no
15857 rm conftest.$ac_ext
15858 LIBS=$ac_func_search_save_LIBS
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15861 $as_echo "$ac_cv_search_inet_aton" >&6; }
15862 ac_res=$ac_cv_search_inet_aton
15863 if test "$ac_res" != no; then :
15864 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15869 for ac_func in \
15870 getaddrinfo \
15871 getnameinfo \
15872 getnetbyname \
15873 getprotobyname \
15874 getprotobynumber \
15875 getservbyport \
15876 inet_addr \
15877 inet_network \
15878 inet_ntop \
15879 inet_pton \
15880 sendmsg \
15881 socketpair \
15883 do :
15884 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15886 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15889 _ACEOF
15892 done
15895 ac_save_LIBS=$LIBS
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15897 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15898 if ${ac_cv_search_clock_gettime+:} false; then :
15899 $as_echo_n "(cached) " >&6
15900 else
15901 ac_func_search_save_LIBS=$LIBS
15902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15905 /* Override any GCC internal prototype to avoid an error.
15906 Use char because int might match the return type of a GCC
15907 builtin and then its argument prototype would still apply. */
15908 #ifdef __cplusplus
15909 extern "C"
15910 #endif
15911 char clock_gettime ();
15913 main ()
15915 return clock_gettime ();
15917 return 0;
15919 _ACEOF
15920 for ac_lib in '' rt; do
15921 if test -z "$ac_lib"; then
15922 ac_res="none required"
15923 else
15924 ac_res=-l$ac_lib
15925 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15927 if ac_fn_c_try_link "$LINENO"; then :
15928 ac_cv_search_clock_gettime=$ac_res
15930 rm -f core conftest.err conftest.$ac_objext \
15931 conftest$ac_exeext
15932 if ${ac_cv_search_clock_gettime+:} false; then :
15933 break
15935 done
15936 if ${ac_cv_search_clock_gettime+:} false; then :
15938 else
15939 ac_cv_search_clock_gettime=no
15941 rm conftest.$ac_ext
15942 LIBS=$ac_func_search_save_LIBS
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15945 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15946 ac_res=$ac_cv_search_clock_gettime
15947 if test "$ac_res" != no; then :
15948 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15950 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15952 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15956 LIBS=$ac_save_LIBS
15958 if test "x$with_ldap" != "xno"
15959 then
15960 if ${LDAP_CFLAGS:+false} :; then :
15961 if ${PKG_CONFIG+:} false; then :
15962 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15966 if ${LDAP_LIBS:+false} :; then :
15967 if ${PKG_CONFIG+:} false; then :
15968 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15972 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15973 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15974 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15975 ac_save_CPPFLAGS=$CPPFLAGS
15976 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15977 for ac_header in ldap.h lber.h
15978 do :
15979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15980 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15981 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15984 _ACEOF
15988 done
15990 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15991 then
15992 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15994 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15996 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15997 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15998 $as_echo_n "(cached) " >&6
15999 else
16000 ac_check_lib_save_LIBS=$LIBS
16001 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16008 #ifdef __cplusplus
16009 extern "C"
16010 #endif
16011 char ldap_initialize ();
16013 main ()
16015 return ldap_initialize ();
16017 return 0;
16019 _ACEOF
16020 if ac_fn_c_try_link "$LINENO"; then :
16021 ac_cv_lib_ldap_r_ldap_initialize=yes
16022 else
16023 ac_cv_lib_ldap_r_ldap_initialize=no
16025 rm -f core conftest.err conftest.$ac_objext \
16026 conftest$ac_exeext conftest.$ac_ext
16027 LIBS=$ac_check_lib_save_LIBS
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16030 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16031 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16033 $as_echo_n "checking for ber_init in -llber... " >&6; }
16034 if ${ac_cv_lib_lber_ber_init+:} false; then :
16035 $as_echo_n "(cached) " >&6
16036 else
16037 ac_check_lib_save_LIBS=$LIBS
16038 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16040 /* end confdefs.h. */
16042 /* Override any GCC internal prototype to avoid an error.
16043 Use char because int might match the return type of a GCC
16044 builtin and then its argument prototype would still apply. */
16045 #ifdef __cplusplus
16046 extern "C"
16047 #endif
16048 char ber_init ();
16050 main ()
16052 return ber_init ();
16054 return 0;
16056 _ACEOF
16057 if ac_fn_c_try_link "$LINENO"; then :
16058 ac_cv_lib_lber_ber_init=yes
16059 else
16060 ac_cv_lib_lber_ber_init=no
16062 rm -f core conftest.err conftest.$ac_objext \
16063 conftest$ac_exeext conftest.$ac_ext
16064 LIBS=$ac_check_lib_save_LIBS
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16067 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16068 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16070 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16072 else
16073 LDAP_LIBS=""
16076 else
16077 LDAP_LIBS=""
16080 else
16081 LDAP_LIBS=""
16084 ac_wine_check_funcs_save_LIBS="$LIBS"
16085 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16086 for ac_func in \
16087 ldap_count_references \
16088 ldap_first_reference \
16089 ldap_next_reference \
16090 ldap_parse_reference \
16091 ldap_parse_sort_control \
16092 ldap_parse_sortresponse_control \
16093 ldap_parse_vlv_control \
16094 ldap_parse_vlvresponse_control
16095 do :
16096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16098 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16101 _ACEOF
16104 done
16106 LIBS="$ac_wine_check_funcs_save_LIBS"
16107 else
16108 LDAP_LIBS=""
16110 CPPFLAGS=$ac_save_CPPFLAGS
16111 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16112 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16115 if test "x$LDAP_LIBS" = "x"; then :
16116 case "x$with_ldap" in
16117 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16118 xno) ;;
16119 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16120 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16121 esac
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16126 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16127 if ${wine_cv_one_arg_mkdir+:} false; then :
16128 $as_echo_n "(cached) " >&6
16129 else
16130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16132 #include <sys/stat.h>
16134 main ()
16136 mkdir("foo");
16138 return 0;
16140 _ACEOF
16141 if ac_fn_c_try_compile "$LINENO"; then :
16142 wine_cv_one_arg_mkdir=yes
16143 else
16144 wine_cv_one_arg_mkdir=no
16146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16149 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16150 if test "$wine_cv_one_arg_mkdir" = "yes"
16151 then
16153 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16158 $as_echo_n "checking for sched_setaffinity... " >&6; }
16159 if ${wine_cv_have_sched_setaffinity+:} false; then :
16160 $as_echo_n "(cached) " >&6
16161 else
16162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h. */
16164 #define _GNU_SOURCE
16165 #include <sched.h>
16167 main ()
16169 sched_setaffinity(0, 0, 0);
16171 return 0;
16173 _ACEOF
16174 if ac_fn_c_try_link "$LINENO"; then :
16175 wine_cv_have_sched_setaffinity=yes
16176 else
16177 wine_cv_have_sched_setaffinity=no
16179 rm -f core conftest.err conftest.$ac_objext \
16180 conftest$ac_exeext conftest.$ac_ext
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16183 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16184 if test "$wine_cv_have_sched_setaffinity" = "yes"
16185 then
16187 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16192 $as_echo_n "checking for fallocate... " >&6; }
16193 if ${wine_cv_have_fallocate+:} false; then :
16194 $as_echo_n "(cached) " >&6
16195 else
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16198 #define _GNU_SOURCE
16199 #include <fcntl.h>
16201 main ()
16203 fallocate(-1, 0, 0, 0);
16205 return 0;
16207 _ACEOF
16208 if ac_fn_c_try_link "$LINENO"; then :
16209 wine_cv_have_fallocate=yes
16210 else
16211 wine_cv_have_fallocate=no
16213 rm -f core conftest.err conftest.$ac_objext \
16214 conftest$ac_exeext conftest.$ac_ext
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16217 $as_echo "$wine_cv_have_fallocate" >&6; }
16218 if test "$wine_cv_have_fallocate" = "yes"
16219 then
16221 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16227 $as_echo_n "checking for inline... " >&6; }
16228 if ${ac_cv_c_inline+:} false; then :
16229 $as_echo_n "(cached) " >&6
16230 else
16231 ac_cv_c_inline=no
16232 for ac_kw in inline __inline__ __inline; do
16233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16235 #ifndef __cplusplus
16236 typedef int foo_t;
16237 static $ac_kw foo_t static_foo () {return 0; }
16238 $ac_kw foo_t foo () {return 0; }
16239 #endif
16241 _ACEOF
16242 if ac_fn_c_try_compile "$LINENO"; then :
16243 ac_cv_c_inline=$ac_kw
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16246 test "$ac_cv_c_inline" != no && break
16247 done
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16251 $as_echo "$ac_cv_c_inline" >&6; }
16253 case $ac_cv_c_inline in
16254 inline | yes) ;;
16256 case $ac_cv_c_inline in
16257 no) ac_val=;;
16258 *) ac_val=$ac_cv_c_inline;;
16259 esac
16260 cat >>confdefs.h <<_ACEOF
16261 #ifndef __cplusplus
16262 #define inline $ac_val
16263 #endif
16264 _ACEOF
16266 esac
16268 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16269 if test "x$ac_cv_type_mode_t" = xyes; then :
16271 cat >>confdefs.h <<_ACEOF
16272 #define HAVE_MODE_T 1
16273 _ACEOF
16277 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16278 if test "x$ac_cv_type_off_t" = xyes; then :
16280 cat >>confdefs.h <<_ACEOF
16281 #define HAVE_OFF_T 1
16282 _ACEOF
16286 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16287 if test "x$ac_cv_type_pid_t" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_PID_T 1
16291 _ACEOF
16295 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16296 if test "x$ac_cv_type_size_t" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_SIZE_T 1
16300 _ACEOF
16304 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16305 if test "x$ac_cv_type_ssize_t" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_SSIZE_T 1
16309 _ACEOF
16313 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16314 if test "x$ac_cv_type_long_long" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_LONG_LONG 1
16318 _ACEOF
16322 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16323 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16325 cat >>confdefs.h <<_ACEOF
16326 #define HAVE_FSBLKCNT_T 1
16327 _ACEOF
16331 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16332 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_FSFILCNT_T 1
16336 _ACEOF
16341 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16342 #include <signal.h>
16344 if test "x$ac_cv_type_sigset_t" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_SIGSET_T 1
16348 _ACEOF
16353 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16355 if test "x$ac_cv_type_request_sense" = xyes; then :
16357 cat >>confdefs.h <<_ACEOF
16358 #define HAVE_REQUEST_SENSE 1
16359 _ACEOF
16365 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16366 #ifdef HAVE_SYS_SOCKET_H
16367 #include <sys/socket.h>
16368 #endif
16369 #ifdef HAVE_SYS_SOCKETVAR_H
16370 #include <sys/socketvar.h>
16371 #endif
16372 #ifdef HAVE_NET_ROUTE_H
16373 #include <net/route.h>
16374 #endif
16375 #ifdef HAVE_NETINET_IN_H
16376 #include <netinet/in.h>
16377 #endif
16378 #ifdef HAVE_NETINET_IN_SYSTM_H
16379 #include <netinet/in_systm.h>
16380 #endif
16381 #ifdef HAVE_NETINET_IP_H
16382 #include <netinet/ip.h>
16383 #endif
16384 #ifdef HAVE_NETINET_IN_PCB_H
16385 #include <netinet/in_pcb.h>
16386 #endif
16388 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF
16391 #define HAVE_STRUCT_XINPGEN 1
16392 _ACEOF
16398 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16399 #include <link.h>
16400 #endif
16401 #ifdef HAVE_SYS_LINK_H
16402 #include <sys/link.h>
16403 #endif
16405 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16407 cat >>confdefs.h <<_ACEOF
16408 #define HAVE_STRUCT_R_DEBUG 1
16409 _ACEOF
16413 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16414 #include <link.h>
16415 #endif
16416 #ifdef HAVE_SYS_LINK_H
16417 #include <sys/link.h>
16418 #endif
16420 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_STRUCT_LINK_MAP 1
16424 _ACEOF
16430 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16431 #include <linux/input.h>
16432 #endif
16434 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16436 cat >>confdefs.h <<_ACEOF
16437 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16438 _ACEOF
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16445 $as_echo_n "checking for if_nameindex... " >&6; }
16446 if ${wine_cv_have_if_nameindex+:} false; then :
16447 $as_echo_n "(cached) " >&6
16448 else
16449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #ifdef HAVE_SYS_TYPES_H
16452 #include <sys/types.h>
16453 #endif
16454 #ifdef HAVE_SYS_SOCKET_H
16455 #include <sys/socket.h>
16456 #endif
16457 #ifdef HAVE_NET_IF_H
16458 # include <net/if.h>
16459 #endif
16461 main ()
16463 struct if_nameindex *p = if_nameindex(); return p->if_index;
16465 return 0;
16467 _ACEOF
16468 if ac_fn_c_try_link "$LINENO"; then :
16469 wine_cv_have_if_nameindex=yes
16470 else
16471 wine_cv_have_if_nameindex=no
16473 rm -f core conftest.err conftest.$ac_objext \
16474 conftest$ac_exeext conftest.$ac_ext
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16477 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16478 if test "$wine_cv_have_if_nameindex" = "yes"
16479 then
16481 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16486 $as_echo_n "checking for sigaddset... " >&6; }
16487 if ${wine_cv_have_sigaddset+:} false; then :
16488 $as_echo_n "(cached) " >&6
16489 else
16490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16491 /* end confdefs.h. */
16492 #include <signal.h>
16494 main ()
16496 sigset_t set; sigaddset(&set,SIGTERM);
16498 return 0;
16500 _ACEOF
16501 if ac_fn_c_try_link "$LINENO"; then :
16502 wine_cv_have_sigaddset=yes
16503 else
16504 wine_cv_have_sigaddset=no
16506 rm -f core conftest.err conftest.$ac_objext \
16507 conftest$ac_exeext conftest.$ac_ext
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16510 $as_echo "$wine_cv_have_sigaddset" >&6; }
16511 if test "$wine_cv_have_sigaddset" = "yes"
16512 then
16514 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16520 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16521 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16522 $as_echo_n "(cached) " >&6
16523 else
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16526 #include <netdb.h>
16528 main ()
16531 char *name=0;
16532 struct hostent he;
16533 struct hostent *result;
16534 char *buf=0;
16535 int bufsize=0;
16536 int errnr;
16537 char *addr=0;
16538 int addrlen=0;
16539 int addrtype=0;
16540 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16541 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16544 return 0;
16546 _ACEOF
16547 if ac_fn_c_try_link "$LINENO"; then :
16548 wine_cv_linux_gethostbyname_r_6=yes
16549 else
16550 wine_cv_linux_gethostbyname_r_6=no
16553 rm -f core conftest.err conftest.$ac_objext \
16554 conftest$ac_exeext conftest.$ac_ext
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16558 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16559 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16560 then
16562 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16566 if test "$ac_cv_header_linux_joystick_h" = "yes"
16567 then
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16569 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16570 if ${wine_cv_linux_joystick_22_api+:} false; then :
16571 $as_echo_n "(cached) " >&6
16572 else
16573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16576 #include <sys/ioctl.h>
16577 #include <sys/types.h>
16578 #include <linux/joystick.h>
16580 struct js_event blub;
16581 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16582 #error "no 2.2 header"
16583 #endif
16586 main ()
16588 /*empty*/
16590 return 0;
16592 _ACEOF
16593 if ac_fn_c_try_compile "$LINENO"; then :
16594 wine_cv_linux_joystick_22_api=yes
16595 else
16596 wine_cv_linux_joystick_22_api=no
16598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16602 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16603 if test "$wine_cv_linux_joystick_22_api" = "yes"
16604 then
16606 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16612 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16613 #ifdef HAVE_SYS_PARAM_H
16614 # include <sys/param.h>
16615 #endif
16616 #ifdef HAVE_SYS_MOUNT_H
16617 # include <sys/mount.h>
16618 #endif
16619 #ifdef HAVE_SYS_VFS_H
16620 # include <sys/vfs.h>
16621 #endif
16622 #ifdef HAVE_SYS_STATFS_H
16623 # include <sys/statfs.h>
16624 #endif
16626 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_STATFS_F_BFREE 1
16630 _ACEOF
16634 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16635 #ifdef HAVE_SYS_PARAM_H
16636 # include <sys/param.h>
16637 #endif
16638 #ifdef HAVE_SYS_MOUNT_H
16639 # include <sys/mount.h>
16640 #endif
16641 #ifdef HAVE_SYS_VFS_H
16642 # include <sys/vfs.h>
16643 #endif
16644 #ifdef HAVE_SYS_STATFS_H
16645 # include <sys/statfs.h>
16646 #endif
16648 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16650 cat >>confdefs.h <<_ACEOF
16651 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16652 _ACEOF
16656 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16657 #ifdef HAVE_SYS_PARAM_H
16658 # include <sys/param.h>
16659 #endif
16660 #ifdef HAVE_SYS_MOUNT_H
16661 # include <sys/mount.h>
16662 #endif
16663 #ifdef HAVE_SYS_VFS_H
16664 # include <sys/vfs.h>
16665 #endif
16666 #ifdef HAVE_SYS_STATFS_H
16667 # include <sys/statfs.h>
16668 #endif
16670 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16674 _ACEOF
16678 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16679 #ifdef HAVE_SYS_PARAM_H
16680 # include <sys/param.h>
16681 #endif
16682 #ifdef HAVE_SYS_MOUNT_H
16683 # include <sys/mount.h>
16684 #endif
16685 #ifdef HAVE_SYS_VFS_H
16686 # include <sys/vfs.h>
16687 #endif
16688 #ifdef HAVE_SYS_STATFS_H
16689 # include <sys/statfs.h>
16690 #endif
16692 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16694 cat >>confdefs.h <<_ACEOF
16695 #define HAVE_STRUCT_STATFS_F_FFREE 1
16696 _ACEOF
16700 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16701 #ifdef HAVE_SYS_PARAM_H
16702 # include <sys/param.h>
16703 #endif
16704 #ifdef HAVE_SYS_MOUNT_H
16705 # include <sys/mount.h>
16706 #endif
16707 #ifdef HAVE_SYS_VFS_H
16708 # include <sys/vfs.h>
16709 #endif
16710 #ifdef HAVE_SYS_STATFS_H
16711 # include <sys/statfs.h>
16712 #endif
16714 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16718 _ACEOF
16722 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16723 #ifdef HAVE_SYS_PARAM_H
16724 # include <sys/param.h>
16725 #endif
16726 #ifdef HAVE_SYS_MOUNT_H
16727 # include <sys/mount.h>
16728 #endif
16729 #ifdef HAVE_SYS_VFS_H
16730 # include <sys/vfs.h>
16731 #endif
16732 #ifdef HAVE_SYS_STATFS_H
16733 # include <sys/statfs.h>
16734 #endif
16736 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16738 cat >>confdefs.h <<_ACEOF
16739 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16740 _ACEOF
16746 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16747 #include <sys/statvfs.h>
16748 #endif
16750 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16752 cat >>confdefs.h <<_ACEOF
16753 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16754 _ACEOF
16760 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16761 #include <dirent.h>
16762 #endif
16764 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16766 cat >>confdefs.h <<_ACEOF
16767 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16768 _ACEOF
16774 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16775 #ifdef HAVE_SYS_SOCKET_H
16776 # include <sys/socket.h>
16777 #endif
16778 #ifdef HAVE_SYS_UN_H
16779 # include <sys/un.h>
16780 #endif
16782 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16784 cat >>confdefs.h <<_ACEOF
16785 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16786 _ACEOF
16790 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16791 #ifdef HAVE_SYS_SOCKET_H
16792 # include <sys/socket.h>
16793 #endif
16794 #ifdef HAVE_SYS_UN_H
16795 # include <sys/un.h>
16796 #endif
16798 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16800 cat >>confdefs.h <<_ACEOF
16801 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16802 _ACEOF
16806 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16807 #ifdef HAVE_SYS_SOCKET_H
16808 # include <sys/socket.h>
16809 #endif
16810 #ifdef HAVE_SYS_UN_H
16811 # include <sys/un.h>
16812 #endif
16814 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16816 cat >>confdefs.h <<_ACEOF
16817 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16818 _ACEOF
16824 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16825 #ifdef HAVE_SCSI_SG_H
16826 #include <scsi/sg.h>
16827 #endif
16829 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16831 cat >>confdefs.h <<_ACEOF
16832 #define HAVE_SCSIREQ_T_CMD 1
16833 _ACEOF
16837 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>
16838 #ifdef HAVE_SCSI_SG_H
16839 #include <scsi/sg.h>
16840 #endif
16842 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16844 cat >>confdefs.h <<_ACEOF
16845 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16846 _ACEOF
16852 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16854 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16856 cat >>confdefs.h <<_ACEOF
16857 #define HAVE_SIGINFO_T_SI_FD 1
16858 _ACEOF
16864 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16865 #ifdef HAVE_SYS_MTIO_H
16866 #include <sys/mtio.h>
16867 #endif
16869 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16871 cat >>confdefs.h <<_ACEOF
16872 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16873 _ACEOF
16877 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16878 #ifdef HAVE_SYS_MTIO_H
16879 #include <sys/mtio.h>
16880 #endif
16882 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16884 cat >>confdefs.h <<_ACEOF
16885 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16886 _ACEOF
16890 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16891 #ifdef HAVE_SYS_MTIO_H
16892 #include <sys/mtio.h>
16893 #endif
16895 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16899 _ACEOF
16905 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16906 #include <getopt.h>
16907 #endif
16909 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16911 cat >>confdefs.h <<_ACEOF
16912 #define HAVE_STRUCT_OPTION_NAME 1
16913 _ACEOF
16919 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16920 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16922 cat >>confdefs.h <<_ACEOF
16923 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16924 _ACEOF
16928 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16929 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16931 cat >>confdefs.h <<_ACEOF
16932 #define HAVE_STRUCT_STAT_ST_MTIM 1
16933 _ACEOF
16937 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16938 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16940 cat >>confdefs.h <<_ACEOF
16941 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16942 _ACEOF
16946 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16947 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16949 cat >>confdefs.h <<_ACEOF
16950 #define HAVE_STRUCT_STAT_ST_CTIM 1
16951 _ACEOF
16955 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16956 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16958 cat >>confdefs.h <<_ACEOF
16959 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16960 _ACEOF
16964 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16965 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16967 cat >>confdefs.h <<_ACEOF
16968 #define HAVE_STRUCT_STAT_ST_ATIM 1
16969 _ACEOF
16973 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16974 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16976 cat >>confdefs.h <<_ACEOF
16977 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16978 _ACEOF
16982 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16983 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16985 cat >>confdefs.h <<_ACEOF
16986 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16987 _ACEOF
16991 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16992 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16994 cat >>confdefs.h <<_ACEOF
16995 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16996 _ACEOF
17000 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17001 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17003 cat >>confdefs.h <<_ACEOF
17004 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17005 _ACEOF
17009 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17010 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17012 cat >>confdefs.h <<_ACEOF
17013 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17014 _ACEOF
17018 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17019 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17021 cat >>confdefs.h <<_ACEOF
17022 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17023 _ACEOF
17029 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
17030 #include <sys/types.h>
17031 #endif
17032 #ifdef HAVE_NETINET_IN_H
17033 #include <netinet/in.h>
17034 #endif
17036 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17038 cat >>confdefs.h <<_ACEOF
17039 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17040 _ACEOF
17046 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17047 #include <sys/types.h>
17048 #endif
17049 #ifdef HAVE_NETINET_IN_H
17050 #include <netinet/in.h>
17051 #endif
17052 #ifdef HAVE_RESOLV_H
17053 #include <resolv.h>
17054 #endif
17056 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17058 cat >>confdefs.h <<_ACEOF
17059 #define HAVE_STRUCT___RES_STATE 1
17060 _ACEOF
17066 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
17067 #include <resolv.h>
17068 #endif
17070 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17072 cat >>confdefs.h <<_ACEOF
17073 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17074 _ACEOF
17080 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17081 #include <sys/types.h>
17082 #endif
17083 #ifdef HAVE_NETINET_IN_H
17084 # include <netinet/in.h>
17085 #endif
17086 #ifdef HAVE_ARPA_NAMESER_H
17087 # include <arpa/nameser.h>
17088 #endif
17090 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17092 cat >>confdefs.h <<_ACEOF
17093 #define HAVE_NS_MSG__MSG_PTR 1
17094 _ACEOF
17100 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17101 #include <sys/types.h>
17102 #endif
17103 #ifdef HAVE_NETINET_IN_H
17104 #include <netinet/in.h>
17105 #endif
17106 #ifdef HAVE_NETINET_IP_H
17107 #include <netinet/ip.h>
17108 #endif
17109 #ifdef HAVE_NETINET_IP_ICMP_H
17110 #include <netinet/ip_icmp.h>
17111 #endif
17112 #ifdef HAVE_NETINET_ICMP_VAR_H
17113 #include <netinet/icmp_var.h>
17114 #endif
17116 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17118 cat >>confdefs.h <<_ACEOF
17119 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17120 _ACEOF
17126 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17127 #include <sys/types.h>
17128 #endif
17129 #ifdef HAVE_ALIAS_H
17130 #include <alias.h>
17131 #endif
17132 #ifdef HAVE_SYS_SOCKET_H
17133 #include <sys/socket.h>
17134 #endif
17135 #ifdef HAVE_SYS_SOCKETVAR_H
17136 #include <sys/socketvar.h>
17137 #endif
17138 #ifdef HAVE_SYS_TIMEOUT_H
17139 #include <sys/timeout.h>
17140 #endif
17141 #ifdef HAVE_NETINET_IN_H
17142 #include <netinet/in.h>
17143 #endif
17144 #ifdef HAVE_NETINET_IN_SYSTM_H
17145 #include <netinet/in_systm.h>
17146 #endif
17147 #ifdef HAVE_NETINET_IP_H
17148 #include <netinet/ip.h>
17149 #endif
17150 #ifdef HAVE_NETINET_IP_VAR_H
17151 #include <netinet/ip_var.h>
17152 #endif
17153 #ifdef HAVE_NETINET_IP_ICMP_H
17154 #include <netinet/ip_icmp.h>
17155 #endif
17156 #ifdef HAVE_NETINET_ICMP_VAR_H
17157 #include <netinet/icmp_var.h>
17158 #endif
17160 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17162 cat >>confdefs.h <<_ACEOF
17163 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17164 _ACEOF
17170 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17171 #include <sys/types.h>
17172 #endif
17173 #ifdef HAVE_SYS_SOCKETVAR_H
17174 #include <sys/socketvar.h>
17175 #endif
17176 #ifdef HAVE_NETINET_IN_H
17177 #include <netinet/in.h>
17178 #endif
17179 #ifdef HAVE_NETINET_IP_VAR_H
17180 #include <netinet/ip_var.h>
17181 #endif
17183 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17185 cat >>confdefs.h <<_ACEOF
17186 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17187 _ACEOF
17193 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
17194 #include <netinet/ip_var.h>
17195 #endif
17197 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17199 cat >>confdefs.h <<_ACEOF
17200 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17201 _ACEOF
17207 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17208 #include <sys/types.h>
17209 #endif
17210 #ifdef HAVE_SYS_SOCKETVAR_H
17211 #include <sys/socketvar.h>
17212 #endif
17213 #ifdef HAVE_NETINET_IN_H
17214 #include <netinet/in.h>
17215 #endif
17216 #ifdef HAVE_NETINET_TCP_H
17217 #include <netinet/tcp.h>
17218 #endif
17219 #ifdef HAVE_NETINET_TCP_VAR_H
17220 #include <netinet/tcp_var.h>
17221 #endif
17223 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17225 cat >>confdefs.h <<_ACEOF
17226 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17227 _ACEOF
17233 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
17234 #include <netinet/tcp_var.h>
17235 #endif
17237 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17239 cat >>confdefs.h <<_ACEOF
17240 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17241 _ACEOF
17247 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17248 #include <sys/types.h>
17249 #endif
17250 #ifdef HAVE_NETINET_IN_H
17251 #include <netinet/in.h>
17252 #endif
17253 #ifdef HAVE_NETINET_IP_VAR_H
17254 #include <netinet/ip_var.h>
17255 #endif
17256 #ifdef HAVE_NETINET_UDP_H
17257 #include <netinet/udp.h>
17258 #endif
17259 #ifdef HAVE_NETINET_UDP_VAR_H
17260 #include <netinet/udp_var.h>
17261 #endif
17263 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17265 cat >>confdefs.h <<_ACEOF
17266 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17267 _ACEOF
17273 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17274 #include <sys/types.h>
17275 #endif
17276 #ifdef HAVE_NET_IF_H
17277 # include <net/if.h>
17278 #endif
17280 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17284 _ACEOF
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17291 $as_echo_n "checking for timezone variable... " >&6; }
17292 if ${ac_cv_have_timezone+:} false; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297 #include <time.h>
17299 main ()
17301 timezone = 1
17303 return 0;
17305 _ACEOF
17306 if ac_fn_c_try_link "$LINENO"; then :
17307 ac_cv_have_timezone="yes"
17308 else
17309 ac_cv_have_timezone="no"
17311 rm -f core conftest.err conftest.$ac_objext \
17312 conftest$ac_exeext conftest.$ac_ext
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17315 $as_echo "$ac_cv_have_timezone" >&6; }
17316 if test "$ac_cv_have_timezone" = "yes"
17317 then
17319 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17323 $as_echo_n "checking for daylight variable... " >&6; }
17324 if ${ac_cv_have_daylight+:} false; then :
17325 $as_echo_n "(cached) " >&6
17326 else
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 #include <time.h>
17331 main ()
17333 daylight = 1
17335 return 0;
17337 _ACEOF
17338 if ac_fn_c_try_link "$LINENO"; then :
17339 ac_cv_have_daylight="yes"
17340 else
17341 ac_cv_have_daylight="no"
17343 rm -f core conftest.err conftest.$ac_objext \
17344 conftest$ac_exeext conftest.$ac_ext
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17347 $as_echo "$ac_cv_have_daylight" >&6; }
17348 if test "$ac_cv_have_daylight" = "yes"
17349 then
17351 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17355 ac_save_LIBS="$LIBS"
17356 LIBS="$LIBS -lm"
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17358 $as_echo_n "checking for isfinite... " >&6; }
17359 if ${ac_cv_have_isfinite+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #define _GNU_SOURCE
17365 #include <math.h>
17367 main ()
17369 float f = 0.0; return isfinite(f)
17371 return 0;
17373 _ACEOF
17374 if ac_fn_c_try_link "$LINENO"; then :
17375 ac_cv_have_isfinite="yes"
17376 else
17377 ac_cv_have_isfinite="no"
17379 rm -f core conftest.err conftest.$ac_objext \
17380 conftest$ac_exeext conftest.$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17383 $as_echo "$ac_cv_have_isfinite" >&6; }
17384 if test "$ac_cv_have_isfinite" = "yes"
17385 then
17387 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17392 $as_echo_n "checking for isinf... " >&6; }
17393 if ${ac_cv_have_isinf+:} false; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 #include <math.h>
17400 main ()
17402 float f = 0.0; return isinf(f)
17404 return 0;
17406 _ACEOF
17407 if ac_fn_c_try_link "$LINENO"; then :
17408 ac_cv_have_isinf="yes"
17409 else
17410 ac_cv_have_isinf="no"
17412 rm -f core conftest.err conftest.$ac_objext \
17413 conftest$ac_exeext conftest.$ac_ext
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17416 $as_echo "$ac_cv_have_isinf" >&6; }
17417 if test "$ac_cv_have_isinf" = "yes"
17418 then
17420 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17425 $as_echo_n "checking for isnan... " >&6; }
17426 if ${ac_cv_have_isnan+:} false; then :
17427 $as_echo_n "(cached) " >&6
17428 else
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17431 #include <math.h>
17433 main ()
17435 float f = 0.0; return isnan(f)
17437 return 0;
17439 _ACEOF
17440 if ac_fn_c_try_link "$LINENO"; then :
17441 ac_cv_have_isnan="yes"
17442 else
17443 ac_cv_have_isnan="no"
17445 rm -f core conftest.err conftest.$ac_objext \
17446 conftest$ac_exeext conftest.$ac_ext
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17449 $as_echo "$ac_cv_have_isnan" >&6; }
17450 if test "$ac_cv_have_isnan" = "yes"
17451 then
17453 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17457 for ac_func in \
17458 acosh \
17459 acoshf \
17460 asinh \
17461 asinhf \
17462 atanh \
17463 atanhf \
17464 cbrt \
17465 cbrtf \
17466 erf \
17467 erfc \
17468 erfcf \
17469 erff \
17470 exp2 \
17471 exp2f \
17472 expm1 \
17473 expm1f \
17474 lgamma \
17475 lgammaf \
17476 llrint \
17477 llrintf \
17478 llround \
17479 llroundf \
17480 log1p \
17481 log1pf \
17482 log2 \
17483 log2f \
17484 lrint \
17485 lrintf \
17486 lround \
17487 lroundf \
17488 nearbyint \
17489 nearbyintf \
17490 powl \
17491 remainder \
17492 remainderf \
17493 rint \
17494 rintf \
17495 round \
17496 roundf \
17497 trunc \
17498 truncf
17500 do :
17501 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17503 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17504 cat >>confdefs.h <<_ACEOF
17505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17506 _ACEOF
17509 done
17511 LIBS="$ac_save_LIBS"
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17514 $as_echo_n "checking for __builtin_clz... " >&6; }
17515 if ${ac_cv_have___builtin_clz+:} false; then :
17516 $as_echo_n "(cached) " >&6
17517 else
17518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17519 /* end confdefs.h. */
17522 main ()
17524 return __builtin_clz(1)
17526 return 0;
17528 _ACEOF
17529 if ac_fn_c_try_link "$LINENO"; then :
17530 ac_cv_have___builtin_clz="yes"
17531 else
17532 ac_cv_have___builtin_clz="no"
17534 rm -f core conftest.err conftest.$ac_objext \
17535 conftest$ac_exeext conftest.$ac_ext
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17538 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17539 if test "$ac_cv_have___builtin_clz" = "yes"
17540 then
17542 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17547 $as_echo_n "checking for __builtin_popcount... " >&6; }
17548 if ${ac_cv_have___builtin_popcount+:} false; then :
17549 $as_echo_n "(cached) " >&6
17550 else
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17555 main ()
17557 return __builtin_popcount(1)
17559 return 0;
17561 _ACEOF
17562 if ac_fn_c_try_link "$LINENO"; then :
17563 ac_cv_have___builtin_popcount="yes"
17564 else
17565 ac_cv_have___builtin_popcount="no"
17567 rm -f core conftest.err conftest.$ac_objext \
17568 conftest$ac_exeext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17571 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17572 if test "$ac_cv_have___builtin_popcount" = "yes"
17573 then
17575 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17580 case $host_cpu in
17581 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17582 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17583 if ${ac_cv_cpp_def___i386__+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #ifndef __i386__
17590 #endif
17591 _ACEOF
17592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17593 $EGREP "yes" >/dev/null 2>&1; then :
17594 ac_cv_cpp_def___i386__=yes
17595 else
17596 ac_cv_cpp_def___i386__=no
17598 rm -f conftest*
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17602 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17603 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17604 CFLAGS="$CFLAGS -D__i386__"
17605 LINTFLAGS="$LINTFLAGS -D__i386__"
17606 fi ;;
17607 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17608 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17609 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17610 $as_echo_n "(cached) " >&6
17611 else
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17614 #ifndef __x86_64__
17616 #endif
17617 _ACEOF
17618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17619 $EGREP "yes" >/dev/null 2>&1; then :
17620 ac_cv_cpp_def___x86_64__=yes
17621 else
17622 ac_cv_cpp_def___x86_64__=no
17624 rm -f conftest*
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17628 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17629 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17630 CFLAGS="$CFLAGS -D__x86_64__"
17631 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17632 fi ;;
17633 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17634 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17635 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #ifndef __sparc64__
17642 #endif
17643 _ACEOF
17644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17645 $EGREP "yes" >/dev/null 2>&1; then :
17646 ac_cv_cpp_def___sparc64__=yes
17647 else
17648 ac_cv_cpp_def___sparc64__=no
17650 rm -f conftest*
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17654 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17655 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17656 CFLAGS="$CFLAGS -D__sparc64__"
17657 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17658 fi ;;
17659 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17660 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17661 if ${ac_cv_cpp_def___sparc__+:} false; then :
17662 $as_echo_n "(cached) " >&6
17663 else
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17666 #ifndef __sparc__
17668 #endif
17669 _ACEOF
17670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17671 $EGREP "yes" >/dev/null 2>&1; then :
17672 ac_cv_cpp_def___sparc__=yes
17673 else
17674 ac_cv_cpp_def___sparc__=no
17676 rm -f conftest*
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17680 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17681 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17682 CFLAGS="$CFLAGS -D__sparc__"
17683 LINTFLAGS="$LINTFLAGS -D__sparc__"
17684 fi ;;
17685 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17686 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17687 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17688 $as_echo_n "(cached) " >&6
17689 else
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17692 #ifndef __powerpc64__
17694 #endif
17695 _ACEOF
17696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17697 $EGREP "yes" >/dev/null 2>&1; then :
17698 ac_cv_cpp_def___powerpc64__=yes
17699 else
17700 ac_cv_cpp_def___powerpc64__=no
17702 rm -f conftest*
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17706 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17707 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17708 CFLAGS="$CFLAGS -D__powerpc64__"
17709 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17710 fi ;;
17711 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17712 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17713 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17714 $as_echo_n "(cached) " >&6
17715 else
17716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17718 #ifndef __powerpc__
17720 #endif
17721 _ACEOF
17722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17723 $EGREP "yes" >/dev/null 2>&1; then :
17724 ac_cv_cpp_def___powerpc__=yes
17725 else
17726 ac_cv_cpp_def___powerpc__=no
17728 rm -f conftest*
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17732 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17733 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17734 CFLAGS="$CFLAGS -D__powerpc__"
17735 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17736 fi ;;
17737 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17738 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17739 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17740 $as_echo_n "(cached) " >&6
17741 else
17742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17743 /* end confdefs.h. */
17744 #ifndef __aarch64__
17746 #endif
17747 _ACEOF
17748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17749 $EGREP "yes" >/dev/null 2>&1; then :
17750 ac_cv_cpp_def___aarch64__=yes
17751 else
17752 ac_cv_cpp_def___aarch64__=no
17754 rm -f conftest*
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17758 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17759 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17760 CFLAGS="$CFLAGS -D__aarch64__"
17761 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17762 fi ;;
17763 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17764 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17765 if ${ac_cv_cpp_def___arm__+:} false; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 #ifndef __arm__
17772 #endif
17773 _ACEOF
17774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17775 $EGREP "yes" >/dev/null 2>&1; then :
17776 ac_cv_cpp_def___arm__=yes
17777 else
17778 ac_cv_cpp_def___arm__=no
17780 rm -f conftest*
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17784 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17785 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17786 CFLAGS="$CFLAGS -D__arm__"
17787 LINTFLAGS="$LINTFLAGS -D__arm__"
17788 fi ;;
17789 esac
17791 case $host_vendor in
17792 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17793 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17794 if ${ac_cv_cpp_def___sun__+:} false; then :
17795 $as_echo_n "(cached) " >&6
17796 else
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17799 #ifndef __sun__
17801 #endif
17802 _ACEOF
17803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17804 $EGREP "yes" >/dev/null 2>&1; then :
17805 ac_cv_cpp_def___sun__=yes
17806 else
17807 ac_cv_cpp_def___sun__=no
17809 rm -f conftest*
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17813 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17814 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17815 CFLAGS="$CFLAGS -D__sun__"
17816 LINTFLAGS="$LINTFLAGS -D__sun__"
17817 fi ;;
17818 esac
17824 ac_config_commands="$ac_config_commands include/stamp-h"
17826 $as_echo_n "creating Makefile rules..." >&6
17828 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17829 SOCKET_LIBS = $SOCKET_LIBS
17830 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17831 IOKIT_LIBS = $IOKIT_LIBS
17832 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17833 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17834 CORESERVICES_LIBS = $CORESERVICES_LIBS
17835 APPKIT_LIBS = $APPKIT_LIBS
17836 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17837 SECURITY_LIBS = $SECURITY_LIBS
17838 COREAUDIO_LIBS = $COREAUDIO_LIBS
17839 OPENAL_LIBS = $OPENAL_LIBS
17840 OPENCL_LIBS = $OPENCL_LIBS
17841 QUICKTIME_LIBS = $QUICKTIME_LIBS
17842 CARBON_LIBS = $CARBON_LIBS
17843 PTHREAD_LIBS = $PTHREAD_LIBS
17844 X_CFLAGS = $X_CFLAGS
17845 X_PRE_LIBS = $X_PRE_LIBS
17846 X_LIBS = $X_LIBS
17847 X_EXTRA_LIBS = $X_EXTRA_LIBS
17848 PCAP_LIBS = $PCAP_LIBS
17849 XML2_CFLAGS = $XML2_CFLAGS
17850 XML2_LIBS = $XML2_LIBS
17851 XSLT_CFLAGS = $XSLT_CFLAGS
17852 XSLT_LIBS = $XSLT_LIBS
17853 DBUS_CFLAGS = $DBUS_CFLAGS
17854 DBUS_LIBS = $DBUS_LIBS
17855 HAL_CFLAGS = $HAL_CFLAGS
17856 HAL_LIBS = $HAL_LIBS
17857 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17858 GNUTLS_LIBS = $GNUTLS_LIBS
17859 SANE_CFLAGS = $SANE_CFLAGS
17860 SANE_LIBS = $SANE_LIBS
17861 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17862 GPHOTO2_LIBS = $GPHOTO2_LIBS
17863 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17864 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17865 RESOLV_LIBS = $RESOLV_LIBS
17866 LCMS2_CFLAGS = $LCMS2_CFLAGS
17867 LCMS2_LIBS = $LCMS2_LIBS
17868 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17869 FREETYPE_LIBS = $FREETYPE_LIBS
17870 Z_LIBS = $Z_LIBS
17871 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17872 PULSE_CFLAGS = $PULSE_CFLAGS
17873 PULSE_LIBS = $PULSE_LIBS
17874 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17875 GSTREAMER_LIBS = $GSTREAMER_LIBS
17876 ALSA_LIBS = $ALSA_LIBS
17877 OSS4_CFLAGS = $OSS4_CFLAGS
17878 UDEV_CFLAGS = $UDEV_CFLAGS
17879 UDEV_LIBS = $UDEV_LIBS
17880 CAPI20_CFLAGS = $CAPI20_CFLAGS
17881 CAPI20_LIBS = $CAPI20_LIBS
17882 CUPS_CFLAGS = $CUPS_CFLAGS
17883 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17884 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17885 JPEG_CFLAGS = $JPEG_CFLAGS
17886 JPEG_LIBS = $JPEG_LIBS
17887 PNG_CFLAGS = $PNG_CFLAGS
17888 PNG_LIBS = $PNG_LIBS
17889 TIFF_CFLAGS = $TIFF_CFLAGS
17890 TIFF_LIBS = $TIFF_LIBS
17891 MPG123_CFLAGS = $MPG123_CFLAGS
17892 MPG123_LIBS = $MPG123_LIBS
17893 KSTAT_LIBS = $KSTAT_LIBS
17894 PROCSTAT_LIBS = $PROCSTAT_LIBS
17895 NETAPI_CFLAGS = $NETAPI_CFLAGS
17896 NETAPI_LIBS = $NETAPI_LIBS
17897 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17898 DL_LIBS = $DL_LIBS
17899 POLL_LIBS = $POLL_LIBS
17900 RT_LIBS = $RT_LIBS
17901 LDAP_CFLAGS = $LDAP_CFLAGS
17902 LDAP_LIBS = $LDAP_LIBS
17907 wine_fn_append_rule "
17908 # Rules automatically generated by configure
17910 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17912 .INIT: Makefile
17913 .MAKEFILEDEPS:
17914 all: Makefile
17915 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17916 @./config.status Make.tmp Makefile
17917 depend: \$(MAKEDEP) dummy
17918 \$(MAKEDEP)"
17920 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17921 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17923 if test "x$enable_fonts" != xno; then
17924 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17925 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17926 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17927 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17928 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17929 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17931 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17932 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17933 ac_config_links="$ac_config_links wine:tools/winewrapper"
17934 wine_fn_config_symlink wine
17935 if test "x$enable_win64" != xno; then
17936 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17937 wine_fn_config_symlink wine64
17940 wine_fn_config_dll acledit enable_acledit
17941 wine_fn_config_dll aclui enable_aclui implib
17942 wine_fn_config_dll activeds enable_activeds implib
17943 wine_fn_config_dll actxprxy enable_actxprxy clean
17944 wine_fn_config_lib adsiid
17945 wine_fn_config_dll adsldpc enable_adsldpc
17946 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17947 wine_fn_config_test dlls/advapi32/tests advapi32_test
17948 wine_fn_config_dll advpack enable_advpack implib
17949 wine_fn_config_test dlls/advpack/tests advpack_test
17950 wine_fn_config_dll amstream enable_amstream clean
17951 wine_fn_config_test dlls/amstream/tests amstream_test
17952 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17953 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17954 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17956 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17961 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17964 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17966 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17968 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17970 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17972 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17974 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17975 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17977 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17979 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17980 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17981 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17982 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17984 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17985 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17988 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17990 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17992 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17994 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17995 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17997 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17998 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17999 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18000 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18001 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18002 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18003 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18004 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18005 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18006 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18007 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18008 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18009 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18010 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18013 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18015 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18017 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18019 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18021 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18022 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18024 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18025 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18026 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18030 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18031 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18033 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18034 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18038 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18039 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18042 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18044 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18045 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18047 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18048 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18049 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18050 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18059 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18060 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18064 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18066 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18067 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18068 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18069 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18070 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18071 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18072 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18079 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18080 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18081 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18082 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18083 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18084 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18085 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18086 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18087 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18088 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18089 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18090 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18091 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18092 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18093 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18094 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18095 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18096 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18097 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18098 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18099 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18100 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18101 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18102 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18103 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18104 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18105 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18106 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18107 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18108 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18109 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18110 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18111 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18112 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18113 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18114 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18115 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18116 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18117 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18118 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18119 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18120 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18121 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18122 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18123 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18124 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18125 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18126 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18127 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18128 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18129 wine_fn_config_dll apphelp enable_apphelp
18130 wine_fn_config_test dlls/apphelp/tests apphelp_test
18131 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18132 wine_fn_config_dll atl enable_atl clean,implib
18133 wine_fn_config_test dlls/atl/tests atl_test
18134 wine_fn_config_dll atl100 enable_atl100 clean,implib
18135 wine_fn_config_test dlls/atl100/tests atl100_test
18136 wine_fn_config_dll atl110 enable_atl110 clean
18137 wine_fn_config_dll atl80 enable_atl80 clean,implib
18138 wine_fn_config_test dlls/atl80/tests atl80_test
18139 wine_fn_config_dll atl90 enable_atl90 clean
18140 wine_fn_config_dll authz enable_authz
18141 wine_fn_config_dll avicap32 enable_avicap32 implib
18142 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18143 wine_fn_config_test dlls/avifil32/tests avifil32_test
18144 wine_fn_config_dll avifile.dll16 enable_win16
18145 wine_fn_config_dll avrt enable_avrt implib
18146 wine_fn_config_dll bcrypt enable_bcrypt implib
18147 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18148 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18149 wine_fn_config_dll browseui enable_browseui clean
18150 wine_fn_config_test dlls/browseui/tests browseui_test
18151 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18152 wine_fn_config_dll cabinet enable_cabinet implib
18153 wine_fn_config_test dlls/cabinet/tests cabinet_test
18154 wine_fn_config_dll capi2032 enable_capi2032 implib
18155 wine_fn_config_dll cards enable_cards implib
18156 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18157 wine_fn_config_dll clusapi enable_clusapi implib
18158 wine_fn_config_dll combase enable_combase
18159 wine_fn_config_test dlls/combase/tests combase_test
18160 wine_fn_config_dll comcat enable_comcat
18161 wine_fn_config_test dlls/comcat/tests comcat_test
18162 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18163 wine_fn_config_test dlls/comctl32/tests comctl32_test
18164 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18165 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18166 wine_fn_config_dll comm.drv16 enable_win16
18167 wine_fn_config_dll commdlg.dll16 enable_win16
18168 wine_fn_config_dll compobj.dll16 enable_win16
18169 wine_fn_config_dll compstui enable_compstui implib
18170 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18171 wine_fn_config_dll concrt140 enable_concrt140
18172 wine_fn_config_dll connect enable_connect
18173 wine_fn_config_dll credui enable_credui clean,implib
18174 wine_fn_config_test dlls/credui/tests credui_test
18175 wine_fn_config_dll crtdll enable_crtdll
18176 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18177 wine_fn_config_test dlls/crypt32/tests crypt32_test
18178 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18179 wine_fn_config_dll cryptdll enable_cryptdll implib
18180 wine_fn_config_dll cryptext enable_cryptext
18181 wine_fn_config_dll cryptnet enable_cryptnet implib
18182 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18183 wine_fn_config_dll cryptui enable_cryptui clean,implib
18184 wine_fn_config_test dlls/cryptui/tests cryptui_test
18185 wine_fn_config_dll ctapi32 enable_ctapi32
18186 wine_fn_config_dll ctl3d.dll16 enable_win16
18187 wine_fn_config_dll ctl3d32 enable_ctl3d32
18188 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18189 wine_fn_config_dll d2d1 enable_d2d1 implib
18190 wine_fn_config_test dlls/d2d1/tests d2d1_test
18191 wine_fn_config_dll d3d10 enable_d3d10 implib
18192 wine_fn_config_test dlls/d3d10/tests d3d10_test
18193 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18194 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18195 wine_fn_config_dll d3d10core enable_d3d10core implib
18196 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18197 wine_fn_config_dll d3d11 enable_d3d11 implib
18198 wine_fn_config_test dlls/d3d11/tests d3d11_test
18199 wine_fn_config_dll d3d8 enable_d3d8 implib
18200 wine_fn_config_test dlls/d3d8/tests d3d8_test
18201 wine_fn_config_dll d3d9 enable_d3d9 implib
18202 wine_fn_config_test dlls/d3d9/tests d3d9_test
18203 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18204 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18205 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18206 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18207 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18208 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18209 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18210 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18211 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18212 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18213 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18214 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18215 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18216 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18217 wine_fn_config_dll d3dim enable_d3dim
18218 wine_fn_config_dll d3drm enable_d3drm implib
18219 wine_fn_config_test dlls/d3drm/tests d3drm_test
18220 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18221 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18222 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18223 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18224 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18225 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18226 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18227 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18228 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18229 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18230 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18231 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18232 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18233 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18234 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18235 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18236 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18237 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18238 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18239 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18240 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18241 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18242 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18243 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18244 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18245 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18246 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18247 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18248 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18249 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18250 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18251 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18252 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18253 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18254 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18255 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18256 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18257 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18258 wine_fn_config_dll davclnt enable_davclnt
18259 wine_fn_config_dll dbgeng enable_dbgeng implib
18260 wine_fn_config_dll dbghelp enable_dbghelp implib
18261 wine_fn_config_dll dciman32 enable_dciman32 implib
18262 wine_fn_config_dll ddeml.dll16 enable_win16
18263 wine_fn_config_dll ddraw enable_ddraw clean,implib
18264 wine_fn_config_test dlls/ddraw/tests ddraw_test
18265 wine_fn_config_dll ddrawex enable_ddrawex clean
18266 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18267 wine_fn_config_dll devenum enable_devenum clean
18268 wine_fn_config_test dlls/devenum/tests devenum_test
18269 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18270 wine_fn_config_dll difxapi enable_difxapi
18271 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18272 wine_fn_config_test dlls/dinput/tests dinput_test
18273 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18274 wine_fn_config_test dlls/dinput8/tests dinput8_test
18275 wine_fn_config_dll dispdib.dll16 enable_win16
18276 wine_fn_config_dll dispex enable_dispex clean
18277 wine_fn_config_test dlls/dispex/tests dispex_test
18278 wine_fn_config_dll display.drv16 enable_win16
18279 wine_fn_config_dll dmband enable_dmband clean
18280 wine_fn_config_test dlls/dmband/tests dmband_test
18281 wine_fn_config_dll dmcompos enable_dmcompos clean
18282 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18283 wine_fn_config_dll dmime enable_dmime clean
18284 wine_fn_config_test dlls/dmime/tests dmime_test
18285 wine_fn_config_dll dmloader enable_dmloader clean
18286 wine_fn_config_test dlls/dmloader/tests dmloader_test
18287 wine_fn_config_dll dmscript enable_dmscript clean
18288 wine_fn_config_test dlls/dmscript/tests dmscript_test
18289 wine_fn_config_dll dmstyle enable_dmstyle clean
18290 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18291 wine_fn_config_dll dmsynth enable_dmsynth clean
18292 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18293 wine_fn_config_dll dmusic enable_dmusic clean
18294 wine_fn_config_test dlls/dmusic/tests dmusic_test
18295 wine_fn_config_dll dmusic32 enable_dmusic32
18296 wine_fn_config_dll dnsapi enable_dnsapi implib
18297 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18298 wine_fn_config_dll dplay enable_dplay
18299 wine_fn_config_dll dplayx enable_dplayx clean,implib
18300 wine_fn_config_test dlls/dplayx/tests dplayx_test
18301 wine_fn_config_dll dpnaddr enable_dpnaddr
18302 wine_fn_config_dll dpnet enable_dpnet clean,implib
18303 wine_fn_config_test dlls/dpnet/tests dpnet_test
18304 wine_fn_config_dll dpnhpast enable_dpnhpast
18305 wine_fn_config_dll dpnlobby enable_dpnlobby
18306 wine_fn_config_dll dpvoice enable_dpvoice clean
18307 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18308 wine_fn_config_dll dpwsockx enable_dpwsockx
18309 wine_fn_config_dll drmclien enable_drmclien
18310 wine_fn_config_dll dsound enable_dsound clean,implib
18311 wine_fn_config_test dlls/dsound/tests dsound_test
18312 wine_fn_config_dll dssenh enable_dssenh
18313 wine_fn_config_test dlls/dssenh/tests dssenh_test
18314 wine_fn_config_dll dswave enable_dswave clean
18315 wine_fn_config_test dlls/dswave/tests dswave_test
18316 wine_fn_config_dll dwmapi enable_dwmapi implib
18317 wine_fn_config_dll dwrite enable_dwrite implib
18318 wine_fn_config_test dlls/dwrite/tests dwrite_test
18319 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18320 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18321 wine_fn_config_lib dxerr8
18322 wine_fn_config_lib dxerr9
18323 wine_fn_config_dll dxgi enable_dxgi implib
18324 wine_fn_config_test dlls/dxgi/tests dxgi_test
18325 wine_fn_config_lib dxguid
18326 wine_fn_config_dll dxva2 enable_dxva2
18327 wine_fn_config_dll esent enable_esent
18328 wine_fn_config_dll evr enable_evr
18329 wine_fn_config_dll explorerframe enable_explorerframe clean
18330 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18331 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18332 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18333 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18334 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18335 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18336 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18337 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18338 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18339 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18340 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18341 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18342 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18343 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18344 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18345 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18346 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18347 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18348 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18349 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
18350 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18351 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18352 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18353 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18354 wine_fn_config_dll faultrep enable_faultrep implib
18355 wine_fn_config_test dlls/faultrep/tests faultrep_test
18356 wine_fn_config_dll fltlib enable_fltlib
18357 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18358 wine_fn_config_dll fntcache enable_fntcache
18359 wine_fn_config_dll fontsub enable_fontsub
18360 wine_fn_config_dll fusion enable_fusion
18361 wine_fn_config_test dlls/fusion/tests fusion_test
18362 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18363 wine_fn_config_dll gameux enable_gameux clean
18364 wine_fn_config_test dlls/gameux/tests gameux_test
18365 wine_fn_config_dll gdi.exe16 enable_win16
18366 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18367 wine_fn_config_test dlls/gdi32/tests gdi32_test
18368 wine_fn_config_dll gdiplus enable_gdiplus implib
18369 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18370 wine_fn_config_dll glu32 enable_glu32 implib
18371 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18372 wine_fn_config_dll gpkcsp enable_gpkcsp
18373 wine_fn_config_dll hal enable_hal
18374 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18375 wine_fn_config_dll hid enable_hid implib
18376 wine_fn_config_test dlls/hid/tests hid_test
18377 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18378 wine_fn_config_dll hlink enable_hlink clean,implib
18379 wine_fn_config_test dlls/hlink/tests hlink_test
18380 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18381 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18382 wine_fn_config_dll httpapi enable_httpapi
18383 wine_fn_config_dll iccvid enable_iccvid clean
18384 wine_fn_config_dll icmp enable_icmp
18385 wine_fn_config_dll ieframe enable_ieframe clean,implib
18386 wine_fn_config_test dlls/ieframe/tests ieframe_test
18387 wine_fn_config_dll ifsmgr.vxd enable_win16
18388 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18389 wine_fn_config_dll imagehlp enable_imagehlp implib
18390 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18391 wine_fn_config_dll imm.dll16 enable_win16
18392 wine_fn_config_dll imm32 enable_imm32 implib
18393 wine_fn_config_test dlls/imm32/tests imm32_test
18394 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18395 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18396 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18397 wine_fn_config_dll inetmib1 enable_inetmib1
18398 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18399 wine_fn_config_dll infosoft enable_infosoft clean
18400 wine_fn_config_test dlls/infosoft/tests infosoft_test
18401 wine_fn_config_dll initpki enable_initpki
18402 wine_fn_config_dll inkobj enable_inkobj
18403 wine_fn_config_dll inseng enable_inseng clean
18404 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18405 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18406 wine_fn_config_dll iprop enable_iprop
18407 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18408 wine_fn_config_dll itircl enable_itircl
18409 wine_fn_config_dll itss enable_itss clean
18410 wine_fn_config_test dlls/itss/tests itss_test
18411 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18412 wine_fn_config_dll jscript enable_jscript clean
18413 wine_fn_config_test dlls/jscript/tests jscript_test
18414 wine_fn_config_dll jsproxy enable_jsproxy implib
18415 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18416 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18417 wine_fn_config_test dlls/kernel32/tests kernel32_test
18418 wine_fn_config_dll kernelbase enable_kernelbase
18419 wine_fn_config_dll keyboard.drv16 enable_win16
18420 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18421 wine_fn_config_dll ksuser enable_ksuser
18422 wine_fn_config_dll ktmw32 enable_ktmw32
18423 wine_fn_config_dll loadperf enable_loadperf implib
18424 wine_fn_config_dll localspl enable_localspl clean
18425 wine_fn_config_test dlls/localspl/tests localspl_test
18426 wine_fn_config_dll localui enable_localui clean
18427 wine_fn_config_test dlls/localui/tests localui_test
18428 wine_fn_config_dll lz32 enable_lz32 implib
18429 wine_fn_config_test dlls/lz32/tests lz32_test
18430 wine_fn_config_dll lzexpand.dll16 enable_win16
18431 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18432 wine_fn_config_test dlls/mapi32/tests mapi32_test
18433 wine_fn_config_dll mapistub enable_mapistub
18434 wine_fn_config_dll mciavi32 enable_mciavi32
18435 wine_fn_config_dll mcicda enable_mcicda
18436 wine_fn_config_dll mciqtz32 enable_mciqtz32
18437 wine_fn_config_dll mciseq enable_mciseq
18438 wine_fn_config_dll mciwave enable_mciwave
18439 wine_fn_config_dll mf enable_mf implib
18440 wine_fn_config_test dlls/mf/tests mf_test
18441 wine_fn_config_dll mf3216 enable_mf3216
18442 wine_fn_config_dll mfplat enable_mfplat implib
18443 wine_fn_config_test dlls/mfplat/tests mfplat_test
18444 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18445 wine_fn_config_dll mgmtapi enable_mgmtapi
18446 wine_fn_config_dll midimap enable_midimap
18447 wine_fn_config_dll mlang enable_mlang clean,implib
18448 wine_fn_config_test dlls/mlang/tests mlang_test
18449 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18450 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18451 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18452 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18453 wine_fn_config_dll mmdevldr.vxd enable_win16
18454 wine_fn_config_dll mmsystem.dll16 enable_win16
18455 wine_fn_config_dll monodebg.vxd enable_win16
18456 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18457 wine_fn_config_dll mouse.drv16 enable_win16
18458 wine_fn_config_dll mpr enable_mpr clean,implib
18459 wine_fn_config_test dlls/mpr/tests mpr_test
18460 wine_fn_config_dll mprapi enable_mprapi implib
18461 wine_fn_config_dll msacm.dll16 enable_win16
18462 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18463 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18464 wine_fn_config_test dlls/msacm32/tests msacm32_test
18465 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18466 wine_fn_config_dll msasn1 enable_msasn1 implib
18467 wine_fn_config_dll mscat32 enable_mscat32
18468 wine_fn_config_dll mscms enable_mscms implib
18469 wine_fn_config_test dlls/mscms/tests mscms_test
18470 wine_fn_config_dll mscoree enable_mscoree clean
18471 wine_fn_config_test dlls/mscoree/tests mscoree_test
18472 wine_fn_config_dll msctf enable_msctf clean
18473 wine_fn_config_test dlls/msctf/tests msctf_test
18474 wine_fn_config_dll msctfp enable_msctfp clean
18475 wine_fn_config_dll msdaps enable_msdaps clean
18476 wine_fn_config_dll msdelta enable_msdelta
18477 wine_fn_config_dll msdmo enable_msdmo implib
18478 wine_fn_config_test dlls/msdmo/tests msdmo_test
18479 wine_fn_config_dll msdrm enable_msdrm
18480 wine_fn_config_dll msftedit enable_msftedit
18481 wine_fn_config_dll msg711.acm enable_msg711_acm
18482 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18483 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18484 wine_fn_config_dll mshtml enable_mshtml clean,implib
18485 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18486 wine_fn_config_dll msi enable_msi clean,implib
18487 wine_fn_config_test dlls/msi/tests msi_test
18488 wine_fn_config_dll msident enable_msident clean
18489 wine_fn_config_dll msimg32 enable_msimg32 implib
18490 wine_fn_config_dll msimsg enable_msimsg
18491 wine_fn_config_dll msimtf enable_msimtf clean
18492 wine_fn_config_dll msisip enable_msisip
18493 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18494 wine_fn_config_dll msls31 enable_msls31
18495 wine_fn_config_dll msnet32 enable_msnet32
18496 wine_fn_config_dll mspatcha enable_mspatcha implib
18497 wine_fn_config_dll msports enable_msports
18498 wine_fn_config_dll msrle32 enable_msrle32 clean
18499 wine_fn_config_test dlls/msrle32/tests msrle32_test
18500 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18501 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18502 wine_fn_config_dll mssign32 enable_mssign32
18503 wine_fn_config_dll mssip32 enable_mssip32
18504 wine_fn_config_dll mstask enable_mstask clean
18505 wine_fn_config_test dlls/mstask/tests mstask_test
18506 wine_fn_config_dll msvcirt enable_msvcirt
18507 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18508 wine_fn_config_dll msvcm80 enable_msvcm80
18509 wine_fn_config_dll msvcm90 enable_msvcm90
18510 wine_fn_config_dll msvcp100 enable_msvcp100
18511 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18512 wine_fn_config_dll msvcp110 enable_msvcp110
18513 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18514 wine_fn_config_dll msvcp120 enable_msvcp120
18515 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18516 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18517 wine_fn_config_dll msvcp140 enable_msvcp140
18518 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18519 wine_fn_config_dll msvcp60 enable_msvcp60
18520 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18521 wine_fn_config_dll msvcp70 enable_msvcp70
18522 wine_fn_config_dll msvcp71 enable_msvcp71
18523 wine_fn_config_dll msvcp80 enable_msvcp80
18524 wine_fn_config_dll msvcp90 enable_msvcp90
18525 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18526 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18527 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18528 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18529 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18530 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18531 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18532 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18533 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18534 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18535 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18536 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18537 wine_fn_config_dll msvcrt enable_msvcrt implib
18538 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18539 wine_fn_config_dll msvcrt20 enable_msvcrt20
18540 wine_fn_config_dll msvcrt40 enable_msvcrt40
18541 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18542 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18543 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18544 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18545 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18546 wine_fn_config_dll msvideo.dll16 enable_win16
18547 wine_fn_config_dll mswsock enable_mswsock implib
18548 wine_fn_config_dll msxml enable_msxml clean
18549 wine_fn_config_dll msxml2 enable_msxml2 clean
18550 wine_fn_config_dll msxml3 enable_msxml3 clean
18551 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18552 wine_fn_config_dll msxml4 enable_msxml4 clean
18553 wine_fn_config_dll msxml6 enable_msxml6 clean
18554 wine_fn_config_dll mtxdm enable_mtxdm
18555 wine_fn_config_dll ncrypt enable_ncrypt
18556 wine_fn_config_dll nddeapi enable_nddeapi implib
18557 wine_fn_config_dll ndis.sys enable_ndis_sys
18558 wine_fn_config_dll netapi32 enable_netapi32 implib
18559 wine_fn_config_test dlls/netapi32/tests netapi32_test
18560 wine_fn_config_dll netcfgx enable_netcfgx clean
18561 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18562 wine_fn_config_dll netprofm enable_netprofm clean
18563 wine_fn_config_test dlls/netprofm/tests netprofm_test
18564 wine_fn_config_dll newdev enable_newdev implib
18565 wine_fn_config_dll normaliz enable_normaliz implib
18566 wine_fn_config_dll npmshtml enable_npmshtml
18567 wine_fn_config_dll npptools enable_npptools
18568 wine_fn_config_dll ntdll enable_ntdll implib
18569 wine_fn_config_test dlls/ntdll/tests ntdll_test
18570 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18571 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18572 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18573 wine_fn_config_dll ntprint enable_ntprint
18574 wine_fn_config_test dlls/ntprint/tests ntprint_test
18575 wine_fn_config_dll objsel enable_objsel clean
18576 wine_fn_config_dll odbc32 enable_odbc32 implib
18577 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18578 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18579 wine_fn_config_dll odbccu32 enable_odbccu32
18580 wine_fn_config_dll ole2.dll16 enable_win16
18581 wine_fn_config_dll ole2conv.dll16 enable_win16
18582 wine_fn_config_dll ole2disp.dll16 enable_win16
18583 wine_fn_config_dll ole2nls.dll16 enable_win16
18584 wine_fn_config_dll ole2prox.dll16 enable_win16
18585 wine_fn_config_dll ole2thk.dll16 enable_win16
18586 wine_fn_config_dll ole32 enable_ole32 clean,implib
18587 wine_fn_config_test dlls/ole32/tests ole32_test
18588 wine_fn_config_dll oleacc enable_oleacc clean,implib
18589 wine_fn_config_test dlls/oleacc/tests oleacc_test
18590 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18591 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18592 wine_fn_config_dll olecli.dll16 enable_win16
18593 wine_fn_config_dll olecli32 enable_olecli32 implib
18594 wine_fn_config_dll oledb32 enable_oledb32 clean
18595 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18596 wine_fn_config_dll oledlg enable_oledlg clean,implib
18597 wine_fn_config_test dlls/oledlg/tests oledlg_test
18598 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18599 wine_fn_config_dll olesvr.dll16 enable_win16
18600 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18601 wine_fn_config_dll olethk32 enable_olethk32
18602 wine_fn_config_dll openal32 enable_openal32
18603 wine_fn_config_dll opencl enable_opencl
18604 wine_fn_config_dll opengl32 enable_opengl32 implib
18605 wine_fn_config_test dlls/opengl32/tests opengl32_test
18606 wine_fn_config_dll packager enable_packager clean
18607 wine_fn_config_test dlls/packager/tests packager_test
18608 wine_fn_config_dll pdh enable_pdh implib
18609 wine_fn_config_test dlls/pdh/tests pdh_test
18610 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18611 wine_fn_config_dll pidgen enable_pidgen
18612 wine_fn_config_dll powrprof enable_powrprof implib
18613 wine_fn_config_dll printui enable_printui
18614 wine_fn_config_dll prntvpt enable_prntvpt
18615 wine_fn_config_dll propsys enable_propsys clean,implib
18616 wine_fn_config_test dlls/propsys/tests propsys_test
18617 wine_fn_config_dll psapi enable_psapi implib
18618 wine_fn_config_test dlls/psapi/tests psapi_test
18619 wine_fn_config_dll pstorec enable_pstorec clean
18620 wine_fn_config_test dlls/pstorec/tests pstorec_test
18621 wine_fn_config_dll qcap enable_qcap
18622 wine_fn_config_test dlls/qcap/tests qcap_test
18623 wine_fn_config_dll qedit enable_qedit clean
18624 wine_fn_config_test dlls/qedit/tests qedit_test
18625 wine_fn_config_dll qmgr enable_qmgr clean
18626 wine_fn_config_test dlls/qmgr/tests qmgr_test
18627 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18628 wine_fn_config_dll quartz enable_quartz clean,implib
18629 wine_fn_config_test dlls/quartz/tests quartz_test clean
18630 wine_fn_config_dll query enable_query
18631 wine_fn_config_dll rasapi16.dll16 enable_win16
18632 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18633 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18634 wine_fn_config_dll rasdlg enable_rasdlg implib
18635 wine_fn_config_dll regapi enable_regapi
18636 wine_fn_config_dll resutils enable_resutils implib
18637 wine_fn_config_dll riched20 enable_riched20 clean,implib
18638 wine_fn_config_test dlls/riched20/tests riched20_test
18639 wine_fn_config_dll riched32 enable_riched32
18640 wine_fn_config_test dlls/riched32/tests riched32_test
18641 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18642 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18643 wine_fn_config_dll rsabase enable_rsabase
18644 wine_fn_config_dll rsaenh enable_rsaenh implib
18645 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18646 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18647 wine_fn_config_dll rtutils enable_rtutils implib
18648 wine_fn_config_dll samlib enable_samlib
18649 wine_fn_config_dll sane.ds enable_sane_ds clean
18650 wine_fn_config_dll scarddlg enable_scarddlg
18651 wine_fn_config_dll sccbase enable_sccbase
18652 wine_fn_config_dll schannel enable_schannel
18653 wine_fn_config_test dlls/schannel/tests schannel_test
18654 wine_fn_config_dll schedsvc enable_schedsvc clean
18655 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18656 wine_fn_config_dll scrobj enable_scrobj clean
18657 wine_fn_config_dll scrrun enable_scrrun clean
18658 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18659 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18660 wine_fn_config_dll secur32 enable_secur32 implib
18661 wine_fn_config_test dlls/secur32/tests secur32_test
18662 wine_fn_config_dll security enable_security
18663 wine_fn_config_dll sensapi enable_sensapi implib
18664 wine_fn_config_dll serialui enable_serialui clean
18665 wine_fn_config_test dlls/serialui/tests serialui_test
18666 wine_fn_config_dll setupapi enable_setupapi clean,implib
18667 wine_fn_config_test dlls/setupapi/tests setupapi_test
18668 wine_fn_config_dll setupx.dll16 enable_win16
18669 wine_fn_config_dll sfc enable_sfc implib
18670 wine_fn_config_dll sfc_os enable_sfc_os implib
18671 wine_fn_config_dll shdoclc enable_shdoclc clean
18672 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18673 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18674 wine_fn_config_dll shell.dll16 enable_win16
18675 wine_fn_config_dll shell32 enable_shell32 clean,implib
18676 wine_fn_config_test dlls/shell32/tests shell32_test
18677 wine_fn_config_dll shfolder enable_shfolder implib
18678 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18679 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18680 wine_fn_config_dll slbcsp enable_slbcsp
18681 wine_fn_config_dll slc enable_slc implib
18682 wine_fn_config_test dlls/slc/tests slc_test
18683 wine_fn_config_dll snmpapi enable_snmpapi implib
18684 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18685 wine_fn_config_dll softpub enable_softpub
18686 wine_fn_config_dll sound.drv16 enable_win16
18687 wine_fn_config_dll spoolss enable_spoolss implib
18688 wine_fn_config_test dlls/spoolss/tests spoolss_test
18689 wine_fn_config_dll sspicli enable_sspicli
18690 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18691 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18692 wine_fn_config_dll sti enable_sti clean,implib
18693 wine_fn_config_test dlls/sti/tests sti_test
18694 wine_fn_config_dll storage.dll16 enable_win16
18695 wine_fn_config_dll stress.dll16 enable_win16
18696 wine_fn_config_lib strmbase
18697 wine_fn_config_lib strmiids
18698 wine_fn_config_dll svrapi enable_svrapi
18699 wine_fn_config_dll sxs enable_sxs implib
18700 wine_fn_config_test dlls/sxs/tests sxs_test
18701 wine_fn_config_dll system.drv16 enable_win16
18702 wine_fn_config_dll t2embed enable_t2embed implib
18703 wine_fn_config_test dlls/t2embed/tests t2embed_test
18704 wine_fn_config_dll tapi32 enable_tapi32 implib
18705 wine_fn_config_dll taskschd enable_taskschd clean
18706 wine_fn_config_test dlls/taskschd/tests taskschd_test
18707 wine_fn_config_dll tdh enable_tdh
18708 wine_fn_config_dll tdi.sys enable_tdi_sys
18709 wine_fn_config_dll toolhelp.dll16 enable_win16
18710 wine_fn_config_dll traffic enable_traffic
18711 wine_fn_config_dll twain.dll16 enable_win16
18712 wine_fn_config_dll twain_32 enable_twain_32
18713 wine_fn_config_test dlls/twain_32/tests twain_32_test
18714 wine_fn_config_dll typelib.dll16 enable_win16
18715 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18716 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18717 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18718 wine_fn_config_dll unicows enable_unicows implib
18719 wine_fn_config_dll updspapi enable_updspapi
18720 wine_fn_config_dll url enable_url implib
18721 wine_fn_config_dll urlmon enable_urlmon clean,implib
18722 wine_fn_config_test dlls/urlmon/tests urlmon_test
18723 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18724 wine_fn_config_dll user.exe16 enable_win16
18725 wine_fn_config_dll user32 enable_user32 clean,implib
18726 wine_fn_config_test dlls/user32/tests user32_test
18727 wine_fn_config_dll userenv enable_userenv implib
18728 wine_fn_config_test dlls/userenv/tests userenv_test
18729 wine_fn_config_dll usp10 enable_usp10 implib
18730 wine_fn_config_test dlls/usp10/tests usp10_test
18731 wine_fn_config_lib uuid
18732 wine_fn_config_dll uxtheme enable_uxtheme implib
18733 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18734 wine_fn_config_dll vbscript enable_vbscript clean
18735 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18736 wine_fn_config_dll vcomp enable_vcomp
18737 wine_fn_config_test dlls/vcomp/tests vcomp_test
18738 wine_fn_config_dll vcomp100 enable_vcomp100
18739 wine_fn_config_dll vcomp110 enable_vcomp110
18740 wine_fn_config_dll vcomp120 enable_vcomp120
18741 wine_fn_config_dll vcomp140 enable_vcomp140
18742 wine_fn_config_dll vcomp90 enable_vcomp90
18743 wine_fn_config_dll vcruntime140 enable_vcruntime140
18744 wine_fn_config_dll vdhcp.vxd enable_win16
18745 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18746 wine_fn_config_dll ver.dll16 enable_win16
18747 wine_fn_config_dll version enable_version implib
18748 wine_fn_config_test dlls/version/tests version_test
18749 wine_fn_config_dll virtdisk enable_virtdisk
18750 wine_fn_config_dll vmm.vxd enable_win16
18751 wine_fn_config_dll vnbt.vxd enable_win16
18752 wine_fn_config_dll vnetbios.vxd enable_win16
18753 wine_fn_config_dll vssapi enable_vssapi
18754 wine_fn_config_dll vtdapi.vxd enable_win16
18755 wine_fn_config_dll vwin32.vxd enable_win16
18756 wine_fn_config_dll w32skrnl enable_win16
18757 wine_fn_config_dll w32sys.dll16 enable_win16
18758 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18759 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18760 wine_fn_config_dll wbemprox enable_wbemprox clean
18761 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18762 wine_fn_config_dll webservices enable_webservices implib
18763 wine_fn_config_test dlls/webservices/tests webservices_test
18764 wine_fn_config_dll wer enable_wer implib
18765 wine_fn_config_test dlls/wer/tests wer_test
18766 wine_fn_config_dll wevtapi enable_wevtapi
18767 wine_fn_config_dll wiaservc enable_wiaservc clean
18768 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18769 wine_fn_config_dll wimgapi enable_wimgapi
18770 wine_fn_config_dll win32s16.dll16 enable_win16
18771 wine_fn_config_dll win87em.dll16 enable_win16
18772 wine_fn_config_dll winaspi.dll16 enable_win16
18773 wine_fn_config_dll windebug.dll16 enable_win16
18774 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18775 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18776 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18777 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18778 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18779 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18780 wine_fn_config_dll winebus.sys enable_winebus_sys
18781 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18782 wine_fn_config_lib winecrt0
18783 wine_fn_config_dll wined3d enable_wined3d implib
18784 wine_fn_config_dll winegstreamer enable_winegstreamer
18785 wine_fn_config_dll winehid.sys enable_winehid_sys
18786 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18787 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18788 wine_fn_config_dll winemapi enable_winemapi
18789 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18790 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18791 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18792 wine_fn_config_dll wineps16.drv16 enable_win16
18793 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18794 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18795 wine_fn_config_dll winex11.drv enable_winex11_drv
18796 wine_fn_config_dll wing.dll16 enable_win16
18797 wine_fn_config_dll wing32 enable_wing32
18798 wine_fn_config_dll winhttp enable_winhttp clean,implib
18799 wine_fn_config_test dlls/winhttp/tests winhttp_test
18800 wine_fn_config_dll wininet enable_wininet clean,implib
18801 wine_fn_config_test dlls/wininet/tests wininet_test
18802 wine_fn_config_dll winmm enable_winmm clean,implib
18803 wine_fn_config_test dlls/winmm/tests winmm_test
18804 wine_fn_config_dll winnls.dll16 enable_win16
18805 wine_fn_config_dll winnls32 enable_winnls32 implib
18806 wine_fn_config_dll winscard enable_winscard implib
18807 wine_fn_config_dll winsock.dll16 enable_win16
18808 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18809 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18810 wine_fn_config_dll winsta enable_winsta
18811 wine_fn_config_dll wintab.dll16 enable_win16
18812 wine_fn_config_dll wintab32 enable_wintab32 implib
18813 wine_fn_config_test dlls/wintab32/tests wintab32_test
18814 wine_fn_config_dll wintrust enable_wintrust implib
18815 wine_fn_config_test dlls/wintrust/tests wintrust_test
18816 wine_fn_config_dll winusb enable_winusb
18817 wine_fn_config_dll wlanapi enable_wlanapi implib
18818 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18819 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18820 wine_fn_config_test dlls/wldap32/tests wldap32_test
18821 wine_fn_config_dll wmasf enable_wmasf
18822 wine_fn_config_dll wmi enable_wmi
18823 wine_fn_config_dll wmiutils enable_wmiutils clean
18824 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18825 wine_fn_config_dll wmp enable_wmp clean
18826 wine_fn_config_test dlls/wmp/tests wmp_test
18827 wine_fn_config_dll wmvcore enable_wmvcore implib
18828 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18829 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18830 wine_fn_config_dll wow32 enable_win16 implib
18831 wine_fn_config_dll wpc enable_wpc clean
18832 wine_fn_config_test dlls/wpc/tests wpc_test
18833 wine_fn_config_dll wpcap enable_wpcap
18834 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18835 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18836 wine_fn_config_dll wsdapi enable_wsdapi implib
18837 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18838 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18839 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18840 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18841 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18842 wine_fn_config_dll wsock32 enable_wsock32 implib
18843 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18844 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18845 wine_fn_config_dll wuapi enable_wuapi clean
18846 wine_fn_config_dll wuaueng enable_wuaueng
18847 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18848 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18849 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18850 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18851 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18852 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18853 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18854 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18855 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18856 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18857 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18858 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18859 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18860 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18861 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18862 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18863 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18864 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18865 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18866 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18867 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18868 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18869 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18870 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18871 wine_fn_config_dll xinput1_1 enable_xinput1_1
18872 wine_fn_config_dll xinput1_2 enable_xinput1_2
18873 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18874 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18875 wine_fn_config_dll xinput1_4 enable_xinput1_4
18876 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18877 wine_fn_config_dll xmllite enable_xmllite implib
18878 wine_fn_config_test dlls/xmllite/tests xmllite_test
18879 wine_fn_config_dll xolehlp enable_xolehlp
18880 wine_fn_config_dll xpsprint enable_xpsprint
18881 wine_fn_config_dll xpssvcs enable_xpssvcs
18882 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18883 wine_fn_config_makefile include enable_include clean,install-dev
18884 wine_fn_config_makefile libs/port enable_libs_port
18885 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18886 wine_fn_config_makefile libs/wpp enable_libs_wpp
18887 wine_fn_config_makefile loader enable_loader clean,install-lib
18888 wine_fn_config_makefile po enable_po clean
18889 wine_fn_config_program arp enable_arp install
18890 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18891 wine_fn_config_program attrib enable_attrib clean,install
18892 wine_fn_config_program cabarc enable_cabarc install
18893 wine_fn_config_program cacls enable_cacls install
18894 wine_fn_config_program clock enable_clock clean,install
18895 wine_fn_config_program cmd enable_cmd clean,install
18896 wine_fn_config_test programs/cmd/tests cmd.exe_test
18897 wine_fn_config_program conhost enable_conhost install
18898 wine_fn_config_program control enable_control install
18899 wine_fn_config_program cscript enable_cscript clean,install
18900 wine_fn_config_program dpnsvr enable_dpnsvr install
18901 wine_fn_config_program dxdiag enable_dxdiag clean,install
18902 wine_fn_config_program eject enable_eject install
18903 wine_fn_config_program expand enable_expand install
18904 wine_fn_config_program explorer enable_explorer clean,install
18905 wine_fn_config_program extrac32 enable_extrac32 install
18906 wine_fn_config_program findstr enable_findstr install
18907 wine_fn_config_program fsutil enable_fsutil install
18908 wine_fn_config_program hh enable_hh install
18909 wine_fn_config_program hostname enable_hostname clean,install
18910 wine_fn_config_program icacls enable_icacls install
18911 wine_fn_config_program icinfo enable_icinfo install
18912 wine_fn_config_program iexplore enable_iexplore install
18913 wine_fn_config_program ipconfig enable_ipconfig clean,install
18914 wine_fn_config_program lodctr enable_lodctr install
18915 wine_fn_config_program mofcomp enable_mofcomp install
18916 wine_fn_config_program mshta enable_mshta install
18917 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18918 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18919 wine_fn_config_program net enable_net clean,install
18920 wine_fn_config_program netsh enable_netsh install
18921 wine_fn_config_program netstat enable_netstat clean,install
18922 wine_fn_config_program ngen enable_ngen install
18923 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18924 wine_fn_config_program oleview enable_oleview clean,install
18925 wine_fn_config_program ping enable_ping install
18926 wine_fn_config_program plugplay enable_plugplay install
18927 wine_fn_config_program powershell enable_powershell install
18928 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18929 wine_fn_config_program progman enable_progman clean,install
18930 wine_fn_config_program reg enable_reg clean,install
18931 wine_fn_config_test programs/reg/tests reg.exe_test
18932 wine_fn_config_program regasm enable_regasm install
18933 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18934 wine_fn_config_test programs/regedit/tests regedit.exe_test
18935 wine_fn_config_program regsvcs enable_regsvcs install
18936 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18937 wine_fn_config_program rpcss enable_rpcss clean,install
18938 wine_fn_config_program rundll.exe16 enable_win16 install
18939 wine_fn_config_program rundll32 enable_rundll32 install
18940 wine_fn_config_program sc enable_sc install
18941 wine_fn_config_program schtasks enable_schtasks install
18942 wine_fn_config_program sdbinst enable_sdbinst install
18943 wine_fn_config_program secedit enable_secedit install
18944 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18945 wine_fn_config_program services enable_services clean,install
18946 wine_fn_config_test programs/services/tests services.exe_test
18947 wine_fn_config_program shutdown enable_shutdown install
18948 wine_fn_config_program spoolsv enable_spoolsv install
18949 wine_fn_config_program start enable_start clean,install
18950 wine_fn_config_program subst enable_subst install
18951 wine_fn_config_program svchost enable_svchost install
18952 wine_fn_config_program systeminfo enable_systeminfo install
18953 wine_fn_config_program taskkill enable_taskkill clean,install
18954 wine_fn_config_program tasklist enable_tasklist install
18955 wine_fn_config_program taskmgr enable_taskmgr clean,install
18956 wine_fn_config_program termsv enable_termsv install
18957 wine_fn_config_program uninstaller enable_uninstaller clean,install
18958 wine_fn_config_program unlodctr enable_unlodctr install
18959 wine_fn_config_program view enable_view clean,install
18960 wine_fn_config_program wevtutil enable_wevtutil install
18961 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18962 wine_fn_config_program winebrowser enable_winebrowser install
18963 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18964 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18965 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18966 wine_fn_config_program winedevice enable_winedevice install
18967 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18968 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18969 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18970 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18971 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18972 wine_fn_config_program winetest enable_winetest clean
18973 wine_fn_config_program winevdm enable_win16 install
18974 wine_fn_config_program winhelp.exe16 enable_win16 install
18975 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18976 wine_fn_config_program winoldap.mod16 enable_win16 install
18977 wine_fn_config_program winver enable_winver install
18978 wine_fn_config_program wmic enable_wmic clean,install
18979 wine_fn_config_program wmplayer enable_wmplayer install
18980 wine_fn_config_program wordpad enable_wordpad clean,install
18981 wine_fn_config_program write enable_write clean,install
18982 wine_fn_config_program wscript enable_wscript clean,install
18983 wine_fn_config_test programs/wscript/tests wscript.exe_test
18984 wine_fn_config_program wusa enable_wusa install
18985 wine_fn_config_program xcopy enable_xcopy clean,install
18986 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18987 wine_fn_config_makefile server enable_server clean,install-lib
18988 wine_fn_config_tool tools clean
18989 wine_fn_config_tool tools/sfnt2fon clean
18990 wine_fn_config_tool tools/widl clean,install-dev
18991 wine_fn_config_tool tools/winebuild clean,install-dev
18992 wine_fn_config_tool tools/winedump clean,install-dev
18993 wine_fn_config_tool tools/winegcc clean,install-dev
18994 wine_fn_config_tool tools/winemaker clean,install-dev
18995 wine_fn_config_tool tools/wmc clean,install-dev
18996 wine_fn_config_tool tools/wrc clean,install-dev
18999 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19000 wine_fn_append_file CONFIGURE_TARGETS "tags"
19001 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19002 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19003 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19004 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19005 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19006 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19008 if test "x$enable_tools" != xno
19009 then
19010 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19011 ac_config_commands="$ac_config_commands tools/makedep"
19015 ac_config_commands="$ac_config_commands Makefile"
19018 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19022 if test "x$enable_maintainer_mode" = xyes
19023 then
19024 wine_fn_append_rule "configure: configure.ac aclocal.m4
19025 autoconf --warnings=all
19026 include/config.h.in: include/stamp-h.in
19027 include/stamp-h.in: configure.ac aclocal.m4
19028 autoheader --warnings=all
19029 @echo timestamp > \$@"
19032 if test "x$enable_tools" != xno
19033 then
19034 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19035 @./config.status tools/makedep
19036 Makefile: tools/makedep$ac_exeext"
19037 else
19038 wine_fn_append_rule "\$(MAKEDEP):
19039 @echo \"You need to run make in $TOOLSDIR first\" && false"
19042 if test -n "$with_wine64"
19043 then
19044 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19045 fonts server:
19046 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19047 $with_wine64/loader/wine:
19048 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19049 $with_wine64/loader/wine-preloader:
19050 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19051 clean::
19052 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19053 else
19054 WINELOADER_INSTALL="wine.inf"
19056 wine_fn_append_rule "install install-lib::
19057 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19058 uninstall::
19059 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19060 case $host_os in
19061 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19062 *) wine_fn_append_rule "install install-lib::
19063 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19064 uninstall::
19065 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19066 esac
19069 $as_echo " done" >&6
19070 cat >confcache <<\_ACEOF
19071 # This file is a shell script that caches the results of configure
19072 # tests run on this system so they can be shared between configure
19073 # scripts and configure runs, see configure's option --config-cache.
19074 # It is not useful on other systems. If it contains results you don't
19075 # want to keep, you may remove or edit it.
19077 # config.status only pays attention to the cache file if you give it
19078 # the --recheck option to rerun configure.
19080 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19081 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19082 # following values.
19084 _ACEOF
19086 # The following way of writing the cache mishandles newlines in values,
19087 # but we know of no workaround that is simple, portable, and efficient.
19088 # So, we kill variables containing newlines.
19089 # Ultrix sh set writes to stderr and can't be redirected directly,
19090 # and sets the high bit in the cache file unless we assign to the vars.
19092 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19093 eval ac_val=\$$ac_var
19094 case $ac_val in #(
19095 *${as_nl}*)
19096 case $ac_var in #(
19097 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19098 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19099 esac
19100 case $ac_var in #(
19101 _ | IFS | as_nl) ;; #(
19102 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19103 *) { eval $ac_var=; unset $ac_var;} ;;
19104 esac ;;
19105 esac
19106 done
19108 (set) 2>&1 |
19109 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19110 *${as_nl}ac_space=\ *)
19111 # `set' does not quote correctly, so add quotes: double-quote
19112 # substitution turns \\\\ into \\, and sed turns \\ into \.
19113 sed -n \
19114 "s/'/'\\\\''/g;
19115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19116 ;; #(
19118 # `set' quotes correctly as required by POSIX, so do not add quotes.
19119 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19121 esac |
19122 sort
19124 sed '
19125 /^ac_cv_env_/b end
19126 t clear
19127 :clear
19128 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19129 t end
19130 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19131 :end' >>confcache
19132 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19133 if test -w "$cache_file"; then
19134 if test "x$cache_file" != "x/dev/null"; then
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19136 $as_echo "$as_me: updating cache $cache_file" >&6;}
19137 if test ! -f "$cache_file" || test -h "$cache_file"; then
19138 cat confcache >"$cache_file"
19139 else
19140 case $cache_file in #(
19141 */* | ?:*)
19142 mv -f confcache "$cache_file"$$ &&
19143 mv -f "$cache_file"$$ "$cache_file" ;; #(
19145 mv -f confcache "$cache_file" ;;
19146 esac
19149 else
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19151 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19154 rm -f confcache
19156 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19157 # Let make expand exec_prefix.
19158 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19160 DEFS=-DHAVE_CONFIG_H
19162 ac_libobjs=
19163 ac_ltlibobjs=
19165 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19166 # 1. Remove the extension, and $U if already installed.
19167 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19168 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19169 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19170 # will be set to the directory where LIBOBJS objects are built.
19171 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19172 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19173 done
19174 LIBOBJS=$ac_libobjs
19176 LTLIBOBJS=$ac_ltlibobjs
19180 : "${CONFIG_STATUS=./config.status}"
19181 ac_write_fail=0
19182 ac_clean_files_save=$ac_clean_files
19183 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19185 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19186 as_write_fail=0
19187 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19188 #! $SHELL
19189 # Generated by $as_me.
19190 # Run this file to recreate the current configuration.
19191 # Compiler output produced by configure, useful for debugging
19192 # configure, is in config.log if it exists.
19194 debug=false
19195 ac_cs_recheck=false
19196 ac_cs_silent=false
19198 SHELL=\${CONFIG_SHELL-$SHELL}
19199 export SHELL
19200 _ASEOF
19201 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19202 ## -------------------- ##
19203 ## M4sh Initialization. ##
19204 ## -------------------- ##
19206 # Be more Bourne compatible
19207 DUALCASE=1; export DUALCASE # for MKS sh
19208 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19209 emulate sh
19210 NULLCMD=:
19211 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19212 # is contrary to our usage. Disable this feature.
19213 alias -g '${1+"$@"}'='"$@"'
19214 setopt NO_GLOB_SUBST
19215 else
19216 case `(set -o) 2>/dev/null` in #(
19217 *posix*) :
19218 set -o posix ;; #(
19219 *) :
19221 esac
19225 as_nl='
19227 export as_nl
19228 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19229 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19230 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19231 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19232 # Prefer a ksh shell builtin over an external printf program on Solaris,
19233 # but without wasting forks for bash or zsh.
19234 if test -z "$BASH_VERSION$ZSH_VERSION" \
19235 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19236 as_echo='print -r --'
19237 as_echo_n='print -rn --'
19238 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19239 as_echo='printf %s\n'
19240 as_echo_n='printf %s'
19241 else
19242 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19243 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19244 as_echo_n='/usr/ucb/echo -n'
19245 else
19246 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19247 as_echo_n_body='eval
19248 arg=$1;
19249 case $arg in #(
19250 *"$as_nl"*)
19251 expr "X$arg" : "X\\(.*\\)$as_nl";
19252 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19253 esac;
19254 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19256 export as_echo_n_body
19257 as_echo_n='sh -c $as_echo_n_body as_echo'
19259 export as_echo_body
19260 as_echo='sh -c $as_echo_body as_echo'
19263 # The user is always right.
19264 if test "${PATH_SEPARATOR+set}" != set; then
19265 PATH_SEPARATOR=:
19266 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19267 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19268 PATH_SEPARATOR=';'
19273 # IFS
19274 # We need space, tab and new line, in precisely that order. Quoting is
19275 # there to prevent editors from complaining about space-tab.
19276 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19277 # splitting by setting IFS to empty value.)
19278 IFS=" "" $as_nl"
19280 # Find who we are. Look in the path if we contain no directory separator.
19281 as_myself=
19282 case $0 in #((
19283 *[\\/]* ) as_myself=$0 ;;
19284 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19285 for as_dir in $PATH
19287 IFS=$as_save_IFS
19288 test -z "$as_dir" && as_dir=.
19289 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19290 done
19291 IFS=$as_save_IFS
19294 esac
19295 # We did not find ourselves, most probably we were run as `sh COMMAND'
19296 # in which case we are not to be found in the path.
19297 if test "x$as_myself" = x; then
19298 as_myself=$0
19300 if test ! -f "$as_myself"; then
19301 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19302 exit 1
19305 # Unset variables that we do not need and which cause bugs (e.g. in
19306 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19307 # suppresses any "Segmentation fault" message there. '((' could
19308 # trigger a bug in pdksh 5.2.14.
19309 for as_var in BASH_ENV ENV MAIL MAILPATH
19310 do eval test x\${$as_var+set} = xset \
19311 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19312 done
19313 PS1='$ '
19314 PS2='> '
19315 PS4='+ '
19317 # NLS nuisances.
19318 LC_ALL=C
19319 export LC_ALL
19320 LANGUAGE=C
19321 export LANGUAGE
19323 # CDPATH.
19324 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19327 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19328 # ----------------------------------------
19329 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19330 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19331 # script with STATUS, using 1 if that was 0.
19332 as_fn_error ()
19334 as_status=$1; test $as_status -eq 0 && as_status=1
19335 if test "$4"; then
19336 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19337 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19339 $as_echo "$as_me: error: $2" >&2
19340 as_fn_exit $as_status
19341 } # as_fn_error
19344 # as_fn_set_status STATUS
19345 # -----------------------
19346 # Set $? to STATUS, without forking.
19347 as_fn_set_status ()
19349 return $1
19350 } # as_fn_set_status
19352 # as_fn_exit STATUS
19353 # -----------------
19354 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19355 as_fn_exit ()
19357 set +e
19358 as_fn_set_status $1
19359 exit $1
19360 } # as_fn_exit
19362 # as_fn_unset VAR
19363 # ---------------
19364 # Portably unset VAR.
19365 as_fn_unset ()
19367 { eval $1=; unset $1;}
19369 as_unset=as_fn_unset
19370 # as_fn_append VAR VALUE
19371 # ----------------------
19372 # Append the text in VALUE to the end of the definition contained in VAR. Take
19373 # advantage of any shell optimizations that allow amortized linear growth over
19374 # repeated appends, instead of the typical quadratic growth present in naive
19375 # implementations.
19376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19377 eval 'as_fn_append ()
19379 eval $1+=\$2
19381 else
19382 as_fn_append ()
19384 eval $1=\$$1\$2
19386 fi # as_fn_append
19388 # as_fn_arith ARG...
19389 # ------------------
19390 # Perform arithmetic evaluation on the ARGs, and store the result in the
19391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19392 # must be portable across $(()) and expr.
19393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19394 eval 'as_fn_arith ()
19396 as_val=$(( $* ))
19398 else
19399 as_fn_arith ()
19401 as_val=`expr "$@" || test $? -eq 1`
19403 fi # as_fn_arith
19406 if expr a : '\(a\)' >/dev/null 2>&1 &&
19407 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19408 as_expr=expr
19409 else
19410 as_expr=false
19413 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19414 as_basename=basename
19415 else
19416 as_basename=false
19419 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19420 as_dirname=dirname
19421 else
19422 as_dirname=false
19425 as_me=`$as_basename -- "$0" ||
19426 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19427 X"$0" : 'X\(//\)$' \| \
19428 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19429 $as_echo X/"$0" |
19430 sed '/^.*\/\([^/][^/]*\)\/*$/{
19431 s//\1/
19434 /^X\/\(\/\/\)$/{
19435 s//\1/
19438 /^X\/\(\/\).*/{
19439 s//\1/
19442 s/.*/./; q'`
19444 # Avoid depending upon Character Ranges.
19445 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19446 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19447 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19448 as_cr_digits='0123456789'
19449 as_cr_alnum=$as_cr_Letters$as_cr_digits
19451 ECHO_C= ECHO_N= ECHO_T=
19452 case `echo -n x` in #(((((
19453 -n*)
19454 case `echo 'xy\c'` in
19455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19456 xy) ECHO_C='\c';;
19457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19458 ECHO_T=' ';;
19459 esac;;
19461 ECHO_N='-n';;
19462 esac
19464 rm -f conf$$ conf$$.exe conf$$.file
19465 if test -d conf$$.dir; then
19466 rm -f conf$$.dir/conf$$.file
19467 else
19468 rm -f conf$$.dir
19469 mkdir conf$$.dir 2>/dev/null
19471 if (echo >conf$$.file) 2>/dev/null; then
19472 if ln -s conf$$.file conf$$ 2>/dev/null; then
19473 as_ln_s='ln -s'
19474 # ... but there are two gotchas:
19475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19477 # In both cases, we have to default to `cp -pR'.
19478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19479 as_ln_s='cp -pR'
19480 elif ln conf$$.file conf$$ 2>/dev/null; then
19481 as_ln_s=ln
19482 else
19483 as_ln_s='cp -pR'
19485 else
19486 as_ln_s='cp -pR'
19488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19489 rmdir conf$$.dir 2>/dev/null
19492 # as_fn_mkdir_p
19493 # -------------
19494 # Create "$as_dir" as a directory, including parents if necessary.
19495 as_fn_mkdir_p ()
19498 case $as_dir in #(
19499 -*) as_dir=./$as_dir;;
19500 esac
19501 test -d "$as_dir" || eval $as_mkdir_p || {
19502 as_dirs=
19503 while :; do
19504 case $as_dir in #(
19505 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19506 *) as_qdir=$as_dir;;
19507 esac
19508 as_dirs="'$as_qdir' $as_dirs"
19509 as_dir=`$as_dirname -- "$as_dir" ||
19510 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19511 X"$as_dir" : 'X\(//\)[^/]' \| \
19512 X"$as_dir" : 'X\(//\)$' \| \
19513 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19514 $as_echo X"$as_dir" |
19515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19516 s//\1/
19519 /^X\(\/\/\)[^/].*/{
19520 s//\1/
19523 /^X\(\/\/\)$/{
19524 s//\1/
19527 /^X\(\/\).*/{
19528 s//\1/
19531 s/.*/./; q'`
19532 test -d "$as_dir" && break
19533 done
19534 test -z "$as_dirs" || eval "mkdir $as_dirs"
19535 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19538 } # as_fn_mkdir_p
19539 if mkdir -p . 2>/dev/null; then
19540 as_mkdir_p='mkdir -p "$as_dir"'
19541 else
19542 test -d ./-p && rmdir ./-p
19543 as_mkdir_p=false
19547 # as_fn_executable_p FILE
19548 # -----------------------
19549 # Test if FILE is an executable regular file.
19550 as_fn_executable_p ()
19552 test -f "$1" && test -x "$1"
19553 } # as_fn_executable_p
19554 as_test_x='test -x'
19555 as_executable_p=as_fn_executable_p
19557 # Sed expression to map a string onto a valid CPP name.
19558 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19560 # Sed expression to map a string onto a valid variable name.
19561 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19564 exec 6>&1
19565 ## ----------------------------------- ##
19566 ## Main body of $CONFIG_STATUS script. ##
19567 ## ----------------------------------- ##
19568 _ASEOF
19569 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19572 # Save the log message, to keep $0 and so on meaningful, and to
19573 # report actual input values of CONFIG_FILES etc. instead of their
19574 # values after options handling.
19575 ac_log="
19576 This file was extended by Wine $as_me 2.13, which was
19577 generated by GNU Autoconf 2.69. Invocation command line was
19579 CONFIG_FILES = $CONFIG_FILES
19580 CONFIG_HEADERS = $CONFIG_HEADERS
19581 CONFIG_LINKS = $CONFIG_LINKS
19582 CONFIG_COMMANDS = $CONFIG_COMMANDS
19583 $ $0 $@
19585 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19588 _ACEOF
19590 case $ac_config_files in *"
19591 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19592 esac
19594 case $ac_config_headers in *"
19595 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19596 esac
19599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19600 # Files that config.status was made for.
19601 config_files="$ac_config_files"
19602 config_headers="$ac_config_headers"
19603 config_links="$ac_config_links"
19604 config_commands="$ac_config_commands"
19606 _ACEOF
19608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19609 ac_cs_usage="\
19610 \`$as_me' instantiates files and other configuration actions
19611 from templates according to the current configuration. Unless the files
19612 and actions are specified as TAGs, all are instantiated by default.
19614 Usage: $0 [OPTION]... [TAG]...
19616 -h, --help print this help, then exit
19617 -V, --version print version number and configuration settings, then exit
19618 --config print configuration, then exit
19619 -q, --quiet, --silent
19620 do not print progress messages
19621 -d, --debug don't remove temporary files
19622 --recheck update $as_me by reconfiguring in the same conditions
19623 --file=FILE[:TEMPLATE]
19624 instantiate the configuration file FILE
19625 --header=FILE[:TEMPLATE]
19626 instantiate the configuration header FILE
19628 Configuration files:
19629 $config_files
19631 Configuration headers:
19632 $config_headers
19634 Configuration links:
19635 $config_links
19637 Configuration commands:
19638 $config_commands
19640 Report bugs to <wine-devel@winehq.org>.
19641 Wine home page: <http://www.winehq.org>."
19643 _ACEOF
19644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19645 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19646 ac_cs_version="\\
19647 Wine config.status 2.13
19648 configured by $0, generated by GNU Autoconf 2.69,
19649 with options \\"\$ac_cs_config\\"
19651 Copyright (C) 2012 Free Software Foundation, Inc.
19652 This config.status script is free software; the Free Software Foundation
19653 gives unlimited permission to copy, distribute and modify it."
19655 ac_pwd='$ac_pwd'
19656 srcdir='$srcdir'
19657 test -n "\$AWK" || AWK=awk
19658 _ACEOF
19660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19661 # The default lists apply if the user does not specify any file.
19662 ac_need_defaults=:
19663 while test $# != 0
19665 case $1 in
19666 --*=?*)
19667 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19668 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19669 ac_shift=:
19671 --*=)
19672 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19673 ac_optarg=
19674 ac_shift=:
19677 ac_option=$1
19678 ac_optarg=$2
19679 ac_shift=shift
19681 esac
19683 case $ac_option in
19684 # Handling of the options.
19685 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19686 ac_cs_recheck=: ;;
19687 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19688 $as_echo "$ac_cs_version"; exit ;;
19689 --config | --confi | --conf | --con | --co | --c )
19690 $as_echo "$ac_cs_config"; exit ;;
19691 --debug | --debu | --deb | --de | --d | -d )
19692 debug=: ;;
19693 --file | --fil | --fi | --f )
19694 $ac_shift
19695 case $ac_optarg in
19696 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19697 '') as_fn_error $? "missing file argument" ;;
19698 esac
19699 as_fn_append CONFIG_FILES " '$ac_optarg'"
19700 ac_need_defaults=false;;
19701 --header | --heade | --head | --hea )
19702 $ac_shift
19703 case $ac_optarg in
19704 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19705 esac
19706 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19707 ac_need_defaults=false;;
19708 --he | --h)
19709 # Conflict between --help and --header
19710 as_fn_error $? "ambiguous option: \`$1'
19711 Try \`$0 --help' for more information.";;
19712 --help | --hel | -h )
19713 $as_echo "$ac_cs_usage"; exit ;;
19714 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19715 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19716 ac_cs_silent=: ;;
19718 # This is an error.
19719 -*) as_fn_error $? "unrecognized option: \`$1'
19720 Try \`$0 --help' for more information." ;;
19722 *) as_fn_append ac_config_targets " $1"
19723 ac_need_defaults=false ;;
19725 esac
19726 shift
19727 done
19729 ac_configure_extra_args=
19731 if $ac_cs_silent; then
19732 exec 6>/dev/null
19733 ac_configure_extra_args="$ac_configure_extra_args --silent"
19736 _ACEOF
19737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19738 if \$ac_cs_recheck; then
19739 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19740 shift
19741 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19742 CONFIG_SHELL='$SHELL'
19743 export CONFIG_SHELL
19744 exec "\$@"
19747 _ACEOF
19748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19749 exec 5>>config.log
19751 echo
19752 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19753 ## Running $as_me. ##
19754 _ASBOX
19755 $as_echo "$ac_log"
19756 } >&5
19758 _ACEOF
19759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19761 # INIT-COMMANDS
19763 wine_fn_output_makedep ()
19765 as_dir=tools; as_fn_mkdir_p
19766 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19768 wine_fn_output_makefile ()
19770 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19771 `cat $wine_rules_file`
19772 _WINE_EOF
19773 as_fn_error $? "could not create Makefile" "$LINENO" 5
19776 _ACEOF
19778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19780 # Handling of arguments.
19781 for ac_config_target in $ac_config_targets
19783 case $ac_config_target in
19784 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19785 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19786 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19787 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19788 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19789 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19790 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19791 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19792 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19793 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19794 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19795 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19796 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19798 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19799 esac
19800 done
19803 # If the user did not use the arguments to specify the items to instantiate,
19804 # then the envvar interface is used. Set only those that are not.
19805 # We use the long form for the default assignment because of an extremely
19806 # bizarre bug on SunOS 4.1.3.
19807 if $ac_need_defaults; then
19808 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19809 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19810 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19811 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19814 # Have a temporary directory for convenience. Make it in the build tree
19815 # simply because there is no reason against having it here, and in addition,
19816 # creating and moving files from /tmp can sometimes cause problems.
19817 # Hook for its removal unless debugging.
19818 # Note that there is a small window in which the directory will not be cleaned:
19819 # after its creation but before its name has been assigned to `$tmp'.
19820 $debug ||
19822 tmp= ac_tmp=
19823 trap 'exit_status=$?
19824 : "${ac_tmp:=$tmp}"
19825 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19827 trap 'as_fn_exit 1' 1 2 13 15
19829 # Create a (secure) tmp directory for tmp files.
19832 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19833 test -d "$tmp"
19834 } ||
19836 tmp=./conf$$-$RANDOM
19837 (umask 077 && mkdir "$tmp")
19838 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19839 ac_tmp=$tmp
19841 # Set up the scripts for CONFIG_FILES section.
19842 # No need to generate them if there are no CONFIG_FILES.
19843 # This happens for instance with `./config.status config.h'.
19844 if test -n "$CONFIG_FILES"; then
19847 ac_cr=`echo X | tr X '\015'`
19848 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19849 # But we know of no other shell where ac_cr would be empty at this
19850 # point, so we can use a bashism as a fallback.
19851 if test "x$ac_cr" = x; then
19852 eval ac_cr=\$\'\\r\'
19854 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19855 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19856 ac_cs_awk_cr='\\r'
19857 else
19858 ac_cs_awk_cr=$ac_cr
19861 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19862 _ACEOF
19866 echo "cat >conf$$subs.awk <<_ACEOF" &&
19867 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19868 echo "_ACEOF"
19869 } >conf$$subs.sh ||
19870 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19871 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19872 ac_delim='%!_!# '
19873 for ac_last_try in false false false false false :; do
19874 . ./conf$$subs.sh ||
19875 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19877 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19878 if test $ac_delim_n = $ac_delim_num; then
19879 break
19880 elif $ac_last_try; then
19881 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19882 else
19883 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19885 done
19886 rm -f conf$$subs.sh
19888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19889 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19890 _ACEOF
19891 sed -n '
19893 s/^/S["/; s/!.*/"]=/
19896 s/^[^!]*!//
19897 :repl
19898 t repl
19899 s/'"$ac_delim"'$//
19900 t delim
19903 s/\(.\{148\}\)..*/\1/
19904 t more1
19905 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19908 b repl
19909 :more1
19910 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19913 s/.\{148\}//
19914 t nl
19915 :delim
19917 s/\(.\{148\}\)..*/\1/
19918 t more2
19919 s/["\\]/\\&/g; s/^/"/; s/$/"/
19922 :more2
19923 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19926 s/.\{148\}//
19927 t delim
19928 ' <conf$$subs.awk | sed '
19929 /^[^""]/{
19931 s/\n//
19933 ' >>$CONFIG_STATUS || ac_write_fail=1
19934 rm -f conf$$subs.awk
19935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19936 _ACAWK
19937 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19938 for (key in S) S_is_set[key] = 1
19939 FS = "\a"
19943 line = $ 0
19944 nfields = split(line, field, "@")
19945 substed = 0
19946 len = length(field[1])
19947 for (i = 2; i < nfields; i++) {
19948 key = field[i]
19949 keylen = length(key)
19950 if (S_is_set[key]) {
19951 value = S[key]
19952 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19953 len += length(value) + length(field[++i])
19954 substed = 1
19955 } else
19956 len += 1 + keylen
19959 print line
19962 _ACAWK
19963 _ACEOF
19964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19965 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19966 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19967 else
19969 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19970 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19971 _ACEOF
19973 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19974 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19975 # trailing colons and then remove the whole line if VPATH becomes empty
19976 # (actually we leave an empty line to preserve line numbers).
19977 if test "x$srcdir" = x.; then
19978 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19980 s///
19981 s/^/:/
19982 s/[ ]*$/:/
19983 s/:\$(srcdir):/:/g
19984 s/:\${srcdir}:/:/g
19985 s/:@srcdir@:/:/g
19986 s/^:*//
19987 s/:*$//
19989 s/\(=[ ]*\).*/\1/
19991 s/\n//
19992 s/^[^=]*=[ ]*$//
19996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19997 fi # test -n "$CONFIG_FILES"
19999 # Set up the scripts for CONFIG_HEADERS section.
20000 # No need to generate them if there are no CONFIG_HEADERS.
20001 # This happens for instance with `./config.status Makefile'.
20002 if test -n "$CONFIG_HEADERS"; then
20003 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20004 BEGIN {
20005 _ACEOF
20007 # Transform confdefs.h into an awk script `defines.awk', embedded as
20008 # here-document in config.status, that substitutes the proper values into
20009 # config.h.in to produce config.h.
20011 # Create a delimiter string that does not exist in confdefs.h, to ease
20012 # handling of long lines.
20013 ac_delim='%!_!# '
20014 for ac_last_try in false false :; do
20015 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20016 if test -z "$ac_tt"; then
20017 break
20018 elif $ac_last_try; then
20019 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20020 else
20021 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20023 done
20025 # For the awk script, D is an array of macro values keyed by name,
20026 # likewise P contains macro parameters if any. Preserve backslash
20027 # newline sequences.
20029 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20030 sed -n '
20031 s/.\{148\}/&'"$ac_delim"'/g
20032 t rset
20033 :rset
20034 s/^[ ]*#[ ]*define[ ][ ]*/ /
20035 t def
20037 :def
20038 s/\\$//
20039 t bsnl
20040 s/["\\]/\\&/g
20041 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20042 D["\1"]=" \3"/p
20043 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20045 :bsnl
20046 s/["\\]/\\&/g
20047 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20048 D["\1"]=" \3\\\\\\n"\\/p
20049 t cont
20050 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20051 t cont
20053 :cont
20055 s/.\{148\}/&'"$ac_delim"'/g
20056 t clear
20057 :clear
20058 s/\\$//
20059 t bsnlc
20060 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20062 :bsnlc
20063 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20064 b cont
20065 ' <confdefs.h | sed '
20066 s/'"$ac_delim"'/"\\\
20067 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20070 for (key in D) D_is_set[key] = 1
20071 FS = "\a"
20073 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20074 line = \$ 0
20075 split(line, arg, " ")
20076 if (arg[1] == "#") {
20077 defundef = arg[2]
20078 mac1 = arg[3]
20079 } else {
20080 defundef = substr(arg[1], 2)
20081 mac1 = arg[2]
20083 split(mac1, mac2, "(") #)
20084 macro = mac2[1]
20085 prefix = substr(line, 1, index(line, defundef) - 1)
20086 if (D_is_set[macro]) {
20087 # Preserve the white space surrounding the "#".
20088 print prefix "define", macro P[macro] D[macro]
20089 next
20090 } else {
20091 # Replace #undef with comments. This is necessary, for example,
20092 # in the case of _POSIX_SOURCE, which is predefined and required
20093 # on some systems where configure will not decide to define it.
20094 if (defundef == "undef") {
20095 print "/*", prefix defundef, macro, "*/"
20096 next
20100 { print }
20101 _ACAWK
20102 _ACEOF
20103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20104 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20105 fi # test -n "$CONFIG_HEADERS"
20108 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20109 shift
20110 for ac_tag
20112 case $ac_tag in
20113 :[FHLC]) ac_mode=$ac_tag; continue;;
20114 esac
20115 case $ac_mode$ac_tag in
20116 :[FHL]*:*);;
20117 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20118 :[FH]-) ac_tag=-:-;;
20119 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20120 esac
20121 ac_save_IFS=$IFS
20122 IFS=:
20123 set x $ac_tag
20124 IFS=$ac_save_IFS
20125 shift
20126 ac_file=$1
20127 shift
20129 case $ac_mode in
20130 :L) ac_source=$1;;
20131 :[FH])
20132 ac_file_inputs=
20133 for ac_f
20135 case $ac_f in
20136 -) ac_f="$ac_tmp/stdin";;
20137 *) # Look for the file first in the build tree, then in the source tree
20138 # (if the path is not absolute). The absolute path cannot be DOS-style,
20139 # because $ac_f cannot contain `:'.
20140 test -f "$ac_f" ||
20141 case $ac_f in
20142 [\\/$]*) false;;
20143 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20144 esac ||
20145 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20146 esac
20147 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20148 as_fn_append ac_file_inputs " '$ac_f'"
20149 done
20151 # Let's still pretend it is `configure' which instantiates (i.e., don't
20152 # use $as_me), people would be surprised to read:
20153 # /* config.h. Generated by config.status. */
20154 configure_input='Generated from '`
20155 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20156 `' by configure.'
20157 if test x"$ac_file" != x-; then
20158 configure_input="$ac_file. $configure_input"
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20160 $as_echo "$as_me: creating $ac_file" >&6;}
20162 # Neutralize special characters interpreted by sed in replacement strings.
20163 case $configure_input in #(
20164 *\&* | *\|* | *\\* )
20165 ac_sed_conf_input=`$as_echo "$configure_input" |
20166 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20167 *) ac_sed_conf_input=$configure_input;;
20168 esac
20170 case $ac_tag in
20171 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20172 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20173 esac
20175 esac
20177 ac_dir=`$as_dirname -- "$ac_file" ||
20178 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20179 X"$ac_file" : 'X\(//\)[^/]' \| \
20180 X"$ac_file" : 'X\(//\)$' \| \
20181 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20182 $as_echo X"$ac_file" |
20183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20184 s//\1/
20187 /^X\(\/\/\)[^/].*/{
20188 s//\1/
20191 /^X\(\/\/\)$/{
20192 s//\1/
20195 /^X\(\/\).*/{
20196 s//\1/
20199 s/.*/./; q'`
20200 as_dir="$ac_dir"; as_fn_mkdir_p
20201 ac_builddir=.
20203 case "$ac_dir" in
20204 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20206 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20207 # A ".." for each directory in $ac_dir_suffix.
20208 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20209 case $ac_top_builddir_sub in
20210 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20211 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20212 esac ;;
20213 esac
20214 ac_abs_top_builddir=$ac_pwd
20215 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20216 # for backward compatibility:
20217 ac_top_builddir=$ac_top_build_prefix
20219 case $srcdir in
20220 .) # We are building in place.
20221 ac_srcdir=.
20222 ac_top_srcdir=$ac_top_builddir_sub
20223 ac_abs_top_srcdir=$ac_pwd ;;
20224 [\\/]* | ?:[\\/]* ) # Absolute name.
20225 ac_srcdir=$srcdir$ac_dir_suffix;
20226 ac_top_srcdir=$srcdir
20227 ac_abs_top_srcdir=$srcdir ;;
20228 *) # Relative name.
20229 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20230 ac_top_srcdir=$ac_top_build_prefix$srcdir
20231 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20232 esac
20233 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20236 case $ac_mode in
20239 # CONFIG_FILE
20242 _ACEOF
20244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20245 # If the template does not know about datarootdir, expand it.
20246 # FIXME: This hack should be removed a few years after 2.60.
20247 ac_datarootdir_hack=; ac_datarootdir_seen=
20248 ac_sed_dataroot='
20249 /datarootdir/ {
20253 /@datadir@/p
20254 /@docdir@/p
20255 /@infodir@/p
20256 /@localedir@/p
20257 /@mandir@/p'
20258 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20259 *datarootdir*) ac_datarootdir_seen=yes;;
20260 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20262 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20263 _ACEOF
20264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20265 ac_datarootdir_hack='
20266 s&@datadir@&$datadir&g
20267 s&@docdir@&$docdir&g
20268 s&@infodir@&$infodir&g
20269 s&@localedir@&$localedir&g
20270 s&@mandir@&$mandir&g
20271 s&\\\${datarootdir}&$datarootdir&g' ;;
20272 esac
20273 _ACEOF
20275 # Neutralize VPATH when `$srcdir' = `.'.
20276 # Shell code in configure.ac might set extrasub.
20277 # FIXME: do we really want to maintain this feature?
20278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20279 ac_sed_extra="$ac_vpsub
20280 $extrasub
20281 _ACEOF
20282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20284 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20285 s|@configure_input@|$ac_sed_conf_input|;t t
20286 s&@top_builddir@&$ac_top_builddir_sub&;t t
20287 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20288 s&@srcdir@&$ac_srcdir&;t t
20289 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20290 s&@top_srcdir@&$ac_top_srcdir&;t t
20291 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20292 s&@builddir@&$ac_builddir&;t t
20293 s&@abs_builddir@&$ac_abs_builddir&;t t
20294 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20295 $ac_datarootdir_hack
20297 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20298 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20300 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20301 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20302 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20303 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20305 which seems to be undefined. Please make sure it is defined" >&5
20306 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20307 which seems to be undefined. Please make sure it is defined" >&2;}
20309 rm -f "$ac_tmp/stdin"
20310 case $ac_file in
20311 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20312 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20313 esac \
20314 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20318 # CONFIG_HEADER
20320 if test x"$ac_file" != x-; then
20322 $as_echo "/* $configure_input */" \
20323 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20324 } >"$ac_tmp/config.h" \
20325 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20326 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20328 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20329 else
20330 rm -f "$ac_file"
20331 mv "$ac_tmp/config.h" "$ac_file" \
20332 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20334 else
20335 $as_echo "/* $configure_input */" \
20336 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20337 || as_fn_error $? "could not create -" "$LINENO" 5
20342 # CONFIG_LINK
20345 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20347 else
20348 # Prefer the file from the source tree if names are identical.
20349 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20350 ac_source=$srcdir/$ac_source
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20354 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20356 if test ! -r "$ac_source"; then
20357 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20359 rm -f "$ac_file"
20361 # Try a relative symlink, then a hard link, then a copy.
20362 case $ac_source in
20363 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20364 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20365 esac
20366 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20367 ln "$ac_source" "$ac_file" 2>/dev/null ||
20368 cp -p "$ac_source" "$ac_file" ||
20369 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20372 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20373 $as_echo "$as_me: executing $ac_file commands" >&6;}
20375 esac
20378 case $ac_file$ac_mode in
20379 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20380 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20381 "Makefile":C) wine_fn_output_makefile Makefile ;;
20383 esac
20384 done # for ac_tag
20387 as_fn_exit 0
20388 _ACEOF
20389 ac_clean_files=$ac_clean_files_save
20391 test $ac_write_fail = 0 ||
20392 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20395 # configure is writing to config.log, and then calls config.status.
20396 # config.status does its own redirection, appending to config.log.
20397 # Unfortunately, on DOS this fails, as config.log is still kept open
20398 # by configure, so config.status won't be able to write to it; its
20399 # output is simply discarded. So we exec the FD to /dev/null,
20400 # effectively closing config.log, so it can be properly (re)opened and
20401 # appended to by config.status. When coming back to configure, we
20402 # need to make the FD available again.
20403 if test "$no_create" != yes; then
20404 ac_cs_success=:
20405 ac_config_status_args=
20406 test "$silent" = yes &&
20407 ac_config_status_args="$ac_config_status_args --quiet"
20408 exec 5>/dev/null
20409 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20410 exec 5>>config.log
20411 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20412 # would make configure fail if this is the last instruction.
20413 $ac_cs_success || as_fn_exit 1
20415 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20417 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20421 if test "$no_create" = "yes"
20422 then
20423 exit 0
20426 ac_save_IFS="$IFS"
20427 if test "x$wine_notices" != x; then
20428 echo >&6
20429 IFS="|"
20430 for msg in $wine_notices; do
20431 IFS="$ac_save_IFS"
20432 if ${msg:+false} :; then :
20434 else
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20436 $as_echo "$as_me: $msg" >&6;}
20438 done
20440 IFS="|"
20441 for msg in $wine_warnings; do
20442 IFS="$ac_save_IFS"
20443 if ${msg:+false} :; then :
20445 else
20446 echo >&2
20447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20448 $as_echo "$as_me: WARNING: $msg" >&2;}
20450 done
20451 IFS="$ac_save_IFS"
20453 $as_echo "
20454 $as_me: Finished. Do '${ac_make}' to compile Wine.
20455 " >&6